1 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * manual/Makefile (chapters): Add nptl.
4 * manual/debug.texi (Debugging Support): Add link to Threads
6 * manual/nptl.texi: New file.
8 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10 2013-03-14 Petr Baudis <pasky@ucw.cz>
12 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13 for non-NULL pointer before the memory validity test. Pointed
14 out by Holger Brunck <holger.brunck@keymile.com>.
16 2013-03-13 Andreas Schwab <schwab@suse.de>
18 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23 * timezone/zic.c: Update from tzcode 2013b.
25 2013-03-12 Carlos O'Donell <carlos@redhat.com>
27 * manual/install.texi (Configuring and compiling):
28 Mention i686 and i586.
29 * INSTALL: Regenerate.
31 2013-03-12 Roland McGrath <roland@hack.frob.com>
33 * sysdeps/init_array/elf-init.c: New file.
35 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39 __gmon_start__ as global, but as static with a .preinit_array pointer.
40 * sysdeps/init_array/gmon-start.c: New file. Use that.
41 * sysdeps/init_array/crti.S: New file, empty except for comments.
42 * sysdeps/init_array/crtn.S: Likewise.
44 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
46 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49 Remove Prefer_SSE_for_memop.
50 * sysdeps/x86_64/multiarch/init-arch.h: Remove
51 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52 HAS_PREFER_SSE_FOR_MEMOP.
53 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
55 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56 Remove bzero, memset ifunc support.
57 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59 * sysdeps/x86_64/multiarch/memset.S: Likewise.
60 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62 2013-03-11 Andreas Schwab <schwab@suse.de>
65 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
67 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68 (GLIBC_2.16): Remove pthread_atfork.
70 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
72 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
73 (ptestcases.h): Likewise.
75 2013-03-08 Roland McGrath <roland@hack.frob.com>
77 * Makeconfig ($(common-objpfx)config.status): Depend on
78 sysdeps/*/preconfigure{,.in} too.
80 2013-03-08 Joseph Myers <joseph@codesourcery.com>
82 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
83 (__free_hook): Use void * instead of __malloc_ptr_t.
84 (__malloc_hook): Likewise.
85 (__realloc_hook): Likewise.
86 (__memalign_hook): Likewise.
87 (__after_morecore_hook): Likewise.
88 * malloc/arena.c (save_malloc_hook): Likewise.
89 (save_free_hook): Likewise.
90 * malloc/hooks.c (malloc_hook_ini): Likewise.
91 (realloc_hook_ini): Likewise.
92 (memalign_hook_ini): Likewise.
93 * malloc/malloc.c (malloc_hook_ini): Likewise.
94 (realloc_hook_ini): Likewise.
95 (memalign_hook_ini): Likewise.
96 (__free_hook): Likewise.
97 (__malloc_hook): Likewise.
98 (__realloc_hook): Likewise.
99 (__memalign_hook): Likewise.
100 (__libc_malloc): Likewise.
101 (__libc_free): Likewise.
102 (__libc_realloc): Likewise.
103 (__libc_memalign): Likewise.
104 (__libc_valloc): Likewise.
105 (__libc_pvalloc): Likewise.
106 (__libc_calloc): Likewise.
107 (__posix_memalign): Likewise.
108 * malloc/morecore.c (__sbrk): Likewise.
109 (__default_morecore): Likewise.
111 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
113 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
114 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
117 * malloc/malloc.h (__malloc_size_t): Remove macro.
118 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
120 (old_memalign_hook): Likewise.
121 (old_realloc_hook): Likewise.
122 (struct hdr): Likewise.
124 (mallochook): Likewise.
125 (memalignhook): Likewise.
126 (reallochook): Likewise.
127 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
128 (tr_old_realloc_hook): Likewise.
129 (tr_old_memalign_hook): Likewise.
130 (tr_mallochook): Likewise.
131 (tr_reallochook): Likewise.
132 (tr_memalignhook): Likewise.
134 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
136 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
137 default_ldbl_pack and using as default implementation.
138 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
140 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
141 redundant definition.
142 (ldbl_insert_mantissa): Likewise.
143 (ldbl_canonicalize): Likewise.
144 (ldbl_nearbyint): Likewise.
145 (ldbl_pack): Rename to ldbl_pack_ppc.
146 (ldbl_unpack): Rename to ldbl_unpack_ppc.
147 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
148 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
150 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
153 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
154 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
155 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
157 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
158 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
159 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
161 2013-03-07 Andreas Jaeger <aj@suse.de>
163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
166 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
168 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
169 Include mpa.h and declare __MPEXP.
170 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
171 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
172 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
173 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
174 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
175 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
176 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
178 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
179 (__slowpow): Use long double EXPL and LOGL functions to
181 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
182 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
183 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
184 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
185 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
186 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
189 intermediate variable to calculate exponent.
191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
195 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
196 [!NO__SQR]: Define __sqr.
197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
198 and NO__SQR. Remove all code except __mul and __sqr. Include
199 sysdeps/ieee754/dbl-64/mpa.c.
200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
203 * posix/Makefile (tests): Add tst-pathconf.
204 * posix/tst-pathconf.c: New test case.
205 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
207 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
209 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
211 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
213 2013-03-06 Andreas Jaeger <aj@suse.de>
215 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
216 definition via __MAP_ANONYMOUS.
218 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
219 it's not part of Linux headers.
221 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
222 (MAP_HUGE_MASK): Define.
224 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
226 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
227 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
229 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
230 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
232 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
233 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
235 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
237 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
238 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
239 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
240 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
241 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
242 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
244 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
247 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
248 Handle f2fs and efivarfs.
250 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
253 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
254 (EFIVARFS_MAGIC): Add.
255 (F2FS_LINK_MAX): Add.
257 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
259 * stdio-common/vfprintf.c: Replace __builtin_expect with
262 2013-03-06 Joseph Myers <joseph@codesourcery.com>
265 * sysdeps/generic/bp-sym.h: Remove file.
266 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
267 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
268 <bp-sym.h> and <bp-asm.h>.
269 (__longjmp): Don't use BP_SYM.
270 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
272 (memcpy): Don't use BP_SYM.
273 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
274 <bp-sym.h> and <bp-asm.h>.
275 (memcpy): Don't use BP_SYM.
276 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
278 (memcpy): Don't use BP_SYM.
279 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
281 (memset): Don't use BP_SYM.
282 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
283 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
284 (__bzero): Don't use BP_SYM.
285 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
286 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
287 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
288 <bp-sym.h> and <bp-asm.h>.
289 (memcmp): Don't use BP_SYM. Remove comment about bounded
291 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
292 <bp-sym.h> and <bp-asm.h>.
293 (memcpy): Don't use BP_SYM.
294 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
295 <bp-sym.h> and <bp-asm.h>.
296 (memset): Don't use BP_SYM.
297 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
298 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
299 (__bzero): Don't use BP_SYM.
300 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
301 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
302 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
303 <bp-sym.h> and <bp-asm.h>.
304 (strncmp): Don't use BP_SYM. Remove comment about bounded
306 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
307 <bp-sym.h> and <bp-asm.h>.
308 (memcpy): Don't use BP_SYM.
309 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
310 <bp-sym.h> and <bp-asm.h>.
311 (memset): Don't use BP_SYM.
312 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
313 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
314 (__bzero): Don't use BP_SYM.
315 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
316 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
317 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
318 <bp-sym.h> and <bp-asm.h>.
319 (__memchr): Don't use BP_SYM.
320 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
321 <bp-sym.h> and <bp-asm.h>.
322 (memcmp): Don't use BP_SYM. Remove comment about bounded
324 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
325 <bp-sym.h> and <bp-asm.h>.
326 (memcpy): Don't use BP_SYM.
327 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
328 <bp-sym.h> and <bp-asm.h>.
329 (__mempcpy): Don't use BP_SYM.
330 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
331 <bp-sym.h> and <bp-asm.h>.
332 (__memrchr): Don't use BP_SYM.
333 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
334 <bp-sym.h> and <bp-asm.h>.
335 (memset): Don't use BP_SYM.
337 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
338 <bp-sym.h> and <bp-asm.h>.
339 (__rawmemchr): Don't use BP_SYM.
340 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
341 <bp-sym.h> and <bp-asm.h>.
342 (__STRCMP): Don't use BP_SYM.
343 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
344 <bp-sym.h> and <bp-asm.h>.
345 (strchr): Don't use BP_SYM.
346 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
347 <bp-sym.h> and <bp-asm.h>.
348 (__strchrnul): Don't use BP_SYM.
349 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
350 <bp-sym.h> and <bp-asm.h>.
351 (strlen): Don't use BP_SYM.
352 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
353 <bp-sym.h> and <bp-asm.h>.
354 (strncmp): Don't use BP_SYM. Remove comment about bounded
356 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
357 <bp-sym.h> and <bp-asm.h>.
358 (__strnlen): Don't use BP_SYM.
359 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
360 <bp-sym.h> and <bp-asm.h>.
361 (__GI__setjmp): Don't use BP_SYM.
363 (__sigsetjmp): Likewise.
364 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
365 (L(start_addresses)): Don't use BP_SYM.
367 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
369 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
370 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
371 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
372 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
373 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
375 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
376 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
377 about bounded pointers.
378 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
379 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
380 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
382 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
383 about bounded pointers. Remove GKM FIXME comments.
384 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
385 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
387 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
388 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
389 Remove GKM FIXME comments.
390 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
391 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
392 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
394 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
395 about bounded pointers. Remove GKM FIXME comment.
396 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
398 (strncmp): Don't use BP_SYM. Remove comment about bounded
400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
401 <bp-sym.h> and <bp-asm.h>.
402 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
404 <bp-sym.h> and <bp-asm.h>.
405 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
408 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
410 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
413 2013-03-05 David S. Miller <davem@davemloft.net>
415 * po/es.po: Update from translation team.
417 2013-03-05 Andreas Jaeger <aj@suse.de>
419 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
421 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
423 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
424 <bits/mman-linux.h> to end of file.
425 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
427 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
428 <bits/mman-linux.h> to end of file.
429 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
431 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
432 <bits/mman-linux.h> to end of file.
434 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
435 (MCL_CURRENT, MCL_FUTURE): Define here.
437 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
440 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
442 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
444 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
446 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
447 fourth parameter needed for rt_sigprocmask syscall.
448 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
449 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
450 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
451 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
452 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
453 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
455 2013-03-04 Joseph Myers <joseph@codesourcery.com>
458 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
459 comment about bounded pointers.
460 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
461 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
463 2013-03-04 Andreas Jaeger <aj@suse.de>
465 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
468 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
469 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
470 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
471 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
473 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
475 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
478 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
479 __ieee754_sqrl instead of __sqrl.
481 2013-03-01 Joseph Myers <joseph@codesourcery.com>
483 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
484 * sysdeps/powerpc/fpu_control.h: ... here.
485 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
486 * sysdeps/powerpc/bits/fenvinline.h: ... here.
487 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
488 * sysdeps/powerpc/bits/mathinline.h: ... here.
490 2013-03-01 Roland McGrath <roland@hack.frob.com>
492 * elf/dl-hwcaps.c (_dl_important_hwcaps):
493 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
494 to just [NEED_DL_SYSINFO_DSO].
495 * elf/dl-support.c: Likewise.
496 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
497 * elf/rtld.c (dl_main): Likewise.
498 * elf/setup-vdso.h (setup_vdso): Likewise.
499 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
500 * sysdeps/unix/sysv/linux/dl-sysdep.c
501 (_dl_discover_osversion): Likewise.
503 2013-03-01 Carlos O'Donell <carlos@redhat.com>
505 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
506 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
508 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
510 * NEWS: Mention libm performance improvements and non-x86 PI
513 * csu/libc-start.c (__pthread_initialize_minimal): Change
515 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
517 2013-02-28 Joseph Myers <joseph@codesourcery.com>
520 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
521 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
522 <bp-sym.h> and <bp-asm.h>.
523 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
524 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
526 (memcpy): Don't use BP_SYM.
527 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
529 (__mpn_add_n): Don't use BP_SYM.
530 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
531 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
533 (__mpn_addmul_1): Don't use BP_SYM.
534 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
535 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
537 (_setjmp): Don't use BP_SYM.
538 (__novmx_setjmp): Likewise.
539 (__GI__setjmp): Likewise.
540 (__vmx_setjmp): Likewise.
541 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
543 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
544 (__bzero): Don't use BP_SYM.
545 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
546 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
547 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
548 <bp-sym.h> and <bp-asm.h>.
549 (memcpy): Don't use BP_SYM.
550 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
551 <bp-sym.h> and <bp-asm.h>.
552 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
553 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
554 <bp-sym.h> and <bp-asm.h>.
555 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
556 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
558 (__mpn_lshift): Don't use BP_SYM.
559 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
560 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
562 (memset): Don't use BP_SYM.
563 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
564 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
565 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
567 (__mpn_mul_1): Don't use BP_SYM.
568 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
569 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
570 <bp-sym.h> and <bp-asm.h>.
571 (memcmp): Don't use BP_SYM.
572 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
573 <bp-sym.h> and <bp-asm.h>.
574 (memcpy): Don't use BP_SYM.
575 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
576 <bp-sym.h> and <bp-asm.h>.
577 (memset): Don't use BP_SYM.
578 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
579 <bp-sym.h> and <bp-asm.h>.
580 (strncmp): Don't use BP_SYM.
581 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
582 <bp-sym.h> and <bp-asm.h>.
583 (memcpy): Don't use BP_SYM.
584 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
585 <bp-sym.h> and <bp-asm.h>.
586 (memset): Don't use BP_SYM.
587 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
588 <bp-sym.h> and <bp-asm.h>.
589 (__memchr): Don't use BP_SYM.
590 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
591 <bp-sym.h> and <bp-asm.h>.
592 (memcmp): Don't use BP_SYM.
593 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
594 <bp-sym.h> and <bp-asm.h>.
595 (memcpy): Don't use BP_SYM.
596 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
597 <bp-sym.h> and <bp-asm.h>.
598 (__mempcpy): Don't use BP_SYM.
599 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
600 <bp-sym.h> and <bp-asm.h>.
601 (__memrchr): Don't use BP_SYM.
602 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
603 <bp-sym.h> and <bp-asm.h>.
604 (memset): Don't use BP_SYM.
605 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
606 <bp-sym.h> and <bp-asm.h>.
607 (__rawmemchr): Don't use BP_SYM.
608 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
609 <bp-sym.h> and <bp-asm.h>.
610 (__STRCMP): Don't use BP_SYM.
611 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
612 <bp-sym.h> and <bp-asm.h>.
613 (strchr): Don't use BP_SYM.
614 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
615 <bp-sym.h> and <bp-asm.h>.
616 (__strchrnul): Don't use BP_SYM.
617 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
618 <bp-sym.h> and <bp-asm.h>.
619 (strlen): Don't use BP_SYM.
620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
621 <bp-sym.h> and <bp-asm.h>.
622 (strncmp): Don't use BP_SYM.
623 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
624 <bp-sym.h> and <bp-asm.h>.
625 (__strnlen): Don't use BP_SYM.
626 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
628 (__mpn_rshift): Don't use BP_SYM.
629 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
630 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
631 <bp-sym.h> and <bp-asm.h>.
632 (__sigsetjmp): Don't use BP_SYM.
633 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
634 (L(start_addresses)): Don't use BP_SYM.
636 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
638 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
639 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
640 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
641 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
643 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
644 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
645 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
646 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
648 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
650 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
651 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
653 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
655 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
656 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
657 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
659 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
661 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
663 (strncmp): Don't use BP_SYM,
664 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
666 (__mpn_sub_n): Don't use BP_SYM.
667 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
668 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
670 (__mpn_submul_1): Don't use BP_SYM.
671 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
673 <bp-sym.h> and <bp-asm.h>.
674 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
676 <bp-sym.h> and <bp-asm.h>.
677 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
680 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
683 Use ZK to minimize writes to Z.
684 (sub_magnitudes): Simplify code a bit.
685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
686 Use ZK to minimize writes to Z.
687 (sub_magnitudes): Simplify code a bit.
689 2013-02-27 Roland McGrath <roland@hack.frob.com>
691 * csu/gmon-start.c: Add special exception to license text.
693 2013-02-27 Richard Henderson <rth@redhat.com>
695 * scripts/config.guess: Update from config.git.
696 * scripts/config.sub: Likewise.
698 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
700 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
702 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
704 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
706 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
708 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
710 2013-02-26 Roland McGrath <roland@hack.frob.com>
712 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
713 [$(build-shared = yes].
715 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
717 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
718 (__mul): Reduce iterations for calculating mantissa.
720 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
722 (__mpranred): Likewise.
725 * malloc/memusagestat.c (main): Draw graphs for heap and stack
726 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
728 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
730 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
731 Define __attribute__.
733 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
735 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
737 * posix/regex_internal.h (__attribute): Remove.
738 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
739 (re_string_context_at): Likewise.
740 (bitset_not): Use __attribute__ and mark function as possibly
742 (bitset_merge): Likewise.
743 (bitset_mask): Likewise.
744 (re_string_char_size_at): Likewise.
745 (re_string_wchar_at): Likewise.
746 (re_string_elem_size_at): Likewise.
748 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
750 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
754 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
759 (__dbl_mp): Likewise.
760 (add_magnitudes): Likewise.
761 (sub_magnitudes): Likewise.
765 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
768 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
771 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
775 up changes with default code.
776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
779 2013-02-24 Allan McRae <allan@archlinux.org>
781 * manual/socket.texi (The Internet Namespace): Order menu items
782 to match that in the file.
784 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
785 node listing of the info page menu.
787 2013-02-21 Joseph Myers <joseph@codesourcery.com>
790 * sysdeps/i386/bp-asm.h: Remove file.
791 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
792 (PARMS): Do not use macros from bp-asm.h.
796 (__mpn_add_n): Do not use BP_SYM
797 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
799 (PARMS): Do not use macros from bp-asm.h.
802 (__mpn_addmul_1): Do not use BP_SYM
803 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
805 (PARMS): Do not use macros from bp-asm.h.
807 (_setjmp): Likewise. Do not use BP_SYM.
808 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
810 (PARMS): Do not use macros from bp-asm.h.
812 (setjmp): Likewise. Do not use BP_SYM.
813 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
815 (PARMS): Do not use macros from bp-asm.h.
816 (__frexp): Do not use BP_SYM.
818 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
820 (PARMS): Do not use macros from bp-asm.h.
821 (__frexpf): Do not use BP_SYM.
823 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
825 (PARMS): Do not use macros from bp-asm.h.
826 (__frexpl): Do not use BP_SYM.
828 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
830 (PARMS): Do not use macros from bp-asm.h.
831 (__remquo): Do not use BP_SYM.
833 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
835 (PARMS): Do not use macros from bp-asm.h.
836 (__remquof): Do not use BP_SYM.
838 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
840 (PARMS): Do not use macros from bp-asm.h.
841 (__remquol): Do not use BP_SYM.
843 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
845 (PARMS): Do not use macros from bp-asm.h.
848 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
849 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
851 (PARMS): Do not use macros from bp-asm.h.
852 (strlen): Do not use BP_SYM.
853 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
855 (PARMS): Do not use macros from bp-asm.h.
859 (__mpn_add_n): Do not use BP_SYM.
860 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
862 (PARMS): Do not use macros from bp-asm.h.
865 (__mpn_addmul_1): Do not use BP_SYM.
866 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
869 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
871 (PARMS): Do not use macros from bp-asm.h.
874 (__mpn_lshift): Do not use BP_SYM.
875 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
877 (PARMS): Do not use macros from bp-asm.h.
881 (memcpy): Likewise. Do not use BP_SYM.
882 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
883 libc_hidden_def and weak_alias.
884 (mempcpy): Do not use BP_SYM in weak_alias.
885 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
887 (PARMS): Do not use macros from bp-asm.h.
890 [!BZERO_P] (CHR): Likewise.
891 (memset): Likewise. Do not use BP_SYM.
892 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
894 (PARMS): Do not use macros from bp-asm.h.
897 (__mpn_mul_1): Do not use BP_SYM.
898 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
900 (PARMS): Do not use macros from bp-asm.h.
903 (__mpn_rshift): Do not use BP_SYM.
904 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
906 (PARMS): Do not use macros from bp-asm.h.
909 (strchr): Likewise. Do not use BP_SYM.
910 (index): Do not use BP_SYM in weak_alias.
911 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
913 (PARMS): Do not use macros from bp-asm.h.
916 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
917 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
919 (PARMS): Do not use macros from bp-asm.h.
920 (strlen): Do not use BP_SYM.
921 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
923 (PARMS): Do not use macros from bp-asm.h.
927 (__mpn_sub_n): Do not use BP_SYM.
928 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
930 (PARMS): Do not use macros from bp-asm.h.
933 (__mpn_submul_1): Do not use BP_SYM.
934 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
936 (PARMS): Do not use macros from bp-asm.h.
940 (__mpn_add_n): Do not use BP_SYM.
941 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
944 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
946 (PARMS): Do not use macros from bp-asm.h.
949 (memcmp): Do not use BP_SYM.
950 (bcmp): Do not use BP_SYM in weak_alias.
951 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
953 (PARMS): Do not use macros from bp-asm.h.
957 (memcpy): Likewise. Do not use BP_SYM.
958 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
960 (PARMS): Do not use macros from bp-asm.h.
964 (memmove): Likewise. Do not use BP_SYM.
965 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
967 (PARMS): Do not use macros from bp-asm.h.
971 (__mempcpy): Likewise. Do not use BP_SYM.
972 (mempcpy): Do not use BP_SYM in weak_alias.
973 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
975 (PARMS): Do not use macros from bp-asm.h.
978 [!BZERO_P] (CHR): Likewise.
979 (memset): Likewise. Do not use BP_SYM.
980 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
982 (PARMS): Do not use macros from bp-asm.h.
984 (strcmp): Do not use BP_SYM.
985 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
987 (PARMS): Do not use macros from bp-asm.h.
990 [USE_AS_STRTOK_R] (SAVE): Likewise.
991 (FUNCTION): Likewise. Do not use BP_SYM.
992 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
994 (strtok_r): Likewise.
995 (__GI___strtok_r): Likewise.
996 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
997 (PARMS): Do not use macros from bp-asm.h.
1000 (__mpn_lshift): Do not use BP_SYM.
1001 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1002 (PARMS): Do not use macros from bp-asm.h.
1005 (__memchr): Do not use BP_SYM.
1006 (memchr): Do not use BP_SYM in weak_alias.
1007 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1008 (PARMS): Do not use macros from bp-asm.h.
1011 (memcmp): Do not use BP_SYM.
1012 (bcmp): Do not use BP_SYM in weak_alias.
1013 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1014 (PARMS): Do not use macros from bp-asm.h.
1017 (__mpn_mul_1): Do not use BP_SYM.
1018 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1020 (PARMS): Do not use macros from bp-asm.h.
1023 (__rawmemchr): Do not use BP_SYM.
1024 (rawmemchr): Do not use BP_SYM in weak_alias.
1025 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1026 (PARMS): Do not use macros from bp-asm.h.
1029 (__mpn_rshift): Do not use BP_SYM.
1030 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1031 (PARMS): Do not use macros from bp-asm.h.
1033 (__sigsetjmp): Likewise. Do not use BP_SYM.
1034 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1035 (_start): Do not use BP_SYM.
1036 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1037 (PARMS): Do not use macros from bp-asm.h.
1040 (__stpcpy): Likewise. Do not use BP_SYM.
1041 (stpcpy): Do not use BP_SYM in weak_alias.
1042 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1044 (PARMS): Do not use macros from bp-asm.h.
1048 (__stpncpy): Likewise. Do not use BP_SYM.
1049 (stpncpy): Do not use BP_SYM in weak_alias.
1050 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1051 (PARMS): Do not use macros from bp-asm.h.
1054 (strchr): Likewise. Do not use BP_SYM.
1055 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1057 (PARMS): Do not use macros from bp-asm.h.
1060 (__strchrnul): Likewise. Do not use BP_SYM.
1061 (strchrnul): Do not use BP_SYM in weak_alias.
1062 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1064 (PARMS): Do not use macros from bp-asm.h.
1066 (strcspn): Do not use BP_SYM.
1067 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1069 (PARMS): Do not use macros from bp-asm.h.
1072 (strpbrk): Likewise. Do not use BP_SYM.
1073 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1075 (PARMS): Do not use macros from bp-asm.h.
1078 (strrchr): Likewise. Do not use BP_SYM.
1079 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1080 (PARMS): Do not use macros from bp-asm.h.
1082 (strspn): Do not use BP_SYM.
1083 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1084 (PARMS): Do not use macros from bp-asm.h.
1088 (FUNCTION): Likewise. Do not use BP_SYM.
1089 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1091 (strtok_r): Likewise.
1092 (__GI___strtok_r): Likewise.
1093 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1094 (PARMS): Do not use macros from bp-asm.h.
1098 (__mpn_sub_n): Do not use BP_SYM.
1099 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1101 (PARMS): Do not use macros from bp-asm.h.
1104 (__mpn_submul_1): Do not use BP_SYM.
1105 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1107 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1109 (PARMS): Do not use macros from bp-asm.h.
1114 (__clone): Do not use BP_SYM.
1115 (clone): Do not use BP_SYM in weak_alias.
1116 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1118 (PARMS): Do not use macros from bp-asm.h.
1120 (__mmap64): Do not use BP_SYM.
1121 (mmap64): Do not use BP_SYM in weak_alias.
1122 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1123 <bp-sym.h> and <bp-asm.h>.
1124 (PARMS): Do not use macros from bp-asm.h.
1125 (__posix_fadvise64_l64): Do not use BP_SYM.
1126 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1127 (PARMS): Do not use macros from bp-asm.h.
1129 (semtimedop): Do not use BP_SYM.
1130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1133 2013-02-21 Allan McRae <allan@archlinux.org>
1135 * manual/message.texi (Charset conversion in gettext):
1136 Move @end statement to beginning of line.
1138 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1140 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1145 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1150 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1152 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1153 tail-call to the resolved function if pltexit isn't needed.
1155 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1158 or Y being zero as being unlikely.
1159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1162 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1164 * manual/nss.texi (System Databases and Name Service Switch):
1165 Remove frobnicate @pxref.
1167 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1169 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1170 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1172 2013-02-20 Petr Machata <pmachata@redhat.com>
1174 * elf/elf.h (R_ARM_TARGET1): New macro.
1175 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1176 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1177 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1178 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1179 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1180 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1181 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1182 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1183 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1184 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1185 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1186 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1187 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1188 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1189 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1190 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1191 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1192 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1193 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1194 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1195 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1196 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1197 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1198 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1199 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1200 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1201 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1202 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1203 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1204 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1205 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1206 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1207 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1208 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1209 (R_ARM_THM_GOT_BREL12): Likewise.
1210 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1211 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1212 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1213 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1214 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1215 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1216 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1217 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1218 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1220 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1222 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1223 __attribute_used__ to __attribute__ ((unused)).
1225 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1227 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1233 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1236 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1238 (ENTER): Remove both macro definitions.
1240 (CHECK_BOUNDS_LOW): Likewise.
1241 (CHECK_BOUNDS_HIGH): Likewise.
1242 (CHECK_BOUNDS_BOTH): Likewise.
1243 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1244 (RETURN_BOUNDED_POINTER): Likewise.
1245 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1246 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1247 (POP_ERRNO_LOCATION_RETURN): Likewise.
1248 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1249 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1250 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1252 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1253 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1254 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1255 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1256 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1257 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1258 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1259 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1260 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1261 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1262 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1263 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1264 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1265 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1267 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1268 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1270 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1271 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1272 * sysdeps/i386/i586/memset.S (memset): Likewise.
1273 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1274 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1275 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1277 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1278 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1279 Change uses of L(2) to L(out).
1280 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1281 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1282 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1283 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1284 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1286 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1287 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1289 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1290 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1291 (RETURN): Do not use macro LEAVE.
1292 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1293 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1294 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1295 * sysdeps/i386/i686/memset.S (memset): Likewise.
1296 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1297 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1298 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1299 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1301 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1302 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1303 L(1_2) and L(1_3) into L(1).
1304 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1305 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1306 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1307 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1308 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1309 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1310 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1311 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1312 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1314 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1315 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1316 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1317 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1318 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1319 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1320 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1321 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1322 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1323 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1324 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1325 * sysdeps/i386/strspn.S (strspn): Likewise.
1326 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1328 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1329 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1330 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1331 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1333 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1334 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1335 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1337 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1339 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1341 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1344 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1346 * math/atest-exp.c (exp_mpn): Remove ROUND.
1347 * math/atest-exp2.c (exp_mpn): Likewise.
1348 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1350 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1351 * stdlib/tst-tls-atexit-lib.c: Likewise.
1352 * stdlib/tst-tls-atexit.c: Likewise.
1354 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1356 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1357 and __attribute_alloc_size__.
1359 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1361 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1362 __attribute_alloc_size__.
1363 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1364 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1366 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1368 * include/programs/xmalloc.h: New file.
1369 * catgets/gencat.c: Include it.
1370 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1371 * elf/pldd.c: Likewise.
1372 * iconv/iconv_charmap.c: Likewise.
1373 * iconv/iconvconfig.c: Likewise.
1374 * iconv/strtab.c: Likewise.
1375 * locale/programs/locale.c: Likewise.
1376 * locale/programs/localedef.h: Likewise.
1377 * locale/programs/simple-hash.c: Likewise.
1378 * nscd/nscd.h: Likewise.
1379 * nss/makedb.c: Likewise.
1380 * sysdeps/generic/ldconfig.h: Likewise.
1382 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1384 * Versions.def: Add GLIBC_2.18.
1385 * include/link.h (struct link_map): New member l_tls_dtor_count.
1386 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1387 (__call_tls_dtors): Likewise.
1388 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1389 __cxa_thread_atexit_impl.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1398 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1406 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1407 (tests): Add test case tst-tls-atexit.
1408 (modules-names): Add shared library for tst-tls-atexit.
1409 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1410 (GLIBC_PRIVATE): Add __call_tls_dtors.
1411 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1413 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1414 * stdlib/tst-tls-atexit.c: New test case.
1415 * stdlib/tst-tls-atexit-lib.c: New test case.
1417 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1419 * elf/Versions (ld): Add _dl_find_dso_for_object.
1420 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1421 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1422 (dl_open_worker): Use _dl_find_dso_for_object.
1423 * elf/dl-sym.c (do_sym): Likewise.
1424 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1426 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1428 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1429 Syntactic changes only.
1430 (_dl_runtime_profile): Do a tail-call to the resolved function.
1432 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1435 * sysdeps/x86_64/bp-asm.h: Remove file.
1436 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1437 <bp-sym.h> and <bp-asm.h>.
1438 (__clone): Do not use BP_SYM.
1439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1440 <bp-sym.h> and <bp-asm.h>.
1441 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1442 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1444 (_setjmp): Do not use BP_SYM.
1445 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1447 (setjmp): Do not use BP_SYM.
1448 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1450 (mempcpy): Do not use BP_SYM in weak_alias.
1451 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1453 (strchr): Do not use BP_SYM.
1454 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1456 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1457 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1458 (_start): Do not use BP_SYM.
1459 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1461 (strcat): Do not use BP_SYM.
1462 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1464 (STRCMP): Do not use BP_SYM.
1465 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1467 (STRCPY): Do not use BP_SYM.
1468 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1470 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1472 (FUNCTION): Do not use BP_SYM.
1473 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1475 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1477 2013-02-17 Andreas Jaeger <aj@suse.de>
1479 * time/Versions: Sort entries.
1480 * string/Versions: Likewise.
1481 * resolv/Versions: Likewise.
1482 * posix/Versions: Likewise.
1483 * iconv/Versions: Likewise.
1484 * elf/Versions: Likewise.
1485 * wcsmbs/Versions: Likewise.
1487 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1489 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1490 loop termination condition.
1492 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1493 variable to calculate EZ.
1496 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1497 the lower precision input.
1499 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1502 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1503 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1504 (run-via-rtld-prefix): Do not handle %-bp tests.
1505 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1506 (all-object-suffixes): Remove .ob.
1507 (bppfx): Remove variable.
1508 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1509 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1510 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1511 [$(build-bounded) = yes] (libtype.ob): Likewise.
1512 * Makerules (elide-routines.ob): Remove variable.
1513 (do-tests-clean): Do not handle *-bp.out.
1514 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1515 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1516 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1517 (tests): Do not include $(tests-bp.out).
1518 (xtests): Do not include $(xtests-bp.out).
1519 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1520 [$(build-bounded) = yes] ($(addprefix
1521 $(objpfx),$(binaries-bounded))): Remove rule.
1522 ($(objpfx)%-bp.out): Remove rule.
1523 * config.make.in (build-bounded): Remove variable.
1524 * crypt/Makefile [$(build-bounded) = yes]
1525 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1526 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1528 [$(build-bounded) = yes] (install-lib): Likewise.
1529 [$(build-bounded) = yes] (generated): Likewise.
1530 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1532 * intl/Makefile [$(build-bounded) = yes]
1533 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1534 * math/Makefile [$(build-bounded) = yes]
1535 ($(tests:%=$(objpfx)%-bp): Likewise.
1536 * misc/Makefile [$(build-bounded) = yes]
1537 ($(objpfx)tst-tsearch-bp): Likewise.
1538 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1539 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1541 * string/Makefile (o-objects.ob): Remove variable.
1542 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1543 (CFLAGS-.ob): Remove variable.
1544 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1545 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1546 both definitions of variable.
1547 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1548 (ASFLAGS-.ob): Remove variable.
1550 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1553 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1554 Remove __BOUNDED_POINTERS__ from condition.
1555 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1556 * string/bits/string2.h [!__NO_STRING_INLINES &&
1557 !__BOUNDED_POINTERS__]: Likewise.
1558 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1560 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1561 Remove conditional code.
1562 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1563 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1564 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1568 * csu/libc-start.c: Do not include <bp-sym.h>.
1569 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1570 * elf/dl-open.c: Do not include <bp-sym.h>.
1571 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1572 * math/fegetenv.c: Do not include <bp-sym.h>.
1573 (fegetenv): Do not use BP_SYM in versioned symbols.
1574 * nptl/sysdeps/pthread/bits/libc-lockP.h
1575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1578 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1580 (__pthread_mutex_destroy): Likewise.
1581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1582 (__pthread_mutex_lock): Likewise.
1583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1584 (__pthread_mutex_trylock): Likewise.
1585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1586 (__pthread_mutex_unlock): Likewise.
1587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1588 (__pthread_mutexattr_init): Likewise.
1589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1590 (__pthread_mutexattr_destroy): Likewise.
1591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1592 (__pthread_mutexattr_settype): Likewise.
1593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1594 (__pthread_rwlock_init): Likewise.
1595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1596 (__pthread_rwlock_destroy): Likewise.
1597 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1598 (__pthread_rwlock_rdlock): Likewise.
1599 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1600 (__pthread_rwlock_tryrdlock): Likewise.
1601 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1602 (__pthread_rwlock_wrlock): Likewise.
1603 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1604 (__pthread_rwlock_trywrlock): Likewise.
1605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1606 (__pthread_rwlock_unlock): Likewise.
1607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1608 (__pthread_key_create): Likewise.
1609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1610 (__pthread_setspecific): Likewise.
1611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1612 (__pthread_getspecific): Likewise.
1613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1616 (_pthread_cleanup_push_defer): Likewise.
1617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1618 (_pthread_cleanup_pop_restore): Likewise.
1619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1620 (pthread_setcancelstate): Likewise.
1621 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1623 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1624 (memchr): Do not use BP_SYM in weak_alias.
1625 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1626 (fegetenv): Do not use BP_SYM in versioned symbols.
1627 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1628 (fesetenv): Do not use BP_SYM in versioned symbols.
1629 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1630 (feupdateenv): Do not use BP_SYM in versioned symbols.
1631 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1632 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1633 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1634 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1635 (open64): Do not use BP_SYM in weak_alias.
1636 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1637 (fegetenv): Do not use BP_SYM in versioned symbols.
1638 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1639 (fesetenv): Do not use BP_SYM in versioned symbols.
1640 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1641 (feupdateenv): Do not use BP_SYM in versioned symbols.
1642 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1643 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1644 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1645 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1646 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1647 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1648 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1650 (__libc_start_main): Do not use BP_SYM.
1652 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1655 redundant return line.
1659 (sub_magnitudes): Likewise.
1665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1669 (sub_magnitudes): Likewise.
1676 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1678 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1679 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1682 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1683 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1684 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1685 of __mul for squares.
1686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1690 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1691 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1693 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1696 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1698 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1699 prototype or function definition. Rename ubp_* variables and
1700 parameters. Remove argv definitions conditional on
1701 [__BOUNDED_POINTERS__].
1702 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1703 * elf/dl-runtime.c (_dl_fixup): Likewise.
1704 * include/set-hooks.h (RUN_HOOK): Likewise.
1705 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1707 * string/strcpy.c (strcpy): Do not use __unbounded.
1708 * sysdeps/generic/frame.h (struct layout): Likewise.
1709 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1710 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1711 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1712 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1713 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1714 (__backtrace): Likewise.
1715 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1717 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1718 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1719 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1721 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1722 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1723 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1724 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1725 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1726 Do not use __unbounded.
1727 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1728 Rename __unboundedrlimits parameter to rlimits in prototype.
1729 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1730 Do not use __unbounded.
1731 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1733 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1734 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1735 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1736 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1737 __ptrvalue or __unbounded.
1738 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1739 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1741 (__new_msgctl): Do not use __ptrvalue.
1742 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1744 (__libc_msgrcv): Do not use __ptrvalue.
1745 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1746 startup_info): Do not use __unbounded.
1747 (__libc_start_main): Likewise. Rename ubp_* variables and
1748 parameters. Remove argv definitions conditional on
1749 [__BOUNDED_POINTERS__].
1750 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1752 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1754 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1756 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1758 (__new_shmctl): Do not use __ptrvalue.
1759 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1760 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1762 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1763 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1764 (__libc_sigaction): Likewise.
1765 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1766 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1768 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1770 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1772 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1774 * string/mempcpy.c: Implement by calling memcpy.
1776 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1783 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1784 values in the mantissa.
1786 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1787 minimize writes to Z.
1788 (sub_magnitudes): Simplify code a bit.
1790 2013-02-12 Roland McGrath <roland@hack.frob.com>
1792 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1793 from the message. The linker prefixes all warnings with that already.
1795 2013-02-12 Andreas Schwab <schwab@suse.de>
1798 * posix/regexec.c (extend_buffers): Add parameter min_len.
1799 (check_matching): Pass minimum needed length.
1800 (clean_state_log_if_needed): Likewise.
1801 (get_subexp): Likewise.
1802 * posix/Makefile (tests): Add bug-regex34.
1803 (bug-regex34-ENV): Define.
1804 * posix/bug-regex34.c: New file.
1807 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1808 elements compare against the byte sequence of it, not its name.
1809 * posix/Makefile (tests): Add bug-regex35.
1810 (bug-regex35-ENV): Define.
1811 * posix/bug-regex35.c: New file.
1813 2013-02-11 Tom de Vries <tom@codesourcery.com>
1815 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1817 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1818 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1819 (CHECK_EOL): Add undef.
1821 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1823 * bits/stdlib-bsearch.h: New file.
1824 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1825 * stdlib/stdlib.h: Likewise.
1827 2013-02-11 Roland McGrath <roland@hack.frob.com>
1829 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1830 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1832 * manual/search.texi (Array Search Function): Add missing const in
1834 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1835 declaration to use rlim_t.
1836 (Basic Scheduling Functions): Remove erroneous const from
1837 sched_getparam prototype. Remove erroneous * from
1838 sched_get_priority_max and sched_get_priority_min prototypes.
1839 (Resource Usage): Fix summary @comment on vtimes to refer to
1840 sys/vtimes.h rather than vtimes.h.
1841 Add missing *s in vtimes prototype.
1842 (Limits on Resources): Fix ulimit prototype to return long int.
1843 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1844 prototypes to use long int rather than double.
1845 (BSD Random): Fix initstate and setstate to use char *, not void *.
1846 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1847 prototype to make second argument 'struct aiocb64 *const[]'.
1848 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1849 (Status of AIO Operations): Remove erroneous const in aio_return and
1850 aio_return64 prototypes.
1851 (Synchronizing I/O): Fix sync prototype to return void.
1852 * manual/startup.texi (Suboptions): Remove an erroneous const in
1853 getsubopt prototype.
1854 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1855 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1856 use size_t rather than int.
1857 (Scanning All Users): Likewise for getpwent_r.
1858 (Setting Groups): Add missing const to setgroups prototype.
1859 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1860 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1861 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1862 'const void *' rather than 'const char *'.
1863 (Host Address Functions): Likewise for inet_ntop.
1864 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1865 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1866 ssize_t for return value.
1867 (Sending Data): Likewise for send, sendto, sendmsg.
1868 (Socket Option Functions): Add a missing const in setsockopt prototype.
1869 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1870 use wchar_t for the argument.
1871 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1872 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1874 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1875 double/float/long double for second argument.
1876 Fix return types of significand, significandf, significandl.
1877 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1878 argument in fchmod prototype.
1879 (File Owner): Use uid_t and gid_t in fchown prototype.
1880 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1881 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1882 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1883 use 'const struct dirent **' as argument types to CMP function pointer
1885 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1886 (File Times): Fix summary magic @comment for struct utimbuf and utime
1887 to refer to utime.h, not time.h.
1888 * manual/string.texi (Argz Functions): Add missing const in
1889 argz_extract and argz_next prototypes.
1890 (Finding Tokens in a String): Likewise for basename.
1891 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1892 (Copying and Concatenation): Fix typo in wmemmove prototype.
1893 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1894 (Signal Stack): Remove erroneous const in sigstack prototype.
1895 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1897 (Simple Calendar Time): Likewise for stime.
1898 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1900 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1901 say sys/sysctl.h instead.
1902 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1903 and vsyslog prototypes.
1905 2013-02-11 Tom de Vries <tom@codesourcery.com>
1907 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1910 2013-02-11 Roland McGrath <roland@hack.frob.com>
1912 * misc/sys/mman.h: Fix typo in mremap comment.
1914 2013-02-08 Roland McGrath <roland@hack.frob.com>
1916 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1917 the '\0' terminator.
1919 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1922 * debug/segfault.c: Don't include <bp-checks.h>.
1923 * sysdeps/generic/bp-checks.h: Remove file.
1924 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1925 (__GETDENTS): Don't use CHECK_N.
1926 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1927 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1928 (__getgroups): Don't use CHECK_N.
1929 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1930 (setgroups): Don't use CHECK_N.
1931 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1932 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1933 (__libc_msgrcv): Don't use CHECK_N.
1934 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1935 (__libc_msgsnd): Don't use CHECK_N.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1938 (__libc_pread): Don't use CHECK_N.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1940 include <bp-checks.h>.
1941 (__libc_pread64): Don't use CHECK_N.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1943 include <bp-checks.h>.
1944 (__libc_pwrite): Don't use CHECK_N.
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1946 include <bp-checks.h>.
1947 (__libc_pwrite64): Don't use CHECK_N.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1950 (__libc_pread): Don't use CHECK_N.
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1952 include <bp-checks.h>.
1953 (__libc_pread64): Don't use CHECK_N.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1955 include <bp-checks.h>.
1956 (__libc_pwrite): Don't use CHECK_N.
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1958 include <bp-checks.h>.
1959 (__libc_pwrite64): Don't use CHECK_N.
1960 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1961 (do_pread): Don't use CHECK_N.
1962 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1963 (do_pread64): Don't use CHECK_N.
1964 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1965 (do_pwrite): Don't use CHECK_N.
1966 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1967 (do_pwrite64): Don't use CHECK_N.
1968 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1969 (__libc_readv): Don't use CHECK_N.
1970 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1971 (semop): Don't use CHECK_N.
1972 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1974 (semtimedop): Don't use CHECK_N.
1975 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1976 (__libc_pread): Don't use CHECK_N.
1977 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1979 (__libc_pread64): Don't use CHECK_N.
1980 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1982 (__libc_pwrite): Don't use CHECK_N.
1983 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1985 (__libc_pwrite64): Don't use CHECK_N.
1986 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1988 (__libc_msgrcv): Don't use CHECK_N.
1989 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1990 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1991 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1992 (__libc_writev): Don't use CHECK_N.
1994 2013-02-08 Roland McGrath <roland@hack.frob.com>
1996 * string/strcpy.c: Removed unused variable.
1998 * Makeconfig (+sysdep-includes): Define with := rather than =.
1999 Use an existing include/ subdir of each sysdeps dir before it.
2001 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2003 * nscd/connection.c (register_traced_file): Comment function.
2004 [HAVE_INOTIFY] (union __inev): Define.
2005 [HAVE_INOTIFY] (inotify_check_files): New function.
2006 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2007 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2009 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2011 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2013 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2014 loaded if not already and that a failure is permanent.
2016 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2019 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2020 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2022 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2025 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2026 (CHECK_1_NULL_OK): Likewise.
2027 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2028 (__fxstat): Do not use CHECK_1.
2029 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2031 (___fxstat64): Do not use CHECK_1.
2032 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2034 (__fxstatat): Do not use CHECK_1.
2035 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2037 (__fxstatat64): Do not use CHECK_1.
2038 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2040 (__fxstat): Do not use CHECK_1.
2041 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2043 (__fxstatat): Do not use CHECK_1.
2044 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2046 (__getresgid): Do not use CHECK_1.
2047 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2049 (__getresuid): Do not use CHECK_1.
2050 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2052 (__lxstat): Do not use CHECK_1.
2053 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2055 (__old_msgctl): Do not use CHECK_1.
2056 (__new_msgctl): Likewise.
2057 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2059 (__new_setrlimit): Do not use CHECK_1.
2060 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2062 (__old_shmctl): Do not use CHECK_1.
2063 (__new_shmctl): Likewise.
2064 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2066 (__xstat): Do not use CHECK_1.
2067 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2068 (__lxstat): Do not use CHECK_1.
2069 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2071 (___lxstat64): Do not use CHECK_1.
2072 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2073 (__old_msgctl): Do not use CHECK_1.
2074 (__new_msgctl): Likewise.
2075 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2077 (__gettimeofday): Do not use CHECK_1.
2078 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2079 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2080 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2082 (__gettimeofday): Do not use CHECK_1.
2083 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2084 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2085 (__new_shmctl): Do not use CHECK_1.
2086 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2088 (do_sigtimedwait): Do not use CHECK_1.
2089 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2091 (do_sigwaitinfo): Do not use CHECK_1.
2092 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2094 (msgctl): Do not use CHECK_1.
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2097 (shmctl): Do not use CHECK_1.
2098 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2099 (ustat): Do not use CHECK_1.
2100 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2102 (__fxstat): Do not use CHECK_1.
2103 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2105 (__fxstatat): Do not use CHECK_1.
2106 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2108 (__lxstat): Do not use CHECK_1.
2109 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2111 (__xstat): Do not use CHECK_1.
2112 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2113 (__xstat): Do not use CHECK_1.
2114 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2115 (___xstat64): Do not use CHECK_1.
2118 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2120 (CHECK_BOUNDS_HIGH): Likewise.
2121 * string/strcpy.c: Do not include <bp-checks.h>.
2122 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2124 2013-02-07 Roland McGrath <roland@hack.frob.com>
2126 * nscd/nscd-client.h (__nscd_drop_map_ref):
2127 Add __attribute__ ((unused)).
2128 * nis/nss-nisplus.h (niserr2nss): Likewise.
2130 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2131 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2133 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2134 Remove inline keyword.
2135 * include/rounding-mode.h (round_away): Likewise.
2136 * libio/wfileops.c (adjust_wide_data): Likewise.
2137 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2138 (__m128i_strloadu_tolower): Likewise.
2139 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2140 (__m128i_strloadu_tolower): Likewise.
2141 * time/mktime.c (ydhms_diff): Likewise.
2142 * locale/elem-hash.h (elem_hash): Likewise.
2143 * locale/setlocale.c (setdata): Likewise.
2144 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2145 (re_string_wchar_at): Likewise.
2146 (bitset_not, bitset_merge, bitset_mask): Likewise.
2147 [!(__GNUC__ > 3)] (inline): Remove macro.
2148 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2149 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2150 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2151 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2152 * string/memcmp.c (memcmp_bytes): Likewise.
2153 * locale/programs/locarchive.c (compute_hashval): Likewise.
2154 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2155 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2156 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2157 * nss/getent.c (print_rpc, print_protocols): Likewise.
2158 (print_passwd, print_group, print_aliases): Likewise.
2159 * nis/nss-nisplus.h (niserr2nss): Likewise.
2160 * nscd/connections.c (restart_p): Likewise.
2161 Change return type to bool.
2163 2013-02-05 Roland McGrath <roland@hack.frob.com>
2165 * Makeconfig (all-Depend-files): Add existing
2166 $(sorted-subdirs:=/Depend) files.
2167 (all-subdirs): Remove nss.
2168 * sysdeps/unix/inet/Subdirs: Add it here instead.
2169 * hesiod/Depend: New file.
2171 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2172 instead of calling alloca.
2174 * io/lseek.c (__lseek): Rename to __libc_lseek.
2175 Define __lseek as an alias.
2177 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2179 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2181 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2182 else clause and remove check for non-standard endianness.
2184 2013-02-04 David S. Miller <davem@davemloft.net>
2186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2188 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2191 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2192 (__ubp_memchr): Remove prototype.
2193 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2194 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2195 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2196 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2197 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2199 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2200 (__ubp_memchr): Likewise.
2201 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2202 (__ubp_memchr): Likewise.
2203 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2204 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2205 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2206 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2208 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2209 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2210 (__getcwd): Do not use CHECK_STRING.
2211 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2213 (__real_chown): Do not use CHECK_STRING.
2214 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2216 (fchownat): Do not use CHECK_STRING.
2217 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2219 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2221 (__lchown): Do not use CHECK_STRING.
2222 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2223 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2224 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2225 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2227 include <bp-checks.h>.
2228 (truncate64): Do not use CHECK_STRING.
2229 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2231 (__real_chown): Do not use CHECK_STRING.
2232 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2234 (__lchown): Do not use CHECK_STRING.
2235 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2237 (__chown): Do not use CHECK_STRING.
2238 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2240 (truncate64): Do not use CHECK_STRING.
2241 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2243 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2244 (__xmknod): Do not use CHECK_STRING.
2245 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2247 (__xmknodat): Do not use CHECK_STRING.
2248 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2249 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2251 2013-02-04 Andreas Schwab <schwab@suse.de>
2254 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2255 * include/netdb.h: Likewise for h_errno.
2256 * elf/tst-stackguard1.c: Include <tls.h>.
2258 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2260 * elf/link.h (struct link_map): Extend the l_addr comment.
2261 * include/link.h (struct link_map): Likewise.
2263 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2266 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2267 (BOUNDED_1): Remove macro.
2268 * debug/backtrace.c: Don't include <bp-checks.h>.
2269 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2270 (__backtrace): Likewise.
2271 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2273 (__backtrace): Don't use BOUNDED_1.
2274 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2276 (__backtrace): Don't use BOUNDED_1.
2277 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2278 (__backtrace): Don't use BOUNDED_1.
2279 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2280 (shmat): Don't use BOUNDED_N.
2282 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2285 * sysdeps/generic/bp-start.h: Remove file.
2286 * csu/libc-start.c: Don't include <bp-start.h>.
2287 (LIBC_START_MAIN): Set up __environ directly instead of using
2288 INIT_ARGV_and_ENVIRON.
2289 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2293 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2295 (CHECK_FCNTL): Likewise.
2296 (CHECK_N_PAGES): Likewise.
2299 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2301 (CHECK_SIGSET_NULL_OK): Likewise.
2302 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2304 (sigpending): Don't use CHECK_SIGSET.
2305 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2307 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2308 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2310 (do_sigsuspend): Don't use CHECK_SIGSET.
2311 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2313 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2314 (do_sigwait): Don't use CHECK_SIGSET.
2315 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2317 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2318 include <bp-checks.h>.
2319 (sigpending): Don't use CHECK_SIGSET.
2320 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2321 include <bp-checks.h>.
2322 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2323 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2325 (sigpending): Don't use CHECK_SIGSET.
2326 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2328 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2331 * sysdeps/generic/bp-semctl.h: Remove file.
2332 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2333 <bp-checks.h> and <bp-semctl.h>.
2334 (__old_semctl): Don't use CHECK_SEMCTL.
2335 (__new_semctl): Likewise.
2336 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2338 (__old_semctl): Don't use CHECK_SEMCTL.
2339 (__new_semctl): Likewise.
2340 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2341 <bp-checks.h> and <bp-semctl.h>.
2342 (__old_semctl): Don't use CHECK_SEMCTL.
2343 (__new_semctl): Likewise.
2344 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2345 <bp-checks.h> and <bp-semctl.h>.
2346 (semctl): Don't use CHECK_SEMCTL.
2349 * Makerules (elide-bp-thunks): Remove variable.
2350 (elide-routines.oS): Don't use $(elide-bp-thunks).
2351 (elide-routines.os): Likewise.
2352 (elide-routines.o): Likewise.
2353 (elide-routines.op): Likewise.
2354 (elide-routines.og): Likewise.
2355 (objects): Don't use $(bp-thunks).
2356 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2358 (common-generated): Do not add s-proto-bp.d.
2359 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2362 Do not generate makefile rules for bounded-pointer thunks.
2363 * sysdeps/generic/bp-thunks.h: Remove file.
2364 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2365 * sysdeps/unix/s-proto-bp.S: Likewise.
2368 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2369 parts of result separately when argument is not close to line from
2370 -i to i and one part of argument is small.
2371 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2372 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2373 * math/libm-test.inc (cacos_test): Add more tests.
2374 (casin_test): Likewise.
2375 (casinh_test): Likewise.
2376 * sysdeps/i386/fpu/libm-test-ulps: Update.
2377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379 2013-01-31 David S. Miller <davem@davemloft.net>
2381 * po/de.po: Update from translation team.
2383 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2385 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2387 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2389 * configure.in (_AC_PROG_CC_C89): New definition.
2390 * configure: Regenerate.
2392 * configure.in (AC_PROG_CPP): New definition.
2393 * configure: Regenerate.
2395 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2397 * debug/tst-backtrace.h: New file.
2398 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2399 (ret): Remove variable.
2401 (FAIL): Remove macro.
2402 (NO_INLINE): Likewise.
2403 (fn1): Use match function instead of strstr.
2404 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2405 (ret): Remove variable.
2407 (FAIL): Remove macro.
2408 (NO_INLINE): Likewise.
2409 (fn): Use match function instead of strstr.
2410 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2411 (ret): Remove variable.
2413 (FAIL): Remove macro.
2414 (NO_INLINE): Likewise.
2415 (handle_signal): Use match function instead of strstr.
2416 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2417 (ret): Remove variable.
2419 (FAIL): Remove macro.
2420 (NO_INLINE): Likewise.
2421 (handle_signal): Use match function instead of strstr.
2423 2013-01-23 Roland McGrath <roland@hack.frob.com>
2425 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2427 2013-01-23 David S. Miller <davem@davemloft.net>
2429 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2430 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2431 argument of CAS if possible.
2432 * sysdeps/sparc/sparc64/bits/atomic.h
2433 (__arch_compare_and_exchange_val_32_acq): Likewise.
2434 (__arch_compare_and_exchange_val_64_acq): Likewise.
2436 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2438 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2439 * sysdeps/posix/ulimit.c: ... this.
2441 * sysdeps/unix/bsd/ulimit.c: Remove file.
2443 2013-01-23 Adam Conrad <adconrad@0c3.net>
2445 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2446 (LDFLAGS-tst-array5): Likewise.
2448 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2451 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2452 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2453 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2454 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2456 2013-01-21 David S. Miller <davem@davemloft.net>
2458 * sysdeps/sparc/backtrace.c: New file.
2459 * sysdeps/sparc/sparc32/backtrace.h: New file.
2460 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2461 * sysdeps/sparc/sparc64/backtrace.h: New file.
2462 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2463 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2466 2013-01-21 Andreas Schwab <schwab@suse.de>
2469 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2472 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2478 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2479 Mark Mitchell <mark@codesourcery.com>
2480 Tom de Vries <tom@codesourcery.com>
2481 Paul Pluzhnikov <ppluzhnikov@google.com>
2483 * debug/tst-backtrace2.c: New file.
2484 * debug/tst-backtrace3.c: Likewise.
2485 * debug/tst-backtrace4.c: Likewise.
2486 * debug/tst-backtrace5.c: Likewise.
2487 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2488 (CFLAGS-tst-backtrace3.c): Likewise.
2489 (CFLAGS-tst-backtrace4.c): Likewise.
2490 (CFLAGS-tst-backtrace5.c): Likewise.
2491 (LDFLAGS-tst-backtrace2): Likewise.
2492 (LDFLAGS-tst-backtrace3): Likewise.
2493 (LDFLAGS-tst-backtrace4): Likewise.
2494 (LDFLAGS-tst-backtrace5): Likewise.
2495 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2496 tst-backtrace4 and tst-backtrace5.
2498 2013-01-18 Anton Blanchard <anton@samba.org>
2499 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2501 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2502 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2503 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2504 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2506 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2507 "+r" and remove output regs list as redundant. Add explicit inline
2508 asm to specify register of return val to work around compiler codegen
2509 bug. Remove (int) cast on return value. Add return type parameter to
2510 use in macro so that this macro does not truncate return value for
2512 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2513 pass to INTERNAL_VSYSCALL_NCS.
2514 (INLINE_VSYSCALL): Add 'long int' as return type to
2515 INTERNAL_VSYSCALL_NCS macro invocation.
2516 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2517 INTERNAL_VSYSCALL_NCS macro invocation.
2518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2520 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2523 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2524 Fix application of SIMD FP exception mask.
2526 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2527 mp_no from a power of two.
2528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2529 __mpexp_twomm1. Use __pow_mp.
2531 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2534 2013-01-17 David S. Miller <davem@davemloft.net>
2536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2538 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2541 * include/complex.h: Condition contents on [!_COMPLEX_H].
2542 (__kernel_casinhf): New prototype.
2543 (__kernel_casinh): Likewise.
2544 (__kernel_casinhl): Likewise.
2545 * math/Makefile (libm_calls): Add k_casinh.
2546 * math/k_casinh.c: New file.
2547 * math/k_casinhf.c: Likewise.
2548 * math/k_casinhl.c: Likewise.
2549 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2550 finite nonzero arguments.
2551 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2552 finite nonzero arguments.
2553 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2554 finite nonzero arguments.
2555 * math/s_casinh.c: Do not include <float.h>.
2556 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2557 * math/s_casinhf.c: Do not include <float.h>.
2558 (__casinhf): Move code for finite nonzero arguments to
2560 * math/s_casinhl.c: Do not include <float.h>.
2561 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2563 (__casinhl): Move code for finite nonzero arguments to
2565 * math/libm-test.inc (cacos_test): Add more tests.
2566 * sysdeps/i386/fpu/libm-test-ulps: Update.
2567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2571 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2572 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2573 [!HAVE_MREMAP]: Remove [defined linux] case.
2574 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2576 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2578 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2580 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2582 * elf/elf.h (R_386_SIZE32): New relocation.
2583 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2585 (elf_machine_rela): Likewise.
2586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2587 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2589 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2591 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2592 (FP_FAST_FMA): Do not define.
2593 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2594 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2595 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2596 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2597 !_SOFT_FLOAT]: Likewise.
2598 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2599 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2601 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2602 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2603 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2604 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2605 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2606 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2609 2013-01-16 Andreas Schwab <schwab@suse.de>
2612 * include/stdlib.h (__mktemp): Add declaration.
2613 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2614 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2616 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2618 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2620 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2621 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2622 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2624 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2625 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2627 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2629 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2630 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2631 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2633 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2634 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2636 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2638 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2640 2013-01-15 David S. Miller <davem@davemloft.net>
2642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2643 trunc{,f} to libm-sysdep_routes.
2644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2654 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2655 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2656 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2657 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2658 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2659 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2662 nearbyint{,f} to libm-sysdep_routes.
2663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2674 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2676 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2677 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2679 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2681 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2683 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2684 libc_feholdexcept and libc_fesetenv.
2686 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2688 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2690 2013-01-14 David S. Miller <davem@davemloft.net>
2692 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2693 (SPARC_ASM_VIS2_IFUNC): Likewise.
2694 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2696 use of 'siam' instruction.
2697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2730 routines to libm-sysdep_routines.
2731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2734 fdim/fdimf to libm-sysdep_routines.
2735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2743 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2744 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2745 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2746 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2748 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2750 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2753 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2758 local variable MPTWO.
2759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2762 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2764 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2767 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2769 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2771 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2773 * manual/pattern.texi (glob_t): Document gl_flags.
2774 (glob64_t): Likewise.
2776 2013-01-11 David S. Miller <davem@davemloft.net>
2778 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2779 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2780 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2781 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2782 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2783 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2784 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2785 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2786 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2787 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2788 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2789 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2790 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2792 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2793 sparc V9 rather than using V8 code.
2794 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2795 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2797 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2799 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2802 2013-01-11 Roland McGrath <roland@hack.frob.com>
2804 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2805 not in the main loop.
2806 * configure: Regenerated.
2808 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2810 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2811 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2813 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2814 [!__GLIBC_HAVE_LONG_LONG] case.
2815 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2816 condition to just #else.
2817 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2818 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2819 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2820 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2822 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2823 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2824 #elif condition to just #else.
2825 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2826 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2827 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2828 #elif condition to just #else.
2830 2013-01-11 Steve Ellcey <sellcey@mips.com>
2832 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2833 (EF_MIPS_ARCH_64): Fix value.
2834 (EF_MIPS_ARCH_32R2): New.
2835 (EF_MIPS_ARCH_64R2): New.
2837 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2839 * Makeconfig (+link-pie-before-libc): New.
2840 (+link-pie-after-libc): Likewise.
2841 (+link-pie-tests): Likewise.
2842 (+link-pie): Rewritten.
2843 (link-before-libc): Remove $(config-LDFLAGS).
2844 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2845 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2846 (config-LDFLAGS): Renamed to ...
2847 (rtld-LDFLAGS): This.
2848 (rtld-tests-LDFLAGS): New macro.
2849 (link-libc-rpath-link): Likewise.
2850 (link-libc-tests-rpath-link): Likewise.
2851 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2852 (link-libc): Prepand $(link-libc-rpath-link).
2853 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2854 (test-program-prefix): New macro.
2855 (test-via-rtld-prefix): Likewise.
2856 (test-program-cmd): Likewise.
2857 (host-test-program-cmd): Likewise.
2858 * Makefile ($(common-objpfx)testrun.sh): Replace
2859 $(run-program-prefix) with $(test-program-prefix).
2860 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2862 ($(common-objpfx)shlib.lds): Likewise.
2863 (build-module-helper): Likewise.
2864 ($(common-objpfx)format.lds): Likewise.
2865 * Rules (binaries-pie-tests): New.
2866 (binaries-pie-notests): Likewise.
2867 (binaries-pie): Rewritten.
2868 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2869 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2870 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2871 (make-test-out): Replace $(host-built-program-cmd) with
2872 $(host-test-program-cmd).
2873 * config.make.in (build-hardcoded-path-in-tests): New variable.
2874 * configure.in (--enable-hardcoded-path-in-tests): New configure
2876 (hardcoded_path_in_tests): New AC_SUBST.
2877 * configure: Regenerated.
2878 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2879 $(built-program-cmd) with $(test-program-cmd).
2880 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2881 (test_program_cmd): This.
2882 * elf/Makefile ($(objpfx)order.out): Run test with
2883 $(test-program-prefix).
2884 ($(objpfx)order2.out): Likewise.
2885 ($(objpfx)tst-initorder.out): Likewise.
2886 ($(objpfx)tst-initorder2.out): Likewise.
2887 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2888 $(test-program-cmd).
2889 ($(objpfx)tst-array1-static.out): Likewise.
2890 ($(objpfx)tst-array2.out): Likewise.
2891 ($(objpfx)tst-array3.out): Likewise.
2892 ($(objpfx)tst-array4.out): Likewise.
2893 ($(objpfx)tst-array5.out): Likewise.
2894 ($(objpfx)tst-array5-static.out): Likewise.
2895 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2896 $(test-program-cmd).
2897 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2898 $(run-program-prefix) with $(test-program-prefix).
2899 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2900 (test_program_prefix): This.
2901 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2902 $(run-program-prefix) with $(test-program-prefix).
2903 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2904 (test_program_prefix): This.
2905 * iconvdata/tst-tables.sh: Likewise.
2906 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2907 $(run-program-prefix) with $(test-program-prefix).
2908 ($(objpfx)tst-translit.out): Likewise.
2909 ($(objpfx)tst-gettext2.out): Likewise.
2910 ($(objpfx)tst-gettext4.out): Likewise.
2911 ($(objpfx)tst-gettext6.out): Likewise.
2912 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2913 (test_program_prefix): This.
2914 * intl/tst-gettext2.sh: Likewise.
2915 * intl/tst-gettext4.sh Likewise.
2916 * intl/tst-gettext6.sh: Likewise.
2917 * intl/tst-translit.sh: Likewise.
2918 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2919 with $(test-program-cmd).
2920 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2921 $(run-program-prefix) with $(test-program-prefix).
2922 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2923 (test_program_prefix): This.
2924 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2925 $(run-program-prefix) with $(test-program-prefix).
2926 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2927 (test_program_prefix): This.
2928 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2929 * posix/Makefile ($(objpfx)globtest.out): Replace
2930 $(run-via-rtld-prefix) and $(test-wrapper) with
2931 $(test-program-prefix) and $(test-via-rtld-prefix).
2932 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2933 $(test-program-prefix).
2934 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2935 $(host-test-program-cmd).
2936 (tst-spawn-ARGS): Likewise.
2937 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2938 $(test-program-prefix).
2939 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2940 (test_via_rtld_prefix): This.
2941 (test_wrapper): Renamed to ...
2942 (test_program_prefix): This.
2943 (run_program_prefix): Replaced by test_program_prefix.
2944 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2945 (test_program_prefix): This.
2946 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2947 with $(host-test-program-cmd).
2948 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2949 $(run-program-prefix) with $(test-program-prefix).
2950 ($(objpfx)tst-printf.out): Likewise.
2951 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2952 $(test-program-cmd).
2953 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2954 (test_program_prefix): This.
2955 * stdio-common/tst-unbputc.sh: Likewise.
2956 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2957 $(run-program-prefix) with $(test-program-prefix).
2958 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2959 (test_program_prefix): This.
2960 * string/Makefile ($(objpfx)tst-svc.out): Replace
2961 $(built-program-cmd) with $(test-program-cmd).
2963 2013-01-11 Andreas Jaeger <aj@suse.de>
2966 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2967 value. Sync with Linux 3.7.
2969 2013-01-10 David S. Miller <davem@davemloft.net>
2971 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2972 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2973 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2975 2013-01-10 Roland McGrath <roland@hack.frob.com>
2977 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2979 * configure: Regenerated.
2981 2013-01-10 David S. Miller <davem@davemloft.net>
2983 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2984 sparc V9 rather than using V8 code.
2985 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2986 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2988 2013-01-10 Roland McGrath <roland@hack.frob.com>
2990 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2991 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2992 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2993 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2994 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2995 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2996 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2997 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2998 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2999 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3000 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3001 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3002 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3003 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3004 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3005 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3006 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3007 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3008 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3009 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3010 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3011 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3012 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3013 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3014 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3015 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3016 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3018 2013-01-10 David S. Miller <davem@davemloft.net>
3020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3022 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3024 * posix/Makefile (tests-static): New variable.
3025 (tests): Add $(tests-static).
3026 (tst-exec-static-ARGS): New variable.
3027 (tst-spawn-static-ARGS): Likewise.
3028 * posix/tst-exec-static.c: New file.
3029 * posix/tst-spawn-static.c: Likewise.
3030 * posix/tst-exec.c: Support run directly.
3031 * posix/tst-spawn.c: Likewise.
3033 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3035 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3037 * math/bits/mathcalls.h (llrint): Likewise.
3038 (llround): Likewise.
3039 * stdlib/stdlib.h (struct drand48_data): Likewise.
3040 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3041 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3042 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3044 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3046 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3047 (elf_greg_t): Likewise.
3048 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3049 (__jmp_buf): Likewise.
3050 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3052 (llrint): Likewise, for all definitions.
3053 (llrintl): Likewise.
3055 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3056 Remove [__GNUC__] condition.
3057 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3058 condition to just [__USE_ISOC99].
3059 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3061 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3064 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3065 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3067 (_POSIX_V6_ILP32_OFF32): Likewise.
3068 (_XBS5_ILP32_OFF32): Likewise.
3069 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3070 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3072 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3074 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3077 doubles __mpexp_twomm1. Adjust usage.
3078 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3081 2013-01-10 Andreas Schwab <schwab@suse.de>
3084 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3085 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3087 2013-01-09 David S. Miller <davem@davemloft.net>
3090 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3091 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3092 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3093 TCP_FASTOPEN): Define.
3094 (tcp_repair_opt): New structure.
3095 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3097 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3098 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3099 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3100 (tcp_cookie_transactions): New structure.
3102 2013-01-09 Anton Blanchard <anton@samba.org>
3104 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3105 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3106 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3107 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3109 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3111 * include/features.h (__USE_ANSI): Remove.
3113 2013-01-09 Roland McGrath <roland@hack.frob.com>
3115 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3117 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3119 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3121 * sysdeps/s390/fpu/libm-test-ulps: Update.
3123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3125 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3130 (__mp_dbl): Likewise.
3131 (__dbl_mp): Likewise.
3132 (add_magnitudes): Likewise.
3133 (sub_magnitudes): Likewise.
3139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3144 (__mp_dbl): Likewise.
3145 (__dbl_mp): Likewise.
3146 (add_magnitudes): Likewise.
3147 (sub_magnitudes): Likewise.
3153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3158 (__mp_dbl): Likewise.
3159 (__dbl_mp): Likewise.
3160 (add_magnitudes): Likewise.
3161 (sub_magnitudes): Likewise.
3168 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3170 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3171 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3172 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3173 2 && __USE_EXTERN_INLINES]: Likewise.
3175 2013-01-08 Andreas Jaeger <aj@suse.de>
3178 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3180 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3181 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3183 2013-01-07 Anton Blanchard <anton@samba.org>
3185 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3186 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3187 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3188 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3189 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3190 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3191 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3192 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3194 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3195 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3196 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3197 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3198 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3199 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3200 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3201 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3202 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3203 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3204 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3205 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3206 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3207 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3208 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3209 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3210 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3211 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3212 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3213 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3214 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3215 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3217 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3218 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3219 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3220 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3221 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3222 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3223 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3224 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3225 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3226 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3227 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3229 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3231 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3232 (__MALLOC_PMT): Likewise.
3233 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3234 [__GNUC__], only on [_LIBC].
3235 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3236 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3237 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3238 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3239 forward declaration.
3240 (realloc_hook_ini): Likewise.
3241 (memalign_hook_ini): Likewise.
3242 (__libc_memalign): Do not use __MALLOC_PMT in variable
3244 (__libc_valloc): Likewise.
3245 (__libc_pvalloc): Likewise.
3246 (__libc_calloc): Likewise.
3247 (__posix_memalign): Likewise.
3250 * math/s_casinh.c: Include <float.h>.
3251 (__casinh): Do not do computation with squaring and square root
3252 for large arguments.
3253 * math/s_casinhf.c: Include <float.h>.
3254 (__casinhf): Do not do computation with squaring and square root
3255 for large arguments.
3256 * math/s_casinhl.c: Include <float.h>.
3257 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3258 (__casinhl): Do not do computation with squaring and square root
3259 for large arguments.
3260 * math/libm-test.inc (casin_test): Add more tests.
3261 (casinh_test): Likewise.
3262 * sysdeps/i386/fpu/libm-test-ulps: Update.
3263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3265 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3267 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3268 (__x86_64_raw_data_cache_size): Likewise.
3269 (__x86_64_data_cache_size_half): Likewise.
3270 (__x86_64_raw_data_cache_size_half): Likewise.
3271 (__x86_64_shared_cache_size): Likewise.
3272 (__x86_64_raw_shared_cache_size): Likewise.
3273 (__x86_64_shared_cache_size_half): Likewise.
3274 (__x86_64_raw_shared_cache_size_half): Likewise.
3275 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3277 (__x86_data_cache_size): This.
3278 (__x86_64_raw_data_cache_size): Renamed to ...
3279 (__x86_raw_data_cache_size): This.
3280 (__x86_64_data_cache_size_half): Renamed to ...
3281 (__x86_data_cache_size_half): This.
3282 (__x86_64_raw_data_cache_size_half): Renamed to ...
3283 (__x86_raw_data_cache_size_half): This.
3284 (__x86_64_shared_cache_size): Renamed to ...
3285 (__x86_shared_cache_size): This.
3286 (__x86_64_raw_shared_cache_size): Renamed to ...
3287 (__x86_raw_shared_cache_size): This.
3288 (__x86_64_shared_cache_size_half): Renamed to ...
3289 (__x86_shared_cache_size_half): This.
3290 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3291 (__x86_raw_shared_cache_size_half): This.
3292 * sysdeps/x86_64/memcpy.S: Updated.
3293 * sysdeps/x86_64/memset.S: Likewise.
3294 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3295 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3296 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3298 2013-01-04 David S. Miller <davem@davemloft.net>
3300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3302 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3304 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3305 1 to avoid redefinition warning.
3306 (__USE_GNU): Don't define.
3307 (init_signaling_nan): Protoize.
3309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3311 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3313 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3315 (__cpymn): Likewise.
3316 (norm): Remove commented code.
3318 (__mp_dbl): Likewise.
3320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3321 (__cpymn): Likewise.
3322 (norm): Remove commented code.
3324 (__mp_dbl): Likewise.
3327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3328 mp_no value for 1.0 and 2.0.
3329 (norm): Use RADIXI instead of radixi.d.
3331 (__mul): Use 0.0 instead of zero.d.
3332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3333 mp_no value for 1.0 and 2.0.
3334 (norm): Use RADIXI instead of radixi.d.
3336 (__mul): Use 0.0 instead of zero.d.
3338 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3341 * math/s_casinh.c (__casinh): Reduce finite argument to first
3342 quadrant then set signs of results at the end.
3343 * math/s_casinhf.c (__casinhf): Likewise.
3344 * math/s_casinhl.c (__casinhl): Likewise.
3345 * math/libm-test.inc (casin_test): Add more tests.
3346 (casinh_test): Likewise.
3347 * sysdeps/i386/fpu/libm-test-ulps: Update.
3348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3350 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3352 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3354 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3356 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3359 (__mp_dbl): Likewise.
3362 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3363 and adjust the header comment.
3365 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3366 variable name from declaration.
3368 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3371 Initialize COMMON_CPUID_INDEX_7 element.
3372 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3373 (CPUID_RTM): Likewise.
3374 (HAS_RTM): Likewise.
3375 (COMMON_CPUID_INDEX_7): New enum.
3377 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3380 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3381 size is zero, record memory as freed.
3383 2013-01-03 Andreas Jaeger <aj@suse.de>
3385 * po/ia.po: Add new Interlingua translation.
3387 2012-01-03 Allan McRae <allan@archlinux.org>
3389 * locale/programs/localedef.c: Fix description of '--posix' flag.
3391 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3393 * NEWS: Update dates in second copyright notice.
3394 * README: Update copyright dates in example.
3395 * manual/libc.texinfo: Update copyright dates.
3396 * scripts/test-installation.pl: Update copyright date in --version
3399 * hurd/ctty-input.c: Fix copyright notice formatting.
3400 * hurd/ctty-output.c: Likewise.
3401 * hurd/dtable.c: Likewise.
3402 * hurd/hurd-raise.c: Likewise.
3403 * hurd/hurdprio.c: Likewise.
3404 * hurd/msgportdemux.c: Likewise.
3405 * misc/sys/file.h: Likewise.
3406 * misc/sys/ioctl.h: Likewise.
3407 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3408 * sysdeps/mach/hurd/chdir.c: Likewise.
3409 * sysdeps/mach/hurd/fchdir.c: Likewise.
3410 * sysdeps/mach/hurd/rename.c: Likewise.
3411 * sysdeps/mach/hurd/rmdir.c: Likewise.
3412 * sysdeps/mach/hurd/seekdir.c: Likewise.
3413 * sysdeps/mach/hurd/setsid.c: Likewise.
3414 * sysdeps/posix/wait3.c: Likewise.
3416 * All files with FSF copyright notices: Update copyright dates
3417 using scripts/update-copyrights.
3418 * intl/plural.c: Regenerated.
3419 * locale/programs/charmap-kw.h: Likewise.
3420 * locale/programs/locfile-kw.h: Likewise.
3422 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3424 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3427 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3428 calculation loop and add branch prediction.
3430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3431 check access beyond bounds of m1np.
3433 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3435 (__inv): Remove local variable MPTWO to use the global
3437 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3438 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3440 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3441 MP3HALFS static const.
3443 2013-01-01 David S. Miller <davem@davemloft.net>
3445 * po/ca.po: Update from translation team.
3447 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3449 * scripts/update-copyrights: New file.
3450 * Makeconfig: Reformat copyright notice.
3451 * ctype/ctype.h: Likewise.
3452 * debug/swprintf_chk.c: Likewise.
3453 * elf/dl-cache.c: Likewise.
3454 * elf/dl-debug.c: Likewise.
3455 * elf/dl-object.c: Likewise.
3456 * grp/initgroups.c: Likewise.
3457 * hurd/Makefile: Likewise.
3458 * hurd/hurd/signal.h: Likewise.
3459 * hurd/hurdfault.c: Likewise.
3460 * hurd/hurdioctl.c: Likewise.
3461 * hurd/hurdlookup.c: Likewise.
3462 * hurd/intr-msg.c: Likewise.
3463 * iconv/gconv_open.c: Likewise.
3464 * libio/swprintf.c: Likewise.
3465 * locale/lc-ctype.c: Likewise.
3466 * locale/nl_langinfo.c: Likewise.
3467 * mach/Machrules: Likewise.
3468 * mach/Makefile: Likewise.
3469 * malloc/obstack.h: Likewise.
3470 * manual/Makefile: Likewise.
3471 * manual/tsort.awk: Likewise.
3472 * misc/bits/stab.def: Likewise.
3473 * nis/nis_print_group_entry.c: Likewise.
3474 * nis/nis_table.c: Likewise.
3475 * nis/nss_compat/compat-pwd.c: Likewise.
3476 * nis/nss_compat/compat-spwd.c: Likewise.
3477 * po/Makefile: Likewise.
3478 * posix/fnmatch.c: Likewise.
3479 * posix/regex.h: Likewise.
3480 * resolv/Makefile: Likewise.
3481 * resolv/nss_dns/dns-network.c: Likewise.
3482 * resolv/res_hconf.c: Likewise.
3483 * scripts/gen-sorted.awk: Likewise.
3484 * soft-fp/soft-fp.h: Likewise.
3485 * stdio-common/printf.h: Likewise.
3486 * stdlib/monetary.h: Likewise.
3487 * stdlib/random.c: Likewise.
3488 * stdlib/random_r.c: Likewise.
3489 * sysdeps/generic/Makefile: Likewise.
3490 * sysdeps/gnu/Makefile: Likewise.
3491 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3493 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3495 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3498 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3499 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3500 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3501 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3502 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3503 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3504 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3505 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3506 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3507 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3508 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3509 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3510 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3511 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3512 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3513 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3514 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3515 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3516 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3517 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3518 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3519 * sysdeps/mach/hurd/errnos.awk: Likewise.
3520 * sysdeps/mach/hurd/fork.c: Likewise.
3521 * sysdeps/mach/hurd/getcwd.c: Likewise.
3522 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3523 * sysdeps/mach/hurd/mmap.c: Likewise.
3524 * sysdeps/mach/hurd/utimes.c: Likewise.
3525 * sysdeps/mach/hurd/xmknod.c: Likewise.
3526 * sysdeps/posix/profil.c: Likewise.
3527 * sysdeps/posix/readdir_r.c: Likewise.
3528 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3529 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3530 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3531 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3533 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3534 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3535 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3537 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3538 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3539 * sysdeps/pthread/lio_listio.c: Likewise.
3540 * sysdeps/sparc/dl-procinfo.h: Likewise.
3541 * sysdeps/unix/i386/sysdep.S: Likewise.
3542 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3543 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3544 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3545 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3547 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3548 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3549 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3550 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3551 * sysdeps/wordsize-32/divdi3.c: Likewise.
3552 * time/sys/time.h: Likewise.
3553 * wcsmbs/Makefile: Likewise.
3555 2013-01-01 David S. Miller <davem@davemloft.net>
3557 * po/fr.po: Update from translation team.
3559 * catgets/gencat.c: Update copyright year.
3560 * csu/version.c: Likewise.
3561 * debug/catchsegv.sh: Likewise.
3562 * debug/pcprofiledump.c: Likewise.
3563 * debug/xtrace.sh: Likewise.
3564 * elf/ldconfig.c: Likewise.
3565 * elf/ldd.bash.in: Likewise.
3566 * elf/pldd.c: Likewise.
3567 * elf/sotruss.ksh: Likewise.
3568 * elf/sprof.c: Likewise.
3569 * iconv/iconv_prog.c: Likewise.
3570 * iconv/iconvconfig.c: Likewise.
3571 * locale/programs/locale.c: Likewise.
3572 * locale/programs/localedef.c: Likewise.
3573 * login/programs/pt_chown.c: Likewise.
3574 * malloc/memusage.sh: Likewise.
3575 * malloc/memusagestat.c: Likewise.
3576 * malloc/mtrace.pl: Likewise.
3577 * nscd/nscd.c: Likewise.
3578 * nss/getent.c: Likewise.
3579 * nss/makedb.c: Likewise.
3580 * posix/getconf.c: Likewise.
3582 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3584 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3587 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3589 * math/bits/mathcalls.h (modf): Use __nonnull.
3591 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3593 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3594 (split): Use macro CN instead of the bare value.
3595 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3597 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3598 instead of the bare value.
3601 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3603 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3605 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3607 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3609 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3610 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3611 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3612 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3614 2012-12-28 Andreas Jaeger <aj@suse.de>
3616 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3617 values are from Linux 3.7.
3619 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3620 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3622 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3624 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3627 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3629 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3630 variables with preprocessor constants.
3631 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3632 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3633 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3635 2012-12-27 Bruno Haible <bruno@clisp.org>
3638 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3641 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3644 and use variable directly.
3645 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3647 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3649 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3650 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3652 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3653 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3654 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3655 include directive. Remove local variable MPONE.
3656 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3657 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3658 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3660 2012-12-25 David S. Miller <davem@davemloft.net>
3662 * version.h (RELEASE): Set to "development".
3663 (VERSION): Set to "2.17.90".
3664 * NEWS: Add 2.18 section.
3666 2012-12-21 David S. Miller <davem@davemloft.net>
3668 * po/hr.po: Update from translation team.
3670 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3672 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3674 2012-12-19 Steve Ellcey <sellcey@mips.com>
3676 * NEWS: Mention new memcpy for MIPS.
3678 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3680 * manual/contrib.texi (Contributors): Spelling correction.
3682 2012-12-15 David S. Miller <davem@davemloft.net>
3684 * po/ru.po: Update from translation team.
3686 2012-12-13 David S. Miller <davem@davemloft.net>
3688 * NEWS: Mention IFUNC testsuite enhancements.
3690 * po/pl.po: Update from translation team.
3691 * po/bg.po: Likewise.
3693 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3694 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3696 2012-12-11 David S. Miller <davem@davemloft.net>
3698 * po/sv.po: Update from translation team.
3700 * po/vi.po: Update from translation team.
3702 * po/cs.po: Update from translation team.
3704 * po/de.po: Update from translation team.
3705 * po/eo.po: Likewise.
3706 * po/nl.po: Likewise.
3708 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3711 * manual/argp.texi (Argp Helper Functions): Move node to follow
3715 * manual/conf.texi (Limits on File System Capacity): Mention if
3716 terminating null is included in the max size.
3718 2012-12-10 Andreas Jaeger <aj@suse.de>
3720 * po/cs.po: Update from translation team.
3722 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3724 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3725 void pointer and cast to uintptr_t.
3726 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3728 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3729 * sysdeps/s390/s390-64/memset.S: Likewise.
3731 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3734 * menual/message.texi (Message Translation): Fix typos.
3735 (Helper programs for gettext): Likewise.
3737 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3740 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3743 2012-12-07 David S. Miller <davem@davemloft.net>
3745 * po/libc.pot: Update.
3747 2012-12-07 Richard Henderson <rth@redhat.com>
3750 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3751 normal/normal case to before the switch.
3752 (_FP_DIV): Likewise.
3754 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3755 Mike Frysinger <vapier@gentoo.org>
3757 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3758 check for __NR_fadvise64_64.
3760 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3762 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3763 0, not just to plain "0" as a statement.
3764 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3767 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3769 * NEWS: Use sourceware.org in Bugzilla URL.
3771 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3774 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3776 * stdio-common/tst-put-error.c (do_test): Add newline to the
3777 padded test to ensure flush.
3779 2012-12-05 Jeff Law <law@redhat.com>
3781 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3783 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3785 * README: Don't refer to ports add-on as distributed separately.
3786 Mention AArch64 in list of systems supported in the ports add-on.
3788 * LICENSES: Add more non-FSF copyright and license notices.
3790 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3793 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3795 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3796 10000 as width of padded output.
3798 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3800 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3802 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3803 variable LX with __attribute__ ((unused)).
3804 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3806 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3807 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3808 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3809 with __attribute__ ((unused)).
3811 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3813 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3815 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3817 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3818 (CFLAGS-nldbl-acos.c): New variable.
3819 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3820 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3821 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3822 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3823 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3824 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3825 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3826 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3827 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3828 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3829 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3830 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3831 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3832 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3833 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3834 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3835 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3836 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3837 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3838 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3839 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3840 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3841 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3842 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3843 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3844 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3845 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3846 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3847 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3848 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3849 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3850 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3851 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3852 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3853 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3854 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3855 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3856 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3857 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3858 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3859 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3860 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3861 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3862 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3863 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3864 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3865 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3866 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3867 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3868 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3869 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3870 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3871 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3872 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3873 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3874 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3875 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3876 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3877 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3878 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3879 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3880 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3881 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3882 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3883 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3884 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3885 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3886 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3887 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3888 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3889 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3890 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3891 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3892 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3893 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3894 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3895 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3896 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3897 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3898 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3899 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3900 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3901 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3902 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3903 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3904 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3905 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3906 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3907 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3908 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3909 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3910 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3911 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3912 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3913 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3914 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3915 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3918 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3921 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3922 whole low double instead of just low 47 bits when splitting values
3925 2012-12-03 Allan McRae <allan@archlinux.org>
3927 * manual/stdio.texi (Predefined Printf Handlers): Remove
3928 @hsep and @vsep usage.
3930 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3932 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3933 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3935 2012-12-03 Jeff Law <law@redhat.com>
3937 * time/sys/time.h (settimeofday): Do not mark TV argument
3940 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3942 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3943 when currently writing and seek to current position when not.
3944 * libio/Makefile (tests): Remove bug-fclose1.
3945 * libio/bug-fclose1.c: Delete.
3947 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3949 * manual/arith.texi (feenableexcept): Fix typo.
3950 (fedisableexcept): Likewise.
3952 2012-11-30 Roland McGrath <roland@hack.frob.com>
3954 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3955 second, differently-typed declaration, rather than a cast.
3957 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3959 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3960 * include/rpc/svc.h: ... here.
3962 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3965 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3966 depending n and resplen2 to catch cases where answer
3969 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3971 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3972 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3974 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3976 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3978 2012-11-29 Roland McGrath <roland@hack.frob.com>
3980 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3982 2012-11-28 Jeff Law <law@redhat.com>
3985 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3986 dataset_temporary. Track alloca usage into alloca_used.
3987 If dataset is large allocate and release it via malloc/free.
3989 2012-06-04 Florian Weimer <fweimer@redhat.com>
3992 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3994 2012-11-28 David S. Miller <davem@davemloft.net>
3996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3998 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4001 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4002 of pi/2 rounded to nearest to 64 bits.
4003 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4005 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4008 2012-11-28 Jeff Law <law@redhat.com>
4009 Martin Osvald <mosvald@redhat.com>
4012 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4013 * sunrpc/svc.c: Include time.h.
4014 (__svc_accept_failed): New function.
4015 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4016 any reason other than EINTR, call __svc_accept_failed.
4017 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4018 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4020 2012-11-28 Andreas Schwab <schwab@suse.de>
4022 * scripts/abilist.awk: Also handle indirect functions in .opd
4025 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4028 * sysdeps/x86/fpu/powl_helper.c: New file.
4029 * sysdeps/x86/fpu/Makefile: Likewise.
4030 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4032 (__ieee754_powl): Use __powl_helper for finite arguments except
4033 integer exponents below 8.
4034 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4036 (__ieee754_powl): Use __powl_helper for finite arguments except
4037 integer exponents below 8.
4038 * math/libm-test.inc (pow_test): Add more tests and enable some
4039 previously disabled tests.
4040 * sysdeps/i386/fpu/libm-test-ulps: Update.
4041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4043 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4044 Carlos O'Donell <carlos_odonell@mentor.com>
4046 * nss/makedb.c (is_prime): Assert that input is odd and greater
4047 than 4. Note that fact in a comment too.
4048 (next_prime): Add 4 to input.
4050 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4053 * libio/Makefile (tests): Add test case tst-fwrite-error.
4054 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4055 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4056 * libio/tst-fwrite-error.c: New test case.
4058 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4060 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4061 before casting to void *.
4062 * include/libc-internal.h (__pointer_type): New macro.
4063 (__integer_if_pointer_type_sub): Likewise.
4064 (__integer_if_pointer_type): Likewise.
4065 (cast_to_integer): Likewise.
4066 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4067 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4068 before casting to atomic64_t.
4069 (atomic_exchange_acq): Likewise.
4070 (__arch_exchange_and_add_body): Likewise.
4071 (__arch_add_body): Likewise.
4072 (atomic_add_negative): Likewise.
4073 (atomic_add_zero): Likewise.
4075 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4077 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4078 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4079 (add_fdes): Likewise.
4080 (linear_search_fdes): Likewise.
4081 (binary_search_unencoded_fdes): Likewise.
4083 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4085 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4087 2012-11-24 Adam Conrad <adconrad@0c3.net>
4089 * configure.in: Autodetect C++ header directories.
4090 * configure: Regenerated.
4092 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4094 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4096 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4100 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4102 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4103 LDBL_MANT_DIG == 106]: Disable some tests.
4104 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4106 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4110 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4111 input for small inputs. Return +/- pi/2 for large inputs.
4112 * math/libm-test.inc (atan_test): Add more tests.
4114 * sysdeps/generic/unwind-dw2-fde-glibc.c
4115 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4116 __attribute__ ((unused)).
4119 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4120 x * y if x and y are nonzero and z is zero.
4123 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4124 nonzero exponents with absolute value below 0x1p-117 to +/-
4128 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4129 up arguments below 2**-450, not just those below 2**-500.
4130 * math/libm-test.inc (hypot_test): Add another test.
4133 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4134 Return a+b for ratio over 2**120, not 2**60.
4135 * math/libm-test.inc (hypot_test): Add another test.
4137 * math/libm-test.inc (clog_test): Use
4138 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4139 (clog10_test): Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4144 2012-11-22 Andreas Schwab <schwab@suse.de>
4146 * sysdeps/i386/fpu/libm-test-ulps: Update.
4148 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4150 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4151 printf output with newline.
4153 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4156 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4157 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4158 -z nodlopen, -z initfirst and -z execstack support.
4159 * configure: Regenerated.
4161 * elf/elf.h (DF_1_NODIRECT): New macro.
4162 (DF_1_IGNMULDEF): Likewise.
4163 (DF_1_NOKSYMS): Likewise.
4164 (DF_1_NOHDR): Likewise.
4165 (DF_1_EDITED): Likewise.
4166 (DF_1_NORELOC): Likewise.
4167 (DF_1_SYMINTPOSE): Likewise.
4168 (DF_1_GLOBAUDIT): Likewise.
4169 (DF_1_SINGLETON): Likewise.
4170 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4171 DT_1_SUPPORTED_MASK bits.
4172 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4174 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4176 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4178 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4180 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4183 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4184 (sendmmsg): Move declarations...
4185 * socket/sys/socket.h: ... here.
4186 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4187 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4189 * socket/recvmmsg.c: ... this new file.
4190 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4191 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4192 definition of __sendmmsg hidden.
4193 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4194 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4195 Move ENOSYS stub into and include it from...
4196 * socket/sendmmsg.c: ... this new file.
4197 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4198 (sysdep_routines): Move recvmmsg and sendmmsg...
4199 * socket/Makefile (routines): ... here.
4200 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4201 (GLIBC_PRIVATE): Add __sendmmsg.
4202 * include/sys/socket.h (__sendmmsg): Add declarations.
4203 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4206 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4208 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4209 variable I1 with __attribute__ ((unused)).
4210 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4212 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4214 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4215 DUMMY variables with __attribute__ ((unused)).
4217 * bits/byteswap.h: Include <bits/types.h>.
4218 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4220 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4222 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4223 string_t. Do not manually set errno.
4224 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4225 length with __strnlen. Make sure to both set errno and return it on
4228 2012-11-19 David S. Miller <davem@davemloft.net>
4230 With help from Joseph Myers.
4231 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4232 very large arguments properly.
4233 * math/libm-test.inc (atan_test): New tests.
4234 (atan2_test): New tests.
4235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4238 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4241 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4244 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4245 [POSIX] (EADDRNOTAVAIL): Likewise.
4246 [POSIX] (EAFNOSUPPORT): Likewise.
4247 [POSIX] (EALREADY): Likewise.
4248 [POSIX] (ECONNABORTED): Likewise.
4249 [POSIX] (ECONNREFUSED): Likewise.
4250 [POSIX] (ECONNRESET): Likewise.
4251 [POSIX] (EDESTADDRREQ): Likewise.
4252 [POSIX] (EDQUOT): Likewise.
4253 [POSIX] (EHOSTUNREACH): Likewise.
4254 [POSIX] (EIDRM): Likewise.
4255 [POSIX] (EISCONN): Likewise.
4256 [POSIX] (ELOOP): Likewise.
4257 [POSIX] (EMULTIHOP): Likewise.
4258 [POSIX] (ENETDOWN): Likewise.
4259 [POSIX] (ENETUNREACH): Likewise.
4260 [POSIX] (ENOBUFS): Likewise.
4261 [POSIX] (ENODATA): Likewise.
4262 [POSIX] (ENOLINK): Likewise.
4263 [POSIX] (ENOMSG): Likewise.
4264 [POSIX] (ENOPROTOOPT): Likewise.
4265 [POSIX] (ENOSR): Likewise.
4266 [POSIX] (ENOSTR): Likewise.
4267 [POSIX] (ENOTCONN): Likewise.
4268 [POSIX] (ENOTSOCK): Likewise.
4269 [POSIX] (EOPNOTSUPP): Likewise.
4270 [POSIX] (EOVERFLOW): Likewise.
4271 [POSIX] (EPROTO): Likewise.
4272 [POSIX] (EPROTONOSUPPORT): Likewise.
4273 [POSIX] (EPROTOTYPE): Likewise.
4274 [POSIX] (ESTALE): Likewise.
4275 [POSIX] (ETIME): Likewise.
4276 [POSIX] (ETXTBSY): Likewise.
4277 [POSIX] (EWOULDBLOCK): Likewise.
4278 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4279 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4280 [POSIX] (SEEK_CUR): Likewise.
4281 [POSIX] (SEEK_END): Likewise.
4282 [POSIX || UNIX98] (mode_t): Do not require.
4283 [POSIX] (off_t): Likewise.
4284 [POSIX] (pid_t): Likewise.
4285 [POSIX] (sys/stat.h): Do not allow header.
4286 [POSIX] (unistd.h): Likewise.
4287 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4288 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4289 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4290 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4292 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4293 sigevent): Specify elements.
4294 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4296 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4297 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4299 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4300 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4301 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4302 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4303 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4304 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4305 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4306 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4307 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4308 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4309 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4310 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4311 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4312 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4314 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4316 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4318 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4320 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4321 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4322 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4323 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4324 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4325 Specify lower bound on value.
4326 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4327 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4328 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4329 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4330 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4331 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4332 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4333 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4335 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4337 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4338 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4339 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4340 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4341 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4342 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4343 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4344 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4345 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4346 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4347 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4348 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4349 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4350 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4351 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4352 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4354 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4356 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4357 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4358 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4359 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4360 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4361 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4363 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4364 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4365 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4366 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4367 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4368 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4369 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4371 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4372 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4373 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4374 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4375 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4376 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4377 specify as optional.
4378 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4379 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4380 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4381 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4382 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4383 [XPG3] (NL_LANGMAX): Likewise.
4384 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4385 [POSIX || XPG3] (NL_NMAX): Likewise.
4386 [POSIX || XPG3] (NL_SETMAX): Likewise.
4387 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4388 [XPG3] (NZERO): Likewise.
4389 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4390 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4391 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4392 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4393 (REG_ERANGE): Expect.
4394 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4396 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4397 Use (void) in prototype.
4398 [POSIX] (*_t): Allow.
4399 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4400 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4401 (WRDE_BADVAL): Expect.
4403 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4405 [XPG3 || XPG4] (O_RSYNC): Likewise.
4406 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4408 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4409 [XPG3 || XPG4] (sigqueue): Likewise.
4410 [XPG3 || XPG4] (sigtimedwait): Likewise.
4411 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4412 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4413 [XPG3 || XPG4] (vsnprintf): Likewise.
4414 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4416 [XPG3 || XPG4] (blksize_t): Likewise.
4417 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4419 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4420 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4421 [XPG3 || XPG4] (struct itimerspec): Likewise.
4422 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4423 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4424 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4425 [XPG3 || XPG4] (clockid_t): Likewise.
4426 [XPG3 || XPG4] (timer_t): Likewise.
4427 [XPG3 || XPG4] (clock_getres): Likewise.
4428 [XPG3 || XPG4] (clock_gettime): Likewise.
4429 [XPG3 || XPG4] (clock_settime): Likewise.
4430 [XPG3 || XPG4] (nanosleep): Likewise.
4431 [XPG3 || XPG4] (timer_create): Likewise.
4432 [XPG3 || XPG4] (timer_delete): Likewise.
4433 [XPG3 || XPG4] (timer_gettime): Likewise.
4434 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4435 [XPG3 || XPG4] (timer_settime): Likewise.
4436 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4437 [XPG3 || XPG4] (getlogin_r): Likewise.
4438 [XPG3 || XPG4] (pread): Likewise.
4439 [XPG3 || XPG4] (pthread_atfork): Likewise.
4440 [XPG3 || XPG4] (pwrite): Likewise.
4443 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4446 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4448 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4449 finalizing MALLSTREAM.
4451 * sysdeps/mach/hurd/syncfs.c: New file.
4453 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4456 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4457 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4458 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4459 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4460 (_nss_dns_gethostbyname4_r): Likewise.
4461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4462 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4464 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4467 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4469 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4471 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4472 * elf/cache.c (print_entry): Print ",AArch64" for
4475 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4476 * elf/cache.c (print_entry): Print ",hard-float" for
4479 2012-11-18 David S. Miller <davem@davemloft.net>
4481 With help from Joseph Myers.
4482 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4484 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4486 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4487 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4489 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4490 * math/libm-test.inc (y0_test): New tests.
4491 (y1_test): New tests.
4492 * sysdeps/i386/fpu/libm-test-ulps: Update.
4493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4496 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4498 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4500 * configure: Regenerated.
4502 2012-11-17 David S. Miller <davem@davemloft.net>
4505 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4506 nonzero exponents with absolute value below 0x1p-128 to +/-
4509 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4511 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4513 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4515 * posix/getconf-speclist.c: New file.
4516 * posix/posix-envs.def: Likewise.
4517 * posix/confstr.c (START_ENV_GROUP): New macro.
4518 (END_ENV_GROUP): Likewise.
4519 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4520 (KNOWN_PRESENT_ENV_STRING): Likewise.
4521 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4522 (UNKNOWN_ENVIRONMENT): Likewise.
4523 (confstr): Include posix-envs.def instead of handling
4524 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4525 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4526 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4527 (END_ENV_GROUP): Likewise.
4528 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4529 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4530 (UNKNOWN_ENVIRONMENT): Likewise.
4531 (__sysconf): Include posix-envs.def instead of handling associated
4532 cases directly here.
4533 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4534 preprocessing getconf-speclist.c rather than running getconf or
4535 generating empty file.
4537 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4539 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4541 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4544 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4546 2012-11-16 David S. Miller <davem@davemloft.net>
4548 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4549 smaller than LDBL_EPSILON/2.0L, just return xm1.
4551 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4553 * elf/tst-array1.c (init): Set constructor priority to 1000.
4554 (fini): Set destructor priority to 1000.
4555 * elf/tst-array2dep.c: Likewise.
4557 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4560 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4561 (_IO_new_file_xsputn): Also return EOF if none of the input
4562 data was written when overflow failed.
4563 * libio/iopadn.c (_IO_padn): Likewise.
4564 * libio/iowpadn.c (_IO_wpadn): Likewise.
4565 * stdio-common/tst-put-error.c: Add copyright notice.
4566 (do_test): Add case for printing padded string.
4567 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4568 _IO_padn returned error.
4569 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4570 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4573 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4575 * libio/libioP.h: Add comment note that the references to C++
4576 bits are now obsolete.
4578 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4580 * math/libm-test.inc (check_complex): Use asprintf.
4582 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4584 * debug/pcprofiledump.c (print_version): Update copyright year.
4585 * malloc/memusagestat.c (print_version): Likewise.
4587 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4590 * elf/Makefile (tests): Add tst-audit8.
4591 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4592 ($(objpfx)tst-audit8.out): New target.
4593 (tst-audit8-ENV): New variable.
4594 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4595 audit if l_reloc_result is NULL.
4596 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4597 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4598 * elf/tst-audit8.c: New file.
4600 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4602 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4603 * misc/Makefile (CFLAGS-select.c): Define.
4604 * posix/Makefile (CFLAGS-pause.c): Define.
4606 2012-11-13 David S. Miller <davem@davemloft.net>
4608 * crypt/Makefile: Move test targets after toplevel Rules
4609 inclusion. Grab any necessary sysdep routines when linking.
4610 * crypt/md5.c (md5_process_block): Remove define, we will always
4611 name it __md5_process_block.
4612 (md5_finish_ctx): Update md5_process_block call.
4613 (md5_stream): Likewise.
4614 (md5_process_bytes): Likewise.
4615 (md5_process_block): Rename to __md5_process_block and move to ...
4616 * crypt/md5-block.c: ... here.
4617 * crypt/sha256.c (sha256_process_block): Move to ...
4618 * crypt/sha256-block.c: ... here.
4619 * crypt/sha512.c (sha512_process_block): Move to ...
4620 * crypt/sha512-block.c: ... here.
4621 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4623 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4624 * sysdeps/sparc/sparc64/multiarch/Makefile
4625 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4627 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4628 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4630 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4631 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4632 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4633 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4634 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4635 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4636 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4637 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4638 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4640 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4641 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4643 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4645 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4647 * timezone/tzselect.ksh: Update from tzcode git revision
4648 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4649 * timezone/zdump.c: Likewise.
4650 * timezone/zic.c: Likewise.
4651 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4652 in TZVERSION setting, not $(PKGVERSION).
4653 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4654 REPORT_BUGS_TO settings.
4657 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4660 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4662 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4663 detection to immediately after _FP_ROUND().
4664 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4667 2012-11-11 David S. Miller <davem@davemloft.net>
4669 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4671 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4672 __close rather than their public counterparts.
4674 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4676 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4678 [UNIX98] (sem_timedwait): Do not expect.
4679 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4680 [XPG4 || UNIX98] (sockatmark): Do not expect.
4681 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4682 (clock_getcpuclockid): Do not expect.
4683 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4684 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4686 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4687 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4688 [UNIX98] (vwscanf): Likewise.
4689 [UNIX98] (vswscanf): Likewise.
4691 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4693 * timezone/version.h: Remove file.
4694 * timezone/README: Do not refer to version.h.
4695 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4697 ($(objpfx)zdump.o): Likewise.
4698 ($(objpfx)version.h): New target.
4700 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4702 * timezone/README: Don't mention modification to tzselect.ksh.
4703 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4704 work on unmodified tzselect.ksh. Substitute version numbers in
4707 * Makefile (format-me): Remove.
4708 (INSTALL): Adjust indentation. Use commands directly instead of
4711 * aclocal.m4 (ACX_PKGVERSION): New macro.
4712 (ACX_BUGURL): Likewise.
4713 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4714 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4715 (REPORT_BUGS_TO): Likewise.
4716 * configure: Regenerated.
4717 * config.h.in (PKGVERSION): New macro.
4718 (REPORT_BUGS_TO): Likewise.
4719 * config.make.in (PKGVERSION): New variable.
4720 (PKGVERSION_TEXI): Likewise.
4721 (REPORT_BUGS_TO): Likewise.
4722 (REPORT_BUGS_TEXI): Likewise.
4723 * Makefile (format-me): Use -I$(common-objpfx)manual.
4724 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4725 ($(common-objpfx)manual/%): New target.
4726 (manual/%): Remove target.
4727 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4728 (print_version): Use PKGVERSION.
4729 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4730 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4732 ($(objpfx)xtrace): Likewise.
4733 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4734 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4735 (print_version): Use PKGVERSION.
4736 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4737 (do_version): Use PKGVERSION.
4738 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4740 (common-ldd-rewrite): Likewise.
4741 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4742 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4743 (print_version): Use PKGVERSION.
4744 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4745 * elf/pldd.c (argp_program_bug_address): Remove variable.
4746 (more_help): New function.
4747 (argp): Use more_help.
4748 (print_version): Use PKGVERSION.
4749 * elf/sln.c (main): Use PKGVERSION.
4750 (usage): Use REPORT_BUGS_TO.
4751 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4752 (top level): Use PKGVERSION.
4753 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4754 (print_version): Use PKGVERSION.
4755 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4756 (print_version): Use PKGVERSION.
4757 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4758 (print_version): Use PKGVERSION.
4759 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4760 (print_version): Use PKGVERSION.
4761 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4762 (print_version): Use PKGVERSION.
4763 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4764 (print_version): Use PKGVERSION.
4765 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4767 ($(objpfx)memusage): Likewise.
4768 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4769 (do_version): Use PKGVERSION.
4770 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4771 (print_version): Use PKGVERSION.
4772 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4773 ($PKGVERSION): New variable.
4774 ($REPORT_BUGS_TO): Likewise.
4775 (usage): Use $REPORT_BUGS_TO.
4776 (top level): Use $PKGVERSION.
4777 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4778 ($(objpfx)pkgvers.texi): New rule.
4779 ($(objpfx)stamp-pkgvers): Likewise.
4780 * manual/install.texi: Include pkgvers.texi.
4781 (--with-pkgversion): Document new configure option.
4782 (--with-bugurl): Likewise.
4783 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4784 than necessarily for this particular distribution. Use
4785 REPORT_BUGS_TO for where to report bugs.
4786 * INSTALL: Regenerated.
4787 * manual/libc.texinfo: Include pkgvers.texi.
4788 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4789 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4790 (print_version): Use PKGVERSION.
4791 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4792 (print_version): Use PKGVERSION.
4793 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4794 (print_version): Use PKGVERSION.
4795 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4796 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4798 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4799 (print_version): Use PKGVERSION.
4800 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4801 (print_version): Use PKGVERSION.
4802 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4805 * timezone/checktab.awk: Update from tzcode 2012i.
4806 * timezone/ialloc.c: Likewise.
4807 * timezone/private.h: Likewise.
4808 * timezone/scheck.c: Likewise.
4809 * timezone/tzfile.h: Likewise.
4810 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4811 (TZVERSION): Hardcode tzcode version number.
4812 * timezone/zdump.c: Update from tzcode 2012i.
4813 * timezone/zic.c: Likewise.
4814 * timezone/version.h: New file.
4815 * timezone/README: Describe version.h. Update upstream location.
4818 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4819 (mktemp): Enable declaration.
4820 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4821 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4822 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4823 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4825 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4827 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4829 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4831 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4833 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4837 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4838 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4839 for copies of such integer values.
4840 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4841 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4843 2012-11-09 Andreas Jaeger <aj@suse.de>
4845 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4846 definitions and declarations that are provided by
4847 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4849 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4851 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4852 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4853 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4856 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4858 * elf/elf.h: Update comment before AArch64 relocations.
4860 2012-11-07 David S. Miller <davem@davemloft.net>
4862 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4863 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4864 (__start_context): Declare.
4865 (__makecontext_ret): Delete.
4866 (__makecontext): Hook up __start_context instead of
4868 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4869 (sysdep_routines): Add __start_context when in stdlib.
4871 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4873 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4874 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4875 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4877 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4878 (READELF): New variable. Use it instead of hardcoded "readelf".
4880 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4882 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4883 * sysdeps/x86/Makefile: Here.
4884 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4885 * sysdeps/x86/tst-xmmymm.sh: This.
4887 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4889 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4891 [UNIX98] (pthread_barrier_t): Do not expect.
4892 [UNIX98] (pthread_barrierattr_t): Likewise.
4893 [UNIX98] (pthread_spinlock_t): Likewise.
4894 [UNIX98] (pthread_barrier_destroy): Likewise.
4895 [UNIX98] (pthread_barrier_init): Likewise.
4896 [UNIX98] (pthread_barrier_wait): Likewise.
4897 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4898 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4899 [UNIX98] (pthread_barrierattr_init): Likewise.
4900 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4901 [UNIX98] (pthread_getcpuclockid): Likewise.
4902 [UNIX98] (pthread_mutex_timedlock): Likewise.
4903 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4904 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4905 [UNIX98] (pthread_sigmask): Likewise.
4906 [UNIX98] (pthread_spin_destroy): Likewise.
4907 [UNIX98] (pthread_spin_init): Likewise.
4908 [UNIX98] (pthread_spin_lock): Likewise.
4909 [UNIX98] (pthread_spin_trylock): Likewise.
4910 [UNIX98] (pthread_spin_unlock): Likewise.
4911 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4913 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4914 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4915 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4916 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4917 [XPG3 || XPG4] (pthread_key_t): Likewise.
4918 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4919 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4920 [XPG3 || XPG4] (pthread_once_t): Likewise.
4921 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4922 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4923 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4924 [XPG3 || XPG4] (pthread_t): Likewise.
4926 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4928 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4930 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4931 Change function return type to int.
4933 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4934 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4935 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4936 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4937 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4938 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4939 [!POSIX] (posix_madvise): Likewise.
4940 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4942 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4943 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4945 (posix_mem_offset): Likewise.
4946 (posix_typed_mem_get_info): Likewise.
4947 (posix_typed_mem_open): Likewise.
4949 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4950 Change condition to [XOPEN2K8].
4952 * conform/conformtest.pl: Preprocess allow-header data with -x c
4953 instead of from stdin.
4954 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4955 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4956 [C99-based standards] (cerfc): Likewise.
4957 [C99-based standards] (cexp2): Likewise.
4958 [C99-based standards] (cexpm1): Likewise.
4959 [C99-based standards] (clog10): Likewise.
4960 [C99-based standards] (clog1p): Likewise.
4961 [C99-based standards] (clog2): Likewise.
4962 [C99-based standards] (clgamma): Likewise.
4963 [C99-based standards] (ctgamma): Likewise.
4964 [C99-based standards] (cerff): Likewise.
4965 [C99-based standards] (cerfcf): Likewise.
4966 [C99-based standards] (cexp2f): Likewise.
4967 [C99-based standards] (cexpm1f): Likewise.
4968 [C99-based standards] (clog10f): Likewise.
4969 [C99-based standards] (clog1pf): Likewise.
4970 [C99-based standards] (clog2f): Likewise.
4971 [C99-based standards] (clgammaf): Likewise.
4972 [C99-based standards] (ctgammaf): Likewise.
4973 [C99-based standards] (cerfl): Likewise.
4974 [C99-based standards] (cerfcl): Likewise.
4975 [C99-based standards] (cexp2l): Likewise.
4976 [C99-based standards] (cexpm1l): Likewise.
4977 [C99-based standards] (clog10l): Likewise.
4978 [C99-based standards] (clog1pl): Likewise.
4979 [C99-based standards] (clog2l): Likewise.
4980 [C99-based standards] (clgammal): Likewise.
4981 [C99-based standards] (ctgammal): Likewise.
4982 * conform/data/inttypes.h-data [C99-based standards]: Include
4983 stdint.h-data. Remove all expectations for stdint.h contents.
4984 [C99-based standards] (PRI*): Do not allow.
4985 [C99-based standards] (SCN*): Likewise.
4986 [C99-based standards] (*_t): Likewise.
4987 [C99-based-standards] (PRId8): Expect macro.
4988 [C99-based-standards] (PRIi8): Likewise.
4989 [C99-based-standards] (PRIo8): Likewise.
4990 [C99-based-standards] (PRIu8): Likewise.
4991 [C99-based-standards] (PRIx8): Likewise.
4992 [C99-based-standards] (PRIX8): Likewise.
4993 [C99-based-standards] (SCNd8): Likewise.
4994 [C99-based-standards] (SCNi8): Likewise.
4995 [C99-based-standards] (SCNo8): Likewise.
4996 [C99-based-standards] (SCNu8): Likewise.
4997 [C99-based-standards] (SCNx8): Likewise.
4998 [C99-based-standards] (PRIdLEAST8): Likewise.
4999 [C99-based-standards] (PRIiLEAST8): Likewise.
5000 [C99-based-standards] (PRIoLEAST8): Likewise.
5001 [C99-based-standards] (PRIuLEAST8): Likewise.
5002 [C99-based-standards] (PRIxLEAST8): Likewise.
5003 [C99-based-standards] (PRIXLEAST8): Likewise.
5004 [C99-based-standards] (SCNdLEAST8): Likewise.
5005 [C99-based-standards] (SCNiLEAST8): Likewise.
5006 [C99-based-standards] (SCNoLEAST8): Likewise.
5007 [C99-based-standards] (SCNuLEAST8): Likewise.
5008 [C99-based-standards] (SCNxLEAST8): Likewise.
5009 [C99-based-standards] (PRIdFAST8): Likewise.
5010 [C99-based-standards] (PRIiFAST8): Likewise.
5011 [C99-based-standards] (PRIoFAST8): Likewise.
5012 [C99-based-standards] (PRIuFAST8): Likewise.
5013 [C99-based-standards] (PRIxFAST8): Likewise.
5014 [C99-based-standards] (PRIXFAST8): Likewise.
5015 [C99-based-standards] (SCNdFAST8): Likewise.
5016 [C99-based-standards] (SCNiFAST8): Likewise.
5017 [C99-based-standards] (SCNoFAST8): Likewise.
5018 [C99-based-standards] (SCNuFAST8): Likewise.
5019 [C99-based-standards] (SCNxFAST8): Likewise.
5020 [C99-based-standards] (PRId16): Likewise.
5021 [C99-based-standards] (PRIi16): Likewise.
5022 [C99-based-standards] (PRIo16): Likewise.
5023 [C99-based-standards] (PRIu16): Likewise.
5024 [C99-based-standards] (PRIx16): Likewise.
5025 [C99-based-standards] (PRIX16): Likewise.
5026 [C99-based-standards] (SCNd16): Likewise.
5027 [C99-based-standards] (SCNi16): Likewise.
5028 [C99-based-standards] (SCNo16): Likewise.
5029 [C99-based-standards] (SCNu16): Likewise.
5030 [C99-based-standards] (SCNx16): Likewise.
5031 [C99-based-standards] (PRIdLEAST16): Likewise.
5032 [C99-based-standards] (PRIiLEAST16): Likewise.
5033 [C99-based-standards] (PRIoLEAST16): Likewise.
5034 [C99-based-standards] (PRIuLEAST16): Likewise.
5035 [C99-based-standards] (PRIxLEAST16): Likewise.
5036 [C99-based-standards] (PRIXLEAST16): Likewise.
5037 [C99-based-standards] (SCNdLEAST16): Likewise.
5038 [C99-based-standards] (SCNiLEAST16): Likewise.
5039 [C99-based-standards] (SCNoLEAST16): Likewise.
5040 [C99-based-standards] (SCNuLEAST16): Likewise.
5041 [C99-based-standards] (SCNxLEAST16): Likewise.
5042 [C99-based-standards] (PRIdFAST16): Likewise.
5043 [C99-based-standards] (PRIiFAST16): Likewise.
5044 [C99-based-standards] (PRIoFAST16): Likewise.
5045 [C99-based-standards] (PRIuFAST16): Likewise.
5046 [C99-based-standards] (PRIxFAST16): Likewise.
5047 [C99-based-standards] (PRIXFAST16): Likewise.
5048 [C99-based-standards] (SCNdFAST16): Likewise.
5049 [C99-based-standards] (SCNiFAST16): Likewise.
5050 [C99-based-standards] (SCNoFAST16): Likewise.
5051 [C99-based-standards] (SCNuFAST16): Likewise.
5052 [C99-based-standards] (SCNxFAST16): Likewise.
5053 [C99-based-standards] (PRId32): Likewise.
5054 [C99-based-standards] (PRIi32): Likewise.
5055 [C99-based-standards] (PRIo32): Likewise.
5056 [C99-based-standards] (PRIu32): Likewise.
5057 [C99-based-standards] (PRIx32): Likewise.
5058 [C99-based-standards] (PRIX32): Likewise.
5059 [C99-based-standards] (SCNd32): Likewise.
5060 [C99-based-standards] (SCNi32): Likewise.
5061 [C99-based-standards] (SCNo32): Likewise.
5062 [C99-based-standards] (SCNu32): Likewise.
5063 [C99-based-standards] (SCNx32): Likewise.
5064 [C99-based-standards] (PRIdLEAST32): Likewise.
5065 [C99-based-standards] (PRIiLEAST32): Likewise.
5066 [C99-based-standards] (PRIoLEAST32): Likewise.
5067 [C99-based-standards] (PRIuLEAST32): Likewise.
5068 [C99-based-standards] (PRIxLEAST32): Likewise.
5069 [C99-based-standards] (PRIXLEAST32): Likewise.
5070 [C99-based-standards] (SCNdLEAST32): Likewise.
5071 [C99-based-standards] (SCNiLEAST32): Likewise.
5072 [C99-based-standards] (SCNoLEAST32): Likewise.
5073 [C99-based-standards] (SCNuLEAST32): Likewise.
5074 [C99-based-standards] (SCNxLEAST32): Likewise.
5075 [C99-based-standards] (PRIdFAST32): Likewise.
5076 [C99-based-standards] (PRIiFAST32): Likewise.
5077 [C99-based-standards] (PRIoFAST32): Likewise.
5078 [C99-based-standards] (PRIuFAST32): Likewise.
5079 [C99-based-standards] (PRIxFAST32): Likewise.
5080 [C99-based-standards] (PRIXFAST32): Likewise.
5081 [C99-based-standards] (SCNdFAST32): Likewise.
5082 [C99-based-standards] (SCNiFAST32): Likewise.
5083 [C99-based-standards] (SCNoFAST32): Likewise.
5084 [C99-based-standards] (SCNuFAST32): Likewise.
5085 [C99-based-standards] (SCNxFAST32): Likewise.
5086 [C99-based-standards] (PRId64): Likewise.
5087 [C99-based-standards] (PRIi64): Likewise.
5088 [C99-based-standards] (PRIo64): Likewise.
5089 [C99-based-standards] (PRIu64): Likewise.
5090 [C99-based-standards] (PRIx64): Likewise.
5091 [C99-based-standards] (PRIX64): Likewise.
5092 [C99-based-standards] (SCNd64): Likewise.
5093 [C99-based-standards] (SCNi64): Likewise.
5094 [C99-based-standards] (SCNo64): Likewise.
5095 [C99-based-standards] (SCNu64): Likewise.
5096 [C99-based-standards] (SCNx64): Likewise.
5097 [C99-based-standards] (PRIdLEAST64): Likewise.
5098 [C99-based-standards] (PRIiLEAST64): Likewise.
5099 [C99-based-standards] (PRIoLEAST64): Likewise.
5100 [C99-based-standards] (PRIuLEAST64): Likewise.
5101 [C99-based-standards] (PRIxLEAST64): Likewise.
5102 [C99-based-standards] (PRIXLEAST64): Likewise.
5103 [C99-based-standards] (SCNdLEAST64): Likewise.
5104 [C99-based-standards] (SCNiLEAST64): Likewise.
5105 [C99-based-standards] (SCNoLEAST64): Likewise.
5106 [C99-based-standards] (SCNuLEAST64): Likewise.
5107 [C99-based-standards] (SCNxLEAST64): Likewise.
5108 [C99-based-standards] (PRIdFAST64): Likewise.
5109 [C99-based-standards] (PRIiFAST64): Likewise.
5110 [C99-based-standards] (PRIoFAST64): Likewise.
5111 [C99-based-standards] (PRIuFAST64): Likewise.
5112 [C99-based-standards] (PRIxFAST64): Likewise.
5113 [C99-based-standards] (PRIXFAST64): Likewise.
5114 [C99-based-standards] (SCNdFAST64): Likewise.
5115 [C99-based-standards] (SCNiFAST64): Likewise.
5116 [C99-based-standards] (SCNoFAST64): Likewise.
5117 [C99-based-standards] (SCNuFAST64): Likewise.
5118 [C99-based-standards] (SCNxFAST64): Likewise.
5119 [C99-based-standards] (PRIdMAX): Likewise.
5120 [C99-based-standards] (PRIiMAX): Likewise.
5121 [C99-based-standards] (PRIoMAX): Likewise.
5122 [C99-based-standards] (PRIuMAX): Likewise.
5123 [C99-based-standards] (PRIxMAX): Likewise.
5124 [C99-based-standards] (PRIXMAX): Likewise.
5125 [C99-based-standards] (SCNdMAX): Likewise.
5126 [C99-based-standards] (SCNiMAX): Likewise.
5127 [C99-based-standards] (SCNoMAX): Likewise.
5128 [C99-based-standards] (SCNuMAX): Likewise.
5129 [C99-based-standards] (SCNxMAX): Likewise.
5130 [C99-based-standards] (PRIdPTR): Likewise.
5131 [C99-based-standards] (PRIiPTR): Likewise.
5132 [C99-based-standards] (PRIoPTR): Likewise.
5133 [C99-based-standards] (PRIuPTR): Likewise.
5134 [C99-based-standards] (PRIxPTR): Likewise.
5135 [C99-based-standards] (PRIXPTR): Likewise.
5136 [C99-based-standards] (SCNdPTR): Likewise.
5137 [C99-based-standards] (SCNiPTR): Likewise.
5138 [C99-based-standards] (SCNoPTR): Likewise.
5139 [C99-based-standards] (SCNuPTR): Likewise.
5140 [C99-based-standards] (SCNxPTR): Likewise.
5141 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5143 * conform/data/stdint.h-data: Update comments to clarify
5145 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5147 [C99-based standards] (INT8_MAX): Likewise.
5148 [C99-based standards] (INT16_MIN): Likewise.
5149 [C99-based standards] (INT16_MAX): Likewise.
5150 [C99-based standards] (INT32_MIN): Likewise.
5151 [C99-based standards] (INT32_MAX): Likewise.
5152 [C99-based standards] (INT64_MIN): Likewise.
5153 [C99-based standards] (INT64_MAX): Likewise.
5154 [C99-based standards] (UINT8_MAX): Likewise.
5155 [C99-based standards] (UINT16_MAX): Likewise.
5156 [C99-based standards] (UINT32_MAX): Likewise.
5157 [C99-based standards] (UINT64_MAX): Likewise.
5158 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5159 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5160 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5161 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5162 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5163 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5164 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5165 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5166 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5167 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5168 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5169 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5170 [C99-based standards] (INT_FAST8_MIN): Likewise.
5171 [C99-based standards] (INT_FAST8_MAX): Likewise.
5172 [C99-based standards] (INT_FAST16_MIN): Likewise.
5173 [C99-based standards] (INT_FAST16_MAX): Likewise.
5174 [C99-based standards] (INT_FAST32_MIN): Likewise.
5175 [C99-based standards] (INT_FAST32_MAX): Likewise.
5176 [C99-based standards] (INT_FAST64_MIN): Likewise.
5177 [C99-based standards] (INT_FAST64_MAX): Likewise.
5178 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5179 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5180 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5181 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5182 [C99-based standards] (INTPTR_MIN): Likewise.
5183 [C99-based standards] (INTPTR_MAX): Likewise.
5184 [C99-based standards] (UINTPTR_MAX): Likewise.
5185 [C99-based standards] (INTMAX_MIN): Likewise.
5186 [C99-based standards] (INTMAX_MAX): Likewise.
5187 [C99-based standards] (UINTMAX_MAX): Likewise.
5188 [C99-based standards] (PTRDIFF_MIN): Likewise.
5189 [C99-based standards] (PTRDIFF_MAX): Likewise.
5190 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5191 [C99-based standards] (SIZE_MAX): Likewise.
5192 [C99-based standards] (WCHAR_MAX): Likewise.
5193 [C99-based standards] (WINT_MAX): Likewise.
5194 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5195 constraint on value.
5196 [C99-based standards] (WCHAR_MIN): Likewise.
5197 [C99-based standards] (WINT_MIN): Likewise.
5198 [C99-based standards] (*_t): Allow.
5199 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5200 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5201 Include math.h-data and complex.h-data. Remove all expectations
5202 of math.h and complex.h contents.
5203 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5205 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5206 (struct tm): Expect tag.
5207 [C99-based-standards] (wcstof): Expect function.
5208 [C99-based-standards] (wcstold): Likewise.
5209 [C99-based-standards] (wcstoll): Likewise.
5210 [C99-based-standards] (wcstoull): Likewise.
5211 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5212 macro-int-constant. Specify type.
5213 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5214 constraint on value.
5215 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5217 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5219 [ISO C standards]: Do not allow headers.
5220 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5221 wcs[abcdefghijklmnopqrstuvwxyz]*.
5222 [ISO C standards] (*_t): Do not allow.
5223 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5225 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5226 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5228 [ISO C standards]: Do not allow headers.
5229 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5230 is[abcdefghijklmnopqrstuvwxyz]*.
5231 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5232 to[abcdefghijklmnopqrstuvwxyz]*.
5233 [ISO C standards] (*_t): Do not allow.
5234 * conform/data/stdalign.h-data: New file.
5235 * conform/data/stdbool.h-data: Likewise.
5236 * conform/data/stdnoreturn.h-data: Likewise.
5238 2012-11-07 Roland McGrath <roland@hack.frob.com>
5241 * manual/filesys.texi (Directory Entries): Typo fix.
5242 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5244 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5246 * elf/elf.h (EM_AARCH64): New macro.
5247 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5248 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5249 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5250 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5251 (R_AARCH64_TLSDESC): Likewise.
5252 (NT_ARM_TLS): Likewise.
5253 (NT_ARM_HW_BREAK): Likewise.
5254 (NT_ARM_HW_WATCH): Likewise.
5256 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5259 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5260 (__ieee754_powl): Saturate nonzero exponents with absolute value
5261 below 0x1p-79 to +/- 0x1p-79.
5262 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5263 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5264 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5265 nonzero exponents with absolute value below 0x1p-32 to +/-
5267 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5268 (__ieee754_powl): Saturate nonzero exponents with absolute value
5269 below 0x1p-79 to +/- 0x1p-79.
5270 * math/libm-test.inc (pow_test): Add more tests.
5272 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5274 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5275 _dl_s390_cap_flags with kernel. Increase string length.
5276 (_dl_s390_platforms): Add z196 and zEC12.
5278 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5280 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5281 Change XOPEN21K to XOPEN2K.
5283 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5285 * string/memmove.c: Use memcpy when possible.
5287 2012-11-06 Andreas Jaeger <aj@suse.de>
5289 * po/eo.po: Update from translation team.
5291 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5295 exponent and small x and y exponents, scale x or y up. Increase
5296 by 2 the exponent used in scaling up.
5297 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5298 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5299 * math/libm-test.inc (fma_test): Add more tests.
5300 (fma_test_towardzero): Likewise.
5301 (fma_test_downward): Likewise.
5302 (fma_test_upward): Likewise.
5304 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5307 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5311 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5312 namespace for names of struct fields.
5313 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5315 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5316 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5318 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5321 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5323 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5325 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5329 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5332 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5336 definitely overflow as x * y not x * y + z.
5337 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5338 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5339 * math/libm-test.inc (fma_test): Add more tests.
5340 (fma_test_towardzero): Likewise.
5341 (fma_test_downward): Likewise.
5342 (fma_test_upward): Likewise.
5344 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5348 * include/stub-tag.h: Remove file.
5349 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5351 * manual/maint.texi (Porting): Don't reference it.
5352 * Makerules ($(objpfx)stubs): Likewise.
5353 * dirent/closedir.c: Don't include <stub-tag.h>.
5354 * dirent/dirfd.c: Likewise.
5355 * dirent/fdopendir.c: Likewise.
5356 * dirent/getdents.c: Likewise.
5357 * dirent/getdents64.c: Likewise.
5358 * dirent/opendir.c: Likewise.
5359 * dirent/readdir.c: Likewise.
5360 * dirent/readdir64.c: Likewise.
5361 * dirent/readdir64_r.c: Likewise.
5362 * dirent/readdir_r.c: Likewise.
5363 * dirent/rewinddir.c: Likewise.
5364 * dirent/seekdir.c: Likewise.
5365 * dirent/telldir.c: Likewise.
5366 * gmon/profil.c: Likewise.
5367 * grp/setgroups.c: Likewise.
5368 * inet/if_index.c: Likewise.
5369 * io/access.c: Likewise.
5370 * io/chdir.c: Likewise.
5371 * io/chmod.c: Likewise.
5372 * io/chown.c: Likewise.
5373 * io/close.c: Likewise.
5374 * io/dup.c: Likewise.
5375 * io/dup2.c: Likewise.
5376 * io/dup3.c: Likewise.
5377 * io/euidaccess.c: Likewise.
5378 * io/faccessat.c: Likewise.
5379 * io/fchdir.c: Likewise.
5380 * io/fchmod.c: Likewise.
5381 * io/fchmodat.c: Likewise.
5382 * io/fchown.c: Likewise.
5383 * io/fchownat.c: Likewise.
5384 * io/fcntl.c: Likewise.
5385 * io/flock.c: Likewise.
5386 * io/fstatfs.c: Likewise.
5387 * io/fstatfs64.c: Likewise.
5388 * io/fstatvfs.c: Likewise.
5389 * io/fstatvfs64.c: Likewise.
5390 * io/futimens.c: Likewise.
5391 * io/fxstat.c: Likewise.
5392 * io/fxstat64.c: Likewise.
5393 * io/fxstatat.c: Likewise.
5394 * io/fxstatat64.c: Likewise.
5395 * io/getcwd.c: Likewise.
5396 * io/isatty.c: Likewise.
5397 * io/lchmod.c: Likewise.
5398 * io/lchown.c: Likewise.
5399 * io/link.c: Likewise.
5400 * io/linkat.c: Likewise.
5401 * io/lseek.c: Likewise.
5402 * io/lseek64.c: Likewise.
5403 * io/lxstat64.c: Likewise.
5404 * io/mkdir.c: Likewise.
5405 * io/mkdirat.c: Likewise.
5406 * io/mkfifo.c: Likewise.
5407 * io/mkfifoat.c: Likewise.
5408 * io/open.c: Likewise.
5409 * io/open64.c: Likewise.
5410 * io/openat.c: Likewise.
5411 * io/openat64.c: Likewise.
5412 * io/pipe.c: Likewise.
5413 * io/pipe2.c: Likewise.
5414 * io/poll.c: Likewise.
5415 * io/posix_fadvise.c: Likewise.
5416 * io/posix_fadvise64.c: Likewise.
5417 * io/posix_fallocate.c: Likewise.
5418 * io/posix_fallocate64.c: Likewise.
5419 * io/read.c: Likewise.
5420 * io/readlink.c: Likewise.
5421 * io/readlinkat.c: Likewise.
5422 * io/rmdir.c: Likewise.
5423 * io/sendfile.c: Likewise.
5424 * io/sendfile64.c: Likewise.
5425 * io/statfs.c: Likewise.
5426 * io/statfs64.c: Likewise.
5427 * io/statvfs.c: Likewise.
5428 * io/statvfs64.c: Likewise.
5429 * io/symlink.c: Likewise.
5430 * io/symlinkat.c: Likewise.
5431 * io/ttyname.c: Likewise.
5432 * io/ttyname_r.c: Likewise.
5433 * io/umask.c: Likewise.
5434 * io/unlink.c: Likewise.
5435 * io/unlinkat.c: Likewise.
5436 * io/utime.c: Likewise.
5437 * io/utimensat.c: Likewise.
5438 * io/write.c: Likewise.
5439 * io/xmknod.c: Likewise.
5440 * io/xmknodat.c: Likewise.
5441 * io/xstat.c: Likewise.
5442 * io/xstat64.c: Likewise.
5443 * login/getpt.c: Likewise.
5444 * login/grantpt.c: Likewise.
5445 * login/unlockpt.c: Likewise.
5446 * math/e_acoshl.c: Likewise.
5447 * math/e_acosl.c: Likewise.
5448 * math/e_asinl.c: Likewise.
5449 * math/e_atan2l.c: Likewise.
5450 * math/e_atanhl.c: Likewise.
5451 * math/e_coshl.c: Likewise.
5452 * math/e_expl.c: Likewise.
5453 * math/e_fmodl.c: Likewise.
5454 * math/e_gammal_r.c: Likewise.
5455 * math/e_hypotl.c: Likewise.
5456 * math/e_j0l.c: Likewise.
5457 * math/e_j1l.c: Likewise.
5458 * math/e_jnl.c: Likewise.
5459 * math/e_lgammal_r.c: Likewise.
5460 * math/e_log10l.c: Likewise.
5461 * math/e_log2l.c: Likewise.
5462 * math/e_logl.c: Likewise.
5463 * math/e_powl.c: Likewise.
5464 * math/e_rem_pio2l.c: Likewise.
5465 * math/e_sinhl.c: Likewise.
5466 * math/e_sqrtl.c: Likewise.
5467 * math/fclrexcpt.c: Likewise.
5468 * math/fedisblxcpt.c: Likewise.
5469 * math/feenablxcpt.c: Likewise.
5470 * math/fegetenv.c: Likewise.
5471 * math/fegetexcept.c: Likewise.
5472 * math/fegetround.c: Likewise.
5473 * math/feholdexcpt.c: Likewise.
5474 * math/fesetenv.c: Likewise.
5475 * math/fesetround.c: Likewise.
5476 * math/feupdateenv.c: Likewise.
5477 * math/fgetexcptflg.c: Likewise.
5478 * math/fraiseexcpt.c: Likewise.
5479 * math/fsetexcptflg.c: Likewise.
5480 * math/ftestexcept.c: Likewise.
5481 * math/k_cosl.c: Likewise.
5482 * math/k_rem_pio2l.c: Likewise.
5483 * math/k_sinl.c: Likewise.
5484 * math/k_tanl.c: Likewise.
5485 * math/s_asinhl.c: Likewise.
5486 * math/s_atanl.c: Likewise.
5487 * math/s_cbrtl.c: Likewise.
5488 * math/s_erfl.c: Likewise.
5489 * math/s_expm1l.c: Likewise.
5490 * math/s_log1pl.c: Likewise.
5491 * math/s_tanhl.c: Likewise.
5492 * misc/acct.c: Likewise.
5493 * misc/brk.c: Likewise.
5494 * misc/chflags.c: Likewise.
5495 * misc/chroot.c: Likewise.
5496 * misc/fchflags.c: Likewise.
5497 * misc/fgetxattr.c: Likewise.
5498 * misc/flistxattr.c: Likewise.
5499 * misc/fremovexattr.c: Likewise.
5500 * misc/fsetxattr.c: Likewise.
5501 * misc/fsync.c: Likewise.
5502 * misc/ftruncate.c: Likewise.
5503 * misc/futimes.c: Likewise.
5504 * misc/futimesat.c: Likewise.
5505 * misc/getdomain.c: Likewise.
5506 * misc/getdtsz.c: Likewise.
5507 * misc/gethostid.c: Likewise.
5508 * misc/gethostname.c: Likewise.
5509 * misc/getloadavg.c: Likewise.
5510 * misc/getpagesize.c: Likewise.
5511 * misc/getsysstats.c: Likewise.
5512 * misc/getxattr.c: Likewise.
5513 * misc/gtty.c: Likewise.
5514 * misc/ioctl.c: Likewise.
5515 * misc/lgetxattr.c: Likewise.
5516 * misc/listxattr.c: Likewise.
5517 * misc/llistxattr.c: Likewise.
5518 * misc/lremovexattr.c: Likewise.
5519 * misc/lsetxattr.c: Likewise.
5520 * misc/lutimes.c: Likewise.
5521 * misc/madvise.c: Likewise.
5522 * misc/mincore.c: Likewise.
5523 * misc/mlock.c: Likewise.
5524 * misc/mlockall.c: Likewise.
5525 * misc/mmap.c: Likewise.
5526 * misc/mprotect.c: Likewise.
5527 * misc/msync.c: Likewise.
5528 * misc/munlock.c: Likewise.
5529 * misc/munlockall.c: Likewise.
5530 * misc/munmap.c: Likewise.
5531 * misc/preadv.c: Likewise.
5532 * misc/preadv64.c: Likewise.
5533 * misc/ptrace.c: Likewise.
5534 * misc/pwritev.c: Likewise.
5535 * misc/pwritev64.c: Likewise.
5536 * misc/readv.c: Likewise.
5537 * misc/reboot.c: Likewise.
5538 * misc/remap_file_pages.c: Likewise.
5539 * misc/removexattr.c: Likewise.
5540 * misc/revoke.c: Likewise.
5541 * misc/select.c: Likewise.
5542 * misc/setdomain.c: Likewise.
5543 * misc/setegid.c: Likewise.
5544 * misc/seteuid.c: Likewise.
5545 * misc/sethostid.c: Likewise.
5546 * misc/sethostname.c: Likewise.
5547 * misc/setregid.c: Likewise.
5548 * misc/setreuid.c: Likewise.
5549 * misc/setxattr.c: Likewise.
5550 * misc/sstk.c: Likewise.
5551 * misc/stty.c: Likewise.
5552 * misc/swapoff.c: Likewise.
5553 * misc/swapon.c: Likewise.
5554 * misc/sync.c: Likewise.
5555 * misc/syncfs.c: Likewise.
5556 * misc/syscall.c: Likewise.
5557 * misc/truncate.c: Likewise.
5558 * misc/ualarm.c: Likewise.
5559 * misc/usleep.c: Likewise.
5560 * misc/ustat.c: Likewise.
5561 * misc/utimes.c: Likewise.
5562 * misc/vhangup.c: Likewise.
5563 * misc/writev.c: Likewise.
5564 * posix/_exit.c: Likewise.
5565 * posix/alarm.c: Likewise.
5566 * posix/execve.c: Likewise.
5567 * posix/fexecve.c: Likewise.
5568 * posix/fork.c: Likewise.
5569 * posix/fpathconf.c: Likewise.
5570 * posix/getaddrinfo.c: Likewise.
5571 * posix/getegid.c: Likewise.
5572 * posix/geteuid.c: Likewise.
5573 * posix/getgid.c: Likewise.
5574 * posix/getgroups.c: Likewise.
5575 * posix/getlogin.c: Likewise.
5576 * posix/getlogin_r.c: Likewise.
5577 * posix/getpgid.c: Likewise.
5578 * posix/getpid.c: Likewise.
5579 * posix/getppid.c: Likewise.
5580 * posix/getresgid.c: Likewise.
5581 * posix/getresuid.c: Likewise.
5582 * posix/getsid.c: Likewise.
5583 * posix/getuid.c: Likewise.
5584 * posix/glob64.c: Likewise.
5585 * posix/nanosleep.c: Likewise.
5586 * posix/pathconf.c: Likewise.
5587 * posix/pause.c: Likewise.
5588 * posix/posix_madvise.c: Likewise.
5589 * posix/pread.c: Likewise.
5590 * posix/pread64.c: Likewise.
5591 * posix/pwrite.c: Likewise.
5592 * posix/pwrite64.c: Likewise.
5593 * posix/sched_getaffinity.c: Likewise.
5594 * posix/sched_getp.c: Likewise.
5595 * posix/sched_gets.c: Likewise.
5596 * posix/sched_primax.c: Likewise.
5597 * posix/sched_primin.c: Likewise.
5598 * posix/sched_rr_gi.c: Likewise.
5599 * posix/sched_setaffinity.c: Likewise.
5600 * posix/sched_setp.c: Likewise.
5601 * posix/sched_sets.c: Likewise.
5602 * posix/sched_yield.c: Likewise.
5603 * posix/setgid.c: Likewise.
5604 * posix/setlogin.c: Likewise.
5605 * posix/setpgid.c: Likewise.
5606 * posix/setresgid.c: Likewise.
5607 * posix/setresuid.c: Likewise.
5608 * posix/setsid.c: Likewise.
5609 * posix/setuid.c: Likewise.
5610 * posix/sleep.c: Likewise.
5611 * posix/spawni.c: Likewise.
5612 * posix/sysconf.c: Likewise.
5613 * posix/times.c: Likewise.
5614 * posix/wait.c: Likewise.
5615 * posix/wait3.c: Likewise.
5616 * posix/wait4.c: Likewise.
5617 * posix/waitpid.c: Likewise.
5618 * resolv/gai_sigqueue.c: Likewise.
5619 * resource/getpriority.c: Likewise.
5620 * resource/getrlimit.c: Likewise.
5621 * resource/getrusage.c: Likewise.
5622 * resource/nice.c: Likewise.
5623 * resource/setpriority.c: Likewise.
5624 * resource/setrlimit.c: Likewise.
5625 * resource/ulimit.c: Likewise.
5626 * rt/aio_cancel.c: Likewise.
5627 * rt/aio_fsync.c: Likewise.
5628 * rt/aio_read.c: Likewise.
5629 * rt/aio_sigqueue.c: Likewise.
5630 * rt/aio_suspend.c: Likewise.
5631 * rt/aio_write.c: Likewise.
5632 * rt/clock_getres.c: Likewise.
5633 * rt/clock_gettime.c: Likewise.
5634 * rt/clock_nanosleep.c: Likewise.
5635 * rt/clock_settime.c: Likewise.
5636 * rt/lio_listio.c: Likewise.
5637 * rt/mq_close.c: Likewise.
5638 * rt/mq_getattr.c: Likewise.
5639 * rt/mq_notify.c: Likewise.
5640 * rt/mq_open.c: Likewise.
5641 * rt/mq_receive.c: Likewise.
5642 * rt/mq_send.c: Likewise.
5643 * rt/mq_setattr.c: Likewise.
5644 * rt/mq_timedreceive.c: Likewise.
5645 * rt/mq_timedsend.c: Likewise.
5646 * rt/mq_unlink.c: Likewise.
5647 * rt/shm_open.c: Likewise.
5648 * rt/shm_unlink.c: Likewise.
5649 * rt/timer_create.c: Likewise.
5650 * rt/timer_delete.c: Likewise.
5651 * rt/timer_getoverr.c: Likewise.
5652 * rt/timer_gettime.c: Likewise.
5653 * rt/timer_settime.c: Likewise.
5654 * setjmp/__longjmp.c: Likewise.
5655 * setjmp/setjmp.c: Likewise.
5656 * signal/kill.c: Likewise.
5657 * signal/killpg.c: Likewise.
5658 * signal/raise.c: Likewise.
5659 * signal/sigaction.c: Likewise.
5660 * signal/sigaltstack.c: Likewise.
5661 * signal/sigblock.c: Likewise.
5662 * signal/sigignore.c: Likewise.
5663 * signal/sigintr.c: Likewise.
5664 * signal/signal.c: Likewise.
5665 * signal/sigpause.c: Likewise.
5666 * signal/sigpending.c: Likewise.
5667 * signal/sigqueue.c: Likewise.
5668 * signal/sigreturn.c: Likewise.
5669 * signal/sigset.c: Likewise.
5670 * signal/sigsetmask.c: Likewise.
5671 * signal/sigstack.c: Likewise.
5672 * signal/sigsuspend.c: Likewise.
5673 * signal/sigtimedwait.c: Likewise.
5674 * signal/sigvec.c: Likewise.
5675 * signal/sigwait.c: Likewise.
5676 * signal/sigwaitinfo.c: Likewise.
5677 * signal/sysv_signal.c: Likewise.
5678 * socket/accept.c: Likewise.
5679 * socket/accept4.c: Likewise.
5680 * socket/bind.c: Likewise.
5681 * socket/connect.c: Likewise.
5682 * socket/getpeername.c: Likewise.
5683 * socket/getsockname.c: Likewise.
5684 * socket/getsockopt.c: Likewise.
5685 * socket/isfdtype.c: Likewise.
5686 * socket/listen.c: Likewise.
5687 * socket/recv.c: Likewise.
5688 * socket/recvfrom.c: Likewise.
5689 * socket/recvmsg.c: Likewise.
5690 * socket/send.c: Likewise.
5691 * socket/sendmsg.c: Likewise.
5692 * socket/sendto.c: Likewise.
5693 * socket/setsockopt.c: Likewise.
5694 * socket/shutdown.c: Likewise.
5695 * socket/sockatmark.c: Likewise.
5696 * socket/socket.c: Likewise.
5697 * socket/socketpair.c: Likewise.
5698 * stdio-common/ctermid.c: Likewise.
5699 * stdio-common/cuserid.c: Likewise.
5700 * stdio-common/remove.c: Likewise.
5701 * stdio-common/rename.c: Likewise.
5702 * stdio-common/renameat.c: Likewise.
5703 * stdio-common/tempname.c: Likewise.
5704 * stdlib/getcontext.c: Likewise.
5705 * stdlib/makecontext.c: Likewise.
5706 * stdlib/setcontext.c: Likewise.
5707 * stdlib/swapcontext.c: Likewise.
5708 * stdlib/system.c: Likewise.
5709 * streams/fattach.c: Likewise.
5710 * streams/fdetach.c: Likewise.
5711 * streams/getmsg.c: Likewise.
5712 * streams/getpmsg.c: Likewise.
5713 * streams/putmsg.c: Likewise.
5714 * streams/putpmsg.c: Likewise.
5715 * sysdeps/unix/bsd/getpt.c: Likewise.
5716 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5717 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5718 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5721 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5722 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5723 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5724 * sysvipc/msgctl.c: Likewise.
5725 * sysvipc/msgget.c: Likewise.
5726 * sysvipc/msgrcv.c: Likewise.
5727 * sysvipc/msgsnd.c: Likewise.
5728 * sysvipc/semctl.c: Likewise.
5729 * sysvipc/semget.c: Likewise.
5730 * sysvipc/semop.c: Likewise.
5731 * sysvipc/semtimedop.c: Likewise.
5732 * sysvipc/shmat.c: Likewise.
5733 * sysvipc/shmctl.c: Likewise.
5734 * sysvipc/shmdt.c: Likewise.
5735 * sysvipc/shmget.c: Likewise.
5736 * termios/tcdrain.c: Likewise.
5737 * termios/tcflow.c: Likewise.
5738 * termios/tcflush.c: Likewise.
5739 * termios/tcgetattr.c: Likewise.
5740 * termios/tcgetpgrp.c: Likewise.
5741 * termios/tcsendbrk.c: Likewise.
5742 * termios/tcsetattr.c: Likewise.
5743 * termios/tcsetpgrp.c: Likewise.
5744 * time/adjtime.c: Likewise.
5745 * time/clock.c: Likewise.
5746 * time/getitimer.c: Likewise.
5747 * time/gettimeofday.c: Likewise.
5748 * time/setitimer.c: Likewise.
5749 * time/settimeofday.c: Likewise.
5750 * time/stime.c: Likewise.
5751 * time/time.c: Likewise.
5753 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5755 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5758 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5760 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5762 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5766 FE_TONEAREST before applying Dekker multiplication and Knuth
5767 addition. Clear inexact exceptions and check for exact zero
5769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5770 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5771 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5772 * math/libm-test.inc (fma_test): Add more tests.
5773 (fma_test_towardzero): Likewise.
5774 (fma_test_downward): Likewise.
5775 (fma_test_upward): Likewise.
5776 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5778 (libc_fesetround): New macro.
5779 (libc_fesetroundf): Likewise.
5780 (libc_fesetroundl): Likewise.
5781 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5783 (libc_fesetround_387): Likewise.
5784 (libc_fesetroundf): New macro.
5785 (libc_fesetround): Likewise.
5786 (libc_fesetroundl): Likewise.
5787 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5789 (libc_fesetroundf): New macro.
5790 (libc_fesetround): Likewise.
5791 (libc_fesetroundl): Likewise.
5792 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5793 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5794 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5796 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5797 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5799 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5800 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5802 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5806 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5807 integer constant usable in #if and use that to give value to enum
5809 (FE_DIVBYZERO): Likewise.
5810 (FE_UNDERFLOW): Likewise.
5811 (FE_OVERFLOW): Likewise.
5812 (FE_INVALID): Likewise.
5813 (FE_INVALID_SNAN): Likewise.
5814 (FE_INVALID_ISI): Likewise.
5815 (FE_INVALID_IDI): Likewise.
5816 (FE_INVALID_ZDZ): Likewise.
5817 (FE_INVALID_IMZ): Likewise.
5818 (FE_INVALID_COMPARE): Likewise.
5819 (FE_INVALID_SOFTWARE): Likewise.
5820 (FE_INVALID_SQRT): Likewise.
5821 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5822 (FE_TONEAREST): Likewise.
5823 (FE_TOWARDZERO): Likewise.
5824 (FE_UPWARD): Likewise.
5825 (FE_DOWNWARD): Likewise.
5826 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5827 (FE_DIVBYZERO): Likewise.
5828 (FE_OVERFLOW): Likewise.
5829 (FE_UNDERFLOW): Likewise.
5830 (FE_INEXACT): Likewise.
5831 (FE_TONEAREST): Likewise.
5832 (FE_DOWNWARD): Likewise.
5833 (FE_UPWARD): Likewise.
5834 (FE_TOWARDZERO): Likewise.
5835 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5836 (FE_UNDERFLOW): Likewise.
5837 (FE_OVERFLOW): Likewise.
5838 (FE_DIVBYZERO): Likewise.
5839 (FE_INVALID): Likewise.
5840 (FE_TONEAREST): Likewise.
5841 (FE_TOWARDZERO): Likewise.
5842 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5843 (FE_OVERFLOW): Likewise.
5844 (FE_UNDERFLOW): Likewise.
5845 (FE_DIVBYZERO): Likewise.
5846 (FE_INEXACT): Likewise.
5847 (FE_TONEAREST): Likewise.
5848 (FE_TOWARDZERO): Likewise.
5849 (FE_UPWARD): Likewise.
5850 (FE_DOWNWARD): Likewise.
5851 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5852 (FE_DIVBYZERO): Likewise.
5853 (FE_OVERFLOW): Likewise.
5854 (FE_UNDERFLOW): Likewise.
5855 (FE_INEXACT): Likewise.
5856 (FE_TONEAREST): Likewise.
5857 (FE_DOWNWARD): Likewise.
5858 (FE_UPWARD): Likewise.
5859 (FE_TOWARDZERO): Likewise.
5861 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5863 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5865 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5867 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5868 commands. Quote $PWD.
5869 (blacklist_exports): Don't use remove_newlines. Replace "declare
5871 (remove_newlines): Remove.
5873 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5875 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5876 * stdlib/stdlib.h (atof): Moved to ...
5877 * include/bits/stdlib-float.h: Here. New file.
5878 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5879 * stdlib/bits/stdlib-float.h: New file.
5880 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5882 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5885 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5887 * conform/conformtest.pl (@headers): Add fenv.h.
5888 * conform/data/fenv.h-data: New file.
5889 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5890 include of <math/fenv.h>.
5892 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5893 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5894 && !UNIX98]. Enables tests for XOPEN2K8.
5895 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5896 POSIX2008]: Likewise.
5898 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5899 (struct rusage): Do not expect type or its members.
5902 * math/math.h (FP_NAN): Define macro to integer constant usable in
5903 #if and use that to give value to enum constant.
5904 (FP_INFINITE): Likewise.
5905 (FP_ZERO): Likewise.
5906 (FP_SUBNORMAL): Likewise.
5907 (FP_NORMAL): Likewise.
5909 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5911 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5912 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5915 2012-11-02 Roland McGrath <roland@hack.frob.com>
5917 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5918 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5919 autoconf-time if not.
5920 * configure.in: Remove AC_PREREQ.
5922 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5924 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5925 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5926 of the internal implementation.
5928 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5930 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5931 except include of <misc/sys/syslog.h>.
5933 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5936 function returns with a NULL context exit with zero.
5938 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5940 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5942 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5944 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5945 (run_program_cmd): This.
5946 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5947 (tst_langinfo): New variable. Use it.
5949 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5951 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5952 floating point opcodes.
5954 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5956 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5959 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5961 * sysdeps/mach/hurd/powerpc: Remove directory.
5962 * sysdeps/mach/powerpc: Likewise.
5964 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5966 * scripts/check-local-headers.sh: Ignore c++ headers.
5968 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5970 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5971 __libc_cleanup_region_start argument.
5973 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5978 x * y using scaling, not as x * y + z.
5979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5980 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5981 * math/libm-test.inc (fma_test): Add more tests.
5982 (fma_test_towardzero): Likewise.
5983 (fma_test_downward): Likewise.
5984 (fma_test_upward): Likewise.
5986 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5988 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5990 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5992 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5995 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5997 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5999 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6006 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6009 Fix the order of the list for glibc 2.17.
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6013 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6017 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6020 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6021 for low part of x being zero before using __atanl (y).
6022 * math/libm-test.inc (atan2_test): Add another test.
6024 * manual/install.texi (Configuring and compiling): Document
6025 general use of test-wrapper and test-wrapper-env.
6026 * INSTALL: Regenerated.
6028 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6029 (__fma): Do not extract and scale down low bits on after-rounding
6030 systems when result rounded to normal precision would have normal
6032 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6033 (__fmal): Do not extract and scale down low bits on after-rounding
6034 systems when result rounded to normal precision would have normal
6036 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6037 (__fmal): Do not extract and scale down low bits on after-rounding
6038 systems when result rounded to normal precision would have normal
6040 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6042 (fma_test): Add more tests.
6043 (fma_test_towardzero): Likewise.
6044 (fma_test_downward): Likewise.
6045 (fma_test_upward): Likewise.
6047 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6049 * sysdeps/i386/tininess.h: Renamed to ...
6050 * sysdeps/x86/tininess.h: This.
6051 * sysdeps/x86_64/tininess.h: Removed.
6053 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6055 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6056 input. Use $(build-program-cmd).
6057 ($(objpfx)tst-array1-static.out): Likewise.
6058 ($(objpfx)tst-array2.out): Likewise.
6059 ($(objpfx)tst-array3.out): Likewise.
6060 ($(objpfx)tst-array4.out): Likewise.
6061 ($(objpfx)tst-array5.out): Likewise.
6062 ($(objpfx)tst-array5-static.out): Likewise.
6064 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6066 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6069 * nss/nsswitch.h (nss_interface_function): Provide new
6070 macro for use with NSS functions.
6071 * grp/initgroups.c: Use new macro.
6072 * nss/getXXbyYY.c: Likewise.
6073 * nss/getXXbyYY_r.c: Likewise.
6074 * nss/getXXent.c: Likewise.
6075 * nss/getXXent_r.c: Likewise.
6076 * sysdeps/posix/getaddrinfo.c: Likewise.
6078 2012-10-30 Andreas Jaeger <aj@suse.de>
6080 * po/ru.po: Update Russion translation from translation project.
6082 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6087 result and shift together with sticky bit instead of replicating
6088 round-to-nearest rounding.
6089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6090 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6091 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6092 missing underflow exceptions.
6093 (fma_test_towardzero): Add more tests.
6094 (fma_test_downward): Likewise.
6095 (fma_test_upward): Likewise.
6098 * sysdeps/generic/tininess.h: New file.
6099 * sysdeps/i386/tininess.h: Likewise.
6100 * sysdeps/sh/tininess.h: Likewise.
6101 * sysdeps/x86_64/tininess.h: Likewise.
6102 * stdlib/tst-strtod-underflow.c: Likewise.
6103 * stdlib/tst-tininess.c: Likewise.
6104 * stdlib/strtod_l.c: Include <tininess.h>.
6105 (round_and_return): Do not set errno for exact underflow cases.
6106 Force an underflow exception when setting errno for underflow.
6107 Determine underflow based on rounding to normal precision if
6108 TININESS_AFTER_ROUNDING.
6109 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6110 ERANGE for exact underflow cases.
6111 * stdlib/Makefile (tests): Add tst-tininess and
6112 tst-strtod-underflow.
6113 ($(objpfx)tst-tininess): Use $(link-libm).
6114 ($(objpfx)tst-strtod-underflow): Likewise.
6116 2012-10-30 Andreas Jaeger <aj@suse.de>
6119 * elf/Makefile (tests): Remove conditional for have-initfini-array
6120 since this is now always required and the variable does not exist
6122 (tests-static): Likewise.
6123 (modules-names): Likewise.
6125 * po/eo.po: Add Esperanto translation from translation project.
6127 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6128 merged with constructor/destructor.
6129 (init_array): Likewise.
6130 * elf/tst-array2dep.c (fini_array): Likewise.
6131 (init_array): Likewise.
6133 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6135 * manual/message.texi: Delete @cartouche tags.
6137 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6139 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6141 * sysdeps/mach/hurd/fsync.c: Likewise.
6143 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6144 [_POSIX_REALTIME_SIGNALS]: Change condition to
6145 [_POSIX_REALTIME_SIGNALS > 0].
6147 2012-10-27 Andreas Jaeger <aj@suse.de>
6149 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6150 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6152 [__WORDSIZE != 64]: Likewise.
6154 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6156 * iconvdata/tst-table.sh: Remove ${SHELL}.
6157 * iconvdata/tst-tables.sh: Likewise.
6159 2012-10-25 David S. Miller <davem@davemloft.net>
6161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6162 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6168 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6169 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6172 2012-10-25 Roland McGrath <roland@hack.frob.com>
6174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6175 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6178 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6179 Jim Blandy <jimb@codesourcery.com>
6181 * scripts/cross-test-ssh.sh: New file.
6182 * manual/install.texi (Configuring and compiling): Document use of
6184 * INSTALL: Regenerated.
6186 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6188 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6191 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6193 * Makeconfig (run-program-prefix): Fix comment.
6195 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6196 Jim Blandy <jimb@codesourcery.com>
6198 * Makeconfig (test-wrapper): New variable,
6199 (test-wrapper-env): Likewise.
6200 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6201 (run-built-tests): Define to yes.
6202 (run-program-prefix): Use $(test-wrapper).
6203 (built-program-cmd): Likewise.
6204 * Rules (make-test-out): Use $(test-wrapper-env) and
6205 $(host-built-program-cmd).
6206 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6207 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6209 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6210 $(test-wrapper-env) to tst-rtld-load-self.sh.
6211 ($(objpfx)order2.out): Use $(test-wrapper).
6212 ($(objpfx)tst-initorder.out): Likewise.
6213 ($(objpfx)tst-initorder2.out): Likewise.
6214 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6215 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6216 (test_wrapper_env): New variable. Use it to run ld.so.
6217 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6218 Use it to run ld.so.
6219 (test_wrapper_env): Likewise.
6220 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6221 $(test-wrapper) to run-iconv-test.sh.
6222 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6223 (ICONV): Use $test_wrapper.
6224 * posix/Makefile ($(objpfx)globtest.out): Pass
6225 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6226 globtest.sh, not $(run-program-prefix).
6227 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6228 (test_wrapper): Likewise.
6229 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6230 set together with run_via_rtld_prefix.
6231 (run_program_prefix): Define in terms of test_wrapper and
6232 run_via_rtld_prefix.
6234 2012-10-24 Roland McGrath <roland@hack.frob.com>
6236 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6237 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6241 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6242 Declare __clock_getres, __clock_gettime, __clock_settime,
6243 __clock_nanosleep, and __clock_getcpuclockid.
6244 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6245 Remove librt_hidden_def (clock_gettime).
6246 * sysdeps/unix/clock_gettime.c: Likewise.
6247 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6248 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6249 * rt/clock_getres.c: Define __clock_getres as an alias.
6250 * sysdeps/posix/clock_getres.c: Likewise.
6251 * rt/clock_settime.c: Define __clock_settime as an alias.
6252 * sysdeps/unix/clock_settime.c: Likewise.
6253 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6254 * sysdeps/unix/clock_nanosleep.c: Likewise.
6255 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6256 * rt/clock-compat.c: New file.
6257 * rt/Makefile (librt-routines): Add clock-compat and move
6258 $(clock-routines) to ...
6259 (routines): ... here, new variable.
6260 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6261 Don't add get_clockfreq here.
6262 * rt/Versions (libc: GLIBC_2.17): New version set.
6263 Add clock_* symbols here.
6264 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6265 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6266 (GLIBC_2.17): Add clock_* symbols.
6267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6269 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6278 * NEWS: Mention the move.
6280 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6281 Use __open, __read, __close rather than their public counterparts.
6282 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6283 (__get_clockfreq_via_cpuinfo): Likewise.
6284 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6285 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6287 * config.h.in (HAVE_IFUNC): New #undef.
6288 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6290 * configure: Regenerated.
6292 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6294 * configure.in: Move READELF check to start of file.
6295 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6296 libc_cv_asm_gnu_indirect_function in the process.
6297 * configure: Regenerated.
6299 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6301 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6302 send the output to /dev/null.
6303 (libc_cv_cc_with_libunwind): Likewise.
6304 (libc_cv_as_noexecstack): Likewise.
6305 * configure: Regenerate.
6307 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6309 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6311 * posix/globtest.sh (TMPDIR): Do not set.
6312 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6313 (testout): Likewise.
6315 2012-10-24 Andreas Jaeger <aj@suse.de>
6317 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6318 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6319 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6320 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6321 posix_fadvise64, posix_fallocate64.
6323 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6324 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6325 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6327 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6329 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6332 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6333 <bits/fcntl-linux.h>.
6334 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6336 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6337 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6338 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6339 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6340 [__WORDSIZE != 64]: Likewise.
6342 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6344 * Makeconfig (run-built-tests): New variable.
6345 * Rules [$(cross-compiling) = yes]: Change condition to
6346 [$(run-built-tests) = no].
6347 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6348 to [$(run-built-tests) = yes].
6349 * elf/Makefile [$(cross-compiling) = no]: Likewise
6350 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6351 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6352 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6353 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6354 * io/Makefile [$(cross-compiling) = no]: Likewise.
6355 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6356 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6357 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6358 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6359 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6360 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6361 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6362 * string/Makefile [$(cross-compiling) = no]: Likewise.
6364 * posix/Makefile ($(objpfx)globtest.out): Pass
6365 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6366 $(rtld-installed-name).
6367 * posix/globtest.sh (elf_objpfx): Remove variable.
6368 (rtld_installed_name): Likewise.
6369 (library_path): Likewise.
6370 (run_program_prefix): New variable. Use for running globtest
6373 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6374 Joseph Myers <joseph@codesourcery.com>
6376 * Makeconfig (host-built-program-cmd): New variable.
6377 * elf/Makefile (tst-stackguard1-ARGS): Use
6378 $(host-built-program-cmd).
6379 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6380 (tst-spawn-ARGS): Likewise.
6381 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6383 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6384 Jim Blandy <jimb@codesourcery.com>
6386 * Makeconfig (run-via-rtld-prefix): New variable.
6387 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6388 (built-program-cmd): Likewise.
6390 2012-10-22 Andreas Jaeger <aj@suse.de>
6392 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6393 __O_RSYNC if it exists, otherwise to O_SYNC.
6395 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6396 Joseph Myers <joseph@codesourcery.com>
6398 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6400 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6402 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6405 2012-10-22 Andreas Jaeger <aj@suse.de>
6407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6414 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6415 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6422 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6423 Joseph Myers <joseph@codesourcery.com>
6425 * config.make.in (NM): New variable.
6427 2012-10-21 Andreas Jaeger <aj@suse.de>
6429 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6430 definitions and declarations that are provided by
6431 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6433 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6436 * elf/Makefile (tests-static): Add tst-leaks1-static.
6437 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6438 ($(objpfx)tst-leaks1-static): New rule.
6439 ($(objpfx)tst-leaks1-static-mem): Likewise.
6440 (tst-leaks1-static-ENV): New macro.
6441 * elf/dl-open.c (dl_open_worker): Check the main application
6442 only if SHARED is defined.
6443 * elf/tst-leaks1-static.c: New file.
6445 2012-10-20 Andreas Jaeger <aj@suse.de>
6447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6448 generic values for Linux.
6449 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6450 and declarations that are provided by <bits/fcntl-linux.h> and
6451 include <bits/fcntl-linux.h>.
6452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6455 2012-10-20 Roland McGrath <roland@hack.frob.com>
6457 * io/fcntl.h: Move include of <bits/types.h> to the top and
6458 include it unconditionally.
6460 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6462 * wcsmbs/Makefile (tests-ifunc): New variable.
6463 (tests): Add $(tests-ifunc).
6464 * wcsmbs/test-wcschr-ifunc.c: New file.
6465 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6466 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6467 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6468 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6469 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6471 * string/Makefile (tests-ifunc): New variable.
6472 (tests): Add $(tests-ifunc).
6473 * string/test-memccpy.c (TEST_NAME): New macro.
6474 * string/test-memchr.c (TEST_NAME): Likewise.
6475 * string/test-memcmp.c (TEST_NAME): Likewise.
6476 * string/test-memcpy.c (TEST_NAME): Likewise.
6477 * string/test-memmem.c (TEST_NAME): Likewise.
6478 * string/test-memmove.c (TEST_NAME): Likewise.
6479 * string/test-memset.c (TEST_NAME): Likewise.
6480 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6481 * string/test-stpcpy.c (TEST_NAME): Likewise.
6482 * string/test-stpncpy.c (TEST_NAME): Likewise.
6483 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6484 * string/test-strcasestr.c (TEST_NAME): Likewise.
6485 * string/test-strcat.c (TEST_NAME): Likewise.
6486 * string/test-strchr.c (TEST_NAME): Likewise.
6487 * string/test-strcmp.c(TEST_NAME): Likewise.
6488 * string/test-strcpy.c (TEST_NAME): Likewise.
6489 * string/test-strcspn.c (TEST_NAME): Likewise.
6490 * string/test-strlen.c (TEST_NAME): Likewise.
6491 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6492 * string/test-strncmp.c (TEST_NAME): Likewise.
6493 * string/test-strncpy.c (TEST_NAME): Likewise.
6494 * string/test-strnlen.c (TEST_NAME): Likewise.
6495 * string/test-strpbrk.c (TEST_NAME): Likewise.
6496 * string/test-strrchr.c (TEST_NAME): Likewise.
6497 * string/test-strspn.c (TEST_NAME): Likewise.
6498 * string/test-strstr.c (TEST_NAME): Likewise.
6499 * string/test-bcopy-ifunc.c: New file.
6500 * string/test-bzero-ifunc.c: Likewise.
6501 * string/test-memccpy-ifunc.c: Likewise.
6502 * string/test-memchr-ifunc.c: Likewise.
6503 * string/test-memcmp-ifunc.c: Likewise.
6504 * string/test-memcpy-ifunc.c: Likewise.
6505 * string/test-memmem-ifunc.c: Likewise.
6506 * string/test-memmove-ifunc.c: Likewise.
6507 * string/test-mempcpy-ifunc.c: Likewise.
6508 * string/test-memset-ifunc.c: Likewise.
6509 * string/test-rawmemchr-ifunc.c: Likewise.
6510 * string/test-stpcpy-ifunc.c: Likewise.
6511 * string/test-stpncpy-ifunc.c: Likewise.
6512 * string/test-strcasecmp-ifunc.c: Likewise.
6513 * string/test-strcasestr-ifunc.c: Likewise.
6514 * string/test-strcat-ifunc.c: Likewise.
6515 * string/test-strchr-ifunc.c: Likewise.
6516 * string/test-strchrnul-ifunc.c: Likewise.
6517 * string/test-strcmp-ifunc.c: Likewise.
6518 * string/test-strcpy-ifunc.c: Likewise.
6519 * string/test-strcspn-ifunc.c: Likewise.
6520 * string/test-strlen-ifunc.c: Likewise.
6521 * string/test-strncasecmp-ifunc.c: Likewise.
6522 * string/test-strncat-ifunc.c: Likewise.
6523 * string/test-strncmp-ifunc.c: Likewise.
6524 * string/test-strncpy-ifunc.c: Likewise.
6525 * string/test-strnlen-ifunc.c: Likewise.
6526 * string/test-strpbrk-ifunc.c: Likewise.
6527 * string/test-strrchr-ifunc.c: Likewise.
6528 * string/test-strspn-ifunc.c: Likewise.
6529 * string/test-strstr-ifunc.c: Likewise.
6531 * debug/Makefile (tests-ifunc): New variable.
6532 (tests): Add $(tests-ifunc).
6533 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6534 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6535 * debug/test-stpcpy_chk-ifunc.c: New file.
6536 * debug/test-strcpy_chk-ifunc.c: Likewise.
6538 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6541 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6542 header is not read in.
6544 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6546 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6547 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6548 directly. Pass built executable to script as
6549 $(built-program-cmd).
6550 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6551 $testprogram without using LD_LIBRARY_PATH and $ldso.
6553 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6554 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6555 $(rtld-installed-name).
6556 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6557 (rtld_installed_name): Likewise.
6558 (library_path): Likewise.
6559 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6560 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6561 $(run-program-prefix) to tst-tables.sh.
6562 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6563 it to run tst-table-from and tst-table-to.
6564 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6565 Pass it to tst-table.sh.
6566 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6567 $(run-program-prefix) to tst-gettext.sh.
6568 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6570 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6572 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6574 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6575 to run tst-gettext2.
6576 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6577 to run tst-translit.
6578 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6579 $(run-program-prefix) to tst-mtrace.sh.
6580 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6582 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6583 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6584 $(rtld-installed-name).
6585 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6586 (rtld_installed_name): Likewise.
6587 (run_program_prefix): New variable. Use it to run wordexp-test.
6589 * Makeconfig (ARCH): Remove all definitions.
6590 (machine): Likewise.
6591 [ARCH]: Remove conditional code.
6592 [!objdir]: Give error.
6593 [!objdir] (objpfx): Remove.
6594 [!objdir] (common-objpfx): Likewise.
6595 [!objdir] (common-objdir): Likewise.
6596 * configure.in (config_makefile): Remove. Hardcode Makefile in
6597 AC_CONFIG_FILES call.
6598 * configure: Regenerated.
6601 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6603 (testout): Likewise.
6605 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6606 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6607 $(rtld-installed-name).
6608 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6609 (rtld_installed_name): Likwise.
6610 (runit): Remove function.
6611 (run_getconf): New variable, Use it for running getconf binary.
6613 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6616 * string/test-memmem.c (check_result): New function.
6617 (do_one_test): Use it.
6618 (check1): New function.
6619 (test_main): Use it.
6621 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6623 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6625 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6627 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6628 (_G_LSEEK64): Likewise.
6629 (_G_MMAP64): Likewise.
6630 (_G_FSTAT64): Likewise.
6631 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6632 (_G_LSEEK64): Likewise.
6633 (_G_MMAP64): Likewise.
6634 (_G_FSTAT64): Likewise.
6635 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6636 unconditional. Call __mmap64 directly.
6637 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6638 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6640 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6641 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6643 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6644 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6646 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6647 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6649 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6650 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6652 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6653 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6654 __fxstat64 directly.
6655 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6656 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6658 (freopen64) [!_G_OPEN64]: Remove conditional code.
6659 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6661 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6662 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6664 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6665 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6667 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6668 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6670 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6671 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6673 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6674 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6676 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6677 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6679 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6681 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6684 * manual/memory.texi (Malloc Tunable Parameters): Add note
6685 about free list pointers overwriting some perturb bytes.
6686 Wording suggested by Roland McGrath.
6688 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6690 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6691 (lgamma_test): Likewise.
6692 (tgamma_test): Likewise.
6694 2012-10-16 Florian Weimer <fweimer@redhat.com>
6697 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6698 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6700 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6702 * NEWS: Mention BZ #14716.
6703 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6704 when removing AVAILABLE1_USES_J macro.
6706 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6708 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6709 (__bswap_64): __uint64_t for unsigned 64-bit int.
6711 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6713 * include/string.h (memmem): Declare libc hidden alias.
6714 * string/memmem.c (memmem): Define libc hidden alias.
6715 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6716 __read, __close instead of open, read, close.
6718 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6721 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6723 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6724 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6725 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6727 (__rawmemchr_sse2): Likewise.
6728 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6729 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6730 (__strchr_sse2): Likewise.
6731 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6732 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6733 (__strcasecmp_sse2): Likewise.
6734 (__strncasecmp_sse2): Likewise.
6735 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6736 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6737 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6738 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6739 (__strrchr_sse2): Likewise.
6740 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6742 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6743 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6744 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6745 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6746 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6747 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6748 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6749 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6750 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6751 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6752 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6753 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6754 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6755 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6756 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6757 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6758 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6759 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6760 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6761 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6762 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6763 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6764 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6765 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6766 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6767 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6768 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6769 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6770 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6771 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6773 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6775 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6776 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6777 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6778 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6780 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6782 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6783 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6784 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6785 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6787 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6788 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6789 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6790 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6791 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6792 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6793 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6794 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6795 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6796 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6797 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6798 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6799 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6800 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6801 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6802 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6803 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6804 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6805 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6806 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6807 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6808 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6809 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6810 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6811 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6812 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6813 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6814 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6815 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6816 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6817 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6818 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6819 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6820 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6821 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6822 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6823 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6824 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6825 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6826 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6827 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6829 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6830 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6831 * include/ifunc-impl-list.h: New file.
6832 * misc/ifunc-impl-list.c: Likewise.
6833 * misc/Makefile (routines): Add ifunc-impl-list.
6834 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6835 * string/test-string.h: Include <ifunc-impl-list.h>.
6836 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6837 impl_array): New variables.
6838 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6840 (test_init): Call __libc_ifunc_impl_list to initialize
6841 func_list if TEST_IFUNC and TEST_NAME are defined.
6843 * string/Makefile (strop-tests): Add bcopy and bzero.
6844 * string/test-bcopy.c: New file.
6845 * string/test-bzero.c: Likewise.
6846 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6848 * string/test-memset.c: Support bzero test if TEST_BZERO is
6850 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6852 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6854 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6857 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6859 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6860 * configure: Regenerated.
6862 * Makeconfig (+link-static-before-libc): Don't include
6863 $(link-static-libc).
6865 * libio/libio.h (_IO_pos_t): Remove.
6867 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6869 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6872 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6874 * crypt/crypt-entry.c: Include fips-private.h.
6875 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6876 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6877 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6878 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6880 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6882 * crypt/crypt-private.h: Include stdbool.h.
6883 (_ufc_setup_salt_r): Return bool.
6884 * crypt/crypt-entry.c: Include errno.h.
6885 (__crypt_r): Return NULL with EINVAL for bad salt.
6886 * crypt/crypt_util.c (bad_for_salt): New.
6887 (_ufc_setup_salt_r): Check that salt is long enough and within
6888 the specified alphabet.
6889 * crypt/badsalttest.c: New file.
6890 * crypt/Makefile (tests): Add it.
6891 ($(objpfx)badsalttest): New.
6893 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6895 * NEWS: Add entry for BZ #14602.
6897 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6899 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6901 * math/libm-test.inc: Update comment listing what functions and
6903 (isgreater_test): New function.
6904 (isgreaterequal_test): Likewise.
6905 (isless_test): Likewise.
6906 (islessequal_test): Likewise.
6907 (islessgreater_test): Likewise.
6908 (isunordered_test): Likewise.
6909 (main): Call the new functions.
6911 2012-10-09 Roland McGrath <roland@hack.frob.com>
6913 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6914 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6915 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6916 * sysdeps/i386/configure: Regenerated.
6917 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6918 * sysdeps/mach/configure: Regenerated.
6919 * sysdeps/mach/hurd/configure: Regenerated.
6920 * sysdeps/powerpc/configure: Regenerated.
6921 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6922 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6923 * sysdeps/s390/s390-32/configure: Regenerated.
6924 * sysdeps/s390/s390-64/configure: Regenerated.
6925 * sysdeps/sh/configure: Regenerated.
6926 * sysdeps/sparc/configure: Regenerated.
6927 * sysdeps/unix/sysv/linux/configure: Regenerated.
6928 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6929 * sysdeps/x86_64/configure: Regenerated.
6931 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6932 defined. Don't check if MAP is NULL.
6934 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6936 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6937 (_G_stat64): Likewise.
6938 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6939 (_G_stat64): Likewise.
6940 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6941 instead of struct _G_stat64.
6942 * libio/fileops.c (mmap_remap_check): Likewise.
6943 (decide_maybe_mmap): Likewise.
6944 (_IO_new_file_seekoff): Likewise.
6945 (_IO_file_stat): Likewise.
6946 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6948 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6949 instead of struct _G_stat64.
6950 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6952 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6955 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6957 (CHECK_EOL): New macro.
6958 (two_way_short_needle): Check beginning of haystack for EOL. Use
6960 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6961 Replace with CHECK_EOL.
6962 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6963 Replace with CHECK_EOL.
6965 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6967 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6969 * math/libm-test.inc: Update comment listing what functions and
6971 (finite_test): New function.
6972 (isinf_test): Likewise.
6973 (isnan_test): Likewise.
6974 (fpclassify_test): Test subnormal input.
6975 (isfinite_test): Likewise.
6976 (isnormal_test): Likewise.
6977 (main): Call the new functions.
6979 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6982 * Makerules (%.dynsym): Force C locale when running
6983 $(OBJDUMP) --dynamic-syms.
6985 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6987 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6990 2012-10-06 David S. Miller <davem@davemloft.net>
6992 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6993 upper 32-bits of the length value in %o2 since we use branch-on-register
6994 tests which consider the entire 64-bit register.
6996 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6998 * string/test-strstr.c (check2): Add a test for page boundary.
7000 2012-10-05 David S. Miller <davem@davemloft.net>
7002 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7003 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7005 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7007 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7008 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7009 and bzero when HWCAP_SPARC_CRYPTO is present.
7011 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7014 * string/test-strstr.c (check2): New function.
7015 (test_main): Call check2.
7017 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7019 * string/bug-strcasestr1.c (do_test): Moved to ...
7020 * string/test-strcasestr.c (check1): Here. New function.
7021 (do_one_test): Break out result checking code into ...
7022 (check_result): This. New function.
7023 (do_one_test): Call check_result.
7024 (test_main): Call check1.
7025 * string/bug-strchr1.c (do_test): Moved to ...
7026 * string/test-strchr.c (check1): Here. New function.
7027 (do_one_test): Break out result checking code into ...
7028 (check_result): This. New function.
7029 (do_one_test): Call check_result.
7030 (test_main): Call check1.
7031 * string/bug-strstr1.c (main): Moved to ...
7032 * string/test-strstr.c (check1): Here. New function.
7033 (do_one_test): Break out result checking code into ...
7034 (check_result): This. New function.
7035 (do_one_test): Call check_result.
7036 (test_main): Call check1.
7037 * string/bug-strcasestr1.c: Removed.
7038 * string/bug-strchr1.c: Likewise.
7039 * string/bug-strstr1.c: Likewise.
7041 * elf/Makefile (dl-routines): Add hwcaps.
7042 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7043 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7044 (_dl_important_hwcaps): Moved to ...
7045 * elf/dl-hwcaps.c: Here. New file.
7046 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7049 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7050 if IS_IN_rtld isn't defined.
7052 * elf/dl-support.c (_dl_sysinfo_map): New.
7053 Include "get-dynamic-info.h" and "setup-vdso.h".
7054 (_dl_non_dynamic_init): Call setup_vdso.
7055 * elf/dynamic-link.h: Don't include <assert.h>.
7056 (elf_get_dynamic_info): Moved to ...
7057 * elf/get-dynamic-info.h: Here. New file.
7058 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7059 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7060 * elf/setup-vdso.h: Here. New file.
7061 * elf/rtld.c: Include "setup-vdso.h".
7062 (dl_main): Call setup_vdso.
7064 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7066 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7067 creal in comment listing functions tested. List finite, isinf,
7068 isnan, isless, islessequal, isgreater, isgreaterequal,
7069 islessgreater, isunordered, lgamma_r and pow10 as functions and
7070 macros not tested. Mention which functions not tested are aliases
7071 for other functions. Fix typo. Note that signs of NaNs are not
7074 * scripts/config.guess: Update from config.git.
7075 * scripts/config.sub: Likewise.
7077 2012-10-04 Roland McGrath <roland@hack.frob.com>
7079 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7080 * misc/madvise.c (madvise): Renamed to __madvise.
7081 Make madvise a weak alias.
7082 * include/sys/mman.h: Declare __madvise.
7083 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7084 * sysdeps/unix/syscalls.list
7085 (madvise): Make __madvise the strong name, and madvise a weak alias.
7086 * sysdeps/unix/sysv/linux/syscalls.list
7087 (madvise, mmap): Remove redundant entries.
7088 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7089 * malloc/malloc.c (mtrim): Likewise.
7090 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7092 2012-10-03 Roland McGrath <roland@hack.frob.com>
7094 * sysdeps/mach/hurd/dl-cache.c: File removed.
7095 * config.h.in (USE_LDCONFIG): New #undef.
7096 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7097 * configure: Regenerated.
7098 * elf/Makefile (dl-routines): Add dl-cache only under
7099 [$(use-ldconfig) = yes].
7100 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7101 cache on [USE_LDCONFIG].
7102 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7104 * elf/rtld.c (dl_main): Likewise.
7106 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7108 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7109 _SC_LEVEL4_CACHE_LINESIZE.
7111 2012-10-03 Roland McGrath <roland@hack.frob.com>
7113 * sysdeps/unix/bsd/confstr.h: File removed.
7115 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7117 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7120 2012-10-02 Roland McGrath <roland@hack.frob.com>
7122 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7123 Make 'mapoff' field ElfW(Off) rather than off_t.
7125 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7127 * nscd/Makefile: Remove nscd-cflags and all its users.
7128 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7129 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7132 * malloc.c (malloc_printerr): Clarify error message.
7134 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7138 Set bit_FMA_Usable if FMA is supported.
7139 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7141 (bit_FMA4_Usable): Updated.
7142 (index_FMA_Usable): New macro.
7143 (CPUID_FMA): Likewise
7144 (HAS_FMA): Defined with bit_FMA_Usable.
7146 2012-10-01 Roland McGrath <roland@hack.frob.com>
7148 * bits/types.h (__swblk_t): Type removed.
7149 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7150 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7151 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7152 (__SWBLK_T_TYPE): Likewise.
7153 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7154 (__SWBLK_T_TYPE): Likewise.
7155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7156 (__SWBLK_T_TYPE): Likewise.
7157 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7158 (__SWBLK_T_TYPE): Likewise.
7160 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7161 Honza Horak <hhorak@redhat.com>
7163 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7164 (xdr_mapname): Use YPMAXMAP as maxsize.
7165 (xdr_peername): Use YPMAXPEER as maxsize.
7166 (xdr_keydat): Use YPAXRECORD as maxsize.
7167 (xdr_valdat): Use YPMAXRECORD as maxsize.
7169 2012-10-01 Roland McGrath <roland@hack.frob.com>
7171 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7173 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7174 * csu/init-first.c: ... here.
7175 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7176 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7177 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7178 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7179 * sysdeps/i386/init-first.c: File removed.
7180 * sysdeps/sh/init-first.c: File removed.
7182 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7185 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7186 if x * y might underflow to zero and z is zero.
7187 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7188 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7189 * math/libm-test.inc (min_subnorm_value): New variable.
7190 (fma_test): Add more tests.
7191 (fma_test_towardzero): Likewise.
7192 (fma_test_downward): Likewise
7193 (fma_test_upward): Likewise.
7194 (initialize): Set min_subnorm_value.
7196 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7201 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7202 mode for addition resulting in exact zero.
7203 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7206 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7207 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7208 * math/libm-test.inc (fma_test): Add more tests.
7209 (fma_test_towardzero): New function.
7210 (fma_test_downward): Likewise.
7211 (fma_test_upward): Likewise.
7212 (main): Call the new functions.
7214 2012-09-28 David S. Miller <davem@davemloft.net>
7216 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7218 2012-09-28 Roland McGrath <roland@hack.frob.com>
7220 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7223 * sysdeps/gnu/_G_config.h: Moved to ...
7224 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7225 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7226 * sysdeps/generic/_G_config.h: ... here.
7228 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7230 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7232 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7233 Conditionalize target on [libnss_test1.so-version].
7235 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7237 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7238 (elfobjdir): Move out of conditionals.
7240 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7241 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7242 (__nss_lookup_function): Conditionalize label remove_from_tree on
7243 [!DO_STATIC_NSS || SHARED], matching its only use.
7245 2012-09-28 David S. Miller <davem@davemloft.net>
7247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7248 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7250 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7252 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7254 when HWCAP_SPARC_CRYPTO is present.
7256 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7258 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7260 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7263 * stdio-common/vfprintf.c (process_string_arg): Revert
7266 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7268 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7270 * stdio-common/tst-sprintf.c: Include <locale.h>
7271 (main): Test sprintf's handling of incomplete multibyte
7274 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7276 * elf/dl-runtime.c (VERSYMIDX): Removed.
7277 * elf/dl-version.c (VERSYMIDX): Likewise.
7278 * elf/do-rel.h (VERSYMIDX): Likewise.
7280 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7281 * elf/rtld.c (VALIDX): Likewise.
7282 (ADDRIDX): Likewise.
7283 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7284 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7285 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7286 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7288 (ADDRIDX): Likewise.
7290 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7292 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7294 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7297 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7299 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7300 addresses are in the same scope as 192.0.2/24.
7301 * posix/gai.conf: Document new scope table defaults.
7303 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7306 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7307 for ftell. Compute offsets from write pointers instead.
7308 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7310 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7313 * libio/Makefile (tests): New test case tst-fseek.
7314 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7315 combination works in wide mode.
7316 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7317 state when the external buffer state changes.
7319 2012-09-27 David S. Miller <davem@davemloft.net>
7322 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7323 pass reloc->r_addend in as the 'high' argument to
7324 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7328 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7330 * rt/tst-aio2.c: Include <pthread.h>.
7331 * rt/tst-aio3.c: Likewise.
7333 2012-09-27 Steve Ellcey <sellcey@mips.com>
7335 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7337 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7339 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7340 contents on [SHARED].
7342 2012-09-26 Marek Polacek <polacek@redhat.com>
7346 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7347 for C++ and GCC <4.3 as well as for non GCC compilers.
7349 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7353 2012-09-25 Roland McGrath <roland@hack.frob.com>
7355 * Makefile.in (all, install): Declare with .PHONY.
7356 Reported by Michael Hope <michael.hope@linaro.org>.
7358 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7360 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7361 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7363 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7365 (sydep_routines): Add the new and the internal functions.
7366 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7367 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7369 (GLIBC_2.17): Add the new function.
7370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7371 (GLIBC_2.17): Likewise.
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7373 (GLIBC_2.17): Likewise.
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7375 (GLIBC_2.17): Likewise.
7376 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7378 2012-09-25 Alan Modra <amodra@gmail.com>
7380 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7381 Add release barrier before setting once_control to say
7382 initialisation is done. Add hints on lwarx. Use macro in
7384 (clear_once_control): Add release barrier.
7386 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7389 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7391 * math/s_clog10.c (__clog10): Likewise.
7392 * math/s_clog10f.c (__clog10f): Likewise.
7393 * math/s_clog10l.c (__clog10l): Likewise.
7394 * math/s_clogf.c (__clogf): Likewise.
7395 * math/s_clogl.c (__clogl): Likewise.
7396 * math/Makefile (libm-calls): Add x2y2m1.
7397 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7398 (__x2y2m1): Likewise.
7399 (__x2y2m1l): Likewise.
7400 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7401 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7402 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7403 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7404 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7405 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7406 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7407 * sysdeps/i386/fpu/libm-test-ulps: Update.
7408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7411 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7412 int as type of variable DEPTH.
7413 (glob): Use size_t instead of int as type of variables NEWCOUNT
7416 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7418 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7420 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7421 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7422 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7423 macros for using routine as __sincosf_ia32.
7424 Use macro for function declaration and weak_alias.
7425 * sysdeps/i386/fpu/libm-test-ulps: Update.
7427 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7430 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7432 * math/s_cexpf.c (__cexpf): Likewise.
7433 * math/s_csinf.c (__csinf): Likewise.
7434 * math/s_csinhf.c (__csinhf): Likewise.
7435 * math/s_ctanf.c (__ctanf): Likewise.
7436 * math/s_ctanhf.c (__ctanhf): Likewise.
7437 * math/s_ccosh.c (__ccoshf): Likewise.
7438 * math/s_cexp.c (__cexpl): Likewise.
7439 * math/s_csin.c (__csin): Likewise.
7440 * math/s_csinh.c (__csinh): Likewise.
7441 * math/s_ctan.c (__ctan): Likewise.
7442 * math/s_ctanh.c (ctanh): Likewise.
7443 * math/s_ccoshl.c (__ccoshl): Likewise.
7444 * math/s_cexpl.c (__cexpl): Likewise.
7445 * math/s_csinl.c (__csinl): Likewise.
7446 * math/s_csinhl.c (__csinhl): Likewise.
7447 * math/s_ctanl.c (__ctanl): Likewise.
7448 * math/s_ctanhl.c (__ctanhl): Likewise.
7450 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7452 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7453 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7454 (_IO_off_t): Define to __off_t, not _G_off_t.
7455 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7456 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7457 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7458 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7459 type of __dummy and __dummy2 fields.
7460 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7461 (_G_ssize_t): Likewise.
7462 (_G_off_t): Likewise.
7463 (_G_pid_t): Likewise.
7464 (_G_uid_t): Likewise.
7465 (_G_wchar_t): Likewise.
7466 (_G_wint_t): Likewise.
7467 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7468 (_G_ssize_t): Likewise.
7469 (_G_off_t): Likewise.
7470 (_G_pid_t): Likewise.
7471 (_G_uid_t): Likewise.
7472 (_G_wchar_t): Likewise.
7473 (_G_wint_t): Likewise.
7474 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7475 (_G_ssize_t): Likewise.
7476 (_G_off_t): Likewise.
7477 (_G_pid_t): Likewise.
7478 (_G_uid_t): Likewise.
7479 (_G_wchar_t): Likewise.
7480 (_G_wint_t): Likewise.
7482 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7484 * malloc/arena.c: Include malloc-sysdep.h.
7485 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7486 is sufficient to shrink the heap or an unmap is needed.
7487 * sysdeps/generic/malloc-sysdep.h: New file. Define
7488 new function check_may_shrink_heap.
7489 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7490 new function check_may_shrink_heap.
7492 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7494 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7497 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7499 * catgets/test-gencat.sh: Add "set -e".
7500 * elf/tst-pathopt.sh: Likewise.
7501 * grp/tst_fgetgrent.sh: Likewise.
7502 * iconvdata/run-iconv-test.sh: Likewise.
7503 * intl/tst-gettext.sh: Likewise.
7504 * intl/tst-gettext2.sh: Likewise.
7505 * intl/tst-gettext4.sh: Likewise.
7506 * intl/tst-gettext6.sh: Likewise.
7507 * intl/tst-translit.sh: Likewise.
7508 * io/ftwtest-sh: Likewise.
7509 * libio/test-freopen.sh: Likewise.
7510 * malloc/tst-mtrace.sh: Likewise.
7511 * posix/globtest.sh: Likewise.
7512 * posix/tst-getconf.sh: Likewise.
7513 * posix/wordexp-tst.sh: Likewise.
7514 * stdio-common/tst-printf.sh: Likewise.
7515 * stdio-common/tst-unbputc.sh: Likewise.
7516 * stdlib/tst-fmtmsg.sh: Likewise.
7517 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7518 * catgets/Makefile: Do not specify -e option when running
7519 testsuite shell scripts.
7520 * elf/Makefile: Likewise.
7521 * grp/Makefile: Likewise.
7522 * iconvdata/Makefile: Likewise.
7523 * intl/Makefile: Likewise.
7524 * io/Makefile: Likewise.
7525 * libio/Makefile: Likewise.
7526 * malloc/Makefile: Likewise.
7527 * posix/Makefile: Likewise.
7528 * stdio-common/Makefile: Likewise.
7529 * stdlib/Makefile: Likewise.
7530 * sysdeps/x86_64/Makefile: Likewise.
7532 * io/ftwtest-sh: Add copyright header.
7533 * posix/globtest.sh: Likewise.
7534 * posix/tst-getconf.sh: Likewise.
7535 * posix/wordexp-tst.sh: Likewise.
7536 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7538 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7541 * Makeconfig (+link): Defined as $(+link-static) if
7542 $(build-shared) isn't yes.
7543 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7545 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7547 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7550 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7551 new chunk size with MALLOC_ALIGN_MASK.
7553 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7556 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7558 (__printf_fphex): Determine rounding using get_rounding_mode and
7560 * stdio-common/tst-printf-round.c (struct hex_test): New
7562 (hex_tests): New variable.
7563 (test_hex_in_one_mode): New function.
7564 (do_test): Also run tests for hex float output.
7566 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7568 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7569 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7570 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7571 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7572 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7573 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7574 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7575 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7577 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7579 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7580 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7581 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7582 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7584 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7587 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7589 * elf/tst-rtld-load-self.sh: New test.
7590 * elf/Makefile: Run it.
7592 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7594 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7595 (tst-writev-ENV): Remove.
7596 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7598 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7600 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7602 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7604 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7606 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7608 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7609 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7610 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7613 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7616 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7617 * config.make.in (have-cpp-asm-debuginfo): Removed.
7618 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7619 * configure: Regenerated.
7621 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7624 * stdio-common/printf_fp.c: Include <stdbool.h> and
7626 (___printf_fp): Determine rounding using get_rounding_mode and
7628 * stdio-common/tst-printf-round.c: New file.
7629 * stdio-common/Makefile (tests): Add tst-printf-round.
7630 (link-libm): New variable.
7631 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7633 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7636 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7637 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7639 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7642 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7644 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7645 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7646 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7647 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7649 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7652 * include/rounding-mode.h: New file.
7653 * sysdeps/generic/get-rounding-mode.h: Likewise.
7654 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7655 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7656 (MAX_VALUE): New macro.
7657 (MIN_VALUE): Likewise.
7658 (overflow_value): New function.
7659 (underflow_value): Likewise.
7660 (round_and_return): Use overflow_value and underflow_value to
7661 determine return values in overflow and underflow cases. Use
7662 round_away to determine rounding depending on rounding mode.
7663 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7664 determine return values in overflow and underflow cases.
7665 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7666 (struct test_results): New structure.
7667 (struct test): Use struct test_results to store expected results
7668 for all rounding modes.
7669 (TEST): Include expected results for all rounding modes.
7670 (test_in_one_mode): New function.
7671 (do_test): Use test_in_one_mode to compute and check results.
7672 Check results for all rounding modes.
7673 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7676 2012-12-09 Allan McRae <allan@archlinux.org>
7678 * sysdeps/i386/fpu/libm-test-ulps: Update
7680 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7682 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7683 (_G_int32_t): Likewise.
7684 (_G_uint16_t): Likewise.
7685 (_G_uint32_t): Likewise.
7686 (_G_HAVE_BOOL): Likewise.
7687 (_G_HAVE_ATEXIT): Likewise.
7688 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7689 (_G_HAVE_IO_FILE_OPEN): Likewise.
7690 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7691 (_G_int32_t): Likewise.
7692 (_G_uint16_t): Likewise.
7693 (_G_uint32_t): Likewise.
7694 (_G_HAVE_BOOL): Likewise.
7695 (_G_HAVE_ATEXIT): Likewise.
7696 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7697 (_G_HAVE_IO_FILE_OPEN): Likewise.
7698 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7699 (_G_int32_t): Likewise.
7700 (_G_uint16_t): Likewise.
7701 (_G_uint32_t): Likewise.
7702 (_G_HAVE_BOOL): Likewise.
7703 (_G_HAVE_ATEXIT): Likewise.
7704 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7705 (_G_HAVE_IO_FILE_OPEN): Likewise.
7707 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7709 * csu/libc-tls.c: Update copyright years.
7711 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7713 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7714 [!_G_USING_THUNKS]: Remove conditional code.
7715 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7716 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7718 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7719 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7720 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7721 (_G_VTABLE_LABEL_PREFIX): Likewise.
7722 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7723 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7724 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7725 (_G_VTABLE_LABEL_PREFIX): Likewise.
7726 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7727 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7728 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7729 (_G_VTABLE_LABEL_PREFIX): Likewise.
7730 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7732 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7734 * libio/Makefile: Include ../Makeconfig before tests.
7735 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7736 only if $(build-shared) is yes.
7738 * iconv/gconv_db.c: Update copyright years.
7740 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7742 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7743 unwind info if defined PIC. Fix special cases description.
7744 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7746 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7748 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7750 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7752 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7754 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7757 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7758 (LDLIBS-tst-chk4): This.
7759 (LDFLAGS-tst-chk5): Renamed to ...
7760 (LDLIBS-tst-chk5): This.
7761 (LDFLAGS-tst-chk6): Renamed to ...
7762 (LDLIBS-tst-chk6): This.
7763 (LDFLAGS-tst-lfschk4): Renamed to ...
7764 (LDLIBS-tst-lfschk4): This.
7765 (LDFLAGS-tst-lfschk5): Renamed to ...
7766 (LDLIBS-tst-lfschk5): This.
7767 (LDFLAGS-tst-lfschk6): Renamed to ...
7768 (LDLIBS-tst-lfschk6): This.
7770 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7771 on $(common-objpfx)soversions.mk.
7773 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7776 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7779 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7781 * malloc/arena.c (arena_get_retry): New function that gets
7782 another arena for the caller to try its request on.
7783 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7784 current arena cannot fulfill the request.
7785 (__libc_memalign): Likewise.
7786 (__libc_memalign): Likewise.
7787 (__libc_pvalloc): Likewise.
7788 (__libc_calloc): Likewise.
7790 2012-09-05 John Tobey <john.tobey@gmail.com>
7793 * manual/arith.texi (Operations on Complex): Fix description
7796 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7799 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7803 * manual/memory.texi (Memory): Make order of menu items match
7806 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7808 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7809 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7810 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7812 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7814 * csu/libc-tls.c (static_dtv): Renamed to ...
7815 (_dl_static_dtv): This. Make it global.
7816 (_dl_initial_dtv): Removed.
7817 (__libc_setup_tls): Updated.
7818 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7819 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7822 2012-09-06 Petr Machata <pmachata@redhat.com>
7824 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7825 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7826 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7827 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7829 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7832 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7833 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7836 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7839 * Makeconfig (link-static-before-libc): Replace $(+prector)
7841 (link-static-after-libc): Replace $(+postctor) with
7843 (link-bounded): Replace $(+prector)/$(+postctor) with
7844 $(+prectorT)/$(+postctorT).
7845 (+prectorT): New macro.
7846 (+postctorT): Likewise.
7848 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7850 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7851 (round_str): Handle values above the maximum for IBM long double
7853 * stdlib/tst-strtod-round.c (tests): Regenerated.
7855 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7857 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7859 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7860 zarch_nohighgprs around the zarch optimized routines.
7861 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7862 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7863 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7866 2012-09-05 David S. Miller <davem@davemloft.net>
7868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7870 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7871 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7872 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7873 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7876 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7878 * malloc/arena.c: Fold copyright years.
7879 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7881 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7883 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7885 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7887 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7889 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7891 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7892 change internal state upon failure.
7894 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7896 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7897 * malloc/memusage.c (mmap): Likewise.
7898 (mmap64, mremap): Likewise. Adjust name in comment.
7900 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7902 * libio/fileops.c: Fix typos in comments.
7903 * libio/oldfileops.c: Likewise.
7904 * libio/wfileops.c: Likewise.
7906 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7909 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7910 (tst-malloc-usable-ENV): Set environment for test case.
7911 * malloc/hooks.c (malloc_check_get_size): New function to get
7913 * malloc/malloc.c (musable): Use malloc_check_get_size.
7914 * malloc/tst-malloc-usable.c: New test case.
7916 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7918 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7920 2012-09-05 Allan McRae <allan@archlinux.org>
7923 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7924 determine header location.
7925 * configure: Regenerated.
7927 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7929 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7931 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7932 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7936 2012-09-04 David S. Miller <davem@davemloft.net>
7938 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7939 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7940 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7942 2012-09-04 Florian Weimer <fweimer@redhat.com>
7944 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7947 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7949 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7952 * libio/iogetdelim.c: Include <limits.h>.
7953 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7954 + len + 1 would overflow.
7956 2012-09-03 Andreas Jaeger <aj@suse.de>
7958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7959 * sysdeps/i386/fpu/libm-test-ulps: Update.
7961 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7963 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7964 Add s_sinf-sse2, s_conf-sse2.
7966 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7967 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7968 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7969 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7971 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7972 for using routine as __sinf_ia32.
7973 Use macro for function declaration and weak_alias.
7974 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7975 for using routine as __cosf_ia32.
7976 Use macro for function declaration and weak_alias.
7978 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7979 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7981 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7982 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7985 * math/libm-test.inc (cos_test): Add more test cases.
7986 (sin_test): Likewise.
7987 (sincos_test): Likewise.
7989 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7991 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7992 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7994 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7996 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7999 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8000 first element of the GOT.
8001 (elf_machine_load_address): Return the difference between
8002 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8004 2012-09-01 Allan McRae <allan@archlinux.org>
8007 * configure.in (AWK): Require gawk version 3.0 or later.
8008 * configure: Regenerated.
8010 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8012 * sysdeps/unix/sysv/linux/kernel-features.h
8013 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8014 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8015 [__NR_clock_getres]: Make code unconditional.
8016 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8017 (clock_getcpuclockid): Remove code left unreachable by removal of
8019 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8021 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8022 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8023 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8024 Make code unconditional.
8025 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8026 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8027 * sysdeps/unix/sysv/linux/clock_settime.c
8028 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8030 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8031 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8033 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8036 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8037 scripts/test-installation.pl.
8039 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8040 and $ld_so_version if it is set.
8042 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8045 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8046 failure if reading from procfs failed.
8047 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8049 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8051 * sysdeps/unix/sysv/linux/kernel-features.h
8052 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8053 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8054 Remove conditional code.
8055 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8056 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8057 Remove conditional code.
8058 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8059 * sysdeps/unix/sysv/linux/i386/fxstat.c
8060 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8061 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8062 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8063 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8064 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8065 * sysdeps/unix/sysv/linux/i386/lxstat.c
8066 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8067 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8068 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8069 Remove conditional code.
8070 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8071 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8072 Remove conditional code.
8073 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8074 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8075 <kernel-features.h>.
8076 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8078 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8079 Remove conditional code.
8080 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8081 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8084 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8087 * NEWS: Add fixed bug number.
8089 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8092 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8093 underflowing exponent in case of negative sign.
8094 * stdlib/tst-strtod-round-data: Add more tests.
8095 * stdlib/tst-strtod-round.c (tests): Regenerated.
8098 * stdlib/strtod_l.c (NDIG): Remove.
8099 (HEXNDIG): Likewise.
8100 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8101 smallest representable value.
8102 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8103 lie within an exact representation of 1/2 ulp of the result.
8104 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8106 (TENS_P9_IDX): Define unconditionally.
8107 (TENS_P9_SIZE): Likewise.
8108 (TENS_P10_IDX): Likewise.
8109 (TENS_P10_SIZE): Likewise.
8110 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8111 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8112 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8113 entries for 10^2^13 and 10^2^14.
8114 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8115 (TENS_P13_IDX): Define.
8116 (TENS_P13_SIZE): Likewise.
8117 (TENS_P14_IDX): Likewise.
8118 (TENS_P14_SIZE): Likewise.
8119 (_fpioconst_pow10): Change array size to
8120 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8122 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8123 1024]: Add entries for 10^2^13 and 10^2^14.
8124 [LAST_POW10 > _LAST_POW10]: Remove #error.
8125 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8126 (_fpioconst_pow10): Change array size to
8127 FPIOCONST_POW10_ARRAY_SIZE.
8128 * stdlib/gen-fpioconst.c: New file.
8129 * stdlib/gen-tst-strtod-round.c: Likewise.
8130 * stdlib/tst-strtod-round-data: Likewise.
8131 * stdlib/tst-strtod-round.c: Likewise.
8132 * stdlib/Makefile (tests): Add tst-strtod-round.
8135 * stdlib/strtod_l.c: Include <stdint.h>.
8136 (NDEBUG): Do not define.
8137 (round_and_return): Change EXPONENT parameter to type intmax_t.
8138 Rearrange calculations to avoid internal overflow possibilities.
8139 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8140 Rearrange calculations to avoid internal overflow possibilities.
8141 Assert that number fits inside MPNSIZE limbs.
8142 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8143 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8144 calculations and add assertions to avoid internal overflow
8145 possibilities. Add casts to avoid signed/unsigned operations.
8146 * stdlib/tst-strtod-overflow.c: New file.
8147 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8149 2012-08-25 Marek Polacek <polacek@redhat.com>
8151 * time/time.h: Fix some typos in comments.
8153 2012-08-23 Roland McGrath <roland@hack.frob.com>
8155 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8156 * posix/tst-rfc3484-2.c: Likewise.
8157 * posix/tst-rfc3484-3.c: Likewise.
8159 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8161 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8162 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8164 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8166 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8167 #include of fxstatat64.c.
8169 2012-08-22 Roland McGrath <roland@hack.frob.com>
8171 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8172 * shadow/getspent_r.c: Likewise.
8173 * shadow/getspnam.c: Likewise.
8174 * shadow/getspnam_r.c: Likewise.
8175 * gshadow/getsgent.c: Likewise.
8176 * gshadow/getsgent_r.c: Likewise.
8177 * gshadow/getsgnam.c: Likewise.
8178 * gshadow/getsgnam_r.c: Likewise.
8179 * inet/getnetbyad.c: Likewise.
8180 * inet/getnetbyad_r.c: Likewise.
8181 * inet/getnetbynm.c: Likewise.
8182 * inet/getnetbynm_r.c: Likewise.
8183 * inet/getnetent.c: Likewise.
8184 * inet/getnetent_r.c: Likewise.
8185 * inet/getproto.c: Likewise.
8186 * inet/getproto_r.c: Likewise.
8187 * inet/getprtent.c: Likewise.
8188 * inet/getprtent_r.c: Likewise.
8189 * inet/getprtname.c: Likewise.
8190 * inet/getprtname_r.c: Likewise.
8191 * inet/getrpcbyname.c: Likewise.
8192 * inet/getrpcbyname_r.c: Likewise.
8193 * inet/getrpcbynumber.c: Likewise.
8194 * inet/getrpcbynumber_r.c: Likewise.
8195 * inet/getrpcent.c: Likewise.
8196 * inet/getrpcent_r.c: Likewise.
8197 * inet/getaliasent.c: Likewise.
8198 * inet/getaliasent_r.c: Likewise.
8199 * inet/getaliasname.c: Likewise.
8200 * inet/getaliasname_r.c: Likewise.
8201 * nscd/getgrgid_r.c: Likewise.
8202 * nscd/getgrnam_r.c: Likewise.
8203 * nscd/gethstbyad_r.c: Likewise.
8204 * nscd/gethstbynm3_r.c: Likewise.
8205 * nscd/getpwnam_r.c: Likewise.
8206 * nscd/getpwuid_r.c: Likewise.
8207 * nscd/getsrvbynm_r.c: Likewise.
8208 * nscd/getsrvbypt_r.c: Likewise.
8209 * nscd/gai.c: Likewise.
8211 * configure.in (build_nscd): New substituted variable, set
8212 by --disable-build-nscd and defaults to $use_nscd.
8213 * configure: Regenerated.
8214 * config.make.in (build-nscd): New substituted variable.
8215 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8216 Change conditional to require [$(build-nscd) = yes] as well.
8217 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8220 * configure.in (use_nscd): New substituted variable, set by
8221 --disable-nscd. If enabled, define USE_NSCD.
8222 * configure: Regenerated.
8223 * config.h.in: Add USE_NSCD.
8224 * config.make.in (use-nscd): New substituted variable.
8225 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8226 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8227 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8228 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8229 (CFLAGS-getgrnam_r.c): Likewise.
8230 (CFLAGS-initgroups.c): Likewise.
8231 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8232 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8234 * inet/getnetgrent_r.c
8235 (nscd_setnetgrent): New function, broken out of ...
8236 (setnetgrent): ... here. Call it.
8237 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8238 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8239 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8240 * nscd/Makefile (routines, aux): Move definitions after include of
8241 Makeconfig. Conditionalize on [$(use-nscd) != no].
8242 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8243 Conditionalize on [USE_NSCD].
8244 (is_nscd, nscd_init_cb): Likewise.
8245 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8246 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8247 * nss/nss_db/db-init.c: Likewise.
8248 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8250 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8251 (make_request): Use it.
8252 (cache_valid_p): New function.
8253 (__check_pf): Use it.
8254 * NEWS: Add item for --disable-nscd.
8256 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8258 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8259 to support sed >= 4.2.1-20-ga9bf076.
8260 * configure: Regenerated.
8262 2012-08-22 Roland McGrath <roland@hack.frob.com>
8264 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8265 Conditionalize whole body on [IREL].
8267 2012-08-22 Jeff Law <law@redhat.com>
8270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8271 if the family is PF_UNSPEC.
8273 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8275 * Makerules (lib-version): Rename from V.
8276 (install-lib-nosubdir): Change V to lib-version.
8278 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8281 * powerpc32/power6/wcschr.c: New file.
8282 * powerpc32/power6/wcscpy.c: New file.
8283 * powerpc32/power6/wcsrchr.c: New file.
8284 * powerpc64/power6/wcschr.c: New file.
8285 * powerpc64/power6/wcscpy.c: New file.
8286 * powerpc64/power6/wcsrchr.c: New file.
8288 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8290 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8291 (two_way_short_needle): Use it.
8292 * string/strstr.c (AVAILABLE1_USES_J): Define.
8293 * string/strcasestr.c: Likewise.
8295 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8297 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8300 * NEWS: Add an entry.
8301 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8302 define their defaults.
8303 (two_way_short_needle): Detect end-of-string on-the-fly.
8304 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8305 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8306 * string/bug-strcasestr1.c: New test.
8307 * string/Makefile: Run it.
8309 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8312 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8313 the first character.
8315 2012-08-21 Roland McGrath <roland@hack.frob.com>
8317 * csu/elf-init.c (__libc_csu_irel): Function removed.
8318 * csu/libc-start.c (apply_irel): New function.
8319 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8321 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8323 * sysdeps/unix/sysv/linux/kernel-features.h
8324 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8325 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8326 <kernel-features.h>.
8327 [__NR_fadvise64_64]: Make code unconditional.
8328 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8329 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8330 !__NR_fadvise64_64)]: Likewise.
8331 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8332 !__NR_fadvise64_64))]: Likewise.
8333 [__NR_fadvise64]: Make code unconditional.
8334 [!__NR_fadvise64]: Remove conditional code.
8335 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8336 <kernel-features.h>.
8337 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8339 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8342 not include <kernel-features.h>.
8343 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8345 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8347 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8348 include <kernel-features.h>.
8349 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8351 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8354 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8356 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8357 slight instruction rearrangements per scrollpipe analysis.
8358 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8360 2012-08-20 Roland McGrath <roland@hack.frob.com>
8362 * manual/syslog.texi (syslog; vsyslog, closelog):
8363 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8364 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8366 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8367 DSOCAPS to match condition on defining it.
8369 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8371 * sysdeps/unix/sysv/linux/kernel-features.h
8372 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8374 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8375 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8377 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8378 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8380 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8381 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8383 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8384 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8386 * sysdeps/unix/sysv/linux/kernel-features.h
8387 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8388 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8390 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8391 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8392 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8393 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8394 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8395 Make code unconditional.
8396 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8397 (__mmap64) [!__NR_mmap2]: Likewise.
8398 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8399 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8400 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8401 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8402 [__NR_mmap2]: Make code unconditional.
8403 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8404 (__mmap64) [!__NR_mmap2]: Likewise.
8406 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8408 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8410 2012-08-18 Andreas Jaeger <aj@suse.de>
8412 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8414 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8416 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8417 * include/unistd.h (__have_sock_cloexec): Likewise.
8418 (__have_pipe2): Likewise.
8419 (__have_dup3): Likewise.
8421 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8424 * include/unistd.h (__have_pipe2): Change define into an extern int.
8425 (__have_dup3): Likewise.
8426 * socket/have_sock_cloexec.c: Include fcntl.h.
8427 (__have_pipe2): New variable.
8428 (__have_dup3): Likewise.
8430 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8432 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8434 2012-08-17 Marek Polacek <polacek@redhat.com>
8436 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8437 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8439 2012-08-17 Roland McGrath <roland@hack.frob.com>
8441 * configure.in: Add AC_SUBST for sysheaders.
8442 * configure: Regenerated.
8443 * config.make.in (sysheaders): New substituted variable.
8445 * sysdeps/unix/mkfifo.c: Moved ...
8446 * sysdeps/posix/mkfifo.c: ... here.
8447 * sysdeps/unix/mkfifoat.c: Moved ...
8448 * sysdeps/posix/mkfifoat.c: ... here.
8450 * sysdeps/unix/utime.c: Moved ...
8451 * sysdeps/posix/utime.c: ... here.
8453 * sysdeps/unix/time.c: Moved ...
8454 * sysdeps/posix/time.c: ... here.
8455 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8456 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8458 * sysdeps/unix/nice.c: Moved ...
8459 * sysdeps/posix/nice.c: ... here.
8461 * sysdeps/unix/alarm.c: Moved ...
8462 * sysdeps/posix/alarm.c: ... here.
8464 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8466 2012-08-17 Jeff Law <law@redhat.com>
8468 * intl/Makefile (codeset_mo): New variable.
8469 ($(codeset_mo)): New target.
8470 (tst-codeset.out): Depend on that. Remove explicit rule.
8471 (tst-gettext3.out, tst-gettext5.out): Likewise.
8472 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8473 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8474 * intl/tst-codeset.sh: Remove.
8475 * intl/tst-gettext3.sh: Likewise.
8476 * intl/tst-gettext5.sh: Likewise.
8478 2012-08-17 Roland McGrath <roland@hack.frob.com>
8480 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8481 * sysdeps/unix/syscalls.list: ... here.
8483 * sysdeps/posix/getaddrinfo.c
8484 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8485 (gaiconf_init, gaiconf_reload): Use them.
8487 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8488 Define using time_t rather than struct timespec.
8490 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8491 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8493 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8495 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8496 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8499 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8500 __libc_cleanup_push argument.
8502 * bits/param.h: New file.
8503 * misc/sys/param.h: New file.
8504 * include/sys/param.h: New file.
8505 * misc/Makefile (headers): Add bits/param.h.
8506 * sysdeps/generic/sys/param.h: File removed.
8507 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8508 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8509 * sysdeps/mach/hurd/bits/param.h: New file.
8510 * sysdeps/mach/hurd/sys/param.h: File removed.
8512 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8515 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8517 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8518 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8521 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8522 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8523 rather than -D_IO_MTSAFE_IO conditionally.
8524 * stdio-common/Makefile (CPPFLAGS): Likewise.
8525 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8526 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8527 Use $(libio-mtsafe).
8528 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8530 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8531 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8532 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8533 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8534 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8535 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8536 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8537 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8538 (CFLAGS-fread_u_chk.c): Likewise.
8539 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8540 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8541 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8542 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8543 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8544 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8545 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8546 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8547 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8549 * libio/Makefile: Test [$(libc-reentrant) = yes]
8550 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8553 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8554 * sysdeps/pthread/configure: File removed.
8555 * sysdeps/pthread/Makeconfig: New file.
8556 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8557 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8559 2012-08-16 Gary Benson <gbenson@redhat.com>
8561 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8562 unmapping the first object in a namespace.
8564 2012-08-16 Roland McGrath <roland@hack.frob.com>
8566 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8567 (__internal_setnetgrent): ... this. Add internal_function to
8568 definition. Add libc_hidden_def.
8569 (setnetgrent): Update caller.
8570 (internal_endnetgrent): Renamed to ...
8571 (__internal_endnetgrent): ... this. Add internal_function to
8572 definition. Add libc_hidden_def.
8573 (endnetgrent): Update caller.
8574 (internal_getnetgrent_r): Renamed to ...
8575 (__internal_getnetgrent_r): ... this. Add internal_function to
8576 definition. Add libc_hidden_def.
8577 (__getnetgrent_r): Update caller.
8578 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8580 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8582 * stdlib/longlong.h: Update from GCC.
8584 2012-08-16 Roland McGrath <roland@hack.frob.com>
8586 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8587 on _QL, which is set by umul_ppmm but never used.
8588 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8589 variables, which are set by GMP macros but never used.
8590 * stdio-common/_itowa.c (_itowa): Likewise.
8591 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8592 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8594 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8596 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8597 struct La_sh_regs is not constant.
8598 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8599 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8600 and struct La_sparc64_regs are not constant.
8602 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8604 * sysdeps/unix/sysv/linux/kernel-features.h
8605 (__ASSUME_POSIX_TIMERS): Remove.
8606 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8607 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8608 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8609 Make code unconditional.
8610 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8611 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8612 Make code unconditional.
8613 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8614 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8615 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8616 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8617 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8618 Make code unconditional.
8619 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8620 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8621 (__libc_missing_posix_timers): Remove.
8623 2012-08-15 Roland McGrath <roland@hack.frob.com>
8625 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8626 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8628 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8630 * elf/dl-sym.c: Include <stdlib.h>.
8632 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8633 constants, which avoids warnings in 32-bit builds.
8635 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8636 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8638 * misc/lseek.c: File moved to ...
8639 * io/lseek.c: ... here.
8641 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8643 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8644 shifting LEN more than 31 bits at once.
8646 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8649 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8650 segmentation fault for a case of two empty input strings.
8651 * string/test-strncasecmp.c (check1): Renamed to...
8653 (bz14195): Add new testcase for two empty input strings and N > 0.
8654 (test_main): Call new testcase, adapt for renamed function.
8656 2012-08-15 Andreas Jaeger <aj@suse.de>
8659 * crypt/md5test2.c: New test, based on test supplied by Serge
8660 Belyshev <belyshev@depni.sinp.msu.ru>.
8661 * crypt/Makefile (xtests): Add md5test-giant..
8662 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8664 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8667 * crypt/md5.c (md5_process_block): Don't assume the buffer
8668 length is less than 2**32.
8669 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8670 length is less than 2**64.
8672 2012-08-15 Roland McGrath <roland@hack.frob.com>
8674 * string/str-two-way.h: Include <sys/param.h>.
8675 (MAX): Macro removed.
8677 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8678 Move #define and #undef of memmove to just before and after
8679 including <string.h>.
8681 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8682 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8683 and after including <string.h>. Move declarations of
8684 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8685 to before #include "string/memmove.c".
8687 * include/dirent.h: Declare __getdirentries.
8689 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8690 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8692 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8694 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8695 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8696 * sysdeps/i386/configure: Regenerated.
8697 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8698 STABS_CURRENT_FILE, and STABS_FUN.
8699 (END): Remove call to STABS_FUN_END.
8700 (STABS_CURRENT_FILE1): Delete.
8701 (STABS_CURRENT_FILE): Likewise.
8702 (STABS_FUN): Likewise.
8703 (STABS_FUN_END): Likewise.
8704 (STABS_FUN2): Likewise.
8705 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8706 * sysdeps/x86_64/configure: Regenerated.
8708 2012-08-14 Roland McGrath <roland@hack.frob.com>
8710 * elf/dl-open.c: Include <atomic.h>.
8711 * elf/dl-lookup.c: Likewise.
8713 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8715 * sysdeps/unix/sysv/linux/kernel-features.h
8716 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8717 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8719 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8721 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8722 condition on __ASSUME_CLONE_THREAD_FLAGS.
8724 2012-08-14 Andreas Jaeger <aj@suse.de>
8726 * sysdeps/i386/fpu/libm-test-ulps: Update.
8728 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8730 * include/atomic.h (atomic_exchange_and_add): Split into ...
8731 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8734 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8738 2012-08-13 Jeff Law <law@redhat.com>
8740 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8741 null byte in the output string.
8743 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8745 * sysdeps/unix/sysv/linux/kernel-features.h
8746 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8747 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8748 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8749 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8750 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8751 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8752 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8754 2012-08-09 Jeff Law <law@redhat.com>
8757 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8758 When avoid_arena is set, don't retry in the that arena. Pick the
8759 next one, whatever it might be.
8760 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8761 (arena_lock): Pass in new parameter to arena_get2.
8762 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8764 (__libc_malloc): Unify retrying after main arena failure with
8765 __libc_memalign version.
8766 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8768 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8771 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8772 to __redirect_strstr.
8773 (__strstr_sse42): Use typeof __redirect_strstr.
8774 (__strstr_ia32): Likewise.
8775 (__libc_strstr): New prototype.
8776 (strstr): Renamed to ...
8777 (__libc_strstr): This.
8778 (strstr): New strong alias of __libc_strstr.
8779 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8780 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8783 (__libc_time): New prototype.
8784 (time_ifunc): Replace time with __libc_time.
8785 (time): New strong alias and hidden definition of __libc_time.
8786 (__GI_time): Remove strong alias.
8787 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8789 (memmove): Redefined to __redirect_memmove.
8790 (__memmove_sse2): Use typeof __redirect_memmove.
8791 (__memmove_ssse3): Likewise.
8792 (__memmove_ssse3_back): Likewise.
8793 (__libc_memmove): New prototype.
8794 (memmove): Renamed to ...
8795 (__libc_memmove): This.
8796 (memmove): New strong alias of __libc_memmove.
8798 2012-08-08 Mark Salter <msalter@redhat.com>
8801 (R_MN10300_TLS_GD): Define.
8802 (R_MN10300_TLS_LD): Likewise.
8803 (R_MN10300_TLS_LDO): Likewise.
8804 (R_MN10300_TLS_GOTIE): Likewise.
8805 (R_MN10300_TLS_IE): Likewise.
8806 (R_MN10300_TLS_LE): Likewise.
8807 (R_MN10300_TLS_DTPMOD): Likewise.
8808 (R_MN10300_TLS_DTPOFF): Likewise.
8809 (R_MN10300_TLS_TPOFF): Likewise.
8810 (R_MN10300_SYM_DIFF): Likewise.
8811 (R_MN10300_ALIGN): Likewise.
8812 (R_MN10300_NUM): Update.
8814 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8816 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8819 2012-08-08 Roland McGrath <roland@hack.frob.com>
8821 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8823 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8824 sysdeps/unix -> sysdeps/posix move.
8825 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8827 2012-08-07 Allan McRae <allan@archlinux.org>
8830 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8831 (SUNOS_CPP): Likewise.
8832 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8834 (open_input): Call CPP using execvp.
8836 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8838 * sysdeps/unix/sysv/linux/kernel-features.h
8839 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8840 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8841 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8842 (__ASSUME_WAITID_SYSCALL): Likewise.
8843 * sysdeps/unix/sysv/linux/dl-execstack.c
8844 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8846 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8848 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8849 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8850 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8852 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8854 [__ASSUME_WAITID_SYSCALL]: Likewise.
8855 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8857 2012-08-07 Roland McGrath <roland@hack.frob.com>
8859 * sysdeps/unix/closedir.c: Renamed to ...
8860 * sysdeps/posix/closedir.c: ... here.
8861 * sysdeps/unix/dirfd.c: Renamed to ...
8862 * sysdeps/posix/dirfd.c: ... here.
8863 * sysdeps/unix/dirstream.h: Renamed to ...
8864 * sysdeps/posix/dirstream.h: ... here.
8865 * sysdeps/unix/fdopendir.c: Renamed to ...
8866 * sysdeps/posix/fdopendir.c: ... here.
8867 * sysdeps/unix/opendir.c: Renamed to ...
8868 * sysdeps/posix/opendir.c: ... here.
8869 * sysdeps/unix/readdir.c: Renamed to ...
8870 * sysdeps/posix/readdir.c: ... here.
8871 * sysdeps/unix/readdir_r.c: Renamed to ...
8872 * sysdeps/posix/readdir_r.c: ... here.
8873 * sysdeps/unix/rewinddir.c: Renamed to ...
8874 * sysdeps/posix/rewinddir.c: ... here.
8875 * sysdeps/unix/seekdir.c: Renamed to ...
8876 * sysdeps/posix/seekdir.c: ... here.
8877 * sysdeps/unix/telldir.c: Renamed to ...
8878 * sysdeps/posix/telldir.c: ... here.
8879 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8880 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8881 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8882 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8884 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8885 * bits/fcntl.h: ... here.
8887 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8889 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8890 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8891 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8892 (struct flock): Move l_start, l_len to the beginning.
8893 Use __pid_t for l_pid.
8894 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8895 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8896 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8897 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8898 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8899 [__USE_LARGEFILE64] (struct flock64): New type.
8900 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8902 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8903 * bits/dirent.h: ... here.
8905 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8906 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8908 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8910 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8911 Change from 2.6.0 to 2.6.16.
8912 * sysdeps/unix/sysv/linux/configure: Regenerated.
8913 * sysdeps/unix/sysv/linux/kernel-features.h
8914 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8915 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8917 (__ASSUME_UTIMES): Likewise.
8918 (__ASSUME_CLONE_STOPPED): Remove.
8919 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8920 architectures, not kernel version.
8921 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8922 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8923 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8924 (__ASSUME_WAITID_SYSCALL): Likewise.
8925 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8926 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8927 * README: State 2.6.16 as minimum Linux kernel version. Do not
8928 refer to older versions.
8930 2012-08-06 Roland McGrath <roland@hack.frob.com>
8932 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8933 Define alphasort64 as an alias.
8934 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8935 Define versionsort64 as an alias.
8936 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8937 Define scandir64 as an alias.
8938 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8939 Define scandirat64 as an alias.
8940 * dirent/alphasort64.c (alphasort64):
8941 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8942 * dirent/versionsort64.c: Likewise.
8943 * dirent/scandir64.c: Likewise.
8944 * dirent/scandirat64.c: Likewise.
8945 * sysdeps/wordsize-64/alphasort.c: File removed.
8946 * sysdeps/wordsize-64/alphasort64.c: File removed.
8947 * sysdeps/wordsize-64/scandir.c: File removed.
8948 * sysdeps/wordsize-64/scandir64.c: File removed.
8949 * sysdeps/wordsize-64/scandirat.c: File removed.
8950 * sysdeps/wordsize-64/scandirat64.c: File removed.
8951 * sysdeps/wordsize-64/versionsort.c: File removed.
8952 * sysdeps/wordsize-64/versionsort64.c: File removed.
8953 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8954 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8955 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8956 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8957 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8958 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8959 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8960 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8962 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8964 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8965 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8966 [defined __arch64__ || defined __sparcv9]
8967 (__INO_T_MATCHES_INO64_T): New macro.
8968 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8969 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8970 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8971 * sysdeps/unix/sysv/linux/bits/dirent.h
8972 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8973 (_DIRENT_MATCHES_DIRENT64): New macro.
8975 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8976 Define lockf64 as an alias.
8977 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8978 Define fseeko64 as an alias.
8979 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8980 Define ftello64 as an alias.
8981 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8982 Define _IO_fgetpos64 and fgetpos64 as aliases.
8983 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8984 Define _IO_fsetpos64 and fsetpos64 as aliases.
8985 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8986 Conditionalize body on this.
8987 * libio/fseeko64.c: Likewise.
8988 * libio/ftello64.c: Likewise.
8989 * libio/iofgetpos64.c: Likewise.
8990 * libio/iofsetpos64.c: Likewise.
8991 * sysdeps/wordsize-64/lockf.c: File removed.
8992 * sysdeps/wordsize-64/lockf64.c: File removed.
8993 * sysdeps/wordsize-64/fseeko.c: File removed.
8994 * sysdeps/wordsize-64/fseeko64.c: File removed.
8995 * sysdeps/wordsize-64/ftello.c: File removed.
8996 * sysdeps/wordsize-64/ftello64.c: File removed.
8997 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8998 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8999 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9000 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9001 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9002 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9003 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9004 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9005 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9006 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9007 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9008 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9009 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9010 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9012 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9014 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9016 [defined __arch64__ || defined __sparcv9]
9017 (__OFF_T_MATCHES_OFF64_T): New macro.
9018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9019 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9020 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9021 (__OFF_T_MATCHES_OFF64_T): New macro.
9023 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9025 * stdlib/secure-getenv.c (__secure_getenv): Replace
9026 GLIBC_2_16 with GLIBC_2_17.
9028 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9030 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9031 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9033 2012-08-03 David S. Miller <davem@davemloft.net>
9035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9037 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9039 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9041 (__ASSUME_CORRECT_SI_PID): Likewise.
9042 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9043 (__ASSUME_TMPFS_NAME): Likewise.
9044 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9045 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9046 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9047 (HAVE_AUX_SECURE): Make definition unconditional.
9048 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9049 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9051 2012-08-03 Roland McGrath <roland@hack.frob.com>
9053 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9054 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9055 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9056 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9057 __eloop_threshold instead of SYMLOOP_MAX.
9059 * sysdeps/generic/eloop-threshold.h: New file.
9060 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9062 * elf/chroot_canon.c (chroot_canon): Likewise.
9064 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9068 Change to 2.6.0 everywhere.
9069 * sysdeps/unix/sysv/linux/configure: Regenerated.
9070 * sysdeps/unix/sysv/linux/kernel-features.h
9071 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9072 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9074 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9075 (__ASSUME_FUTEX_REQUEUE): Remove.
9076 (__ASSUME_STATFS64): Define unconditionally.
9077 (__ASSUME_AT_SECURE): Likewise.
9078 (__ASSUME_CORRECT_SI_PID): Likewise.
9079 (__ASSUME_TGKILL): Define without depending on kernel version for
9081 (__ASSUME_UTIMES): Likewise.
9082 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9084 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9085 (__ASSUME_TMPFS_NAME): Likewise.
9086 * README: Update reference to Linux kernel versions.
9088 2012-08-02 Marek Polacek <polacek@redhat.com>
9091 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9092 libc_cv_asm_type_prefix with %.
9093 * configure: Regenerated.
9094 * include/libc-symbols.h: Remove comment about
9095 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9096 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9097 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9098 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9099 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9100 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9101 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9102 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9103 * elf/tst-unique2mod1.c: Likewise.
9104 * elf/tst-unique1mod2.c: Likewise.
9105 * elf/tst-unique1mod1.c: Likewise.
9106 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9107 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9108 Replace ASM_TYPE_DIRECTIVE with .type.
9109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9110 * sysdeps/i386/sysdep.h: Likewise.
9111 * sysdeps/x86_64/sysdep.h: Likewise.
9112 * sysdeps/sh/sysdep.h: Likewise.
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9114 Do not define ASM_TYPE_DIRECTIVE.
9115 * sysdeps/powerpc/sysdep.h: Likewise.
9116 * sysdeps/powerpc/powerpc32/sysdep.h:
9117 Replace ASM_TYPE_DIRECTIVE with .type.
9118 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9119 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9120 * sysdeps/i386/fpu/e_powf.S: Likewise.
9121 * sysdeps/i386/fpu/e_expl.S: Likewise.
9122 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9123 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9124 * sysdeps/i386/fpu/e_pow.S: Likewise.
9125 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9126 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9127 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9128 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9129 * sysdeps/i386/fpu/e_log2.S: Likewise.
9130 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9131 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9132 * sysdeps/i386/fpu/e_powl.S: Likewise.
9133 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9134 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9135 * sysdeps/i386/fpu/e_logl.S: Likewise.
9136 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9137 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9138 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9139 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9140 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9141 * sysdeps/i386/fpu/e_log.S: Likewise.
9142 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9143 * sysdeps/i386/fpu/e_logf.S: Likewise.
9144 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9145 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9146 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9147 * sysdeps/i386/fpu/e_log10.S: Likewise.
9148 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9149 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9150 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9151 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9152 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9153 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9154 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9155 * sysdeps/i386/i686/strtok.S: Likewise.
9156 * sysdeps/i386/i386-mcount.S: Likewise.
9157 * sysdeps/i386/strtok.S: Likewise.
9158 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9159 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9160 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9161 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9162 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9163 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9164 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9165 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9166 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9167 * sysdeps/x86_64/_mcount.S: Likewise.
9168 * sysdeps/x86_64/strtok.S: Likewise.
9169 * sysdeps/sh/_mcount.S: Likewise.
9171 2012-08-01 Roland McGrath <roland@hack.frob.com>
9173 * libio/iofopen.c: Include <fcntl.h>.
9174 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9175 (_IO_fopen64, fopen64): Define as aliases.
9176 * libio/iofopen64.c: Include <fcntl.h>.
9177 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9178 Conditionalize body on this.
9179 * sysdeps/wordsize-64/iofopen.c: File removed.
9180 * sysdeps/wordsize-64/iofopen64.c: File removed.
9182 2012-08-01 Marek Polacek <polacek@redhat.com>
9184 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9185 Use dlfcn directly instead of a variable.
9186 (binfmt-subdir): Do not define.
9189 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9191 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9192 Remove all definitions.
9193 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9194 <kernel-features.h>.
9195 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9196 (miss_F_GETOWN_EX): Remove all definitions.
9197 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9199 [!__ASSUME_FCNTL64]: Remove conditional code.
9200 [__ASSUME_FCNTL64]: Make code unconditional.
9201 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9202 <kernel-features.h>.
9203 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9204 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9205 (lockf64) [__NR_fcntl64]: Make code unconditional.
9206 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9208 * sysdeps/unix/sysv/linux/kernel-features.h
9209 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9210 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9211 Make code unconditional.
9212 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9213 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9215 [__NR_vfork]: Make code unconditional.
9216 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9217 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9219 [__NR_vfork]: Make code unconditional.
9220 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9221 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9223 2012-08-01 Roland McGrath <roland@hack.frob.com>
9225 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9226 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9228 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9229 Define mkstemp64 as an alias.
9230 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9231 Define mkstemps64 as an alias.
9232 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9233 Define mkostemp64 as an alias.
9234 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9235 Define mkostemps64 as an alias.
9236 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9237 Conditionalize body on this.
9238 * misc/mkostemp64.c: Likewise.
9239 * misc/mkostemps64.c: Likewise.
9240 * misc/mkstemps64.c: Likewise.
9241 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9242 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9243 * sysdeps/wordsize-64/mkostemp.c: File removed.
9244 * sysdeps/wordsize-64/mkstemp.c: File removed.
9245 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9246 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9247 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9248 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9251 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9252 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9253 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9254 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9256 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9257 compat_symbol macros from <shlib-compat.h> rather than the underlying
9258 default_symbol_version and symbol_version macros, so that DEFAULT
9259 lines in shlib-versions are respected.
9260 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9262 2012-08-01 Florian Weimer <fweimer@redhat.com>
9264 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9265 Declare with warn_unused_result.
9266 (setgid, setregid, setegid, setresgid): Likewise.
9267 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9269 * WUR-REPORT: Remove set*id functions.
9271 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9273 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9275 2012-07-31 Roland McGrath <roland@hack.frob.com>
9277 * include/sys/socket.h (__libc_accept, __libc_accept4):
9278 Add attribute_hidden.
9279 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9281 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9283 * inet/getnetgrent_r.c (setup): Likewise.
9285 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9287 2012-07-31 David S. Miller <davem@davemloft.net>
9289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9291 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9294 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9295 value between 1.0 and 2.0 and smaller part has absolute value less
9297 * math/s_clog10.c (__clog10): Likewise.
9298 * math/s_clog10f.c (__clog10f): Likewise.
9299 * math/s_clog10l.c (__clog10l): Likewise.
9300 * math/s_clogf.c (__clogf): Likewise.
9301 * math/s_clogl.c (__clogl): Likewise.
9302 * math/libm-test.inc (clog_test): Add more tests.
9303 (clog10_test): Likewise.
9304 * sysdeps/i386/fpu/libm-test-ulps: Update.
9305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9307 2012-07-31 Florian Weimer <fweimer@redhat.com>
9309 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9310 Exit with zero in case no suitable GID is found, and write a
9311 message to standard error.
9313 2012-07-30 Roland McGrath <roland@hack.frob.com>
9315 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9317 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9318 (MAXPATHLEN): Removed.
9319 (NOGROUP, NODEV): New macros.
9320 (setbit, clrbit, isset, isclr): New macros.
9321 (howmany, roundup, powerof2): New macros.
9322 (DEV_BSIZE): New macro.
9324 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9325 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9327 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9328 definition on [!__NO_LONG_DOUBLE_MATH].
9330 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9331 PTR_MANGLE and PTR_DEMANGLE.
9333 * socket/accept4.c (accept4): Rename to __libc_accept4.
9334 Define accept4 as a weak alias.
9336 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9337 on [_DIRENT_HAVE_D_TYPE].
9338 * io/ftw.c (ftw_dir): Likewise.
9340 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9342 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9344 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9345 Use the BSD numbers rather than the arbitrary ones we had.
9346 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9347 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9348 (SIGXCPU, SIGXFSZ): New macros.
9351 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9352 initializer on [_LIBC_REENTRANT].
9354 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9355 definitions inside [_POSIX_MAPPED_FILES].
9357 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9359 * dirent/opendir.c: Include <fcntl.h>.
9361 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9362 (__libc_getspecific): Likewise.
9363 (__libc_key_create): Likewise.
9365 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9366 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9367 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9368 (tmpfile64): Define as alias.
9369 * sysdeps/wordsize-64/tmpfile.c: File removed.
9370 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9371 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9372 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9374 * stdio-common/vfscanf.c: Include <stdbool.h>.
9375 * nss/makedb.c: Likewise.
9376 * stdio-common/_i18n_number.h: Likewise.
9377 * argp/argp-help.c: Likewise.
9378 * posix/wordexp.c: Likewise.
9379 * sysdeps/posix/spawni.c: Likewise.
9380 * nss/nss_files/files-initgroups.c: Likewise.
9381 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9382 * nss/nss_files/files-initgroups.c: Likewise.
9383 * nss/nss_db/db-netgrp.c: Likewise.
9384 * nss/nss_db/db-initgroups.c: Likewise.
9385 * io/fchmodat.c: Include <sys/stat.h>.
9387 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9388 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9390 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9393 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9394 Add multiple inclusion protection.
9396 2012-07-27 David S. Miller <davem@davemloft.net>
9398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9400 2012-07-27 Gary Benson <gbenson@redhat.com>
9403 * elf/rtld.c: Include <stap-probe.h>.
9404 (dl_main): Added static probes "init_start" and "init_complete".
9405 * elf/dl-load.c: Include <stap-probe.h>.
9406 (lose): Take new parameter "nsid".
9407 Added static probe "map_failed".
9408 (_dl_map_object_from_fd): Pass namespace id to lose.
9409 Added static probe "map_start".
9410 (open_verify): Pass namespace id to lose.
9411 * elf/dl-open.c: Include <stap-probe.h>.
9412 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9413 and "reloc_complete".
9414 * elf/dl-close.c: Include <stap-probe.h>.
9415 (_dl_close_worker): Added static probes "unmap_start" and
9417 * elf/rtld-debugger-interface.txt: New file documenting the above.
9419 2012-07-26 Roland McGrath <roland@hack.frob.com>
9421 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9422 rather than a string variable.
9423 * sunrpc/rpc_main.c (h_output): Likewise.
9424 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9426 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9428 * inet/check_native.c: New file.
9430 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9433 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9434 if larger part has absolute value 1.0.
9435 * math/s_clog10.c (__clog10): Likewise.
9436 * math/s_clog10f.c (__clog10f): Likewise.
9437 * math/s_clog10l.c (__clog10l): Likewise.
9438 * math/s_clogf.c (__clogf): Likewise.
9439 * math/s_clogl.c (__clogl): Likewise.
9440 * math/libm-test.inc (clog_test): Add more tests.
9441 (clog10_test): Likewise.
9442 * sysdeps/i386/fpu/libm-test-ulps: Update.
9443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9445 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9446 (pltexit): Likewise.
9447 (La_regs): Likewise.
9448 (La_retval): Likewise.
9449 (int_retval): Likewise.
9450 Update #error for removed macros to refer only to definitions in
9452 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9454 (pltexit): Likewise.
9455 (La_regs): Likewise.
9456 (La_retval): Likewise.
9457 (int_retval): Likewise.
9458 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9460 (pltexit): Likewise.
9461 (La_regs): Likewise.
9462 (La_retval): Likewise.
9463 (int_retval): Likewise.
9464 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9466 (pltexit): Likewise.
9467 (La_regs): Likewise.
9468 (La_retval): Likewise.
9469 (int_retval): Likewise.
9470 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9472 (pltexit): Likewise.
9473 (La_regs): Likewise.
9474 (La_retval): Likewise.
9475 (int_retval): Likewise.
9476 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9478 (pltexit): Likewise.
9479 (La_regs): Likewise.
9480 (La_retval): Likewise.
9481 (int_retval): Likewise.
9482 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9484 (pltexit): Likewise.
9485 (La_regs): Likewise.
9486 (La_retval): Likewise.
9487 (int_retval): Likewise.
9488 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9489 macro definitions in tst-audit.h.
9490 * sysdeps/i386/tst-audit.h: New file.
9491 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9492 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9493 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9494 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9495 * sysdeps/sh/tst-audit.h: Likewise.
9496 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9497 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9498 * sysdeps/x86_64/tst-audit.h: Likewise.
9500 2012-07-26 Andreas Jaeger <aj@suse.de>
9502 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9505 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9506 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9507 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9509 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9510 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9511 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9513 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9516 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9518 (si_call_addr, si_syscall, si_arch): Define new macro.
9519 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9521 (si_call_addr, si_syscall, si_arch): Define new marcro.
9522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9524 (si_call_addr, si_syscall, si_arch): Define new macro.
9525 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9527 (si_call_addr, si_syscall, si_arch): Define new macro.
9529 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9532 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9533 Change to 2.4.21 where previously 2.4.1.
9534 * sysdeps/unix/sysv/linux/configure: Regenerated.
9535 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9536 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9537 Linux kernel version.
9538 (__ASSUME_STD_AUXV): Remove.
9539 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9541 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9542 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9543 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9544 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9545 (__ASSUME_NETLINK_SUPPORT): Likewise.
9546 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9547 (__no_netlink_support): Remove conditional definition.
9548 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9550 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9551 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9552 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9553 (if_nameindex_ioctl): Remove.
9554 (if_nameindex_netlink): Do not handle __no_netlink_support.
9555 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9557 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9558 Remove conditional code.
9559 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9561 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9563 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9564 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9565 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9567 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9568 [!__ASSUME_STD_AUXV]: Remove conditional code.
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9570 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9571 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9573 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9574 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9576 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9578 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9579 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9581 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9583 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9586 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9589 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9591 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9593 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9595 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9598 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9600 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9603 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9605 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9607 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9609 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9612 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9614 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9616 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9618 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9621 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9623 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9624 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9625 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9626 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9627 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9628 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9629 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9630 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9631 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9632 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9633 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9634 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9635 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9636 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9637 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9638 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9639 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9640 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9641 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9643 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9644 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9645 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9647 2012-07-25 Florian Weimer <fweimer@redhat.com>
9649 * Versions.def: Add GLIBC_2.17.
9650 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9651 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9652 Introduce __libc_secure_getenv.
9653 * stdlib/Versions (2.17): Add secure_getenv
9654 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9655 * stdlib/secure-getenv.c: Rename __secure_getenv to
9656 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9657 symbol __secure_getenv for GLIBC_2.0.
9658 * stdlib/tst-secure-getenv.c: New.
9659 * stdlib/Makefile (tests): Add testcase.
9660 * manual/startup.texi (Environment Access): Document
9662 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9663 __libc_secure_getenv.
9664 * inet/ruserpass.c (ruserpass): Likewise.
9665 * malloc/mtrace.c (mtrace): Likewise.
9666 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9667 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9668 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9669 * sysdeps/posix/tempname.c: Likewise. Evaluate
9671 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9672 __secure_getenv to __libc_secure_getenv.
9673 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9686 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9688 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9689 (struct La_i86_retval): Likewise.
9690 (struct La_x86_64_regs): Likewise.
9691 (struct La_x86_64_retval): Likewise.
9692 (struct La_x32_regs): Likewise.
9693 (struct La_x32_retval): Likewise.
9694 (struct La_ppc32_regs): Likewise.
9695 (struct La_ppc32_retval): Likewise.
9696 (struct La_ppc64_regs): Likewise.
9697 (struct La_ppc64_retval): Likewise.
9698 (struct La_sh_regs): Likewise.
9699 (struct La_sh_retval): Likewise.
9700 (struct La_s390_32_regs): Likewise.
9701 (struct La_s390_32_retval): Likewise.
9702 (struct La_s390_64_regs): Likewise.
9703 (struct La_s390_64_retval): Likewise.
9704 (struct La_sparc32_regs): Likewise.
9705 (struct La_sparc32_retval): Likewise.
9706 (struct La_sparc64_regs): Likewise.
9707 (struct La_sparc64_retval): Likewise.
9708 (struct audit_ifaces): Remove architecture-specific pltenter and
9710 * sysdeps/i386/ldsodefs.h: New file.
9711 * sysdeps/powerpc/ldsodefs.h: Likewise.
9712 * sysdeps/s390/ldsodefs.h: Likewise.
9713 * sysdeps/sh/ldsodefs.h: Likewise.
9714 * sysdeps/sparc/ldsodefs.h: Likewise.
9715 * sysdeps/x86_64/ldsodefs.h: Likewise.
9717 2012-07-25 Marek Polacek <polacek@redhat.com>
9720 * math/libm-test.inc (yn_test): Add another test.
9721 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9722 to ERANGE when the result is +-Inf.
9723 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9724 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9725 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9726 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9728 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9730 * conform/data/time.h-data (NULL): Use macro-constant. Require
9732 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9734 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9736 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9738 * configure.in <sysdeps resolving>: Correct printing
9740 * configure: Regenerate.
9742 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9744 * math/w_ilogb.c: Include <limits.h>.
9745 * math/w_ilogbl.c: Likewise.
9747 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9749 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9750 va_copy. Document allowing for unavailable va_copy only as
9751 pre-C99 compatibility.
9752 * manual/string.texi (Copying and Concatenation): Use va_copy
9753 instead of __va_copy in concat example.
9755 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9757 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9758 (__sendto): Use create_address_port. Initialize APORT and deallocate
9761 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9762 with O_NOLINK passed to __file_name_lookup.
9764 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9765 with O_NOLINK passed to __file_name_lookup.
9767 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9768 negative N or less than NGIDS.
9770 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9771 type to string_t. Set ERANGE as errno and return it if NAME is not big
9772 enough. Use memcpy instead of strncpy.
9774 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9776 * elf/Makefile (check-data): Remove.
9777 (localplt.data): New vpath directive.
9778 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9779 instead of $(check-data).
9780 * scripts/data/localplt-generic.data: Move to ...
9781 * sysdeps/generic/localplt.data: ... here.
9782 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9783 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9784 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9787 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9790 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9793 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9796 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9799 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9803 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9805 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9806 PPC32 and PPC64 files.
9807 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9808 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9810 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9812 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9813 __makecontext_ret to ...
9814 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9815 ... here and call exit if uc_link is NULL. New file.
9816 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9817 __makecontext_ret.S.
9818 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9819 __makecontext_ret to ...
9820 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9821 ... here and call exit if uc_link is NULL. New file.
9822 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9823 __makecontext_ret.S.
9825 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9827 * elf/elf.h (R_390_IRELATIVE): New definition.
9828 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9829 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9830 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9831 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9832 (elf_machine_lazy_rel): Likewise.
9833 * sysdeps/s390/dl-irel.h: New file.
9834 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9835 * sysdeps/s390/s390-64/memset.S: New asm code.
9836 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9837 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9838 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9839 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9840 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9841 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9842 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9843 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9844 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9845 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9846 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9847 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9848 * sysdeps/s390/s390-32/memset.S: New asm code.
9849 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9851 2012-07-17 Marek Polacek <polacek@redhat.com>
9854 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9855 * sysdeps/s390/s390-64/configure.in: Likewise.
9856 * sysdeps/sparc/configure.in: Likewise.
9857 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9858 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9859 * sysdeps/i386/configure.in: Likewise.
9860 * sysdeps/x86_64/configure.in: Likewise.
9861 * sysdeps/sh/configure.in: Likewise.
9862 * sysdeps/s390/s390-32/configure: Regenerated.
9863 * sysdeps/s390/s390-64/configure: Likewise.
9864 * sysdeps/x86_64/configure: Likewise.
9865 * sysdeps/sh/configure: Likewise.
9866 * sysdeps/powerpc/powerpc64/configure: Likewise.
9867 * sysdeps/powerpc/powerpc32/configure: Likewise.
9868 * sysdeps/sparc/configure: Likwise.
9869 * sysdeps/i386/configure: Likewise.
9871 * elf/dl-open.c: Comment fixes.
9873 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9875 * Makefile [CXX] (check-data): Remove.
9876 [CXX] (c++-types.data): New vpath directive.
9877 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9878 vpath. Do not allow for C++ type data being missing.
9879 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9880 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9881 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9882 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9883 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9884 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9885 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9888 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9891 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9894 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9897 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9900 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9903 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9906 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9909 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9910 definitions to architecture-specific files.
9914 * sysdeps/i386/tls-macros.h: New file.
9915 * sysdeps/powerpc/tls-macros.h: Likewise.
9916 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9917 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9918 * sysdeps/sh/tls-macros.h: Likewise.
9919 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9920 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9921 * sysdeps/x86_64/tls-macros.h: Likewise.
9923 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9925 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9926 zero value for regular exit case.
9928 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9929 (__start_context): Preserve zero value for regular exit case.
9931 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9932 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9934 * manual/setjmp.texi (setcontext): Clarify normal process
9935 termination when uc_link is the null pointer.
9936 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9939 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9941 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9942 preprocessor. Test for each exception mask separately.
9944 2012-07-16 Andreas Jaeger <aj@suse.de>
9946 * po/ru.po: Update from translation team.
9948 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9950 * conform/data/string.h-data (NULL): Use macro-constant. Require
9952 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9953 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9954 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9955 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9956 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9958 2012-07-13 Andreas Jaeger <aj@suse.de>
9960 * po/fr.po: Update from translation team.
9962 2012-07-12 Marek Polacek <polacek@redhat.com>
9965 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9966 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9969 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9972 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9973 Change to 2.4.1 where previously 2.4.0.
9974 * sysdeps/unix/sysv/linux/configure: Regenerated.
9975 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9976 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9978 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9979 (__ASSUME_AT_CLKTCK): Remove.
9980 (__ASSUME_AT_PAGESIZE): Likewise.
9981 (__ASSUME_AT_XID): Likewise.
9982 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9983 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9984 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9986 (HAVE_AUX_PAGESIZE): Likewise.
9987 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9988 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9989 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9991 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9995 the temporary buffer used to invoke __gethostbyname2_r,
9996 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9997 host_data / struct gaih_addrtuple.
9998 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9999 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10000 header file nss/nsswitch.h.
10001 * nss/nsswitch.h (global scope): Add definition of implementation
10002 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10003 resolv/nss_dns/dns-host.c).
10005 2012-07-11 Andreas Jaeger <aj@suse.de>
10007 * po/fr.po: Update from translation team.
10009 * po/sv.po: Update from translation team
10010 * po/fr.po: Another update from translation team.
10012 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10014 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10015 for subnormals or multiply small sinh result by itself.
10016 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10019 2012-07-11 David S. Miller <davem@davemloft.net>
10021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10023 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10026 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10027 (INTERNAL_MARK): Shift it here.
10029 2012-07-10 Marek Polacek <polacek@redhat.com>
10032 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10033 libc_cv_asm_global_directive with .globl.
10034 * configure: Regenerated.
10035 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10037 * sysdeps/i386/configure: Regenerated.
10038 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10040 * sysdeps/x86_64/configure: Regenerated.
10041 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10042 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10043 * elf/tst-unique2mod2.c: Likewise.
10044 * elf/tst-unique2mod1.c: Likewise.
10045 * elf/tst-unique1mod2.c: Likewise.
10046 * elf/tst-unique1mod1.c: Likewise.
10047 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10048 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10049 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10050 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10051 * sysdeps/mach/sysdep.h: Likewise.
10052 * sysdeps/i386/sysdep.h: Likewise.
10053 * sysdeps/i386/i386-mcount.S: Likewise.
10054 * sysdeps/x86_64/_mcount.S: Likewise.
10055 * sysdeps/x86_64/sysdep.h: Likewise.
10056 * sysdeps/sh/_mcount.S: Likewise.
10057 * sysdeps/sh/sysdep.h: Likewise.
10058 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10059 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10060 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10061 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10062 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10063 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10064 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10065 * locale/localeinfo.h: Likewise.
10066 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10067 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10069 2012-07-09 Roland McGrath <roland@hack.frob.com>
10072 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10074 * manual/message.texi (The Uniforum approach): Likewise.
10075 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10076 (glibc iconv Implementation): Likewise.
10078 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10081 * math/s_clog.c (__clog): Avoid scaling a value down where that
10082 could result in underflow.
10083 * math/s_clog10.c (__clog10): Likewise.
10084 * math/s_clog10f.c (__clog10f): Likewise.
10085 * math/s_clog10l.c (__clog10l): Likewise.
10086 * math/s_clogf.c (__clogf): Likewise.
10087 * math/s_clogl.c (__clogl): Likewise.
10088 * math/libm-test.inc (clog_test): Add more tests.
10089 (clog10_test): Likewise.
10090 * sysdeps/i386/fpu/libm-test-ulps: Update.
10091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10093 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10096 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10097 by 7 not 8 to examine high bit of fractional part.
10100 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10101 for call to __mcount_internal.
10102 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10103 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10104 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10106 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10109 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10110 approximation for values within 0x1p-13f of an odd multiple of
10112 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10113 exception. Add more tests.
10114 * sysdeps/i386/fpu/libm-test-ulps: Update.
10117 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10118 inputs and return -1 for them. Do not check for +Inf in case not
10119 reachable for +Inf.
10120 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10121 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10122 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10123 and return -1 for them. Do not check for +Inf in case not
10124 reachable for +Inf.
10125 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10127 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10128 and return -1 for them. Do not check for +Inf in case not
10129 reachable for +Inf.
10130 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10131 spurious underflow.
10132 * sysdeps/i386/fpu/libm-test-ulps: Update.
10133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10135 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10137 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10139 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10143 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10144 could result in spurious underflow. Scale down values above
10145 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10146 * math/s_csqrtf.c (__csqrtf): Likewise.
10147 * math/s_csqrtl.c (__csqrtl): Likewise.
10148 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10149 spurious underflow.
10150 * sysdeps/i386/fpu/libm-test-ulps: Update.
10151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10153 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10155 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10157 * catgets/xopen-msg.awk: New file.
10158 * catgets/xopen-msg.sed: Removed.
10160 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10162 * intl/po2test.awk: New file.
10163 * intl/po2test.sed: Removed.
10165 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10168 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10169 or multiply small sinh result by itself.
10170 * math/s_ctanf.c (__ctanf): Likewise.
10171 * math/s_ctanh.c (__ctanh): Likewise.
10172 * math/s_ctanhf.c (__ctanhf): Likewise.
10173 * math/s_ctanhl.c (__ctanhl): Likewise.
10174 * math/s_ctanl.c (__ctanl): Likewise.
10175 * math/libm-test.inc (ctan_test_tonearest): New function.
10176 (ctan_test_towardzero): Likewise.
10177 (ctan_test_downward): Likewise.
10178 (ctan_test_upward): Likewise.
10179 (ctanh_test_tonearest): Likewise.
10180 (ctanh_test_towardzero): Likewise.
10181 (ctanh_test_downward): Likewise.
10182 (ctanh_test_upward): Likewise.
10183 (main): Call these new functions.
10184 * sysdeps/i386/fpu/libm-test-ulps: Update.
10185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10187 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10189 * .gitignore: Delete /ports entry.
10191 2012-07-03 Andreas Jaeger <aj@suse.de>
10193 * po/bg.po: Update from translation team.
10194 * po/cs.po: Likewise.
10195 * po/de.po: Likewise.
10196 * po/hr.po: Likewise.
10197 * po/nl.pl: Likewise.
10198 * po/pl.po: Likewise.
10199 * po/vi.po: Likewise.
10201 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10203 * Makeconfig [!+link] (+link-before-libc): New variable.
10204 [!+link] (+link-after-libc): Likewise.
10205 [!+link] (+link-tests): Likewise.
10206 [!+link] (+link): Define in terms of $(+link-before-libc) and
10207 $(+link-after-libc).
10208 [!+link-static] (+link-static-before-libc): New variable.
10209 [!+link-static] (+link-static-after-libc): Likewise.
10210 [!+link-static] (+link-static-tests): Likewise.
10211 [!+link-static] (+link-static): Define in terms of
10212 $(+link-static-before-libc) and $(+link-static-after-libc).
10213 [build-shared] (link-libc-before-gnulib): New variable.
10214 [build-shared] (link-libc-tests): Likewise.
10215 [build-shared] (link-libc): Define in terms of
10216 $(link-libc-before-gnulib).
10217 [!build-shared] (link-libc-tests): New variable.
10218 (link-libc-static-tests): New variable.
10219 [!gnulib] (gnulib-arch): New variable.
10220 [!gnulib] (gnulib-tests): Likewise.
10221 [!gnulib] (static-gnulib-arch): Likewise.
10222 [!gnulib] (static-gnulib-tests): Likewise.
10223 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10224 Define with "=" instead of ":=".
10225 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10226 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10227 * Rules (binaries-all-notests): New variable.
10228 (binaries-all-tests): Likewise.
10229 (binaries-static-notests): Likewise.
10230 (binaries-static-tests): Likewise.
10231 (binaries-all): Define using $(binaries-all-notests) and
10232 $(binaries-all-tests).
10233 (binaries-static): Define using $(binaries-static-notests) and
10234 $(binaries-static-tests).
10235 (binaries-shared-tests): New variable.
10236 (binaries-shared-notests): Likewise.
10237 (binaries-shared): Remove variable.
10238 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10239 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10240 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10241 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10242 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10243 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10244 * elf/Makefile (sln-modules): New variable.
10245 (extra-objs): Add $(sln-modules:=.o).
10246 (ldconfig-modules): Add static-stubs.
10247 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10248 * elf/static-stubs.c: New file.
10251 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10252 by 7 not 8 to examine high bit of fractional part. Use volatile
10253 variables when splitting into final array of floats if
10254 __FLT_EVAL_METHOD__ != 0.
10255 * math/libm-test.inc (cos_test): Add another test.
10256 (sin_test): Likewise.
10257 * sysdeps/i386/fpu/libm-test-ulps: Update.
10260 * math/libm-test.inc (cosh_test): Add more tests.
10262 * version.h (RELEASE): Set to "development".
10263 (VERSION): Set to "2.16.90".
10265 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10267 * NEWS: Update copyright. Remove last-updated date.
10268 Mention math library bug fixes and timezone data changes.
10269 * README: Mention GNU/Hurd, x32, and HPPA support status.
10271 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10273 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10275 2012-06-27 Andreas Jaeger <aj@suse.de>
10277 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10279 2012-06-25 Andreas Jaeger <aj@suse.de>
10281 * sysdeps/s390/fpu/libm-test-ulps: Update.
10283 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10284 Thomas Schwinge <thomas@codesourcery.com>
10286 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10287 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10288 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10291 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10293 * sysdeps/mach/start.c: Remove file.
10294 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10295 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10296 * sysdeps/sh/init-first.c: Likewise.
10298 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10299 registers for frame unwinding purposes, add CFI directives.
10300 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10301 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10302 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10305 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10306 __fortify_fail returning.
10307 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10309 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10310 sysdeps/sh/____longjmp_chk.S.
10311 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10312 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10313 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10314 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10316 * sysdeps/sh/abort-instr.h: New file.
10317 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10318 process in case exit returns.
10320 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10321 initialize the GOT register before use.
10323 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10324 calculation of ARGC > 4.
10326 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10327 meaningful names to some local labels.
10329 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10330 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10332 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10333 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10334 (__arch_compare_and_exchange_val_16_acq): Likewise.
10335 (__arch_compare_and_exchange_val_32_acq): Likewise.
10336 (atomic_exchange_and_add): Fix gUSA sequence.
10337 (atomic_add): Likewise.
10338 (atomic_add_negative): Likewise.
10339 (atomic_add_zero): Likewise.
10340 (atomic_bit_test_set): Likewise.
10342 2012-06-22 Andreas Schwab <schwab@redhat.com>
10345 * include/link.h (struct link_map): Add l_free_initfini.
10346 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10348 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10349 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10350 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10353 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10355 * configure.in: Use AC_LANG_SOURCE.
10356 * configure: Regenerate.
10358 2012-06-22 Roland McGrath <roland@hack.frob.com>
10360 * configure.in (libc_cv_localstatedir): New substituted variable.
10361 * configure: Regenerated.
10362 * config.make.in (localstatedir): New variable, substituted from
10363 libc_cv_localstatedir.
10364 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10365 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10366 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10367 * sysdeps/gnu/configure: Regenerated.
10369 2012-06-21 Jeff Law <law@redhat.com>
10372 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10373 free. Simplify list management for _LIBC case.
10375 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10378 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10379 Clear sign bit of 64-bit integer value before comparing against
10382 * sysdeps/mach/configure: Regenerated.
10384 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10387 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10389 2012-06-21 Jeff Law <law@redhat.com>
10392 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10393 uint16_t for elements in the "seen" array to avoid char overflows.
10394 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10395 * elf/dl-open.c (dl_open_worker): Likewise.
10397 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10399 * scripts/list-sources.sh: Scan PORTS for translations.
10400 * po/libc.pot: Regenerated.
10402 2012-06-21 Andreas Jaeger <aj@suse.de>
10405 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10407 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10408 * bits/byteswap-16.h (__bswap_16): Likewise.
10409 * bits/byteswap.h (__bswap_constant_16): Likewise.
10411 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10414 * sysdeps/i386/fpu_control.h: Removed.
10415 * sysdeps/x86_64/fpu_control.h: Moved to ...
10416 * sysdeps/x86/fpu_control.h: Here.
10418 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10419 (_FPU_SETCW): Likewise.
10421 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10424 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10425 * sysdeps/x86/fpu/bits/mathinline.h: This.
10426 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10430 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10431 functions if __x86_64__ is defined.
10433 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10435 * string/endian.h: Add !__ASSEMBLER__ condition for including
10436 conversion interfaces.
10438 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10441 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10442 of ABS(x) in calculating zero to negative powers other than odd
10444 * math/libm-test.inc (pow_test): Add more tests.
10446 2012-06-15 Andreas Jaeger <aj@suse.de>
10448 * manual/contrib.texi (Contributors): Update entry of Liubov
10449 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10452 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10454 * string/string.h: Add __wur to GNU version of strerror_r.
10456 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10459 * string/Makefile (tests): Add tst-strtok_r.
10460 * string/tst-strtok_r.c: New file.
10461 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10462 RAX_LP/RDX_LP on SAVE_PTR.
10464 2012-06-14 Roland McGrath <roland@hack.frob.com>
10466 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10468 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10470 * libm_test.inc (csqrt_test): Allow more spurious underflow
10472 (j0_test): Likewise.
10473 (j1_test): Likewise.
10474 (y0_test): Likewise.
10475 (y1_test): Likewise.
10477 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10479 * po/Makefile (libc.pot): Use UTF-8 charset.
10481 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10484 Suppress sign-conversion warning from FD_SET.
10485 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10486 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10487 not unsigned long int.
10488 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10490 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10494 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10495 __extern_always_inline instead of __extern_inline.
10496 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10497 (__signbit): Likewise.
10498 (__signbitl): Support C++ namespace.
10499 (lrintf): New inline function.
10501 (llrintf): Likewise.
10502 (llrint): Likewise.
10512 (floorf): Likewise.
10513 (nearbyint): Likewise.
10514 (nearbyintf): Likewise.
10516 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10518 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10519 non-default versions.
10521 2012-06-11 Roland McGrath <roland@hack.frob.com>
10524 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10526 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10528 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10529 (FE_UPWARD, FE_DOWNWARD): Don't define.
10530 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10531 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10533 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10535 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10536 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10538 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10540 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10542 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10543 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10545 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10548 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10549 * sysdeps/i386/fpu/Implies: New file.
10550 * sysdeps/x86_64/fpu/Implies: Likewise.
10551 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10552 * sysdeps/x86/fpu/bits/fenv.h: This.
10554 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10557 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10560 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10561 character 0xffff that matches the last element of the
10564 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10566 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10569 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10571 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10572 values higher than 25.6283.
10574 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10576 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10577 subnormal exponent extraction and add some __builtin_expect.
10578 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10579 Fix for subnormal mantissa calculation.
10581 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10583 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10584 cpu2 is -1 and errno is not ENOSYS.
10586 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10589 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10590 * sysdeps/x86/bits/string.h: This.
10591 * sysdeps/x86_64/bits/string.h: Removed.
10593 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10594 if not compiling for x86-64, but compiling for >= i486.
10596 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10597 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10599 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10600 New macro from Linux kernel 3.4.0.
10601 (FP_XSTATE_MAGIC2): Likewise.
10602 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10603 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10604 (struct _fpx_sw_bytes): New struct.
10605 (struct _xsave_hdr): Likewise.
10606 (struct _ymmh_state): Likewise.
10607 (struct _xstate): Likewise.
10609 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10610 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10611 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10612 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10613 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10614 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10616 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10617 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10618 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10619 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10620 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10621 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10623 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10626 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10627 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10628 (sysdep_headers): Include sys/platform/ppc.h.
10629 * sysdeps/powerpc/test-gettimebase.c: Test for
10630 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10631 * manual/Makefile (appendices): Include platform.texi.
10632 * manual/contrib.texi (Contributors): Update @node pointers.
10633 * manual/maint.texi (Maintenance): Likewise.
10634 (Platform): New node.
10635 * manual/platform.texi: New file. Document the new features.
10637 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10638 Jakub Jelinek <jakub@redhat.com>
10641 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10642 where __builtin_expect is unavailable.
10644 2012-06-03 David S. Miller <davem@davemloft.net>
10646 * stdlib/longlong.h: Updated from GCC.
10648 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10651 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10652 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10655 (GLIBC_2.16): Likewise.
10657 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10659 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10661 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10664 (default-abi): New variable.
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10666 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10668 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10670 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10672 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10675 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10676 definition. Document in comment.
10678 2012-06-01 David S. Miller <davem@davemloft.net>
10680 * stdlib/longlong.h: Updated from GCC.
10682 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10685 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10686 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10687 sys/debugreg.h sys/io.h here.
10688 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10689 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10691 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10692 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10693 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10694 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10695 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10696 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10698 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10699 Define only if __x86_64__ is defined.
10701 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10704 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10705 Use int64_t for variable i.
10706 * math/libm-test.inc (fmod_test): Add more tests.
10708 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10709 z computation is not scheduled after fetestexcept.
10710 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10711 Use math_force_eval instead of asm to ensure calculation scheduled
10712 before exception test.
10713 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10714 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10716 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10719 computation is not scheduled after fetestexcept.
10721 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10724 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10725 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10727 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10729 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10730 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10732 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10735 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10737 (__WCHAR_MIN): Support __WORDSIZE == 64.
10738 (__WCHAR_MAX): Likewise.
10740 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10741 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10744 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10745 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10748 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10749 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10751 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10752 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10754 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10755 Defined to 1 if __x86_64__ isn't defined.
10756 (_STAT_VER_LINUX_OLD): New.
10757 (st_atime): Remove duplicate.
10758 (st_mtime): Likewise.
10759 (st_ctime): Likewise.
10761 2012-05-31 David S. Miller <davem@davemloft.net>
10763 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10766 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10768 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10772 * elf/dl-reloc.c: Include <_itoa.h>.
10773 (_dl_reloc_bad_type): Remove use of INTUSE.
10774 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10775 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10776 * stdio-common/psiginfo.c (psiginfo): Likewise.
10777 * stdio-common/psignal.c (psignal): Likewise.
10778 * string/strsignal.c (strsignal): Likewise.
10779 * include/signal.h (_sys_siglist): Declare hidden proto.
10780 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10781 INTVARDEF with libc_hidden_data_def.
10782 * stdio-common/itoa-udigits.c: Likewise.
10783 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10784 (_itoa_lower_digits_internal): Remove declaration.
10785 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10786 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10787 (_sys_sigabbrev_internal): Remove aliases.
10788 (_sys_siglist): Define hidden alias.
10790 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10795 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10798 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10799 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10801 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10802 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10803 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10804 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10805 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10806 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10808 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10809 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10810 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10812 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10820 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10821 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10822 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10824 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10825 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10826 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10827 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10828 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10829 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10831 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10832 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10834 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10835 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10838 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10839 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10841 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10842 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10844 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10846 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10847 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10848 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10850 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10852 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10854 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10856 * math/math.h (M_El): Use two more decimal places.
10857 (M_LOG2El): Likewise.
10858 (M_LOG10El): Likewise.
10859 (M_LN2l): Likewise.
10860 (M_LN10l): Likewise.
10862 (M_PI_2l): Likewise.
10863 (M_PI_4l): Likewise.
10864 (M_1_PIl): Likewise.
10865 (M_2_PIl): Likewise.
10866 (M_2_SQRTPIl): Likewise.
10867 (M_SQRT2l): Likewise.
10868 (M_SQRT1_2l): Likewise.
10870 2012-05-31 David S. Miller <davem@davemloft.net>
10872 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10873 values between float registers.
10874 * sysdeps/sparc/sparc64/memset.S: Likewise.
10875 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10877 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10879 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10880 -D_FORTIFY_SOURCE=1.
10881 (CPPFLAGS-tst-longjmp_chk.c): Define.
10882 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10883 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10884 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10885 CFLAGS-tst-wchar-h.c.
10887 2012-05-31 Marek Polacek <polacek@redhat.com>
10890 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10891 __endmntent_internal): Remove declaration.
10892 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10893 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10894 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10896 2012-05-30 David S. Miller <davem@davemloft.net>
10898 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10899 (___Q_simulate_exceptions): Use real FP ops rather than writing
10901 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10904 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10907 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10908 * sysdeps/x86/bits/xtitypes.h: This.
10910 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10911 * sysdeps/x86/bits/wordsize.h: This.
10913 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10914 * sysdeps/x86/bits/huge_vall.h: This.
10916 * sysdeps/i386/bits/select.h: Removed.
10917 * sysdeps/x86_64/bits/select.h: Renamed to ...
10918 * sysdeps/x86/bits/select.h: This.
10920 * sysdeps/i386/bits/setjmp.h: Removed.
10921 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10922 * sysdeps/x86/bits/setjmp.h: This.
10924 * sysdeps/i386/bits/mathdef.h: Removed.
10925 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10926 * sysdeps/x86/bits/mathdef.h: This.
10928 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10931 * include/sys/socket.h (__connect_internal)
10932 (__libc_sa_len_internal): Remove declaration.
10933 (__connect, __libc_sa_len): Declare hidden_proto.
10934 (SA_LEN): Remove use of INTUSE.
10935 * socket/connect.c: Add libc_hidden_def.
10936 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10937 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10938 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10940 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10941 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10942 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10943 of adding _internal alias.
10945 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10948 * sysdeps/i386/bits/link.h: Removed.
10949 * sysdeps/i386/bits/linkmap.h: Likewise.
10950 * sysdeps/x86_64/bits/link.h: Renamed to ...
10951 * sysdeps/x86/bits/link.h: This.
10952 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10953 * sysdeps/x86/bits/linkmap.h: This.
10955 * sysdeps/i386/bits/endian.h: Removed.
10956 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10957 * sysdeps/x86/bits/endian.h: This.
10959 * sysdeps/i386/bits/byteswap.h: Removed.
10960 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10961 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10962 * sysdeps/x86/bits/byteswap.h: This.
10963 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10964 * sysdeps/x86/bits/byteswap-16.h: This.
10965 * sysdeps/i386/Implies: Add x86.
10966 * sysdeps/x86_64/Implies: Likewise.
10968 2012-05-30 David S. Miller <davem@davemloft.net>
10970 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10971 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10972 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10973 (FP_TRAPPING_EXCEPTIONS): Define.
10974 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10975 (FP_TRAPPING_EXCEPTIONS): Define.
10976 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10977 subnormals only when inexact has been signalled or underflow
10978 exceptions are enabled.
10979 (_FP_PACK_CANONICAL): Likewise.
10981 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10984 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10985 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10987 2012-05-30 Richard Henderson <rth@twiddle.net>
10989 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10990 with #ifndef NOT_IN_libc.
10992 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10993 marked to avoid plt entry.
10995 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10998 * Makeconfig (default-abi): New macro.
10999 (abi-includes): Likewise.
11000 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11001 $(abi-$(default-abi)-lib-soname) for soname if defined.
11002 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11004 * Makefile (installed-stubs): Likewise.
11005 * include/stubs-biarch.h: Removed.
11006 * scripts/lib-names.awk: Only handle one library at a time.
11007 * scripts/soversions.awk: Remove WORDSIZE support.
11008 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11010 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11012 (syscall-list-default-condition): Likewise.
11013 (syscall-list-default-condition): Likewise.
11014 (syscall-list-includes): Likewise.
11015 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11016 syscall-list-* with abi-*. Handle undefined abi-variants.
11017 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11018 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11019 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11020 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11021 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11022 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11024 (syscall-list-32-options): Likewise.
11025 (syscall-list-32-condition): Likewise.
11026 (syscall-list-64-options): Likewise.
11027 (syscall-list-64-condition): Likewise.
11028 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11030 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11033 (abi-64-ld-soname): New macro.
11034 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11035 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11038 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11039 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11041 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11043 * sysdeps/unix/sysv/linux/kernel-features.h
11044 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11045 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11046 include <kernel-features.h>.
11047 [!__NR_ftruncate64]: Remove conditional code.
11048 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11049 [__NR_ftruncate64]: Make code unconditional.
11050 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11051 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11052 include <kernel-features.h>.
11053 [!__NR_ftruncate64]: Remove conditional code.
11054 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11055 [__NR_ftruncate64]: Make code unconditional.
11056 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11058 include <kernel-features.h>.
11059 [!__NR_ftruncate64]: Remove conditional code.
11060 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11061 [__NR_ftruncate64]: Make code unconditional.
11062 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11064 include <kernel-features.h>.
11065 [!__NR_ftruncate64]: Remove conditional code.
11066 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11067 [__NR_ftruncate64]: Make code unconditional.
11068 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11070 * configure.in (libc_cv_fpie): Weaken to a compile test using
11071 LIBC_TRY_CC_OPTION.
11072 * configure: Regenerated.
11074 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11089 2012-05-27 David S. Miller <davem@davemloft.net>
11091 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11093 (__Q_simulate_exceptions): Return void. Change to simulate
11094 exceptions by writing into the %fsr.
11095 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11096 (__Qp_handle_exceptions): Likewise.
11098 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11099 __Qp_handle_exceptions.
11100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11101 __Qp_handle_exceptions.
11102 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11103 as unused and give dummy FP_RND_NEAREST initializer.
11104 (FP_INHIBIT_RESULTS): Define.
11105 (___Q_simulate_exceptions): Update declaration.
11106 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11108 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11109 as unused and give dummy FP_RND_NEAREST initializer.
11110 (__Qp_handle_exceptions): Update declaration.
11111 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11114 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11116 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11117 the temporary FPU control word.
11118 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11119 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11120 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11121 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11122 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11123 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11124 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11125 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11126 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11127 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11128 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11130 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11132 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11135 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11137 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11138 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11139 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11140 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11142 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11143 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11146 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11148 * po/h.po: Update from translation team.
11150 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11152 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11154 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11155 handling of denormals.
11156 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11157 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11158 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11159 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11161 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11162 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11165 2012-05-26 Marek Polacek <polacek@redhat.com>
11168 * math/libm-test.inc (fma_test): Don't always expect underflow
11171 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11174 * elf/tst-execstack.c: Include stackinfo.h.
11175 (do_test): Adjust test case to ensure that pthread_getattr_np
11176 behaviour remains the same after marking stack executable.
11178 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11180 * sysdeps/unix/sysv/linux/kernel-features.h
11181 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11182 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11184 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11185 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11186 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11188 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11189 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11191 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11193 * configure.in: Define the default includes to being none.
11194 * configure: Regenerated.
11196 2012-05-25 Roland McGrath <roland@hack.frob.com>
11198 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11199 * sysdeps/x86_64/setjmp.S: Likewise.
11200 * sysdeps/i386/bsd-setjmp.S: Likewise.
11201 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11202 * sysdeps/i386/setjmp.S: Likewise.
11203 * sysdeps/i386/__longjmp.S: Likewise.
11204 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11205 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11207 * include/stap-probe.h: New file.
11208 * configure.in: Handle --enable-systemtap.
11209 * configure: Regenerated.
11210 * config.h.in (USE_STAP_PROBE): New #undef.
11211 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11212 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11213 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11215 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11219 to 2.4.0 where earlier.
11220 * sysdeps/unix/sysv/linux/configure: Regenerated.
11221 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11222 <kernel-features.h>.
11223 [__ASSUME_32BITUIDS]: Make code unconditional.
11224 [!__ASSUME_32BITUIDS]: Remove conditional code.
11225 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11226 <kernel-features.h>.
11227 [__ASSUME_32BITUIDS]: Make code unconditional.
11228 [!__ASSUME_32BITUIDS]: Remove conditional code.
11229 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11230 [__ASSUME_32BITUIDS]: Make code unconditional.
11231 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11232 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11233 <kernel-features.h>.
11234 [__ASSUME_32BITUIDS]: Make code unconditional.
11235 [!__ASSUME_32BITUIDS]: Remove conditional code.
11236 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11237 <kernel-features.h>.
11238 [__ASSUME_32BITUIDS]: Make code unconditional.
11239 [!__ASSUME_32BITUIDS]: Remove conditional code.
11240 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11241 <kernel-features.h>.
11242 [__ASSUME_32BITUIDS]: Make code unconditional.
11243 [!__ASSUME_32BITUIDS]: Remove conditional code.
11244 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11245 <kernel-features.h>.
11246 [__ASSUME_32BITUIDS]: Make code unconditional.
11247 [!__ASSUME_32BITUIDS]: Remove conditional code.
11248 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11249 <kernel-features.h>.
11250 [__ASSUME_32BITUIDS]: Make code unconditional.
11251 [!__ASSUME_32BITUIDS]: Remove conditional code.
11252 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11253 <kernel-features.h>.
11254 [__ASSUME_32BITUIDS]: Make code unconditional.
11255 [!__ASSUME_32BITUIDS]: Remove conditional code.
11256 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11257 <kernel-features.h>.
11258 [__ASSUME_32BITUIDS]: Make code unconditional.
11259 [!__ASSUME_32BITUIDS]: Remove conditional code.
11260 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11261 <kernel-features.h>.
11262 [__ASSUME_32BITUIDS]: Make code unconditional.
11263 [!__ASSUME_32BITUIDS]: Remove conditional code.
11264 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11265 <kernel-features.h>.
11266 [__ASSUME_32BITUIDS]: Make code unconditional.
11267 [!__ASSUME_32BITUIDS]: Remove conditional code.
11268 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11269 <kernel-features.h>.
11270 [__ASSUME_32BITUIDS]: Make code unconditional.
11271 [!__ASSUME_32BITUIDS]: Remove conditional code.
11272 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11273 <kernel-features.h>.
11274 [__NR_setresgid] (__setresgid): Do not declare.
11275 [__ASSUME_32BITUIDS]: Make code unconditional.
11276 [!__ASSUME_32BITUIDS]: Remove conditional code.
11277 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11278 <kernel-features.h>.
11279 [__NR_setresuid] (__setresuid): Do not declare.
11280 [__ASSUME_32BITUIDS]: Make code unconditional.
11281 [!__ASSUME_32BITUIDS]: Remove conditional code.
11282 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11283 <kernel-features.h>.
11284 [__ASSUME_32BITUIDS]: Make code unconditional.
11285 [!__ASSUME_32BITUIDS]: Remove conditional code.
11286 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11287 <kernel-features.h>.
11288 [__ASSUME_32BITUIDS]: Make code unconditional.
11289 [!__ASSUME_32BITUIDS]: Remove conditional code.
11290 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11291 <kernel-features.h>.
11292 [__ASSUME_32BITUIDS]: Make code unconditional.
11293 [!__ASSUME_32BITUIDS]: Remove conditional code.
11294 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11295 <kernel-features.h>.
11296 [__ASSUME_32BITUIDS]: Make code unconditional.
11297 [!__ASSUME_32BITUIDS]: Remove conditional code.
11298 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11299 <kernel-features.h>.
11300 [__ASSUME_32BITUIDS]: Make code unconditional.
11301 [!__ASSUME_32BITUIDS]: Remove conditional code.
11302 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11303 <kernel-features.h>.
11304 [__ASSUME_32BITUIDS]: Make code unconditional.
11305 [!__ASSUME_32BITUIDS]: Remove conditional code.
11306 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11307 <kernel-features.h>.
11308 [__ASSUME_32BITUIDS]: Make code unconditional.
11309 [!__ASSUME_32BITUIDS]: Remove conditional code.
11310 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11311 <kernel-features.h>.
11312 [__ASSUME_32BITUIDS]: Make code unconditional.
11313 [!__ASSUME_32BITUIDS]: Remove conditional code.
11314 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11315 <kernel-features.h>.
11316 [__ASSUME_32BITUIDS]: Make code unconditional.
11317 [!__ASSUME_32BITUIDS]: Remove conditional code.
11318 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11319 <kernel-features.h>.
11320 [__ASSUME_32BITUIDS]: Make code unconditional.
11321 [!__ASSUME_32BITUIDS]: Remove conditional code.
11322 * sysdeps/unix/sysv/linux/kernel-features.h
11323 (__ASSUME_SETRESUID_SYSCALL): Remove.
11324 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11325 (__ASSUME_32BITUIDS): Likewise.
11326 (__ASSUME_LDT_WORKS): Likewise.
11327 (__ASSUME_O_DIRECTORY): Likewise.
11328 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11329 architecture but not kernel version.
11330 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11331 (__ASSUME_MMAP2_SYSCALL): Likewise.
11332 (__ASSUME_STAT64_SYSCALL): Likewise.
11333 (__ASSUME_IPC64): Likewise.
11334 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11335 <kernel-features.h>.
11336 [__ASSUME_32BITUIDS]: Make code unconditional.
11337 [!__ASSUME_32BITUIDS]: Remove conditional code.
11338 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11339 <kernel-features.h>.
11340 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11341 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11342 132096]: Remove conditional code.
11343 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11344 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11345 <kernel-features.h>.
11346 [__ASSUME_32BITUIDS]: Make code unconditional.
11347 [!__ASSUME_32BITUIDS]: Remove conditional code.
11348 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11349 <kernel-features.h>.
11350 [__ASSUME_32BITUIDS]: Make code unconditional.
11351 [!__ASSUME_32BITUIDS]: Remove conditional code.
11352 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11353 <kernel-features.h>.
11354 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11356 (__setresgid): Do not declare.
11357 [__ASSUME_32BITUIDS]: Make code unconditional.
11358 [!__ASSUME_32BITUIDS]: Remove conditional code.
11359 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11360 <kernel-features.h>.
11361 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11363 (__setresuid): Do not declare.
11364 [__ASSUME_32BITUIDS]: Make code unconditional.
11365 [!__ASSUME_32BITUIDS]: Remove conditional code.
11366 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11367 <kernel-features.h>.
11368 [__ASSUME_32BITUIDS]: Make code unconditional.
11369 [!__ASSUME_32BITUIDS]: Remove conditional code.
11370 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11371 <kernel-features.h>.
11372 [__ASSUME_32BITUIDS]: Make code unconditional.
11373 [!__ASSUME_32BITUIDS]: Remove conditional code.
11375 2012-05-25 Richard Henderson <rth@twiddle.net>
11377 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11378 dl_hwcap to ifunc resolver.
11379 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11381 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11382 dl_hwcap to ifunc resolver.
11383 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11385 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11388 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11389 for |x| <= 2**-26, not 2**-57.
11390 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11393 2012-05-24 Jeff Law <law@redhat.com>
11395 * stdio-common/Makefile (tests): Add bug25.
11396 * stdio-common/bug25.c: New test.
11398 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11401 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11402 multiple of MALLOC_ALIGNMENT in size.
11403 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11405 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11407 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11409 (FILENAME_MAX): Use macro-int-constant.
11410 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11411 (_IOFBF): Use macro-int-constant.
11412 (_IOLBF): Likewise.
11413 (_IONBF): Likewise.
11414 (SEEK_CUR): Likewise.
11415 (SEEK_END): Likewise.
11416 (SEEK_SET): Likewise.
11417 (TMP_MAX): Likewise.
11418 (EOF): Use macro-int-constant. Require < 0.
11419 (NULL): Use macro-constant. Require == 0.
11420 (stdin): Require type to be FILE *.
11421 (stdout): Likewise.
11422 (stderr): Likewise.
11423 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11424 macro-int-constant.
11425 (EXIT_SUCCESS): Likewise.
11426 (NULL): Use macro-constant. Require == 0.
11427 (RAND_MAX): Use macro-int-constant.
11428 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11429 [C99-based standards] (strtof): Require function.
11430 [C99-based standards] (strtold): Likewise.
11431 [C99-based standards] (strtoll): Likewise.
11432 [C99-based standards] (strtoull): Likewise.
11433 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11434 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11435 [ISO || ISO99 || ISO11] (math.h): Likewise.
11436 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11437 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11440 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11443 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11444 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11445 * intl/dgettext.c (DCGETTEXT): Likewise.
11446 * intl/gettext.c (DCGETTEXT): Likewise.
11447 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11448 * posix/regex_internal.h (gettext): Likewise.
11449 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11450 Remove declaration.
11451 * include/argz.h (__argz_count_internal)
11452 (__argz_stringify_internal): Remove declaration.
11453 (__argz_count, __argz_stringify): Declare hidden proto.
11454 * intl/dcgettext.c: Remove use of INTDEF.
11455 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11456 * string/argz-stringify.c: Likewise.
11457 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11458 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11459 Declare hidden proto.
11460 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11461 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11462 Declare hidden proto.
11463 * include/stdio.h (__asprintf_internal): Don't declare.
11464 (__asprintf): Don't define as macro. Declare hidden proto.
11465 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11466 (__fsetlocking): Declare hidden proto.
11467 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11468 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11470 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11471 (_IO_setlinebuf): Remove use of INTUSE.
11472 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11473 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11474 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11475 Remove declaration.
11476 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11477 (_IO_do_flush): Remove use of INTUSE.
11478 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11479 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11480 (_IO_adjust_column, _IO_least_wmarker)
11481 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11482 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11483 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11484 (_IO_default_doallocate, _IO_wdefault_doallocate)
11485 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11486 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11487 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11488 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11489 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11490 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11491 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11492 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11493 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11494 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11495 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11496 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11497 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11499 (_IO_flush_all_internal, _IO_adjust_column_internal)
11500 (_IO_default_uflow_internal, _IO_default_finish_internal)
11501 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11502 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11503 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11504 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11505 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11506 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11507 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11508 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11509 (_IO_file_close_internal, _IO_file_close_it_internal)
11510 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11511 (_IO_file_init_internal, _IO_file_attach_internal)
11512 (_IO_file_fopen_internal, _IO_file_read_internal)
11513 (_IO_file_sync_internal, _IO_file_seek_internal)
11514 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11515 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11516 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11517 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11518 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11519 (_IO_list_all_internal, _IO_link_in_internal)
11520 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11521 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11522 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11523 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11524 (_IO_do_write_internal, _IO_padn_internal)
11525 (_IO_getline_info_internal, _IO_getline_internal)
11526 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11527 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11528 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11529 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11530 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11531 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11532 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11533 with libc_hidden_ver, remove use of INTUSE.
11534 * libio/genops.c: Likewise.
11535 * libio/freopen.c: Likewise.
11536 * libio/freopen64.c: Likewise.
11537 * libio/iofclose.c: Likewise.
11538 * libio/iofdopen.c: Likewise.
11539 * libio/iofflush.c: Likewise.
11540 * libio/iofflush_u.c: Likewise.
11541 * libio/iofgets.c: Likewise.
11542 * libio/iofgets_u.c: Likewise.
11543 * libio/iofopen.c: Likewise.
11544 * libio/iofopncook.c: Likewise.
11545 * libio/iofread.c: Likewise.
11546 * libio/iofread_u.c: Likewise.
11547 * libio/ioftell.c: Likewise.
11548 * libio/iofwrite.c: Likewise.
11549 * libio/iogetline.c: Likewise.
11550 * libio/iogets.c: Likewise.
11551 * libio/iogetwline.c: Likewise.
11552 * libio/iopadn.c: Likewise.
11553 * libio/iopopen.c: Likewise.
11554 * libio/ioseekoff.c: Likewise.
11555 * libio/ioseekpos.c: Likewise.
11556 * libio/iosetbuffer.c: Likewise.
11557 * libio/iosetvbuf.c: Likewise.
11558 * libio/ioungetc.c: Likewise.
11559 * libio/ioungetwc.c: Likewise.
11560 * libio/iovdprintf.c: Likewise.
11561 * libio/iovsprintf.c: Likewise.
11562 * libio/iovsscanf.c: Likewise.
11563 * libio/memstream.c: Likewise.
11564 * libio/obprintf.c: Likewise.
11565 * libio/oldfileops.c: Likewise.
11566 * libio/oldiofclose.c: Likewise.
11567 * libio/oldiofdopen.c: Likewise.
11568 * libio/oldiofopen.c: Likewise.
11569 * libio/oldiopopen.c: Likewise.
11570 * libio/oldstdfiles.c: Likewise.
11571 * libio/putc.c: Likewise.
11572 * libio/setbuf.c: Likewise.
11573 * libio/setlinebuf.c: Likewise.
11574 * libio/stdfiles.c: Likewise.
11575 * libio/strops.c: Likewise.
11576 * libio/vasprintf.c: Likewise.
11577 * libio/vscanf.c: Likewise.
11578 * libio/vsnprintf.c: Likewise.
11579 * libio/vswprintf.c: Likewise.
11580 * libio/wfiledoalloc.c: Likewise.
11581 * libio/wfileops.c: Likewise.
11582 * libio/wgenops.c: Likewise.
11583 * libio/wmemstream.c: Likewise.
11584 * libio/wstrops.c: Likewise.
11585 * libio/__fpurge.c: Likewise.
11586 * libio/__fsetlocking.c: Likewise.
11587 * assert/assert.c: Likewise.
11588 * debug/fgets_chk.c: Likewise.
11589 * debug/fgets_u_chk.c: Likewise.
11590 * debug/fread_chk.c: Likewise.
11591 * debug/fread_u_chk.c: Likewise.
11592 * debug/gets_chk.c: Likewise.
11593 * debug/obprintf_chk.c: Likewise.
11594 * debug/vasprintf_chk.c: Likewise.
11595 * debug/vdprintf_chk.c: Likewise.
11596 * debug/vsnprintf_chk.c: Likewise.
11597 * debug/vsprintf_chk.c: Likewise.
11598 * malloc/mtrace.c: Likewise.
11599 * misc/error.c: Likewise.
11600 * misc/syslog.c: Likewise.
11601 * stdio-common/asprintf.c: Likewise.
11602 * stdio-common/fxprintf.c: Likewise.
11603 * stdio-common/getw.c: Likewise.
11604 * stdio-common/isoc99_fscanf.c: Likewise.
11605 * stdio-common/isoc99_scanf.c: Likewise.
11606 * stdio-common/isoc99_vfscanf.c: Likewise.
11607 * stdio-common/isoc99_vscanf.c: Likewise.
11608 * stdio-common/isoc99_vsscanf.c: Likewise.
11609 * stdio-common/printf-prs.c: Likewise.
11610 * stdio-common/printf_fp.c: Likewise.
11611 * stdio-common/printf_fphex.c: Likewise.
11612 * stdio-common/printf_size.c: Likewise.
11613 * stdio-common/putw.c: Likewise.
11614 * stdio-common/scanf.c: Likewise.
11615 * stdio-common/sprintf.c: Likewise.
11616 * stdio-common/tmpfile.c: Likewise.
11617 * stdio-common/vfprintf.c: Likewise.
11618 * stdio-common/vfscanf.c: Likewise.
11619 * stdlib/strfmon_l.c: Likewise.
11620 * sunrpc/openchild.c: Likewise.
11621 * sunrpc/xdr_stdio.c: Likewise.
11622 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11623 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11625 2012-05-24 Roland McGrath <roland@hack.frob.com>
11627 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11629 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11630 in the third column, to generate for the shared library an IFUNC
11631 that uses _dl_vdso_vsym.
11632 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11633 * Makeconfig (object-suffixes-noshared): New variable.
11635 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11636 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11637 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11638 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11641 * include/sys/time.h (__gettimeofday): Remove macro.
11642 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11643 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11645 (__gettimeofday): Add libc_hidden_def.
11646 (gettimeofday): Add libc_hidden_weak.
11647 * sysdeps/mach/gettimeofday.c: Likewise.
11648 * sysdeps/posix/gettimeofday.c: Likewise.
11649 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11650 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11652 (__gettimeofday_internal): Remove strong_alias.
11653 (__gettimeofday): Add libc_hidden_def.
11654 (gettimeofday): Add libc_hidden_weak.
11655 * sysdeps/unix/syscalls.list (gettimeofday):
11656 Remove __gettimeofday_internal alias.
11658 2012-05-24 Daniel Jacobowitz <drow@false.org>
11659 H.J. Lu <hongjiu.lu@intel.com>
11662 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11663 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11664 (largebin_index_32_big): New.
11665 (largebin_index): Use it for 16-byte alignment.
11666 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11667 correction with front_misalign.
11669 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11697 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11698 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11700 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11704 * math/libm-test.inc (exp_test): Add test from bug 14036.
11705 (pow_test): Add test from bug 10846.
11707 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11709 (special_function): Do not include flags in test name.
11710 (parse_args): Likewise.
11711 * sysdeps/i386/fpu/libm-test-ulps: Update.
11712 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11713 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11714 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11717 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11719 * math/libm-test.inc ("Philosophy"): Update comment about
11721 (UNDERFLOW_EXCEPTION): New macro.
11722 (UNDERFLOW_EXCEPTION_OK): Likewise.
11723 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11724 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11725 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11726 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11727 (INVALID_EXCEPTION_OK): Update value.
11728 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11729 (OVERFLOW_EXCEPTION_OK): Likewise.
11730 (IGNORE_ZERO_INF_SIGN): Likewise.
11731 (test_exceptions): Handle underflow exceptions.
11732 (acos_test): Update for underflow exception expectations.
11733 (cexp_test): Likewise.
11734 (clog_test): Likewise.
11735 (clog10_test): Likewise.
11736 (csqrt_test): Likewise.
11737 (ctan_test): Likewise.
11738 (ctanh_test): Likewise.
11739 (exp_test): Likewise.
11740 (exp10_test): Likewise.
11741 (exp2_test): Likewise.
11742 (expm1_test): Likewise.
11743 (fma_test): Likewise.
11744 (j0_test): Likewise.
11745 (jn_test): Likewise.
11746 (nexttoward_test): Likewise.
11747 (pow_test): Likewise.
11748 (scalbn_test): Likewise.
11749 (scalbln_test): Likewise.
11750 (tan_test): Likewise.
11751 (y1_test): Likewise.
11752 * sysdeps/i386/fpu/libm-test-ulps: Update.
11753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11755 2012-05-23 David S. Miller <davem@davemloft.net>
11757 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11758 (__libc_sigaction): Remove unused local variables.
11760 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11762 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11764 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11766 mktime: avoid signed integer overflow
11767 * time/mktime.c (__mktime_internal): Do not mishandle the case
11768 where diff == INT_MIN.
11770 mktime: simplify computation of average
11771 * time/mktime.c (ranged_convert): Use new time_t_avg function
11772 instead of rolling our own (probably-slower) code.
11774 mktime: do not assume signed right shift propagates sign bit
11775 * time/mktime.c (isdst_differ): New static function.
11776 (__mktime_internal): No need to normalize tm_isdst now.
11777 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11780 mktime: merge another wrapv change from gnulib
11781 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11782 from some compilers.
11784 mktime: remove incorrect attempt at unusual arithmetics
11785 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11786 The code didn't really work on such machines anyway.
11787 (TYPE_MINIMUM): Assume two's complement.
11788 (twos_complement_arithmetic): Verify that long_int and time_t
11789 are two's complement (or unsigned, in the latter case).
11791 mktime: check signed shifts on long_int and time_t, too
11792 * time/mktime.c (SHR): Check that shifts work as desired
11793 on the types long_int and time_t too, as SHR is used on
11796 mktime: do not assume 'long' is wide enough
11797 * time/mktime.c (verify): Move decl up.
11798 (long_int): New type.
11799 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11800 to remove assumption in the code that 'long' is wide enough to
11801 store year values. This assumption is not true on x32 and on
11802 some non-glibc platforms.
11804 mktime: merge wrapv change from gnulib
11805 * time/mktime.c (WRAPV): New macro.
11806 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11807 (guess_time_tm, __mktime_internal): Do not assume that signed
11808 integer overflow wraps around; modern compilers generate code
11809 where this assumption is no longer valid.
11811 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11813 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11814 Replace "jmp L(pseudo_end)" with "ret".
11815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11818 2012-05-23 Andreas Jaeger <aj@suse.de>
11820 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11821 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11823 2012-05-23 Andreas Jaeger <aj@suse.de>
11824 Maximilian Attems <max@stro.at>
11826 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11829 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11831 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11832 code so that pseudo_end is just ret and the stack pointer is
11833 correct also for static library in error case.
11835 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11837 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11838 move to syscalls.list.
11839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11844 * manual/install.texi (Running make install): Do not mention Linux
11845 kernel version for which pt_chown is not needed.
11846 (Linux): Do not mention problems with nscd with 2.0 kernels.
11847 * INSTALL: Regenerated.
11849 2012-05-23 Andreas Jaeger <aj@suse.de>
11851 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11852 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11854 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11855 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11856 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11857 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11858 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11859 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11860 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11861 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11862 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11863 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11864 * sysdeps/unix/sysv/linux/bits/in.h
11865 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11867 2012-05-22 Roland McGrath <roland@hack.frob.com>
11869 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11870 (PREPARE_VERSION): Just use assert instead, it will be elided
11871 under [NDEBUG] anyway.
11873 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11875 * sysdeps/unix/sysv/linux/Makefile: Include
11876 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11877 (sysdep_routines): Remove sysctl.
11878 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11879 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11880 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11881 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11882 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11884 2012-05-22 Andreas Jaeger <aj@suse.de>
11886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11887 that pseudo_end is just ret and the stack pointer is correct also
11888 for static library in error case.
11890 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11893 * nss/nsswitch.c (defconfig_entries): New variable.
11894 (__nss_database_lookup): Don't leak defconfig entries.
11895 (nss_parse_service_list): Don't leak on error paths.
11896 (free_database_entries): New function.
11897 (free_defconfig): New function.
11898 (free_mem): Move common code to free_database_entries.
11900 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11902 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11904 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11906 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11907 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11910 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11911 (INTERNAL_SYSCALL_TYPES): Likewise.
11912 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11913 (LOAD_REGS_TYPES_[1-6]): Likewise.
11914 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11915 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11917 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11919 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11920 copysignl for GLIBC_2_0.
11921 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11922 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11924 logbl for GLIBC_2_0.
11925 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11926 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11928 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11930 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11931 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11933 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11936 * time/mktime.c: Update copyright years.
11938 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11940 mktime: merge comment-quoting-style change from gnulib
11941 * time/mktime.c: Quote 'like this' in comments.
11942 The GNU coding standards suggest that we no longer quote `like this',
11943 as "`" and "'" are typically rendered asymmetrically nowadays.
11944 The typical gnulib style is to quote 'like this' when quoting
11945 code, and "like this" when quoting English.
11947 * time/mktime.c (compile-command): Add "-I.".
11949 mktime: merge mktime-internal.h change from gnulib
11950 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11952 mktime: merge time_r change from gnulib
11953 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11955 mktime: merge DEBUG change from gnulib
11956 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11957 case system <time.h> has a #define.
11959 mktime: merge <sys/types.h> change from gnulib
11960 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11961 since <time.t> is now guaranteed to define time_t.
11963 mktime: merge HAVE_CONFIG_H change from gnulib
11964 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11966 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11971 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11973 (struct rusage): Use anonymous union to pad each field to
11976 2012-05-21 David S. Miller <davem@davemloft.net>
11978 * Makefules (o-iterator): Remove .s cases.
11979 (compile-command.s): Delete.
11980 (COMPILE.s): Delete.
11981 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11983 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11985 * configure.in (libc_cv_predef_stack_protector): Only consider
11986 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11987 * configure: Regenerated.
11989 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11992 New macro. Use R*LP on int and pointer.
11993 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11994 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11995 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11996 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11998 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11999 [__WORDSIZE_TIME64_COMPAT32] instead of
12000 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12001 (struct utmp): Likewise.
12002 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12003 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12005 (__WORDSIZE_TIME64_COMPAT32): This.
12006 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12007 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12008 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12009 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12010 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12011 (__WORDSIZE_TIME64_COMPAT32): New macro.
12013 2012-05-21 Andreas Jaeger <aj@suse.de>
12015 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12016 only if [SHARED]. Add prototype for __wcschr_ia32.
12018 2012-05-21 Roland McGrath <roland@hack.frob.com>
12020 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12021 of %rbp unmolested in the jmp_buf while mangling the low bits.
12022 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12023 unmolested high bits of %rbp while demangling the low bits.
12024 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12026 2012-05-21 Andreas Jaeger <aj@suse.de>
12028 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12029 * sunrpc/svc_simple.c: Use it for registerrpc.
12030 * sunrpc/xcrypt.c: Use it for passwd2des.
12032 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12034 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12036 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12037 Don't define if [__SYSCALL_WORDSIZE != 32].
12038 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12041 2012-05-21 Bruno Haible <bruno@clisp.org>
12042 Andreas Jaeger <aj@suse.de>
12044 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12045 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12046 inptr and inend for must_buffer_ch.
12047 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12048 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12049 * stdio-common/Makefile (tests): Remove bug15.
12050 (bug15-ENV): Remove macro.
12051 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12054 2012-05-19 Andreas Jaeger <aj@suse.de>
12055 Roland McGrath <roland@hack.frob.com>
12057 * manual/contrib.texi: Completely rewritten. It contains now an
12058 alphabetical list of contributors and their contributions.
12060 2012-05-21 Richard Henderson <rth@twiddle.net>
12062 * misc/getauxval.c (__getauxval): Use unsigned long int.
12063 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12064 (getauxval): Use unsigned long int.
12066 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12068 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12070 2012-05-21 Roland McGrath <roland@hack.frob.com>
12072 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12073 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12074 __alignof__ (long double).
12076 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12080 2012-05-20 Richard Henderson <rth@twiddle.net>
12082 * misc/getauxval.c: New file.
12083 * misc/sys/auxv.h: New file.
12084 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12085 (routines): Add getauxval.
12086 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12087 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12088 * elf/dl-sysdep.c (_dl_auxv): Remove.
12089 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12090 * elf/dl-support.c (_dl_auxv): New variable.
12091 (_dl_aux_init): Initialize it.
12092 * manual/startup.texi (Auxiliary Vector): New node.
12093 * sysdeps/generic/bits/hwcap.h: New file.
12094 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12095 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12096 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12097 * sysdeps/sparc/sysdep.h: ... here. Include it.
12098 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12099 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12105 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12111 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12115 2012-05-19 David S. Miller <davem@davemloft.net>
12117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12119 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12122 * math/s_ccosh.c: Include <float.h>
12123 (__ccosh): Avoid internal overflow calculating sinh and cosh
12124 values before multiplying by sin and cos values.
12125 * math/s_ccoshf.c: Likewise.
12126 * math/s_ccoshl.c: Likewise.
12127 * math/s_csin.c: Likewise.
12128 * math/s_csinf.c: Likewise.
12129 * math/s_csinl.c: Likewise.
12130 * math/s_csinh.c: Likewise.
12131 * math/s_csinhf.c: Likewise.
12132 * math/s_csinhl.c: Likewise.
12133 * math/libm-test.inc (ccos_test): Add more tests.
12134 (ccosh_test): Likewise.
12135 (csin_test): Likewise.
12136 (csinh_test): Likewise.
12137 * sysdeps/i386/fpu/libm-test-ulps: Update.
12138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12140 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12142 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12143 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12145 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12147 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12149 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12150 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12151 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12152 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12153 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12154 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12155 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12156 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12157 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12158 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12159 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12160 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12161 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12162 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12163 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12164 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12165 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12166 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12167 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12168 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12169 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12170 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12171 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12172 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12173 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12174 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12175 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12176 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12177 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12178 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12179 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12181 2012-05-18 Andreas Jaeger <aj@suse.de>
12183 * csu/.gitignore: Delete.
12185 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12187 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12188 (timex): Use __syscall_slong_t.
12190 2012-05-18 Andreas Jaeger <aj@suse.de>
12191 Carlos O'Donell <carlos_odonell@mentor.com>
12193 * manual/install.texi (Configuring and compiling): Update
12194 description about files modified in the source directory.
12195 * INSTALL: Regenerated.
12197 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12199 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12200 value. Use "or" to set return value to -1.
12201 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12202 negate return value.
12204 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12206 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12207 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12208 failure if the compiler has Graphite support disabled.
12209 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12211 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12212 CFLAGS-memmove.c): Likewise.
12213 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12216 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12218 * sysdeps/x86_64/x32/_itoa.h: New file.
12220 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12221 getdents system call only if kernel and user dirents have the
12222 same d_ino and d_off.
12224 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12225 LLONG_MAX != LONG_MAX.
12226 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12227 (_fitoa_word): Likewise.
12229 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12231 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12232 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12233 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12235 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12236 include <bits/wordsize.h>. Check __x86_64__ instead of
12238 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12239 if __x86_64__ is defined. Use anonymous union on fpstate.
12241 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12244 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12246 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12247 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12248 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12249 Refer to _rtld_local_ro instead of _rtld_global_ro.
12250 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12252 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12254 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12256 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12257 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12258 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12260 * sysdeps/powerpc/powerpc32/dl-machine.c
12261 (__elf_machine_runtime_setup) [PROF]: Don't reference
12264 2012-05-18 Andreas Jaeger <aj@suse.de>
12266 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12267 function only available for GCCs before 3.4 since GCC 3.4
12268 introduced a builtin.
12270 (llrintf): Likewise.
12271 (llrint): Likewise.
12278 (nearbyint): Likewise.
12279 (nearbyintf): Likewise.
12283 (floorf): Likewise.
12285 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12287 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12288 on both fields and cast pointer to __syscall_ulong_t.
12290 * bits/types.h (__fsword_t): New type.
12291 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12292 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12294 (__FSWORD_T_TYPE): Likewise.
12295 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12296 (__FSWORD_T_TYPE): Likewise.
12297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12298 (__FSWORD_T_TYPE): Likewise.
12299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12300 (__FSWORD_T_TYPE): Likewise.
12301 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12302 __SWORD_TYPE with __fsword_t.
12303 (statfs64): Likewise.
12305 2012-05-17 David S. Miller <davem@davemloft.net>
12307 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12309 2012-05-17 Andreas Jaeger <aj@suse.de>
12311 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12314 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12316 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12318 2012-05-17 Andreas Jaeger <aj@suse.de>
12320 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12323 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12325 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12327 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12329 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12330 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12332 2012-05-17 Andreas Jaeger <aj@suse.de>
12333 Carlos O'Donell <carlos_odonell@mentor.com>
12336 * sysdeps/x86_64/multiarch/init-arch.h
12337 (bit_YMM_Usable): Rename to...
12338 (bit_AVX_Usable): ... this.
12339 (bit_FMA4_Usable): New macro.
12340 (bit_XMM_state): New macro.
12341 (bit_YMM_state): New macro.
12342 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12343 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12344 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12345 (CPUID_OSXSAVE): New macro.
12346 (CPUID_AVX): New macro.
12347 (CPUID_FMA4): New macro.
12348 (index_YMM_Usable): Rename to...
12349 (index_AVX_Usable): ... this.
12350 (HAS_AVX): Use HAS_ARCH_FEATURE.
12351 (HAS_FMA4): Likewise.
12352 (HAS_YMM_USABLE): Remove.
12353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12354 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12356 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12357 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12358 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12359 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12360 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12362 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12364 * math/libm-test.c: Support platforms without multiple rounding modes.
12365 * math/bug-nextafter.c: Support platforms without FP exceptions.
12366 * math/bug-nexttoward.c: Likewise.
12367 * math/test-fenv.c: Likewise.
12368 * math/test-misc.c: Likewise.
12369 * stdlib/bug-getcontext.c: Likewise.
12371 2012-05-17 Andreas Jaeger <aj@suse.de>
12373 * manual/examples/search.c (critter_cmp): Change signature to
12375 * manual/string.texi (Collation Functions): Likewise.
12377 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12379 * bits/types.h: Fold copyright years.
12380 * bits/typesizes.h: Likewise.
12381 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12385 * time/time.h: Likewise.
12387 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12390 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12391 in instead of returning them. Return void.
12392 (__libc_mallinfo): Accumulate over all arenas.
12393 (__malloc_stats): Adjust for change in int_mallinfo interface.
12395 2012-05-16 Roland McGrath <roland@hack.frob.com>
12398 * configure.in (NM): Add AC_CHECK_TOOL for it.
12399 (libc_extra_cflags): New substituted variable.
12400 Check for -fstack-protector being used implicitly.
12401 * configure: Regenerated.
12402 * config.make.in (config-extra-cflags): New variable,
12403 gets @libc_extra_cflags@.
12404 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12407 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12408 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12409 * configure: Regenerated.
12410 * config.make.in (CPPUNDEFS): New substituted variable.
12411 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12412 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12413 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12415 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12417 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12418 (mq_attr): Use __syscall_slong_t.
12420 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12422 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12423 Check __x86_64__ instead of __WORDSIZE.
12424 (_STAT_VER_LINUX): Likewise.
12425 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12426 __syscall_ulong_t and __syscall_slong_t.
12427 (stat64): Likewise.
12429 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12431 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12433 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12435 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12437 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12439 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12442 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12443 include <bits/wordsize.h>. Check __x86_64__ instead of
12445 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12447 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12449 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12450 include <bits/wordsize.h>. Check __x86_64__ instead of
12452 (user_regs_struct): Use "__extension__ unsigned long long"
12453 instead of "unsigned long" if __x86_64__ is defined.
12454 (user): Likewise. Pad after pointer field if __ILP32__ is
12457 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12459 * configure.in (makeinfo): Require version 4.5 or later. Allow
12461 * configure: Regenerated.
12462 * manual/install.texi (texinfo): Increase version requirement to
12464 * INSTALL: Regenerated.
12466 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12468 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12470 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12472 * sysdeps/x86_64/x32/ffs.c: New file.
12474 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12476 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12477 defined. Use __syscall_ulong_t.
12478 (shminfo): Use __syscall_ulong_t.
12479 (shm_info): Likewise.
12481 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12484 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12486 (msgqnum_t): Use __syscall_ulong_t.
12487 (msglen_t): Likewise.
12488 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12491 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12492 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12494 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12496 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12497 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12499 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12502 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12503 include <bits/wordsize.h>. Check __x86_64__ instead of
12506 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12507 "unsigned long long int" if __x86_64__ is defined.
12508 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12510 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12511 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12512 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12514 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12516 (GET_PC): Cast to uintptr_t first.
12517 (GET_FRAME): Likewise.
12518 (GET_STACK): Likewise.
12520 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12521 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12522 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12523 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12524 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12525 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12528 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12529 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12530 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12531 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12532 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12533 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12534 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12535 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12536 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12537 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12538 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12539 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12540 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12541 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12542 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12543 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12544 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12545 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12546 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12547 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12548 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12550 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12552 * Makerules (+depfiles): Also collect depfiles from .oS in
12554 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12555 .oS, $(libnldbl-routines)).
12557 * Makerules (native-compile-mkdep-flags): Define.
12558 * sunrpc/Makefile (extra-objs): Add $(addprefix
12559 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12560 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12561 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12562 calling $(make-target-directory).
12564 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12566 * bits/types.h (__snseconds_t): Removed.
12567 * time/time.h (struct timespec): Replace __snseconds_t with
12569 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12570 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12573 (__SNSECONDS_T_TYPE): Likewise.
12574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12575 (__SNSECONDS_T_TYPE): Likewise.
12576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12577 (__SNSECONDS_T_TYPE): Likewise.
12579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12581 * sysdeps/mach/hurd/bits/typesizes.h
12582 (__SYSCALL_SLONG_TYPE): New macro.
12583 (__SYSCALL_ULONG_TYPE): Likewise.
12585 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12587 * bits/types.h (__syscall_slong_t): New type.
12588 (__syscall_ulong_t): Likewise.
12590 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12591 (__SYSCALL_ULONG_TYPE): Likewise.
12592 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12593 (__SYSCALL_SLONG_TYPE): Likewise.
12594 (__SYSCALL_ULONG_TYPE): Likewise.
12595 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12596 (__SYSCALL_SLONG_TYPE): Likewise.
12597 (__SYSCALL_ULONG_TYPE): Likewise.
12598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12599 (__SYSCALL_SLONG_TYPE): Likewise.
12600 (__SYSCALL_ULONG_TYPE): Likewise.
12602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12604 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12605 Add sigaltstack-offsets.sym.
12606 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12607 <sigaltstack-offsets.h>.
12608 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12609 longjmp_msg pointer.
12610 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12611 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12613 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12615 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12617 * elf/stackguard-macros.h: Remove file.
12618 * sysdeps/generic/stackguard-macros.h: New file.
12619 * sysdeps/i386/stackguard-macros.h: Likewise.
12620 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12621 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12622 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12623 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12624 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12625 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12626 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12627 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12628 <elf/stackguard-macros.h>.
12631 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12632 __aligned__ in attribute.
12633 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12634 (gregset_t): Likewise.
12636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12638 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12639 * sysdeps/x86_64/64/Implies-after: Here. New file.
12640 * sysdeps/x86_64/x32/Implies-after: New file.
12642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12644 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12645 and access return value for _dl_profile_fixup. Use R10_LP to
12648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12650 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12654 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12655 * sysdeps/x86_64/x32/sysdep.h: New file.
12657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12659 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12660 * sysdeps/x86_64/setjmp.S: Likewise.
12662 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12664 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12665 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12666 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12667 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12668 remove unused global constant.
12670 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12672 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12673 include of <not-cancel.h>.
12675 2012-05-15 Roland McGrath <roland@hack.frob.com>
12677 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12679 2012-05-15 Jeff Law <law@redhat.com>
12680 Andreas Jaeger <aj@suse.de>
12683 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12685 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12686 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12687 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12688 code changing __hst_map_handle.map.
12690 2012-05-15 Roland McGrath <roland@hack.frob.com>
12692 * configure.in (sysnames): Look for Implies-before and Implies-after
12694 * configure: Regenerated.
12696 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12698 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12699 8-byte data alignment with LP_SIZE alignment.
12701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12703 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12708 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12712 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12713 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12714 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12716 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12718 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12720 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12721 (stackinfo_sub_sp): Likewise.
12723 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12725 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12730 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12735 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12740 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12744 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12745 into R11_LP and load __x86_64_shared_cache_size_half into
12748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12750 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12753 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12757 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12759 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12761 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12762 powerpc32/power7/fpu/s_logb.c via #include.
12763 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12764 powerpc32/power7/fpu/s_logbf.c via #include.
12765 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12766 powerpc32/power7/fpu/s_logbl.c via #include.
12768 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12770 * README.libm: Remove file.
12772 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12774 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12775 count for x32. Use R*_LP and omit operand-size suffix.
12777 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12779 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12780 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12781 * sysdeps/x86_64/x32/shlib-versions: New file.
12783 2012-05-14 Roland McGrath <roland@hack.frob.com>
12785 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12786 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12787 Use _dl_fatal_printf instead.
12789 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12791 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12792 set if not set by the user. Do not allow for being unset.
12793 * sysdeps/unix/sysv/linux/configure: Regenerated.
12795 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12797 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12798 the `q' suffix from lea and replace .quad with ASM_ADDR.
12800 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12803 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12805 (PTR_DEMANGLE): Likewise.
12807 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12809 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12811 (ASM_ADDR): Likewise.
12812 (RAX_LP): Likewise.
12813 (RBP_LP): Likewise.
12814 (RBX_LP): Likewise.
12815 (RCX_LP): Likewise.
12816 (RDI_LP): Likewise.
12817 (RSI_LP): Likewise.
12818 (RSP_LP): Likewise.
12821 (R10_LP): Likewise.
12822 (R10_LP): Likewise.
12823 (R11_LP): Likewise.
12824 (R12_LP): Likewise.
12825 (R13_LP): Likewise.
12826 (R14_LP): Likewise.
12827 (R15_LP): Likewise.
12829 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12831 * sysdeps/x86_64/x32/dl-machine.h: New file.
12833 2012-05-14 Andreas Jaeger <aj@suse.de>
12835 * manual/Makefile (subdir): Remove export of subdir.
12836 (all): Remove target.
12837 (.PHONY): Remove all from list.
12838 (mkinstalldirs): Remove.
12839 (.PHONY): Remove installdirs from list.
12840 ($(inst_infodir)/libc.info): Use make-target-directory.
12841 (installdirs): Remove.
12842 (subdir_%): Remove.
12843 (glibc-targets): Remove.
12846 ($(objpfx)stubs ../po/manual.pot): Remove.
12847 ($(objpfx)stamp%): Remove.
12848 (make-target-directory): Remove.
12849 (subdir_install): Remove.
12850 (routines): Remove.
12857 * manual/.gitignore: Remove, it's not needed anymore.
12858 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12860 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12862 (texis): Renamed to $(objpfx)texis.
12863 (texis-path): New, contains path to generated files.
12864 (chapters.%): Use texis-path for complete path, add extra argument
12866 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12867 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12868 (summary,texi, stamp-summary): Use complete path of
12869 files. Generate files in build dir.
12870 (dir-add.texi): Build in build dir.
12871 (libm-err.texi,stamp-libm-err): Likewise.
12872 (version.texi, stamp-version): Likewise.
12873 (.%c.texi): Likewise.
12874 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12875 (mostlyclean): Remove target.
12876 (realclean): Remove target.
12877 (generated): Add new variable with contents from mostlyclean and
12878 realclean, remove entries duplicated in common-mostlyclean, add
12879 stamp-libm-err and stamp-version.
12880 (generated-dirs): Add libc directory.
12881 ($(inst_infodir)/libc.info): Install files from build dir.
12883 * manual/install.texi (Configuring and compiling): Adjust since
12884 the info files are not part of the tar ball anymore.
12886 2012-05-14 Andreas Jaeger <aj@suse.de>
12888 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12891 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12894 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12895 to 2.2.0 where earlier.
12896 * sysdeps/unix/sysv/linux/configure: Regenerated.
12897 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12898 Remove conditional code.
12899 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12900 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12901 Remove conditional code.
12902 [!__NR_lchown]: Likewise.
12903 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12904 [__NR_lchown]: Likewise.
12905 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12906 comment referencing __ASSUME_LCHOWN_SYSCALL.
12907 * sysdeps/unix/sysv/linux/i386/sigaction.c
12908 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12909 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12910 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12911 Remove conditional code.
12912 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12913 (__protocol_available): Remove #if 0 code.
12914 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12916 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12917 * sysdeps/unix/sysv/linux/kernel-features.h
12918 (__ASSUME_GETCWD_SYSCALL): Don't define.
12919 (__ASSUME_REALTIME_SIGNALS): Likewise.
12920 (__ASSUME_PREAD_SYSCALL): Likewise.
12921 (__ASSUME_PWRITE_SYSCALL): Likewise.
12922 (__ASSUME_POLL_SYSCALL): Likewise.
12923 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12924 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12926 (__ASSUME_SIOCGIFNAME): Don't define.
12927 (__ASSUME_MSG_NOSIGNAL): Likewise.
12928 (__ASSUME_SENDFILE): Define unconditionally.
12929 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12930 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12932 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12933 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12934 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12935 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12936 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12937 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12938 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12940 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12943 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12946 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12947 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12949 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12952 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12953 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12955 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12958 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12959 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12961 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12962 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12963 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12964 Remove conditional code.
12965 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12966 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12967 Remove conditional code.
12968 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12969 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12970 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12971 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12972 Remove conditional code.
12973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12974 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12975 Remove conditional code.
12976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12977 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12978 Remove conditional code.
12979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12980 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12981 Remove conditional code.
12982 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12983 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12984 Remove conditional code.
12985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12986 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12987 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12988 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12989 * sysdeps/unix/sysv/linux/sigaction.c
12990 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12991 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12992 * sysdeps/unix/sysv/linux/sigpending.c
12993 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12994 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12995 * sysdeps/unix/sysv/linux/sigprocmask.c
12996 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12997 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12998 * sysdeps/unix/sysv/linux/sigsuspend.c
12999 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13000 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13001 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13002 (__libc_missing_rt_sigs): Remove.
13003 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13004 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13005 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13006 Remove conditional code.
13007 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13008 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13010 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13011 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13012 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13013 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13015 2012-05-14 Andreas Jaeger <aj@suse.de>
13017 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13018 it's not used in glibc.
13019 (__coshm1): Likewise.
13020 (__acosh1p): Likewise.
13023 * manual/string.texi (Copying and Concatenation): Add missing
13024 variable in concat example.
13025 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13027 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13030 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13031 __builtin_clzl with __builtin_clzll.
13033 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13036 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13039 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13041 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13042 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13043 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13044 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13046 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13048 * NEWS: Update ia64 info.
13050 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13052 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13055 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13057 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13058 * sysdeps/unix/syscalls.list (dup3): Likewise.
13059 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13060 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13062 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13064 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13065 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13067 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13069 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13071 (TLS_IE): Use mov/add instead of movq/addq to load thread
13073 (TLS_GD_PREFIX): New.
13076 2012-05-11 David S. Miller <davem@davemloft.net>
13078 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13079 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13080 (_FPU_SETCW): Likewise.
13082 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13084 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13085 is 32-byte aligned.
13087 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13090 * iconvdata/gb18030.c: Update tables.
13091 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13092 characters specially.
13093 (BODY for TO_LOOP): Add encoding of missing ranges.
13095 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13098 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13099 * sysdeps/mach/hurd/dup3.c: Likewise.
13100 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13101 * sysdeps/powerpc/memmove.c:: Likewise.
13103 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13106 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13108 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13110 * elf/elf.h (R_X86_64_RELATIVE64): New.
13111 (R_X86_64_NUM): Updated.
13112 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13113 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13114 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13115 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13116 tst-quad1pie tst-quad2pie
13117 (modules-names): Add tst-quadmod1 tst-quadmod2.
13118 ($(objpfx)tst-quad1): New dependency.
13119 ($(objpfx)tst-quad2): Likewise.
13120 ($(objpfx)tst-quad1pie): Likewise.
13121 ($(objpfx)tst-quad2pie): Likewise.
13122 * sysdeps/x86_64/tst-quad1.c: New file.
13123 * sysdeps/x86_64/tst-quad1pie.c: New file.
13124 * sysdeps/x86_64/tst-quad2.c: Likewise.
13125 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13126 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13127 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13128 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13129 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13131 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13133 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13134 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13135 * streams/stropts.h (t_scalar_t): Define type.
13137 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13138 (_PATH_PRESERVE): Set to "/var/lib".
13139 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13141 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13144 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13145 if __dir_mkfile succeeded.
13147 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13148 checking for _hurd_dtablesize. Unlock it right after having
13149 finished _hurd_dtable allocation.
13151 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13153 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13154 * sysdeps/mach/hurd/configure: Regenerated.
13155 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13156 special-casing to...
13157 * sysdeps/gnu/configure.in: ... this new file.
13158 * sysdeps/unix/sysv/linux/configure: Regenerated.
13159 * sysdeps/gnu/configure: New generated file.
13161 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13162 for Linux: use nsec instead of usec, as well as:
13163 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13164 members of type struct timespec.
13165 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13167 (struct stat64): Likewise.
13168 (_STATBUF_ST_NSEC): New macro.
13169 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13171 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13172 __strtoul_internal rather than strtoul.
13174 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13176 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13179 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13181 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13182 which preserves existing values.
13183 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13185 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13187 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13188 TIMEOUT values. Return EINVAL for NFDS values either negative or
13189 greater than FD_SETSIZE.
13191 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13193 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13194 allocated, call __vm_protect to finish enabling the existing space, and
13195 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13196 allocate the remainder.
13198 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13200 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13201 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13205 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13206 sysdeps/mach/hurd/readlink.c.
13208 * posix/tst-sysconf.c (posix_options): Only use
13209 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13210 _POSIX_SYNCHRONIZED_IO when they are defined
13211 * sysdeps/mach/hurd/bits/posix_opt.h:
13212 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13213 (_XOPEN_REALTIME): Undefine macro.
13214 (_XOPEN_REALTIME_THREADS): Undefine macro.
13215 (_XOPEN_SHM): Undefine macro.
13216 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13218 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13220 (_POSIX_ASYNC_IO): Undefine macro.
13221 (_POSIX_PRIORITIZED_IO): Undefine macro.
13222 (_POSIX_SPIN_LOCKS): Define macro to -1.
13224 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13225 SA_NODEFER, SA_RESETHAND.
13226 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13227 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13230 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13232 * elf/Makefile (pldd-modules): Define unconditionally.
13234 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13236 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13238 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13240 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13241 Return ENOENT when name is empty.
13242 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13244 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13246 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13248 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13250 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13252 Fix mlock in all cases except non-readable pages.
13253 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13254 instead of VM_PROT_ALL as parameter to __vm_wire function.
13256 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13257 (__mkdir): When path is `/', just fail with EEXIST.
13258 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13260 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13262 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13263 <sys/uio.h> (for writev).
13264 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13265 and <sys/param.h> (for MIN).
13267 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13269 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13270 REQUESTED_TIME. Properly set the remaining time and return EINTR
13273 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13275 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13276 Depend on against $(link-rpcuserlibs).
13278 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13280 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13281 (__libc_stack_end): Do not use attribute_relro.
13282 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13283 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13284 to libthread-provided value.
13285 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13288 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13291 * bits/libc-lock.h (__libc_once_get): New macro.
13292 * sysdeps/mach/bits/libc-lock.h: Likewise.
13293 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13294 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13295 instead of using implementation details.
13297 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13298 * libio/freopen.c: Likewise.
13299 * libio/freopen64.c: Likewise.
13300 * misc/syslog.c: Likewise.
13301 * nscd/connections.c: Likewise.
13302 * nscd/netgroupcache.c: Likewise.
13303 * sysdeps/posix/getcwd.c: Likewise.
13305 2012-05-10 Roland McGrath <roland@hack.frob.com>
13307 * math/w_ilogbf.c: Add #include <limits.h>.
13309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13311 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13312 path instead of returning without unlocking.
13314 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13315 immediate-write ioctls.
13316 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13320 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13321 __builtin_frame_address instead of making assumptions about the
13322 location of the return address relative to DATA. Force early load of
13323 the return address.
13324 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13325 __builtin_frame_address.
13328 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13329 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13330 implement dup3 and do some further code clean-ups.
13331 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13332 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13334 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13336 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13338 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13339 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13340 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13341 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13342 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13345 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13346 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13347 when handler == SIG_ERR, not when handler != SIG_ERR.
13349 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13351 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13352 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13355 accept4 for GNU Hurd.
13356 * include/sys/socket.h (__libc_accept4): New prototype.
13357 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13358 to implement __libc_accept4.
13359 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13361 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13363 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13364 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13365 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13366 signal-defines.sym.
13368 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13370 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13372 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13374 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13375 assertion on O_CLOEXEC flag.
13376 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13377 * hurd/intern-fd.c: Likewise.
13378 * hurd/port2fd.c: Likewise.
13380 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13383 * bits/in.h (IPV6_PKTINFO): Define new macro.
13384 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13386 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13391 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13392 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13393 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13394 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13395 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13396 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13397 * math/libm-test.inc (logb_test) : Additional logb tests.
13399 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13400 Andreas Jaeger <aj@suse.de>
13402 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13403 * configure: Regenerated.
13404 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13405 * config.make.in (link-obsolete-rpc): New substituted variable.
13406 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13407 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13408 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13409 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13410 so that libc.a contains the symbols.
13411 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13412 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13413 * sunrpc/auth_none.c: Likewise.
13414 * sunrpc/auth_unix.c: Likewise.
13415 * sunrpc/authdes_prot.c: Likewise.
13416 * sunrpc/authuxprot.c: Likewise.
13417 * sunrpc/clnt_gen.c: Likewise.
13418 * sunrpc/clnt_perr.c: Likewise.
13419 * sunrpc/clnt_raw.c: Likewise.
13420 * sunrpc/clnt_simp.c: Likewise.
13421 * sunrpc/clnt_tcp.c: Likewise.
13422 * sunrpc/clnt_udp.c: Likewise.
13423 * sunrpc/clnt_unix.c: Likewise.
13424 * sunrpc/des_crypt.c: Likewise.
13425 * sunrpc/des_soft.c: Likewise.
13426 * sunrpc/get_myaddr.c: Likewise.
13427 * sunrpc/key_call.c: Likewise.
13428 * sunrpc/key_prot.c: Likewise.
13429 * sunrpc/netname.c: Likewise.
13430 * sunrpc/pm_getmaps.c: Likewise.
13431 * sunrpc/pm_getport.c: Likewise.
13432 * sunrpc/pmap_clnt.c: Likewise.
13433 * sunrpc/pmap_prot.c: Likewise.
13434 * sunrpc/pmap_prot2.c: Likewise.
13435 * sunrpc/pmap_rmt.c: Likewise.
13436 * sunrpc/publickey.c: Likewise.
13437 * sunrpc/rpc_cmsg.c: Likewise.
13438 * sunrpc/rpc_common.c: Likewise.
13439 * sunrpc/rpc_dtable.c: Likewise.
13440 * sunrpc/rpc_prot.c: Likewise.
13441 * sunrpc/rpc_thread.c: Likewise.
13442 * sunrpc/rtime.c: Likewise.
13443 * sunrpc/svc.c: Likewise.
13444 * sunrpc/svc_auth.c: Likewise.
13445 * sunrpc/svc_raw.c: Likewise.
13446 * sunrpc/svc_run.c: Likewise.
13447 * sunrpc/svc_tcp.c: Likewise.
13448 * sunrpc/svc_udp.c: Likewise.
13449 * sunrpc/svc_unix.c: Likewise.
13450 * sunrpc/svcauth_des.c: Likewise.
13451 * sunrpc/xcrypt.c: Likewise.
13452 * sunrpc/xdr.c: Likewise.
13453 * sunrpc/xdr_array.c: Likewise.
13454 * sunrpc/xdr_float.c: Likewise.
13455 * sunrpc/xdr_intXX_t.c: Likewise.
13456 * sunrpc/xdr_mem.c: Likewise.
13457 * sunrpc/xdr_rec.c: Likewise.
13458 * sunrpc/xdr_ref.c: Likewise.
13459 * sunrpc/xdr_sizeof.c: Likewise.
13460 * sunrpc/xdr_stdio.c: Likewise.
13462 2012-05-10 Roland McGrath <roland@hack.frob.com>
13464 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13465 change. Update copyright years.
13467 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13469 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13471 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13472 Joseph Myers <joseph@codesourcery.com>
13473 Paul Pluzhnikov <ppluzhnikov@google.com>
13476 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13478 [cross-compiling] (extra-libs): Likewise.
13479 [cross-compiling] (extra-libs-others): Likewise.
13480 [cross-compiling] (librpcsvc-routines): Likewise.
13481 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13482 [cross-compiling] (omit-deps): Likewise.
13483 (sunrpc-CPPFLAGS): New variable.
13484 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13485 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13486 (cross-rpcgen-objs): New variable.
13487 (extra-objs): Append $(cross-rpcgen-objs).
13488 ($(cross-rpcgen-objs)): New rule.
13489 ($(objpfx)cross-rpcgen): Likewise.
13490 (rpcgen-cmd): Define to use $(built-program-file). Expand
13492 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13493 ($(objpfx)x%.stmp): Likewise.
13494 * sunrpc/proto.h [IS_IN_build] (_): Define.
13495 [IS_IN_build] (_libc_intl_domainname): Likewise.
13497 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13499 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13500 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13501 and R_X86_64_TPOFF64.
13503 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13505 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13506 sysdeps/unix/sysv/syscalls.list.
13509 * sysdeps/unix/sysv/syscalls.list: Remove file.
13511 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13514 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13515 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13516 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13517 (__LC_IDENTIFICATION): Make these macros useful in #if
13518 expressions, as required by C99.
13520 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13522 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13523 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13526 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13528 * stdlib/longlong.h: Updated from GCC.
13530 2012-05-09 Andreas Jaeger <aj@suse.de>
13532 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13533 default is first entry.
13534 (run_mode): Set type.
13535 (main): Remove informal message about syslog.
13536 (options): Fix typo.
13539 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13542 (llrintf): Likewise.
13543 (llrint): Likewise.
13546 (nearbyint): Likewise.
13547 (nearbyintf): Likewise.
13549 2012-05-09 Andreas Jaeger <aj@suse.de>
13550 Pedro Alves <palves@redhat.com>
13552 * nscd/nscd.c (run_mode): Use enum.
13553 (main): Cleanup coding style issue.
13555 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13556 Andreas Jaeger <aj@suse.de>
13558 * nscd/nscd.c (go_background): Replaced with...
13559 (run_mode): ... this.
13560 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13561 (options): Add -F --foreground.
13562 (main): Implement it.
13563 (parse_opt): Parse it.
13565 2012-05-09 Andreas Jaeger <aj@suse.de>
13568 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13569 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13570 -Wconversion warning.
13571 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13574 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13576 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13578 (LC_ALL): Use macro-int-constant.
13579 (LC_COLLATE): Likewise.
13580 (LC_CTYPE): Likewise.
13581 (LC_MESSAGES): Likewise.
13582 (LC_MONETARY): Likewise.
13583 (LC_NUMERIC): Likewise.
13584 (LC_TIME): Likewise.
13585 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13586 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13587 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13588 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13590 [C99-based standards] (float_t): Expect type.
13591 [C99-based standards] (double_t): Expect type.
13592 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13594 [C99-based standards] (HUGE_VALL): Likewise.
13595 [C99-based standards] (INFINITY): Likewise.
13596 [C99-based standards] (NAN): Likewise.
13597 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13598 [C99-based standards] (FP_NAN): Likewise.
13599 [C99-based standards] (FP_NORMAL): Likewise.
13600 [C99-based standards] (FP_SUBNORMAL): Likewise.
13601 [C99-based standards] (FP_ZERO): Likewise.
13602 [C99-based standards] (FP_FAST_FMA): Use
13603 optional-macro-int-constant. Specify type. Require == 1.
13604 [C99-based standards] (FP_FAST_FMAF): Likewise.
13605 [C99-based standards] (FP_FAST_FMAL): Likewise.
13606 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13607 [C99-based standards] (FP_ILOGBNAN): Likewise.
13608 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13610 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13611 [C99-based standards] (math_errhandling): Specify type.
13612 [ISO99 || ISO11] (signgam): Do not allow.
13613 [non-C99-based standards] (copysignf): Do not allow.
13614 [non-C99-based standards] (exp2f): Likewise.
13615 [non-C99-based standards] (log2f): Likewise.
13616 [non-C99-based standards] (modff): Allow.
13617 [non-C99-based standards] (erff): Do not allow.
13618 [non-C99-based standards] (erfcf): Likewise.
13619 [non-C99-based standards] (gammaf): Likewise.
13620 [non-C99-based standards] (hypotf): Likewise.
13621 [non-C99-based standards] (j0f): Likewise.
13622 [non-C99-based standards] (j1f): Likewise.
13623 [non-C99-based standards] (jnf): Likewise.
13624 [non-C99-based standards] (lgammaf): Likewise.
13625 [non-C99-based standards] (tgammaf): Likewise.
13626 [non-C99-based standards] (y0f): Likewise.
13627 [non-C99-based standards] (y1f): Likewise.
13628 [non-C99-based standards] (ynf): Likewise.
13629 [non-C99-based standards] (isnanf): Likewise.
13630 [non-C99-based standards] (acoshf): Likewise.
13631 [non-C99-based standards] (asinhf): Likewise.
13632 [non-C99-based standards] (atanhf): Likewise.
13633 [non-C99-based standards] (cbrtf): Likewise.
13634 [non-C99-based standards] (expm1f): Likewise.
13635 [non-C99-based standards] (ilogbf): Likewise.
13636 [non-C99-based standards] (log1pf): Likewise.
13637 [non-C99-based standards] (logbf): Likewise.
13638 [non-C99-based standards] (nextafterf): Likewise.
13639 [non-C99-based standards] (remainderf): Likewise.
13640 [non-C99-based standards] (rintf): Likewise.
13641 [non-C99-based standards] (scalbf): Likewise.
13642 [non-C99-based standards] (copysignl): Likewise.
13643 [non-C99-based standards] (exp2l): Likewise.
13644 [non-C99-based standards] (log2l): Likewise.
13645 [non-C99-based standards] (modfl): Allow.
13646 [non-C99-based standards] (erfl): Do not allow.
13647 [non-C99-based standards] (erfcl): Likewise.
13648 [non-C99-based standards] (gammal): Likewise.
13649 [non-C99-based standards] (hypotl): Likewise.
13650 [non-C99-based standards] (j0l): Likewise.
13651 [non-C99-based standards] (j1l): Likewise.
13652 [non-C99-based standards] (jnl): Likewise.
13653 [non-C99-based standards] (lgammal): Likewise.
13654 [non-C99-based standards] (tgammal): Likewise.
13655 [non-C99-based standards] (y0l): Likewise.
13656 [non-C99-based standards] (y1l): Likewise.
13657 [non-C99-based standards] (ynl): Likewise.
13658 [non-C99-based standards] (isnanl): Likewise.
13659 [non-C99-based standards] (acoshl): Likewise.
13660 [non-C99-based standards] (asinhl): Likewise.
13661 [non-C99-based standards] (atanhl): Likewise.
13662 [non-C99-based standards] (cbrtl): Likewise.
13663 [non-C99-based standards] (expm1l): Likewise.
13664 [non-C99-based standards] (ilogbl): Likewise.
13665 [non-C99-based standards] (log1pl): Likewise.
13666 [non-C99-based standards] (logbl): Likewise.
13667 [non-C99-based standards] (nextafterl): Likewise.
13668 [non-C99-based standards] (remainderl): Likewise.
13669 [non-C99-based standards] (rintl): Likewise.
13670 [non-C99-based standards] (scalbl): Likewise.
13671 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13672 [non-C99-based standards] (FP_*): Do not allow.
13673 [C99-based standards] (FP_*): Change to
13674 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13675 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13677 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13678 (SIG_ERR): Likewise.
13679 [X/Open-based standards] (SIG_HOLD): Likewise.
13680 (SIG_IGN): Likewise.
13681 (SIGABRT): Use macro-int-constant. Specify type. Require
13683 (SIGFPE): Likewise.
13684 (SIGILL): Likewise.
13685 (SIGINT): Likewise.
13686 (SIGSEGV): Likewise.
13687 (SIGTER): Likewise.
13688 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13689 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13690 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13691 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13692 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13693 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13694 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13695 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13696 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13697 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13698 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13699 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13700 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13701 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13702 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13703 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13704 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13705 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13706 [X/Open-based standards] (SIGTRAP): Likewise.
13707 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13708 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13709 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13710 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13711 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13714 2012-05-08 Ian Wienand <ianw@vmware.com>
13717 * time/tzset.c (__tzset_parse_tz): Update default rules for
13718 daylight time changes in the Energy Policy Act of 2005.
13720 2012-05-09 Andreas Jaeger <aj@suse.de>
13723 * elf/ldconfig.c (parse_conf): Change string to make clear that
13724 ldconfig only issued a warning if ld.so.conf does not exist.
13726 2012-05-08 David S. Miller <davem@davemloft.net>
13728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13729 movxtod instead of popping the value on the stack.
13731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13733 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13735 * config.h.in: Add HAVE_ARM_PCS_VFP.
13737 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13740 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13741 checking but the checks are disabled for any reason.
13743 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13745 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13746 and ELF64_R_TYPE with ELFW(R_TYPE).
13748 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13750 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13751 (ulimit): Likewise.
13753 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13754 (settimeofday): Likewise.
13756 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13758 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13759 a struct th_u2 inside the union, and move tu_block/tu_code into
13760 a new th_u3 union of tu_block/tu_code inside of that. Move
13761 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13762 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13763 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13764 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13765 (th_stuff): Change to th_u1.tu_stuff.
13767 (th_msg): Change to th_u1.th_u2.tu_data.
13769 2012-05-07 David S. Miller <davem@davemloft.net>
13771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13774 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13775 (SETUP_PIC_REG): Use it.
13776 (SETUP_PIC_REG_LEAF): Use it.
13778 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13782 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13784 (EXPL_FINITE): Likewise.
13785 (FLDLOG): Likewise.
13786 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13787 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13789 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13791 (EXPL_FINITE): Likewise.
13792 (FLDLOG): Likewise.
13793 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13794 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13796 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13797 test of -max_value argument for long double.
13798 * sysdeps/i386/fpu/libm-test-ulps: Update.
13799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13801 2012-05-06 David S. Miller <davem@davemloft.net>
13803 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13804 quad soft-float symbols whose references which are compiler
13806 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13808 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13812 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13814 (EXPL_FINITE): Likewise.
13815 (FLDLOG): Likewise.
13818 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13819 Adjust comments for base varying.
13820 (__expl_finite): Change alias to EXPL_FINITE.
13821 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13823 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13824 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13826 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13827 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13829 (EXPL_FINITE): Likewise.
13830 (FLDLOG): Likewise.
13833 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13834 Adjust comments for base varying.
13835 (__expl_finite): Change alias to EXPL_FINITE.
13836 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13841 * math/libm-test.inc (check_float_internal): Correct ulp
13842 calculation for subnormal expected results.
13844 2012-05-06 Andreas Jaeger <aj@suse.de>
13846 * Makeconfig (+math-flags): New, set to -frounding-math.
13847 (+cflags): Add +math-flags so that all of glibc gets compiled with
13850 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13852 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13854 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13860 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13861 (__ieee754_expl): Allow for and saturate large arguments.
13862 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13863 (u_threshold): Likewise.
13864 (__exp): Call __ieee754_exp before checking for overflow and
13866 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13867 (u_threshold): Likewise.
13868 (__expf): Call __ieee754_expf before checking for overflow and
13870 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13871 (u_threshold): Likewise.
13872 (__expl): Call __ieee754_expl before checking for overflow and
13874 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13875 (__ieee754_expl): Allow for and saturate large arguments.
13876 * math/libm-test.inc (exp_test): Add another test. Do not allow
13877 missing overflow exception on overflow.
13878 (expm1_test): Do not allow missing overflow exception on overflow.
13880 * sysdeps/i386/fpu/e_expl.c: Move to ...
13881 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13882 rather than using inline asm.
13883 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13884 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13885 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13887 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13890 (signal): Likewise.
13894 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13896 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13897 sysdeps/unix/common/syscalls.list.
13898 (fchmod): Likewise.
13899 (fchown): Likewise.
13900 (ftruncate): Likewise.
13901 (getrusage): Likewise.
13902 (gettimeofday): Likewise.
13903 (setpgid): Likewise.
13904 (setregid): Likewise.
13905 (setreuid): Likewise.
13906 (sigaction): Likewise.
13907 (truncate): Likewise.
13908 (vhangup): Likewise.
13909 * sysdeps/unix/common/syscalls.list: Remove file.
13910 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13911 * sysdeps/unix/sysv/linux/Implies: Likewise.
13913 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13915 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13917 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13921 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13924 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13927 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13930 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13933 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13936 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13939 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13943 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13947 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13950 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13954 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13958 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13960 * sysdeps/unix/common/bits/dirent.h: Remove file.
13961 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13963 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13964 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13965 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13966 * sysdeps/unix/bsd/isatty.c: Likewise.
13967 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13968 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13969 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13971 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13974 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13975 long double comparison inaccuracies.
13976 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13979 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13981 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13982 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13984 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13987 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13988 nonzero digits before rounding a hex value.
13989 * stdlib/tst-strtod.c (tests): Add another test.
13991 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13993 * sysdeps/s390/fpu/libm-test-ulps: Update.
13995 2012-05-03 Andreas Jaeger <aj@suse.de>
13997 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13998 does not get optimized out.
13999 (malloc_opt_barrier): New.
14001 2012-05-03 Andreas Jaeger <aj@suse.de>
14002 Roland McGrath <roland@hack.frob.com>
14004 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14005 intermediate file deletion.
14006 (generated): Add .symlist files.
14008 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14011 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14012 Redirect under this condition.
14013 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14014 [__USE_GNU] (__dprintf_chk): Not under this condition.
14015 [__USE_GNU] (__vdprintf_chk): Likewise.
14016 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14017 under this condition.
14018 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14019 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14020 [__USE_XOPEN2K8] (vdprintf): Likewise.
14021 [__USE_GNU] (__dprintf_chk): Not under this condition.
14022 [__USE_GNU] (__vdprintf_chk): Likewise.
14023 [__USE_GNU] (dprintf): Likewise.
14024 [__USE_GNU] (vdprintf): Likewise.
14026 2012-05-03 Roland McGrath <roland@hack.frob.com>
14028 * elf/Makefile (common-generated): Set this instead of generated for
14029 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14030 $(all-built-dso)-derived lists.
14032 2012-05-03 Andreas Jaeger <aj@suse.de>
14034 * sysdeps/i386/fpu/libm-test-ulps: Update.
14037 * FAQ.in: Likewise.
14038 * scripts/gen-FAQ.pl: Likewise.
14039 * manual/install.texi (Installation): Point to online location of
14041 * Makefile (files-for-dist): Remove FAQ.
14044 2012-05-02 Allan McRae <allan@archlinux.org>
14046 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14047 (LDFLAGS-reldepmod5.so): Likewise.
14048 (LDFLAGS-reldep6mod1.so): Likewise.
14049 (LDFLAGS-reldep6mod4.so): Likewise.
14050 (LDFLAGS-reldep8mod3.so): Likewise.
14051 (LDFLAGS-unload4mod1.so): Likewise.
14052 (LDFLAGS-unload4mod2.so): Likewise.
14053 (LDFLAGS-tst-initorder): Likewise.
14054 (LDFLAGS-tst-initordera2.so): Likewise.
14055 (LDFLAGS-tst-initordera3.so): Likewise.
14056 (LDFLAGS-tst-initordera4.so): Likewise.
14057 (LDFLAGS-tst-initorderb2.so): Likewise.
14058 (LDFLAGS-noload): Likewise.
14059 (LDFLAGS-next): Likewise.
14060 (LDFLAGS-order2mod1.so): Likewise.
14061 (LDFLAGS-order2mod2.so): Likewise.
14062 (LDFLAGS-tst-initorder2): Likewise.
14063 (LDFLAGS-tst-initorder2a.so): Likewise.
14064 (LDFLAGS-tst-initorder2b.so): Likewise.
14065 (LDFLAGS-tst-initorder2c.so): Likewise.
14066 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14068 2012-05-02 David S. Miller <davem@davemloft.net>
14070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14072 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14075 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14077 2012-05-02 Andreas Jaeger <aj@suse.de>
14079 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14080 since we manipulate rounding mode.
14081 (CPPFLAGS-test-idouble.c): Likewise.
14082 (CPPFLAGS-test-ifloat.c): Likewise.
14083 (CFLAGS-test-ldouble.c): Likewise.
14084 (CFLAGS-test-double.c): Likewise.
14085 (CFLAGS-test-float.c): Likewise.
14086 (CFLAGS-test-misc.c): Likewise.
14087 (CFLAGS-test-test-fenv.c): Likewise.
14089 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14093 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14094 comparisons to determine direction to adjust input.
14096 2012-05-01 Roland McGrath <roland@hack.frob.com>
14098 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14099 output to the target.
14101 * scripts/localplt.awk: New file.
14102 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14103 (check-localplt-CFLAGS): Variable removed.
14104 ($(all-built-dso:=.jmprel)): New static pattern rule.
14105 (generated): Add those targets.
14106 (localplt-built-dso): New variable.
14107 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14109 * elf/check-localplt.c: File removed.
14111 * scripts/check-execstack.awk: New file.
14112 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14113 (check-execstack-CFLAGS): Variable removed.
14114 ($(objpfx)check-execstack.h): Target removed.
14115 ($(objpfx)execstack-default): New target.
14116 (generated): Add that instead of check-execstack.h.
14117 ($(all-built-dso:=.phdr)): New static pattern rule.
14118 (generated): Add those targets.
14119 * elf/check-execstack.c: File removed.
14121 * scripts/check-textrel.awk: New file.
14122 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14123 (check-textrel-CFLAGS): Variable removed.
14124 (all-built-dso): Use := to define.o
14125 ($(all-built-dso:=.dyn)): New static pattern rule.
14126 (generated): Add those targets.
14127 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14128 * config.make.in (READELF): New substituted variable.
14129 * elf/check-textrel.c: File removed.
14131 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14133 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14135 * conform/data/ctype.h-data [C99-based standards] (isblank):
14137 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14138 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14140 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14141 Specify type. Require positive value.
14142 (EILSEQ): Likewise.
14143 (ERANGE): Likewise.
14144 [ISO || POSIX] (EILSEQ): Do not expect.
14145 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14146 Specify type. Require positive value.
14147 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14148 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14149 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14150 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14151 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14152 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14153 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14154 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14155 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14156 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14157 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14158 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14159 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14160 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14161 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14162 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14163 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14164 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14165 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14166 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14167 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14168 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14169 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14170 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14171 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14172 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14173 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14174 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14175 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14176 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14177 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14178 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14179 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14180 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14181 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14182 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14183 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14184 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14185 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14186 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14187 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14188 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14189 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14190 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14191 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14192 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14193 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14194 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14195 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14196 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14197 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14198 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14199 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14200 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14201 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14202 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14203 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14204 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14205 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14206 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14207 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14208 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14209 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14210 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14211 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14212 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14213 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14214 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14215 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14216 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14217 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14218 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14219 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14220 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14221 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14222 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14223 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14225 (FLT_ROUNDS): Expect as macro, not constant.
14226 (FLT_MANT_DIG): Use macro-int-constant.
14227 (DBL_MANT_DIG): Likewise.
14228 (LDBL_MANT_DIG): Likewise.
14229 (FLT_DIG): Likewise.
14230 (DBL_DIG): Likewise.
14231 (LDBL_DIG): Likewise.
14232 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14233 (DBL_MIN_EXP): Likewise.
14234 (LDBL_MIN_EXP): Likewise.
14235 (FLT_MAX_EXP): Use macro-int-constant.
14236 (DBL_MAX_EXP): Likewise.
14237 (LDBL_MAX_EXP): Likewise.
14238 (FLT_MAX_10_EXP): Likewise.
14239 (DBL_MAX_10_EXP): Likewise.
14240 (LDBL_MAX_10_EXP): Likewise.
14241 (FLT_MAX): Use macro-constant.
14242 (DBL_MAX): Likewise.
14243 (LDBL_MAX): Likewise.
14244 (FLT_EPSILON): Use macro-constant. Give upper bound.
14245 (DBL_EPSILON): Likewise.
14246 (LDBL_EPSILON): Likewise.
14247 (FLT_MIN): Likewise.
14248 (DBL_MIN): Likewise.
14249 (LDBL_MIN): Likewise.
14250 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14251 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14252 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14253 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14254 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14255 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14256 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14257 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14258 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14259 [ISO11] (FLT_TRUE_MIN): Likewise.
14260 [ISO11] (LDBL_TRUE_MIN): Likewise.
14261 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14262 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14263 (SCHAR_MIN): Use macro-int-constant. Specify type.
14264 (SCHAR_MAX): Likewise.
14265 (UCHAR_MAX): Likewise.
14266 (CHAR_MIN): Likewise.
14267 (CHAR_MAX): Likewise.
14268 (MB_LEN_MAX): Use macro-int-constant.
14269 (SHRT_MIN): Use macro-int-constant. Specify type.
14270 (SHRT_MAX): Likewise.
14271 (USHRT_MAX): Likewise.
14272 (INT_MAX): Likewise.
14273 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14275 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14277 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14279 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14280 bound negative. Suffix upper bound with "L".
14281 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14283 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14285 [C99-based standards] (LLONG_MAX): Likewise.
14286 [C99-based standards] (ULLONG_MAX): Likewise.
14287 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14289 [ISO11] (max_align_t): Require type.
14290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14292 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14293 from $CFLAGS, without defining away __attribute__ calls.
14294 (checknamespace): Use $CFLAGS_namespace.
14296 * conform/conformtest.pl (@keywords): Only include C99 keywords
14297 for standards based on C99 or C11.
14299 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14301 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14304 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14305 usability of symbols in #if.
14307 * conform/conformtest.pl: If macro or constant types start
14308 "promoted:", expect the symbol to be of the following type
14309 promoted by the integer promotions.
14311 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14312 in one place. Also handle "macro-constant".
14314 * conform/conformtest.pl: Only accept expected macro values with
14315 "==". Parse all "macro" lines in one place.
14316 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14318 * conform/conformtest.pl: Handle braced types on "constant" lines
14319 instead of handling "typed-constant".
14320 * conform/data/signal.h-data: Use "constant" instead of
14323 * conform/conformtest.pl: Handle "optional-" at start of lines in
14324 one place rather than duplicating several cases. Handle each
14325 format of "macro" line with initial "optional-".
14327 * conform/conformtest.pl: Only accept expected constant or
14328 optional-constant values with "==". Parse all "constant" lines in
14329 one place. Parse all "optional-constant" lines in one place.
14330 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14331 * conform/data/fmtmsg.h-data: Likewise.
14332 * conform/data/netinet/in.h-data: Likewise.
14333 * conform/data/tar.h-data: Likewise.
14334 * conform/data/limits.h-data: Use "==" form on "constant" and
14335 "optional-constant" lines.
14337 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14338 Use -std=c99 for XOPEN2K.
14339 (@knownproblems): Remove.
14340 (newtoken): Don't check %isknown.
14342 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14343 Do not expect macro.
14344 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14345 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14346 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14347 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14348 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14349 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14350 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14351 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14352 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14353 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14354 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14355 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14356 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14357 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14358 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14359 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14360 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14361 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14362 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14363 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14364 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14365 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14366 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14367 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14368 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14369 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14370 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14371 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14372 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14373 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14374 [XPG3] (acosh): Likewise.
14375 [XPG3] (asinh): Likewise.
14376 [XPG3] (atanh): Likewise.
14377 [XPG3] (cbrt): Likewise.
14378 [XPG3] (expm1): Likewise.
14379 [XPG3] (ilogb): Likewise.
14380 [XPG3] (log1p): Likewise.
14381 [XPG3] (logb): Likewise.
14382 [XPG3] (nextafter): Likewise.
14383 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14384 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14385 [XPG3] (remainder): Likewise.
14386 [XPG3] (rint): Likewise.
14387 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14388 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14389 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14390 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14391 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14392 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14393 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14394 [UNIX98 || XOPEN2K] (scalb): Expect.
14395 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14396 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14397 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14398 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14399 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14400 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14401 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14402 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14403 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14404 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14405 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14406 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14407 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14408 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14409 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14410 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14411 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14412 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14413 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14414 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14415 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14416 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14417 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14418 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14419 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14420 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14421 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14422 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14423 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14424 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14425 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14426 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14427 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14428 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14429 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14430 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14431 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14432 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14433 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14434 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14435 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14436 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14437 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14438 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14439 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14440 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14441 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14442 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14443 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14444 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14445 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14446 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14447 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14448 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14449 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14450 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14451 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14452 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14453 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14454 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14455 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14456 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14457 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14458 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14459 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14460 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14461 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14462 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14463 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14464 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14465 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14466 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14467 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14468 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14469 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14470 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14471 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14472 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14473 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14474 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14475 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14476 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14477 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14478 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14479 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14480 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14481 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14482 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14483 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14484 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14485 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14486 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14487 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14488 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14489 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14490 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14491 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14492 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14493 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14494 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14495 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14496 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14497 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14498 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14499 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14500 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14501 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14502 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14503 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14504 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14505 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14506 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14507 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14508 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14509 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14510 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14511 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14512 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14513 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14514 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14515 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14516 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14517 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14518 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14519 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14520 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14521 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14522 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14523 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14524 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14525 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14526 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14527 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14528 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14529 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14530 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14531 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14533 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14534 _XOPEN_SOURCE_EXTENDED for XPG4.
14536 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14538 * Makeconfig (localtime): Remove variable.
14539 (inst_localtime-file): Likewise.
14541 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14562 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14566 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14567 comparisons to determine direction to adjust input.
14568 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14569 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14570 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14572 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14574 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14576 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14577 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14579 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14581 * math/libm-test.inc (nexttoward_test): Add more tests.
14583 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14586 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14587 in version GLIBC_2.1, not GLIBC_2.0.
14588 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14591 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14594 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14596 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14597 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14598 * math/libm-test.inc (acos_test): Add more tests.
14599 (asin_test): Likewise.
14600 * sysdeps/i386/fpu/libm-test-ulps: Update.
14601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14604 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14606 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14607 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14608 * math/libm-test.inc (acos_test_tonearest): New function.
14609 (acos_test_towardzero): Likewise.
14610 (acos_test_downward): Likewise.
14611 (acos_test_upward): Likewise.
14612 (asin_test_tonearest): Likewise.
14613 (asin_test_towardzero): Likewise.
14614 (asin_test_downward): Likewise.
14615 (asin_test_upward): Likewise.
14616 (main): Call the new functions.
14617 * sysdeps/i386/fpu/libm-test-ulps: Update.
14618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14622 * math/e_exp10.c: Include <float.h>.
14623 (__ieee754_exp10): Handle underflow here rather than multiplying
14624 large negative argument by M_LN10.
14625 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14627 * math/e_exp10l.c: Include <float.h>.
14628 (__ieee754_exp10l): Handle underflow here rather than multiplying
14629 large negative argument by M_LN10l.
14630 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14631 spurious overflow exception on underflow.
14633 2012-04-29 Marek Polacek <polacek@redhat.com>
14635 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14636 (__fortify_function): New macro.
14637 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14638 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14639 __extern_always_inline.
14640 * libio/bits/stdio2.h: Likewise.
14641 * libio/bits/stdio.h: Likewise.
14642 * string/string.h: Likewise.
14643 * string/bits/string3.h: Likewise.
14644 * include/stdio.h: Likewise.
14645 * stdlib/bits/stdlib.h: Likewise.
14646 * stdlib/stdlib.h: Likewise.
14647 * rt/bits/mqueue2.h: Likewise.
14648 * rt/mqueue.h: Likewise.
14649 * posix/bits/unistd.h: Likewise.
14650 * posix/unistd.h: Likewise.
14651 * io/bits/poll2.h: Likewise.
14652 * io/bits/fcntl2.h: Likewise.
14653 * io/fcntl.h: Likewise.
14654 * io/sys/poll.h: Likewise.
14655 * misc/bits/syslog.h: Likewise.
14656 * misc/bits/syslog-ldbl.h: Likewise.
14657 * misc/sys/syslog.h: Likewise.
14658 * socket/bits/socket2.h: Likewise.
14659 * socket/sys/socket.h: Likewise.
14660 * debug/tst-chk1.c: Likewise.
14661 * wcsmbs/bits/wchar2.h: Likewise.
14662 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14663 * wcsmbs/wchar.h: Likewise.
14665 2012-04-29 Andreas Jaeger <aj@suse.de>
14667 * Makerules (tests): Remove enable-check-abi protection.
14668 (check-abi-warn): Remove.
14669 (check-abi-%): Remove check-abi-warn usage.
14671 * configure.in: Remove check-abi configure option.
14672 * configure: Regenerated.
14673 * config.make.in (enable-check-abi): Remove.
14675 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14678 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14679 double functions to double *_finite functions.
14682 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14683 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14685 * stdio-common/Makefile (tests): Add tst-sprintf3.
14686 * stdio-common/tst-sprintf3.c: New file.
14688 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14689 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14691 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14693 * conform/conformtest.pl: Remove duplicate typed-constant
14696 2012-04-28 David S. Miller <davem@davemloft.net>
14698 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14699 (check-abi-%): Remove AWK script prerequisite and explicit
14701 (check-abi): Rewrite to just diff the symlist with the abilist.
14702 (config-tls, config-abi-config): Delete, no longer used.
14703 (update-abi-%): Remove AWK script and explicit abilist directory.
14704 (update-abi): Rewrite to simply compare and conditionally copy the
14705 symlist and the sysdep abilist file. Remove update-abi-config
14707 * abilist/ld.abilist: Remove.
14708 * abilist/libBrokenLocale.abilist: Remove.
14709 * abilist/libanl.abilist: Remove.
14710 * abilist/libcrypt.abilist: Remove.
14711 * abilist/libdl.abilist: Remove.
14712 * abilist/librt.abilist: Remove.
14713 * abilist/libthread_db.abilist: Remove.
14714 * abilist/libutil.abilist: Remove.
14715 * scripts/extract-abilist.awk: Remove.
14716 * scripts/merge-abilist.awk: Remove.
14717 * sysdeps/generic/libcidn.abilist: New file.
14718 * sysdeps/generic/libnss_compat.abilist: New file.
14719 * sysdeps/generic/libnss_db.abilist: New file.
14720 * sysdeps/generic/libnss_dns.abilist: New file.
14721 * sysdeps/generic/libnss_files.abilist: New file.
14722 * sysdeps/generic/libnss_hesiod.abilist: New file.
14723 * sysdeps/generic/libnss_nis.abilist: New file.
14724 * sysdeps/generic/libnss_nisplus.abilist: New file.
14725 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14726 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14727 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14729 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14730 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14731 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14732 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14733 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14734 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14735 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14736 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14737 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14739 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14740 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14741 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14742 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14744 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14745 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14746 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14747 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14748 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14749 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14751 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14752 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14753 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14755 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14760 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14762 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14764 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14858 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14859 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14860 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14863 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14864 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14865 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14866 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14867 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14868 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14869 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14870 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14871 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14923 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14925 * conform/conformtest.pl: Fix typo in handling typed-constant from
14928 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14930 * README: Cut down references to pre-2.6 Linux kernels and
14931 Linuxthreads. Update lists of configurations in libc and ports
14932 and sort alphabetically. Say "or newer" with Linux kernel version
14935 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14937 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14940 * math/libm-test.inc (logb_test_downward): New test to expose
14941 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14944 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14947 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14949 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14950 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14952 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14954 * sysdeps/unix/i386/brk.S: Remove file.
14955 * sysdeps/unix/i386/dl-brk.S: Likewise.
14956 * sysdeps/unix/i386/pipe.S: Likewise.
14957 * sysdeps/unix/i386/sigreturn.S: Likewise.
14958 * sysdeps/unix/i386/syscall.S: Likewise.
14959 * sysdeps/unix/i386/vfork.S: Likewise.
14960 * sysdeps/unix/i386/wait.S: Likewise.
14962 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14963 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14965 * configure.in (arm*-none*): Do not allow without
14966 --enable-hacker-mode.
14967 (netbsd*): Remove case setting base_os.
14968 (386bsd*): Likewise.
14969 (freebsd*): Likewise.
14972 (sunos*): Likewise.
14973 (ultrix*): Likewise.
14974 (newsos*): Likewise.
14975 (dynix*): Likewise.
14981 (minix*): Likewise.
14982 (irix4*): Likewise.
14983 (irix6*): Likewise.
14984 (solaris[2-9]*): Likewise.
14986 * configure: Regenerated.
14988 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14991 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14992 overflow or cancellation in calculating denominator.
14993 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14994 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14995 down expression to avoid unexpected rounding in newer GCCs.
14996 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14998 2012-04-26 David S. Miller <davem@davemloft.net>
15000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15001 long-double compat symbols.
15002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15016 2012-04-25 David S. Miller <davem@davemloft.net>
15018 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15019 HWCAP_* values only after the memory barriers have been defined.
15020 (atomic_full_barrier): Define.
15021 (atomic_read_barrier): Define.
15022 (atomic_write_barrier): Define.
15024 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15026 * shlib-versions: Add libgcc_s version information.
15027 * sysdeps/generic/libgcc_s.h: Remove.
15028 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15030 * sysdeps/gnu/unwind-resume.c: Likewise.
15031 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15033 2012-04-25 David S. Miller <davem@davemloft.net>
15035 * sysdeps/unix/sparc/brk.S: Delete.
15036 * sysdeps/unix/sparc/dl-brk.S: Delete.
15037 * sysdeps/unix/sparc/pipe.S: Delete.
15038 * sysdeps/unix/sparc/sysdep.S: Delete.
15039 * sysdeps/unix/sparc/sysdep.h: Delete.
15040 * sysdeps/unix/sparc/vfork.S: Delete.
15041 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15042 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15043 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15044 ret_ERRVAL, r0, r1, MOVE): Define.
15045 (JUMPTARGET): Remove.
15046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15047 sysdeps/unix/sparc/sysdep.h
15048 (ENTRY, END): Remove.
15049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15051 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15053 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15054 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15057 * timezone/README: Update upstream location and email address for
15059 * timezone/zdump.c: Update from tzcode 2012b.
15060 * timezone/zic.c: Likewise.
15062 * configure.in (libc_cv_as_needed): Remove test.
15063 * configure: Regenerated.
15064 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15065 conditional definition.
15066 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15067 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15068 * config.make.in (have-as-needed): Remove variable.
15070 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15071 Paul Pluzhnikov <ppluzhnikov@google.com>
15073 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15076 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15078 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15079 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15080 * sysdeps/sh/strlen.S: Likewise.
15082 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15084 * sysdeps/unix/fork.S: Remove file.
15085 * sysdeps/unix/i386/fork.S: Likewise.
15086 * sysdeps/unix/sparc/fork.S: Likewise.
15088 * sysdeps/unix/system.c: Remove file.
15089 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15091 * sysdeps/unix/getegid.S: Remove file.
15092 * sysdeps/unix/geteuid.S: Likewise.
15094 2012-04-24 Roland McGrath <roland@hack.frob.com>
15096 * scripts/check-localplt.awk: New file.
15097 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15099 * scripts/data/localplt-generic.data: Add a comment.
15101 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15102 NODE when __dir_mkfile failed.
15103 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15104 Reported by Ludovic Courtès <ludo@gnu.org>.
15106 2012-04-24 Andreas Jaeger <aj@suse.de>
15108 * Makerules (common-clean): Also remove gen-as-const-headers
15111 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15113 * Makerules (native-compile): Do not change working directory for
15114 build. Use $(OUTPUT_OPTION) in command.
15115 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15117 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15120 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15121 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15122 * math/libm-test.inc (floor_test): Add more tests.
15123 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15125 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15127 * sysdeps/unix/getdents.c: Remove file.
15128 * sysdeps/unix/sysv/getdents.c: Likewise.
15129 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15131 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15132 sysdeps/unix/mman/syscalls.list.
15134 (mprotect): Likewise.
15136 (munmap): Likewise.
15137 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15138 * sysdeps/unix/mman/syscalls.list: Remove.
15139 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15141 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15142 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15143 * configure: Regenerated.
15144 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15145 $(libgcc_s_suffix).
15146 * config.make.in (libgcc_s_suffix): Remove variable.
15148 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15150 * sysdeps/unix/sysv/gethostname.c: Move to ...
15151 * sysdeps/posix/gethostname.c: ... here.
15153 * sysdeps/unix/execve.S: Remove file.
15155 * sysdeps/unix/_exit.S: Remove file.
15157 2012-04-23 Andreas Jaeger <aj@suse.de>
15160 * manual/Makefile: Remove make dist support, there's no
15161 need for a stand-alone documentation tar ball.
15162 (TEXI2DVI): Define always, it's not in Makeconfig.
15165 (edition): Removed.
15166 (glibc-doc-$(edition).tar): Removed
15170 (ETAGS): Remove, it's in Makeconfig.
15171 (move-if-change): Remove, it's in Makeconfig.
15173 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15176 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15177 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15178 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15179 (strtod_l, strtof_l, strtold_l): Remove __wur.
15180 It is not necessarily an error to ignore strtol's return value.
15181 One can reliably look at the stored endptr to decide whether
15182 the number had valid syntax.
15184 2012-04-21 Andreas Jaeger <aj@suse.de>
15187 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15189 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15191 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15192 * sysdeps/unix/sysv/Versions: Remove file.
15194 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15199 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15202 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15203 version from __vm86.
15205 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15207 * sysdeps/unix/common/lxstat.c: Remove file.
15208 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15210 * sysdeps/unix/sysv/Makefile: Remove file.
15212 * sysdeps/unix/sysv/direct.h: Remove file.
15214 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15215 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15216 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15217 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15218 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15219 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15220 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15222 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15224 * sysdeps/unix/xmknod.c: Remove file.
15225 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15227 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15229 * sysdeps/unix/sysv/i386/time.S: Remove file.
15231 * sysdeps/unix/fxstat.c: Remove file.
15232 * sysdeps/unix/xstat.c: Likewise.
15233 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15235 * sysdeps/unix/sysv/sigaction.c: Remove file.
15237 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15238 (sysdep_headers): Remove variable.
15239 [termio.h not in sysdep_headers] (generated): Likewise.
15240 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15241 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15242 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15243 * sysdeps/unix/sysv/tcflow.c: Likewise.
15244 * sysdeps/unix/sysv/tcflush.c: Likewise.
15245 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15246 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15247 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15248 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15249 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15251 * sysdeps/unix/siglist.c: Remove file.
15253 * sysdeps/unix/getppid.S: Remove file.
15255 * sysdeps/unix/mkdir.c: Remove file.
15256 * sysdeps/unix/rmdir.c: Likewise.
15258 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15260 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15262 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15263 errlist-compat value.
15265 2012-04-18 David S. Miller <davem@davemloft.net>
15267 * sysdeps/generic/memcopy.h (reg_char): Delete.
15268 * debug/strcat_chk.c: Use char, not reg_char.
15269 * debug/strcpy_chk.c: Likewise.
15270 * debug/strncat_chk.c: Likewise.
15271 * debug/strncpy_chk.c: Likewise.
15272 * string/memchr.c: Likewise.
15273 * string/memrchr.c: Likewise.
15274 * string/rawmemchr.c: Likewise.
15275 * string/strcat.c: Likewise.
15276 * string/strchr.c: Likewise.
15277 * string/strchrnul.c: Likewise.
15278 * string/strcmp.c: Likewise.
15279 * string/strcpy.c: Likewise.
15280 * string/strncat.c: Likewise.
15281 * string/strncmp.c: Likewise.
15282 * string/strncpy.c: Likewise.
15284 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15286 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15287 __builtin_memcopy is called when src and dest ranges are known to not
15290 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15292 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15293 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15294 fwd_align_merge macro call.
15295 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15296 bwd_align_merge macro call.
15297 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15299 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15301 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15302 bwd_align_merge macros.
15303 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15304 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15305 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15307 2012-04-18 David S. Miller <davem@davemloft.net>
15309 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15311 2012-04-18 Andreas Jaeger <aj@suse.de>
15314 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15315 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15316 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15318 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15319 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15320 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15322 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15323 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15324 Adjust for changed ldbl-128 files.
15326 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15327 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15328 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15330 2012-04-17 David S. Miller <davem@davemloft.net>
15332 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15334 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15336 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15337 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15338 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15339 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15340 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15341 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15343 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15346 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15347 * math/libm-test.inc: Add ilogb errno and exception tests.
15348 * math/w_ilogb.c: New file: ilogb wrapper.
15349 * math/w_ilogbf.c: New file: ilogbf wrapper.
15350 * math/w_ilogbl.c: New file: ilogbl wrapper.
15351 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15352 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15353 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15354 exception being thrown with 0.0 as argument.
15355 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15356 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15357 exception being thrown with 0.0 as argument.
15358 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15359 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15360 exception being thrown with 0.0 as argument.
15361 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15362 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15363 exception being thrown with 0.0 as argument.
15364 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15365 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15366 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15367 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15368 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15369 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15370 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15371 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15372 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15374 2012-04-17 Petr Baudis <pasky@ucw.cz>
15376 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15379 2012-04-16 Marek Polacek <polacek@redhat.com>
15381 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15383 2012-04-16 Marek Polacek <polacek@redhat.com>
15385 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15386 operands of fdivp instruction.
15388 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15390 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15391 * elf/tst-auditmod3b.c: Likewise.
15392 * elf/tst-auditmod4b.c: Likewise.
15393 * elf/tst-auditmod5b.c: Likewise.
15394 * elf/tst-auditmod6b.c: Likewise.
15395 * elf/tst-auditmod6c.c: Likewise.
15396 * elf/tst-auditmod7b.c: Likewise.
15397 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15398 * sysdeps/x86_64/preconfigure.in: Likewise.
15399 * sysdeps/x86_64/preconfigure: Regenerated.
15401 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15403 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15406 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15408 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15409 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15411 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15414 * locale/iso-639.def: Fix gl language name. Spotted by
15417 2012-04-12 Roland McGrath <roland@hack.frob.com>
15420 * libio/libio.h (__io_write_fn): Update comment.
15422 2012-04-12 Petr Baudis <pasky@ucw.cz>
15425 * stdio.texi (Hook Functions): The user provided writer function
15426 is not allowed to return -1.
15428 2012-04-11 David S. Miller <davem@davemloft.net>
15430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15432 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15434 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15435 Add a leading slash to rtkaio.
15437 2012-04-11 Jim Meyering <meyering@redhat.com>
15440 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15441 It is not necessarily an error to ignore fwrite's return
15442 value. One can reliably use ferror to test for errors after
15445 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15447 * bits/types.h (__snseconds_t): New type.
15448 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15450 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15452 (__SNSECONDS_T_TYPE): Likewise.
15453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15454 (__SNSECONDS_T_TYPE): Likewise.
15455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15456 (__SNSECONDS_T_TYPE): Likewise.
15458 2012-04-10 Andreas Jaeger <aj@suse.de>
15461 * manual/time.texi (Processor Time): Return type of times is
15462 elapsed real time since an arbitrary point in the past.
15463 (CPU Time): Move CLK_TCK from here...
15464 (Processor Time): ...to here. Correct description.
15465 * manual/conf.texi (Constants for Sysconf): Correct description of
15468 2012-04-10 David S. Miller <davem@davemloft.net>
15471 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15472 where the is a gap between DT_REL(A) and DT_JMPREL.
15474 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15476 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15477 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15478 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15480 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15482 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15483 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15484 (dl_main): Handle --inhibit-cache.
15485 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15487 * elf/dl-load.c (_dl_map_object): Use it.
15488 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15490 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15493 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15494 (__ieee754_powl): Saturate large exponents rather than testing for
15495 overflow of y*log2(x).
15496 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15497 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15501 * math/s_ctan.c: Include <float.h>.
15502 (__ctan): Avoid internal overflow or cancellation in calculating
15504 * math/s_ctanf.c: Likewise.
15505 * math/s_ctanl.c: Likewise.
15506 * math/s_ctanh.c: Likewise.
15507 * math/s_ctanhf.c: Likewise.
15508 * math/s_ctanhl.c: Likewise.
15509 * math/libm-test.inc (ctan_test): Add more tests.
15510 (ctanh_test): Likewise.
15511 * sysdeps/i386/fpu/libm-test-ulps: Update.
15512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15514 2012-04-09 Andreas Jaeger <aj@suse.de>
15517 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15518 is an optional BSD extension.
15521 * manual/stdio.texi (Opening Streams): Document additional fopen
15524 2012-04-09 Roland McGrath <roland@hack.frob.com>
15526 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15527 %eax without telling the compiler.
15529 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15532 * manual/install.texi: Use sourceware.org.
15534 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15537 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15538 (__ieee754_pow): Generate overflow and underflow using huge*huge
15539 and tiny*tiny rather than just returning constant infinity or zero
15540 for large exponents.
15541 * math/libm-test.inc (pow_test): Require overflow exceptions for
15542 applicable cases of large exponents.
15545 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15546 (__ieee754_pow): Use iterative multiplication algorithm only for
15547 integer exponents with absolute value below 1024. Check for odd
15548 integer exponents when using algorithm for real exponents.
15549 * math/libm-test.inc (pow_test): Add more tests.
15550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15552 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15555 * math/libm-test.inc (exp_test): Do not allow overflow exception
15558 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15561 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15562 instead of __kernel_standard_f.
15564 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15566 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15567 * sysdeps/x86_64/memset_chk.S: Likewise.
15569 2012-04-08 Andreas Jaeger <aj@suse.de>
15572 * manual/startup.texi (Environment Access): Describe return value
15573 for putenv and setenv.
15576 * manual/filesys.texi (Directory Entries): Add description for
15580 * manual/filesys.texi (Directory Entries): Clarify that it's file
15581 system not operating system in the description of DT_UNKNOWN.
15584 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15586 2012-04-08 Stephen Compall <s11@member.fsf.org>
15589 * manual/llio.texi (Opening and Closing Files): Add cross
15590 reference to explain mode argument.
15592 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15594 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15595 * sysdeps/x86_64/memset_chk.S: Likewise.
15597 2012-04-07 David S. Miller <davem@davemloft.net>
15599 * elf/elf.h (R_SPARC_WDISP10): Define.
15600 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15602 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15603 R_SPARC_SIZE64 and R_SPARC_H34.
15605 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15607 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15608 conditions and remove no longer applicable assertion.
15610 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15612 * bits/byteswap.h: Include <features.h>.
15613 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15614 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15616 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15618 * bits/byteswap.h (__bswap_16): Removed.
15619 Include <bits/byteswap-16.h> to get __bswap_16.
15620 * sysdeps/i386/bits/byteswap.h: Likewise.
15621 * sysdeps/s390/bits/byteswap.h: Likewise.
15622 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15623 * bits/byteswap-16.h: New file.
15624 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15625 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15626 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15627 * string/Makefile (headers): Add bits/byteswap-16.h.
15629 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15632 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15634 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15635 * nss/tst-nss-static.c: New.
15637 2012-04-06 Robert Millan <rmh@gnu.org>
15640 * manual/llio.texi (File Position Primitive): lseek
15641 refers to WHENCE when it really means OFFSET.
15643 2012-04-06 Andreas Jaeger <aj@suse.de>
15645 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15646 strncmp declarations.
15648 * abilist/libc.abilist: Add __poll and __ppoll.
15650 2012-04-05 David S. Miller <davem@davemloft.net>
15652 * scripts/check-local-headers.sh: Accept a host triplet in the
15653 path matched by the exclude regexp.
15655 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15657 * sysdeps/powerpc/powerpc32/dl-machine.h
15658 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15659 * sysdeps/s390/s390-32/dl-machine.h
15660 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15661 * sysdeps/sparc/sparc32/dl-machine.h
15662 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15663 * sysdeps/sparc/sparc64/dl-machine.h
15664 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15666 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15668 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15669 undefined symbol errors.
15671 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15674 2012-04-05 Michael Matz <matz@suse.de>
15677 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15679 2012-04-05 Andreas Jaeger <aj@suse.de>
15682 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15685 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15687 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15688 which ROUND is no valid rounding mode.
15690 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15692 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15694 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15696 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15698 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15699 an exception using FPU order intentionally.
15701 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15703 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15704 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15705 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15706 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15708 2012-04-05 Simon Josefsson <simon@josefsson.org>
15711 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15712 EINVAL when BUFLEN is too smal.
15714 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15717 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15718 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15720 2012-04-03 Andreas Jaeger <aj@suse.de>
15723 * manual/setjmp.texi (System V contexts): Fix sentence.
15726 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15727 New macro for this case.
15728 [!__GNUC__] (__bswap_64): New inline function for this case.
15729 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15730 * bits/byteswap.h: Likewise.
15731 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15732 ull, guard with __GLIBC_HAVE_LONG_LONG.
15734 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15735 __GLIBC_HAVE_LONG_LONG.
15737 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15738 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15740 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15743 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15744 inptr and inend, rather than using last_ch.
15746 2012-04-02 David S. Miller <davem@davemloft.net>
15748 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15749 * stdio-common/printf-parse.h (read_int): Change return type to
15750 'int', return -1 on INT_MAX overflow.
15751 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15752 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15753 overflows INT_MAX. Check for overflow of in-format-string precision
15754 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15755 SIZE_MAX not INT_MAX for integer overflow test.
15756 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15757 skip the construct in the format string but do not record anything.
15758 * stdio-common/bug22.c: Adjust to test both width/prevision
15759 INT_MAX overflow as well as total length INT_MAX overflow. Check
15760 explicitly for proper errno values.
15762 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15764 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15766 * string/test-strcmp.c [! WIDE]: Likewise.
15767 * time/tst-mktime2.c: Likewise for INT_MAX.
15768 * string/test-string.h: #include <sys/param.h> for MIN.
15770 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15771 * sysdeps/i386/init-first.c (init): Likewise.
15772 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15773 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15774 * sysdeps/sh/init-first.c (init): Likewise.
15776 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15778 * po/ru.po: Update from translation team.
15779 * po/vi.po: Likewise.
15781 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15783 * resolv/nss_dns/dns-host.c: Merge copyright years.
15785 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15787 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15788 Optimize memcpy with prefetch if
15789 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15790 src, dst pointers have unequal 16 byte alignments.
15792 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15795 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15796 from a CNAME entry and return the minimum ttl for the query.
15797 (gaih_getanswer_slice): Likewise.
15799 2012-03-30 Jeff Law <law@redhat.com>
15801 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15803 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15804 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15806 * resolv/nss_dns/dns-host.c: Update copyright year.
15808 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15810 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15811 requests to save a system call. Fix check that all bytes are sent.
15813 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15814 comments for sendmmsg.
15816 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15819 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15820 with only 1 character between 0x0041 and 0x01b0.
15821 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15822 * wcsmbs/tst-mbsnrtowcs.c: New file.
15824 2012-03-29 David S. Miller <davem@davemloft.net>
15826 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15827 small copies by hand.
15829 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15832 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15833 _nss_compat_initgroups_dyn): Fall back to malloc/free
15834 for large group memberships.
15836 2012-03-28 David S. Miller <davem@davemloft.net>
15838 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15839 that branches into memcpy.
15840 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15842 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15843 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15846 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15847 implementation too.
15848 * sysdeps/sparc/mempcpy.S: New file.
15850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15851 the IFUNC routine in the libc case.
15852 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15854 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15855 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15856 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15857 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15858 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15859 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15860 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15861 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15863 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15864 loop to 256 bytes instead of 64 bytes and fix test signedness.
15866 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15867 * sysdeps/sparc/sparc32/Makefile: rather than here...
15868 * sysdeps/sparc/sparc64/Makefile: and here.
15870 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15872 * malloc/mallocbug.c: Avoid warnings about unused variables.
15874 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15877 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15878 in the right place. Discard and retry query if response is
15879 larger than input buffer size.
15881 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15886 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15887 x for large integer exponent.
15888 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15889 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15890 sign of result as needed afterwards.
15891 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15892 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15893 result for underflowing pow the same as for overflow.
15894 (__kernel_standard_l): Handle powl overflow and underflow here
15895 rather than calling __kernel_standard.
15896 * math/libm-test.inc (pow_test): Add more tests.
15911 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15912 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15913 (__kernel_standard_l): New function.
15914 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15916 * math/w_acosl.c (__acosl): Likewise.
15917 * math/w_asinl.c (__asinl): Likewise.
15918 * math/w_atan2l.c (__atan2l): Likewise.
15919 * math/w_atanhl.c (__atanhl): Likewise.
15920 * math/w_coshl.c (__coshl): Likewise.
15921 * math/w_exp10l.c (__exp10l): Likewise.
15922 * math/w_exp2l.c (__exp2l): Likewise.
15923 * math/w_fmodl.c (__fmodl): Likewise.
15924 * math/w_hypotl.c (__hypotl): Likewise.
15925 * math/w_j0l.c (__j0l, __y0l): Likewise.
15926 * math/w_j1l.c (__j1l, __y1l): Likewise.
15927 * math/w_jnl.c (__jnl, __ynl): Likewise.
15928 * math/w_lgammal.c (__lgammal): Likewise.
15929 * math/w_log10l.c (__log10l): Likewise.
15930 * math/w_log2l.c (__log2l): Likewise.
15931 * math/w_logl.c (__logl): Likewise.
15932 * math/w_powl.c (__powl): Likewise.
15933 * math/w_remainderl.c (__remainderl): Likewise.
15934 * math/w_scalbl.c (sysv_scalbl): Likewise.
15935 * math/w_sinhl.c (__sinhl): Likewise.
15936 * math/w_sqrtl.c (__sqrtl): Likewise.
15937 * math/w_tgammal.c (__tgammal): Likewise.
15938 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15939 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15940 * math/libm-test.inc (acos_test): Add more tests.
15941 (acosh_test): Likewise.
15942 (asin_test): Likewise.
15943 (atanh_test): Likewise.
15944 (exp_test): Likewise.
15945 (exp10_test): Likewise.
15946 (exp2_test): Likewise.
15947 (expm1_test): Likewise.
15948 (lgamma_test): Likewise.
15949 (log_test): Likewise.
15950 (log10_test): Likewise.
15951 (log1p_test): Likewise.
15952 (log2_test): Likewise.
15953 (pow_test): Do not allow some spurious overflow exceptions.
15954 (sqrt_test): Add more tests.
15955 (tgamma_test): Likewise.
15956 (y0_test): Likewise.
15957 (y1_test): Likewise.
15958 (yn_test): Likewise.
15960 2012-03-27 Anton Blanchard <anton@samba.org>
15962 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15964 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15965 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15966 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15968 2012-03-27 David S. Miller <davem@davemloft.net>
15970 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15972 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15973 have-as-vis3 check.
15975 2012-03-27 Andreas Jaeger <aj@suse.de>
15977 * sysdeps/x86_64/elf/configure.in: Moved to ...
15978 * sysdeps/x86_64/configure.in: ... here.
15979 * sysdeps/x86_64/elf/start.S: Moved to ...
15980 * sysdeps/x86_64/start.S: ... here.
15981 * sysdeps/x86_64/elf/configure: Delete.
15983 * sysdeps/x86_64/configure.in: Merge contents from
15984 sysdeps/i386/configure.in (without i686 check).
15986 * sysdeps/i386/elf/Versions: Merge into ...
15987 * sysdeps/i386/Versions: ... this.
15988 * sysdeps/i386/elf/Versions: Delete file.
15989 * sysdeps/i386/elf/start.S: Moved to ...
15990 * sysdeps/i386/start.S: ...here.
15991 * sysdeps/i386/elf/configure.in: Merge into...
15992 * sysdeps/i386/configure.in: ...here.
15993 * sysdeps/i386/elf/configure.in: Delete file.
15994 * sysdeps/i386/elf/configure: Delete file.
15996 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15997 * debug/backtracesyms.c: ... here.
15998 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15999 * debug/backtracesymsfd.c: ... here.
16000 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16001 * sysdeps/generic/ifunc-sel.h: ... here.
16003 * sysdeps/unix/i386/start.c: Delete file.
16004 * sysdeps/unix/sparc/start.c: Delete file.
16005 * sysdeps/unix/start.c: Delete file.
16007 * sysdeps/sh/elf/configure.in: Moved to ...
16008 * sysdeps/sh/configure.in: ... here.
16009 * sysdeps/sh/elf/start.S: Moved to ...
16010 * sysdeps/sh/start.S: ... here.
16011 * sysdeps/sh/elf/configure: Delete file.
16013 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16014 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16015 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16016 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16017 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16018 * sysdeps/powerpc/powerpc64/start.S: here.
16019 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16020 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16021 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16022 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16023 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16025 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16026 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16027 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16028 * sysdeps/powerpc/powerpc32/start.S: ... here.
16029 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16030 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16031 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16033 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16034 * sysdeps/powerpc/ifunc-sel.h: ... here.
16035 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16036 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16038 * sysdeps/sparc/elf/configure.in: Moved to ...
16039 * sysdeps/sparc/configure.in: ... here.
16040 * sysdeps/sparc/elf/configure: Delete file.
16041 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16042 * sysdeps/sparc/sparc32/start.S: ... here.
16043 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16044 * sysdeps/sparc/sparc64/start.S: ... here.
16045 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16046 * sysdeps/sparc/sparc32/Makefile: ... this.
16047 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16048 * sysdeps/sparc/sparc64/Makefile: ... this.
16050 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16051 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16052 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16053 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16054 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16055 * sysdeps/s390/s390-32/setjmp.S: ... here.
16056 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16057 * sysdeps/s390/s390-32/configure.in: ... here.
16058 * sysdeps/s390/s390-32/elf/configure: Delete file.
16059 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16060 * sysdeps/s390/s390-32/start.S: ... here.
16062 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16063 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16064 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16065 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16066 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16067 * sysdeps/s390/s390-64/setjmp.S: ... here.
16068 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16069 * sysdeps/s390/s390-64/configure.in: ... here
16070 * sysdeps/s390/s390-64/elf/configure: Delete file.
16071 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16072 * sysdeps/s390/s390-64/start.S: ... here.
16073 * sysdeps/s390/s390-64/elf/configure: Delete.
16075 * configure.in: Remove support for elf directories in sysdeps.
16077 * configure: Regenerated.
16078 * sysdeps/i386/configure: Regenerated.
16079 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16080 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16081 * sysdeps/s390/s390-32/configure: Regenerated.
16082 * sysdeps/s390/s390-64/configure: Regenerated.
16083 * sysdeps/sh/configure: Regenerated.
16084 * sysdeps/sparc/configure: Regenerated.
16085 * sysdeps/x86_64/configure: Regenerated.
16087 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16091 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16092 denormal result into account.
16094 2012-03-25 Roland McGrath <roland@hack.frob.com>
16096 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16097 Reported by Allan McRae <allan@archlinux.org>.
16099 2012-03-23 Jeff Law <law@redhat.com>
16101 * nss/getnssent.c (__nss_getent): Fix typo.
16103 2012-03-23 David S. Miller <davem@davemloft.net>
16105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16107 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16109 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16110 to pad to uint64_t for each field.
16111 (dl_tls_index): Replace unsigned long with uint64_t.
16113 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16114 Paul Pluzhnikov <ppluzhnikov@google.com>
16117 * grp/Makefile (otherlibs): Don't set it.
16118 * inet/Makefile (otherlibs): Likewise.
16119 * login/Makefile (otherlibs): Likewise.
16120 * nscd/Makefile (otherlibs): Likewise.
16121 * posix/Makefile (otherlibs): Likewise.
16122 * pwd/Makefile (otherlibs): Likewise.
16123 * rt/Makefile (otherlibs): Likewise.
16124 * sunrpc/Makefile (otherlibs): Likewise.
16125 * nss/Makefile (otherlibs): Likewise.
16126 Add libnss_files to routines and static-only-routines.
16127 ($(objpfx)getent): Remove rule.
16128 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16129 static-only-routines.
16131 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16134 * math/s_cexp.c: Include <float.h>.
16135 (__cexp): Handle exp result overflowing not necessarily
16136 overflowing both real and imaginary parts of result.
16137 * math/s_cexpf.c: Likewise.
16138 * math/s_cexpl.c: Likewise.
16139 * math/libm-test.inc (cexp_test): Add more tests.
16140 * sysdeps/i386/fpu/libm-test-ulps: Update.
16141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16143 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16145 * include/link.h (ELFW): New macro.
16146 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16147 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16149 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16151 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16154 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16156 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16158 (struct La_x32_retval): Likewise.
16160 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16162 * sysdeps/x86_64/preconfigure.in: New file.
16163 * sysdeps/x86_64/preconfigure: New generated file.
16165 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16168 * math/e_exp2l.c: Include <float.h>.
16169 (__ieee754_exp2l): Handle overflow and underflow cases
16170 separately. Only pass fractional part of argument to
16172 * math/libm-test.inc (exp2_test): Add more tests.
16174 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16175 negating x to take absolute value.
16176 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16178 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16179 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16181 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16182 computing low part if x was negated.
16183 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16185 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16187 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16188 la_x32_gnu_pltexit.
16189 (pltexit): Cast int_retval to ptrdiff_t.
16190 * elf/tst-auditmod3b.c: Likewise.
16191 * elf/tst-auditmod4b.c: Likewise.
16192 * elf/tst-auditmod5b.c: Likewise.
16193 * elf/tst-auditmod6b.c: Likewise.
16194 * elf/tst-auditmod6c.c: Likewise.
16195 * elf/tst-auditmod7b.c: Likewise.
16197 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16198 and x32_gnu_pltexit.
16200 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16201 __ELF_NATIVE_CLASS.
16202 (La_x32_regs): New macro.
16203 (La_x32_retval): Likewise.
16204 (la_x32_gnu_pltenter): New function prototype.
16205 (la_x32_gnu_pltexit): Likewise.
16207 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16214 * configure.in (libc_cv_cc_nofma): Check for option to disable
16215 generation of FMA instructions.
16216 * configure: Regenerate.
16217 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16218 * sysdeps/ieee754/dbl-64/Makefile: New file.
16219 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16220 Remove brandred-fma4.
16221 (CFLAGS-brandred-fma4.c): Remove.
16222 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16223 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16225 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16228 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16230 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16231 LLONG_MAX != LONG_MAX.
16232 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16233 (_fitoa_word): Likewise.
16234 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16235 LLONG_MAX != LONG_MAX.
16236 * stdio-common/_itowa.h: Include <_itoa.h>.
16237 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16238 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16239 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16240 only if not defined.
16241 (_ITOA_WORD_TYPE): Likewise.
16242 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16243 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16245 2012-03-21 David S. Miller <davem@davemloft.net>
16247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16249 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16251 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16252 of x86_64 when setting libc_cv_slibdir, libdir and
16254 * sysdeps/unix/sysv/linux/configure: Regenerated.
16256 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16258 * manual/lang.texi (Old Varargs): Remove section.
16259 (How Variadic): Update menu.
16260 (va_start): Do not mention varargs.h.
16262 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16263 Joseph Myers <joseph@codesourcery.com>
16265 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16267 * configure: Regenerated.
16269 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16271 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16272 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16275 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16278 * Makefile (files-for-dist): Remove NOTES.
16279 (NOTES): Remove rule.
16280 * README: Don't refer to NOTES.
16281 * manual/creature.texi: Don't include macros.texi.
16282 * manual/intro.texi (creature.texi): Remove comment referring to
16285 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16286 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16287 * configure: Regenerated.
16288 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16289 LIBC_TRY_CC_OPTION.
16290 (libc_cv_as_i686): Likewise.
16291 (libc_cv_cc_avx): Likewise.
16292 (libc_cv_cc_sse2avx): Likewise.
16293 (libc_cv_cc_fma4): Likewise.
16294 (libc_cv_cc_novzeroupper): Likewise.
16295 * sysdeps/i386/configure: Regenerated.
16298 * sysdeps/i386/fpu/s_cexp.S: Remove.
16299 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16300 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16301 * math/libm-test.inc (cexp_test): Add more tests.
16302 * sysdeps/i386/fpu/libm-test-ulps: Update.
16303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16305 2012-03-21 Allan McRae <allan@archlinux.org>
16307 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16309 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16312 * math/w_exp2.c: Do not include <float.h>.
16313 (o_threshold, u_threshold): Remove.
16314 (__exp2): Calculate result before checking finiteness and calling
16316 * math/w_exp2f.c: Likewise.
16317 * math/w_exp2l.c: Likewise.
16318 * math/libm-test.inc (exp2_test): Require overflow exception for
16322 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16323 range of signed 64-bit integers before using fistpll. Remove
16324 checks for whether integers fit in mantissa bits.
16325 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16326 the range of signed 32-bit integers before using fistpl. Remove
16327 checks for whether integers fit in mantissa bits.
16328 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16329 (__ieee754_powl): Test for y outside the range of signed 64-bit
16330 integers before using fistpll. Reduce 64-bit values to 63-bit
16332 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16333 divide-by-zero is raised for zero to large negative powers.
16334 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16335 (__ieee754_powl): Test for y outside the range of signed 64-bit
16336 integers before using fistpll. Reduce 64-bit values to 63-bit
16338 * math/libm-test.inc (pow_test): Add more tests.
16340 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16342 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16343 <stdio-common/_itoa.h>.
16344 * debug/segfault.c: Likewise.
16345 * elf/dl-cache.c: Likewise.
16346 * elf/dl-minimal.c: Likewise.
16347 * elf/dl-misc.c: Likewise.
16348 * elf/dl-sysdep.c: Likewise.
16349 * elf/dl-version.c: Likewise.
16350 * elf/rtld.c: Likewise.
16351 * hurd/hurdsock.c: Likewise.
16352 * hurd/lookup-retry.c: Likewise.
16353 * malloc/malloc.c: Likewise.
16354 * malloc/mtrace.c: Likewise.
16355 * nscd/nscd_getgr_r.c: Likewise.
16356 * nscd/nscd_getpw_r.c: Likewise.
16357 * nscd/nscd_getserv_r.c: Likewise.
16358 * posix/getopt_init.c: Likewise.
16359 * posix/wordexp.c: Likewise.
16360 * stdio-common/_itoa.c: Likewise.
16361 * stdio-common/printf_fphex.c: Likewise.
16362 * stdio-common/vfprintf.c: Likewise.
16363 * string/_strerror.c: Likewise.
16364 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16365 * sysdeps/i386/i686/hp-timing.h: Likewise.
16366 * sysdeps/mach/_strerror.c: Likewise.
16367 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16368 * sysdeps/mach/hurd/sethostid.c: Likewise.
16369 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16370 * sysdeps/mach/xpg-strerror.c: Likewise.
16371 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16372 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16373 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16374 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16375 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16376 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16377 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16378 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16379 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16380 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16381 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16382 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16383 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16384 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16385 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16386 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16387 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16388 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16389 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16390 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16391 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16393 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16395 * stdio-common/_itoa.h: Moved to ...
16396 * sysdeps/generic/_itoa.h: Here.
16398 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16400 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16401 instead of "_itoa.h" and "_itowa.h".
16402 * stdio-common/vfprintf.: Likewise.
16404 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16406 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16408 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16409 (__signbit): Likwise.
16410 (llrintf): Likwise.
16413 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16415 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16418 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16420 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16421 OVERFLOW_EXCEPTION_OK.
16422 * math/libm-test.inc ("Philosophy"): Update comment about
16424 (OVERFLOW_EXCEPTION): Define.
16425 (OVERFLOW_EXCEPTION_OK): Likewise.
16426 (INVALID_EXCEPTION_OK): Renumber.
16427 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16428 (IGNORE_ZERO_INF_SIGN): Likewise.
16429 (test_exceptions): Handle FE_OVERFLOW.
16430 (exp10_test): Expect overflow exceptions.
16431 (exp2_test): Likewise.
16432 (expm1_test): Likewise.
16433 (nextafter_test): Likewise.
16434 (pow_test): Likewise.
16435 (scalbn_test): Likewise.
16436 (scalbln_test): Likewise.
16438 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16440 * sysdeps/x86_64/bits/atomic.h
16441 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16443 (atomic_exchange_acq): Likewise.
16444 (__arch_exchange_and_add_body): Likewise.
16445 (__arch_add_body): Likewise.
16446 (atomic_add_negative): Likewise.
16447 (atomic_add_zero): Likewise.
16449 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16451 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16452 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16454 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16456 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16457 Check __x86_64__ instead of __WORDSIZE.
16459 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16461 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16463 2012-03-19 David S. Miller <davem@davemloft.net>
16465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16467 * sysdeps/sparc/fpu/fenv_private.h: New file.
16468 * sysdeps/sparc/fpu/math_private.h: Use it.
16469 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16471 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16472 (libc_feholdexcept_setroundl): Remove.
16473 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16475 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16476 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16478 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16480 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16481 int64_t instead of long int.
16482 (INSERT_WORDS64): Likwise.
16484 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16486 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16487 _Unwind_GetCFA return to _Unwind_Ptr first.
16489 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16492 * math/s_clog.c: Include <float.h>.
16493 (__clog): Scale large or subnormal inputs.
16494 * math/s_clogf.c: Likewise.
16495 * math/s_clogl.c: Likewise.
16496 * math/s_clog10.c: Include <float.h>.
16497 (M_LOG10_2): Define.
16498 (__clog10): Scale large or subnormal inputs.
16499 * math/s_clog10f.c: Likewise.
16500 * math/s_clog10l.c: Likewise.
16501 * math/libm-test.inc (clog_test): Add more tests.
16502 (clog10_test): Likewise.
16503 * sysdeps/i386/fpu/libm-test-ulps: Update.
16504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16507 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16509 * math/libm-test.inc (atan2_test): Add another test.
16511 * Makerules (common-objdir-compile): Remove.
16512 * sysdeps/unix/Makefile (config-generated): Do not add
16513 $(unix-generated) to variable.
16514 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16515 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16517 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16519 [generic bits/local_lim.h] (before-compile): Do not append to
16521 [generic bits/local_lim.h] (common-generated): Likewise.
16522 [generic sys/param.h] (before-compile): Do not append to variable.
16523 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16524 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16525 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16526 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16528 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16529 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16530 [generic sys/param.h] ($(addprefix
16531 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16532 [generic sys/param.h] (common-generated): Do not append to
16534 [generic sys/param.h] (sysdep_headers): Likewise.
16535 [generic bits/errno.h] (before-compile): Do not append to
16537 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16539 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16540 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16541 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16542 [generic bits/errno.h] (common-generated): Do not append to
16544 [generic bits/ioctls.h] (before-compile): Do not append to
16546 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16548 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16549 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16550 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16552 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16553 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16554 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16555 [generic bits/ioctls.h] (common-generated): Do not append to
16557 [generic sys/syscall.h] (syscall.h): Remove variable.
16558 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16560 [generic sys/syscall.h] (before-compile): Do not append to
16562 [generic sys/syscall.h] (common-generated): Likewise.
16563 * sysdeps/unix/errnos-tmpl.c: Remove file.
16564 * sysdeps/unix/errnos.awk: Likewise.
16565 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16566 * sysdeps/unix/ioctls.awk: Likewise.
16567 * sysdeps/unix/mk-local_lim.c: Likewise.
16568 * sysdeps/unix/snarf-ioctls: Likewise.
16570 2012-03-19 Richard Henderson <rth@twiddle.net>
16572 * sysdeps/i386/fpu/fenv_private.h: New file.
16573 * sysdeps/i386/fpu/math_private.h: Use it.
16574 (math_opt_barrier, math_force_eval): Remove.
16575 (libc_feholdexcept_setround_53bit): Remove.
16576 (libc_feupdateenv_53bit): Remove.
16577 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16578 (math_opt_barrier, math_force_eval): Remove.
16579 (libc_feholdexcept): Remove.
16580 (libc_feholdexcept_setround): Remove.
16581 (libc_fetestexcept, libc_fesetenv): Remove.
16582 (libc_feupdateenv_test): Remove.
16583 (libc_feupdateenv, libc_feholdsetround): Remove.
16584 (libc_feresetround): Remove.
16586 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16587 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16589 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16590 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16591 (libc_feupdateenv_testl): New.
16592 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16593 (libc_feupdateenv_testf): New.
16594 (libc_feupdateenv): Use libc_feupdateenv_test.
16595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16596 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16598 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16599 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16600 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16601 (libc_feresetround_noex): New.
16602 (libc_feresetround_noexf): New.
16603 (libc_feresetround_noexl): New.
16604 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16605 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16606 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16607 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16612 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16613 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16614 SET_RESTORE_ROUND_NOEX.
16615 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16616 SET_RESTORE_ROUND_NOEXF.
16617 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16618 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16619 (libc_feholdsetroundf): New.
16620 (libc_feresetround, libc_feresetroundf): New.
16622 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16623 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16624 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16626 * sysdeps/generic/math_private.h: Include <fenv.h>.
16627 (default_libc_feholdexcept): New.
16628 (default_libc_feholdexcept_setround): New.
16629 (default_libc_fesetenv, default_libc_feupdateenv): New.
16630 (libc_feholdexcept): Only define if undefined.
16631 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16632 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16633 (libc_feholdexcept_setroundl): Likewise.
16634 (libc_feholdexcept_setround_53bit): Likewise.
16635 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16636 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16637 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16638 (libc_feupdateenv_53bit): Likewise.
16639 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16640 (libc_feholdexcept): Convert from macro to inline function.
16641 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16642 (libc_fesetenv, libc_feupdateenv): Likewise.
16644 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16645 not previously defined.
16646 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16647 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16648 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16649 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16650 * sysdeps/ieee754/flt-32/math_private.h: New file.
16651 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16652 math_private.h below SET_FLOAT_WORD.
16653 (__isnan, __isinf_ns, __finite): Remove.
16654 (__isnanf, __isinf_nsf, __finitef): Remove.
16656 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16660 2012-03-17 David S. Miller <davem@davemloft.net>
16663 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16666 2012-03-16 David S. Miller <davem@davemloft.net>
16668 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16672 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16674 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16675 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16676 sysdep_routines when subdir is sysvipc.
16677 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16678 __getshmlba helper.
16680 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16682 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16684 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16687 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16689 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16690 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16691 (__lround): Renamed to ...
16692 (__llround): This. Replace long int with long long int.
16693 Define lround functions as aliases of llround functions.
16694 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16696 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16698 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16699 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16700 adresses to uintptr_t. Replace "long int" and "unsigned long
16701 int" with "greg_t" on va_arg.
16703 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16705 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16706 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16708 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16709 Move e_machine check before EI_CLASS check. Handle x32
16710 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16711 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16712 SKIP_EM_IA_64 and include
16713 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16715 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16716 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16717 (add_system_dir): New macro.
16719 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16720 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16722 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16733 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16735 * math/w_j0f.c (j0f): Likewise.
16737 * math/w_j0l.c (__j0l): Likewise.
16739 * math/w_j1.c (j1): Likewise.
16741 * math/w_j1f.c (j1f): Likewise.
16743 * math/w_j1l.c (__j1l): Likewise.
16745 * math/w_jn.c (jn): Likewise.
16747 * math/w_jnf.c (jnf): Likewise.
16749 * math/w_jnl.c (__jnl): Likewise.
16751 * math/libm-test.inc (j0_test): Add more tests.
16752 (j1_test): Likewise.
16753 (jn_test): Likewise. Add trailing semicolon to existing test.
16754 (y0_test): Likewise.
16755 (y1_test): Likewise.
16756 * sysdeps/i386/fpu/libm-test-ulps: Update.
16757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16761 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16762 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16763 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16764 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16765 (__tanl): Set errno for infinite argument.
16766 * sysdeps/i386/fpu/mptan.c: Remove.
16767 * sysdeps/i386/fpu/s_tan.S: Likewise.
16768 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16769 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16770 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16771 * math/libm-test.inc (tan_test): Add more tests and enable more
16772 tests for double and long double.
16773 * sysdeps/i386/fpu/libm-test-ulps: Update.
16774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16776 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16778 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16779 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16781 2012-03-16 Roland McGrath <roland@hack.frob.com>
16783 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16784 * configure.in: Use it for both main tree and add-ons.
16785 * configure: Regenerated.
16787 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16789 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16791 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16793 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16797 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16798 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16803 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16805 != 0 for prec == 2.
16806 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16807 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16808 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16809 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16810 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16811 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16812 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16813 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16814 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16815 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16816 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16817 * math/libm-test.inc (cos_test): Add more tests and enable more
16818 tests for long double.
16819 (sin_test): Likewise.
16820 (sincos_test): Likewise.
16821 * sysdeps/i386/fpu/libm-test-ulps: Update.
16822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16824 2012-03-16 David S. Miller <davem@davemloft.net>
16826 * sysdeps/sparc/fpu/math_private.h: New file.
16828 2012-03-15 David S. Miller <davem@davemloft.net>
16830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16840 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16844 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16845 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16847 * sysdeps/sparc/sparc-ifunc.h: New file.
16848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16874 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16887 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16888 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16889 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16890 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16891 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16893 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16895 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16899 2012-03-15 Andreas Jaeger <aj@suse.de>
16902 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16903 ieee754/flt-32 implementation for sin, cos and sincos.
16904 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16905 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16906 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16907 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16908 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16909 ieee754/flt-32 implementation for tan.
16911 * math/libm-test.inc (cos_test): Enable some large input tests for
16913 (sin_test): Likewise.
16914 (sincos_test): Likewise.
16915 (tan_test): Add tests for large input.
16917 * sysdeps/i386/fpu/libm-test-ulps: Update.
16919 2012-03-15 Andreas Jaeger <aj@suse.de>
16922 * math/libm-test.inc (cos_test): Add more test cases.
16923 (sin_test): Likewise.
16924 (sincos_test): Likewise.
16926 2012-03-15 Andreas Jaeger <aj@suse.de>
16929 * math/libm-test.inc (cos_test): Add a test case for large input
16931 (sin_test): Likewise.
16932 (sincos_test): Likewise.
16934 2012-03-15 Andreas Jaeger <aj@suse.de>,
16935 Joseph Myers <joseph@codesourcery.com>
16938 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16939 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16940 * sysdeps/i386/fpu/branred.c: Likewise.
16941 * sysdeps/i386/fpu/dosincos.c: Likewise.
16942 * sysdeps/i386/fpu/mpa.c: Likewise.
16943 * sysdeps/i386/fpu/s_cos.S: Likewise.
16944 * sysdeps/i386/fpu/s_sin.S: Likewise.
16945 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16946 * sysdeps/i386/fpu/sincos32.c: Likewise.
16948 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16950 (libc_feupdateenv_53bit): Define.
16951 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16953 (libc_feupdateenv_53bit): Define.
16955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16956 53 bit (without extend i386 double precision).
16958 * math/libm-test.inc (sincos_test): Add tests for large input.
16962 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16964 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16968 2012-03-15 David S. Miller <davem@davemloft.net>
16970 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16971 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16972 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16973 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16998 fmin/fmax sysdep routines.
16999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17001 2012-03-14 David S. Miller <davem@davemloft.net>
17003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17007 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17008 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17009 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17010 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17023 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17024 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17025 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17026 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17027 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17028 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17029 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17030 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17075 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17080 * sysdeps/sparc/configure.in: New file.
17081 * sysdeps/sparc/configure: Generate.
17082 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17083 * configure: Regenerate.
17084 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17085 * config.make.in (have-as-vis3): New.
17086 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17087 available use -Av9d instead of -Av9a.
17088 * sysdeps/sparc/sparc64/Makefile: Likewise.
17089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17099 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17100 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17101 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17102 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17104 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17105 fzeros/fnegs to load 0x80000000 into a float register instead of
17107 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17109 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17113 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17114 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17115 ($(inst_includedir)/bits/syscall.h): Remove rule.
17116 ($(objpfx)bits/syscall.d): Include instead of
17117 $(objpfx)syscall-list.d.
17118 (generated): Change syscall-list.h and syscall-list.d to
17119 bits/syscall.h and bits/syscall.d.
17121 2012-03-14 Roland McGrath <roland@hack.frob.com>
17124 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17126 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17129 * math/s_csqrt.c: Include <float.h>.
17130 (__csqrt): Scale large or subnormal inputs.
17131 * math/s_csqrtf.c: Likewise.
17132 * math/s_csqrtl.c: Likewise.
17133 * math/libm-test.inc (csqrt_test): Add more tests.
17134 * sysdeps/i386/fpu/libm-test-ulps: Update.
17135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17138 * math/libm-test.inc (hypot_test): Add more tests.
17140 2012-03-13 David S. Miller <davem@davemloft.net>
17143 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17144 double-precision for the calculation instead of scaling.
17146 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17148 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17149 manipulate bits before adding and subtracting TWO52[sx].
17150 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17151 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17153 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17155 2012-03-13 David S. Miller <davem@davemloft.net>
17157 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17158 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17159 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17160 rtld-global-offsets.h
17161 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17163 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17166 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17168 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17169 'err' in the ifdef scope in which it is actually used.
17171 * nss/nss_db/db-init.c: Include string.h
17173 2012-03-12 David S. Miller <davem@davemloft.net>
17175 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17176 masking out of the most significant byte of random value used.
17177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17178 Fix coding style in previous change.
17180 * sysdeps/unix/sysv/linux/kernel-features.h
17181 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17182 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17184 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17187 2012-03-11 David S. Miller <davem@davemloft.net>
17189 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17190 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17191 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17192 for 'resultvar' otherwise things get truncated on 64-bit.
17194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17195 Fix masking out of the most significant byte of random value used.
17197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17199 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17203 2012-03-09 David S. Miller <davem@davemloft.net>
17205 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17206 variables with appropriate CPP guards.
17207 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17208 frame pointer, not the stack pointer. Correct layout comments. Fix test
17209 on resulting framesize and the management of the outregs buffer for pltexit.
17210 Preserve floating point return values across _dl_call_pltexit call.
17211 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17212 framesize and the management of the outregs buffer for pltexit.
17213 Preserve floating point return values across _dl_call_pltexit
17215 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17216 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17217 (print_exit): Fix format string for return register value.
17219 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17221 * sunrpc/Makefile (others): Add rpcgen.
17222 ($(objpfx)rpcgen): Remove special build rule and dependency on
17224 * sunrpc/rpcgen.c: New file.
17226 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17229 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17230 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17231 * sysdeps/i386/crti.S: Likewise.
17232 * sysdeps/i386/crtn.S: Likewise.
17233 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17234 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17235 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17236 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17237 * sysdeps/sh/crti.S: Likewise.
17238 * sysdeps/sh/crtn.S: Likewise.
17239 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17242 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17244 * locale/programs/locfile-kw.gperf: Likewise.
17245 * locale/programs/charmap-kw.h: Regenerated.
17246 * locale/programs/locfile-kw.h: Likewise.
17249 * intl/plural.y: Replace FSF snail mail address with URL.
17250 * intl/plural.c: Regenerated.
17252 2012-03-09 Richard Henderson <rth@twiddle.net>
17254 * include/math_private.h: Remove file.
17255 * math/math_private.h: Move file ...
17256 * sysdeps/generic/math_private.h: ... here.
17258 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17259 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17260 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17262 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17263 and <math_private.h>.
17264 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17265 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17266 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17267 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17268 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17269 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17270 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17271 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17272 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17273 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17275 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17276 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17277 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17278 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17279 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17280 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17281 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17283 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17285 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17286 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17288 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17289 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17290 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17291 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17293 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17294 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17295 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17296 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17297 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17298 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17299 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17300 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17301 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17302 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17303 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17304 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17305 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17306 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17307 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17308 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17309 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17310 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17311 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17312 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17313 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17314 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17315 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17316 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17318 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17319 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17335 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17337 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17338 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17344 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17345 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17351 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17352 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17353 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17354 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17355 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17356 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17357 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17358 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17359 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17360 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17361 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17362 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17363 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17364 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17365 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17366 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17367 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17368 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17369 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17370 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17371 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17372 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17373 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17374 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17375 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17376 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17377 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17378 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17379 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17380 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17381 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17382 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17383 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17384 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17385 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17386 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17387 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17388 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17389 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17390 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17391 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17392 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17393 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17394 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17395 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17396 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17397 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17398 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17399 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17400 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17401 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17402 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17403 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17404 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17405 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17406 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17407 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17408 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17409 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17410 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17411 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17412 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17413 * sysdeps/ieee754/k_standard.c: Likewise.
17414 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17415 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17416 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17418 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17421 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17422 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17423 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17424 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17442 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17445 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17446 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17521 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17526 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17529 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17533 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17534 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17535 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17536 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17539 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17541 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17542 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17543 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17546 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17551 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17552 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17553 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17554 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17555 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17556 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17557 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17558 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17559 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17560 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17562 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17563 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17564 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17565 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17566 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17567 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17569 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17570 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17571 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17572 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17573 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17574 * sysdeps/ieee754/s_lib_version.c: Likewise.
17575 * sysdeps/ieee754/s_matherr.c: Likewise.
17576 * sysdeps/ieee754/s_signgam.c: Likewise.
17577 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17578 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17579 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17580 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17581 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17582 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17583 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17584 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17585 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17586 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17587 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17588 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17589 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17590 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17591 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17592 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17593 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17594 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17595 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17596 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17597 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17599 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17601 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17602 * sunrpc/rpc_main.c: Likewise.
17603 * sunrpc/rpc_svcout.c: Likewise.
17605 2012-03-09 David S. Miller <davem@davemloft.net>
17607 * include/math_private.h: New file.
17609 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17611 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17612 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17613 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17614 from <bits/socket_type.h>.
17615 (enum __socket_type): Don't define here.
17616 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17618 bits/socket_type.h.
17621 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17622 checking __USE_GNU.
17624 * Makerules ($(inst_includedir)/%.h): New rule.
17625 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17626 (install-others): Remove variable setting.
17627 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17629 2012-03-08 Richard Henderson <rth@twiddle.net>
17631 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17632 from macro to inline function; merge with the
17633 !__LIBC_INTERNAL_MATH_INLINES version.
17634 (__ieee754_sqrtf): Likewise.
17636 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17637 to inline function.
17638 (__rintf, __floor, __floorf): Likewise.
17640 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17641 macro to inline function.
17642 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17644 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17645 not <math/math_private.h>.
17647 2012-03-08 David S. Miller <davem@davemloft.net>
17649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17651 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17653 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17655 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17657 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17658 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17660 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17662 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17663 be defined individually, they must be defined as a block. Define
17664 S for printing a string instead of hidint the different by using a
17665 macro for adding the 'l'.
17666 * stdio-common/tst-fphex-wide.c: Adjust.
17668 2012-03-07 Marek Polacek <polacek@redhat.com>
17670 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17672 2012-03-08 Marek Polacek <polacek@redhat.com>
17675 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17676 * stdio-common/tst-fphex.c: Define a few macros to make the
17677 test reusable. Use them.
17678 * stdio-common/tst-fphex-wide.c: New file.
17680 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17683 * manual/macros.texi (gnusystems): New macro.
17684 (nongnusystems): Likewise.
17685 (gnulinuxhurdsystems): Likewise.
17686 (gnuhurdsystems): Likewise..
17687 (gnulinuxsystems): Likewise.
17688 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17689 variants of the GNU system, not "GNU system".
17690 * manual/conf.texi: Likewise.
17691 * manual/errno.texi: Likewise. Update example of errno macro
17693 * manual/filesys.texi: Likewise.
17694 (getumask): Document as specific to GNU/Hurd.
17695 * manual/install.texi: Likewise. Reword some references to
17697 * manual/intro.texi: Likewise.
17698 * manual/io.texi: Likewise.
17699 (File Name Portability): Detail which constraints are inapplicable
17700 to all GNU systems and which are only inapplicable to GNU/Hurd.
17701 * manual/job.texi: Likewise.
17702 * manual/llio.texi: Likewise.
17703 (O_NOCTTY): Document as present on GNU/Linux.
17704 * manual/maint.texi: Likewise.
17705 * manual/memory.texi: Likewise.
17706 * manual/pattern.texi: Likewise.
17707 * manual/pipe.texi: Likewise.
17708 * manual/process.texi: Likewise.
17709 * manual/resource.texi: Likewise.
17710 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17712 * manual/setjmp.texi: Likewise.
17713 * manual/signal.texi: Likewise.
17714 * manual/startup.texi: Likewise.
17715 * manual/stdio.texi: Likewise.
17716 * manual/terminal.texi: Likewise.
17717 (ONLCR): Document as POSIX.
17718 (OXTABS): Document availability on GNU/Linux as XTABS.
17719 (ONOEOT): Document availability separately from other bits.
17720 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17721 * manual/time.texi: Likewise.
17722 * manual/users.texi: Likewise.
17723 * INSTALL: Regenerated.
17724 * sysdeps/gnu/errlist.c: Regenerated.
17726 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17727 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17728 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17730 * configure: Regenerated.
17732 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17734 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17735 default includes instead of AC_HEADER_CHECK.
17736 * sysdeps/i386/configure: Regenerated.
17739 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17740 * math/s_cacoshf.c (__cacoshf): Likewise.
17741 * math/s_cacoshl.c (__cacoshl): Likewise.
17742 * math/s_casinh.c (__casinh): Set signs of result from argument.
17743 * math/s_casinhf.c (__casinhf): Likewise.
17744 * math/s_casinhl.c (__casinhl): Likewise.
17745 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17746 (casinh_test): Add more tests.
17747 * sysdeps/i386/fpu/libm-test-ulps: Update.
17748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17750 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17752 * po/zh_TW.po: Update from translation team.
17754 * login/Makefile (distribute): Remove variable.
17755 * catgets/Makefile: Likewise.
17756 * mach/Makefile: Likewise.
17757 * malloc/Makefile: Likewise.
17758 * misc/Makefile: Likewise.
17759 * iconv/Makefile: Likewise.
17760 * nscd/Makefile: Likewise.
17761 * hurd/Makefile: Likewise.
17762 * manual/Makefile: Likewise.
17763 * locale/Makefile: Likewise.
17764 * intl/Makefile: Likewise.
17765 * conform/Makefile: Likewise.
17766 * nss/Makefile: Likewise.
17767 * time/Makefile: Likewise.
17768 * soft-fp/Makefile: Likewise.
17769 * dirent/Makefile: Likewise.
17770 * gmon/Makefile: Likewise.
17771 * po/Makefile: Likewise.
17772 * rt/Makefile: Likewise.
17773 * socket/Makefile: Likewise.
17774 * math/Makefile: Likewise.
17775 * signal/Makefile: Likewise.
17776 * debug/Makefile: Likewise.
17777 * elf/Makefile: Likewise.
17778 * timezone/Makefile: Likewise.
17779 * stdlib/Makefile: Likewise.
17780 * iconvdata/Makefile: Likewise.
17781 * sunrpc/Makefile: Likewise.
17782 * io/Makefile: Likewise.
17783 * argp/Makefile: Likewise.
17784 * inet/Makefile: Likewise.
17785 * hesiod/Makefile: Likewise.
17786 * grp/Makefile: Likewise.
17787 * csu/Makefile: Likewise.
17788 * wctype/Makefile: Likewise.
17789 * crypt/Makefile: Likewise.
17790 * libio/Makefile: Likewise.
17791 * string/Makefile: Likewise.
17792 * nis/Makefile: Likewise.
17793 * resolv/Makefile: Likewise.
17794 * stdio-common/Makefile: Likewise.
17795 * wcsmbs/Makefile: Likewise.
17796 * dlfcn/Makefile: Likewise.
17797 * posix/Makefile: Likewise.
17800 * timezone/Makefile: Don't install timezone files, just the programs
17803 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17805 * nss/databases.def: Add missing gshadow entry.
17807 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17809 2012-03-06 Marek Polacek <polacek@redhat.com>
17812 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17813 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17814 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17815 * stdio-common/tst-long-dbl-fphex.c: New file.
17817 2012-03-06 David S. Miller <davem@davemloft.net>
17819 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17820 (set_obp_int): New function.
17821 (get_obp_int): New function.
17822 (__get_clockfreq_via_dev_openprom): Likewise.
17823 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17824 Avoid unused variable warnings on 'val' and use builtin_expect.
17825 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17827 (INLINE_CLONE_SYSCALL): Likewise.
17829 2012-03-05 David S. Miller <davem@davemloft.net>
17831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17833 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17837 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17838 only for |x| >= 40.
17839 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17841 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17844 Replace gettimeofday with __vdso_gettimeofday.
17846 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17847 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17848 __vdso_clock_gettime and __vdso_getcpu.
17850 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17851 time with __vdso_time.
17853 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17855 * manual/lang.texi (size_t): Note types to which size_t may be
17856 equivalent with the GNU C Library, but do not describe when
17857 differences between them are significant.
17859 2012-03-05 Andreas Jaeger <aj@suse.de>
17861 * sysdeps/i386/fpu/libm-test-ulps: Update.
17863 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17866 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17867 (__ieee754_pow): Save and restore rounding mode and use
17868 round-to-nearest for main computations.
17869 * math/libm-test.inc (pow_test_tonearest): New function.
17870 (pow_test_towardzero): Likewise.
17871 (pow_test_downward): Likewise.
17872 (pow_test_upward): Likewise.
17873 (main): Call the new functions.
17874 * sysdeps/i386/fpu/libm-test-ulps: Update.
17875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17878 * math/libm-test.inc (cosh_test_tonearest): New function.
17879 (cosh_test_towardzero): Likewise.
17880 (cosh_test_downward): Likewise.
17881 (cosh_test_upward): Likewise.
17882 (sinh_test_tonearest): Likewise.
17883 (sinh_test_towardzero): Likewise.
17884 (sinh_test_downward): Likewise.
17885 (sinh_test_upward): Likewise.
17886 (main): Call the new functions.
17887 * sysdeps/i386/fpu/libm-test-ulps: Update.
17888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17890 2012-03-05 Tom de Vries <tom@codesourcery.com>
17892 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17893 default stack guard is set in last bytes.
17894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17896 2012-03-05 Kees Cook <keescook@chromium.org>
17898 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17901 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17902 possibly allocate from heap instead of stack.
17903 * stdio-common/bug-vfprintf-nargs.c: New file.
17904 * stdio-common/Makefile (tests): Add nargs overflow test.
17906 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17910 2012-03-03 Marek Polacek <polacek@redhat.com>
17912 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17913 * math/math_private.h: Likewise.
17914 * stdlib/tst-strtod.c: Likewise.
17915 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17916 * sysdeps/x86_64/bits/atomic.h: Likewise.
17918 2012-03-02 David S. Miller <davem@davemloft.net>
17920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17924 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17925 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17926 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17927 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17929 2012-03-02 Roland McGrath <roland@hack.frob.com>
17932 * manual/examples/README: New file, says the example source files
17933 can be used under GPL>=2.
17934 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17935 line containing just "*/".
17936 * manual/examples/add.c: Add copyright header (GPL>=2).
17937 * manual/examples/argp-ex1.c: Likewise.
17938 * manual/examples/argp-ex2.c: Likewise.
17939 * manual/examples/argp-ex3.c: Likewise.
17940 * manual/examples/argp-ex4.c: Likewise.
17941 * manual/examples/atexit.c: Likewise.
17942 * manual/examples/db.c: Likewise.
17943 * manual/examples/dir.c: Likewise.
17944 * manual/examples/dir2.c: Likewise.
17945 * manual/examples/execinfo.c: Likewise.
17946 * manual/examples/filecli.c: Likewise.
17947 * manual/examples/filesrv.c: Likewise.
17948 * manual/examples/fmtmsgexpl.c: Likewise.
17949 * manual/examples/genpass.c: Likewise.
17950 * manual/examples/inetcli.c: Likewise.
17951 * manual/examples/inetsrv.c: Likewise.
17952 * manual/examples/isockad.c: Likewise.
17953 * manual/examples/longopt.c: Likewise.
17954 * manual/examples/memopen.c: Likewise.
17955 * manual/examples/memstrm.c: Likewise.
17956 * manual/examples/mkfsock.c: Likewise.
17957 * manual/examples/mkisock.c: Likewise.
17958 * manual/examples/mygetpass.c: Likewise.
17959 * manual/examples/pipe.c: Likewise.
17960 * manual/examples/popen.c: Likewise.
17961 * manual/examples/rprintf.c: Likewise.
17962 * manual/examples/search.c: Likewise.
17963 * manual/examples/select.c: Likewise.
17964 * manual/examples/setjmp.c: Likewise.
17965 * manual/examples/sigh1.c: Likewise.
17966 * manual/examples/sigusr.c: Likewise.
17967 * manual/examples/stpcpy.c: Likewise.
17968 * manual/examples/strdupa.c: Likewise.
17969 * manual/examples/strftim.c: Likewise.
17970 * manual/examples/strncat.c: Likewise.
17971 * manual/examples/subopt.c: Likewise.
17972 * manual/examples/swapcontext.c: Likewise.
17973 * manual/examples/termios.c: Likewise.
17974 * manual/examples/testopt.c: Likewise.
17975 * manual/examples/testpass.c: Likewise.
17976 * manual/examples/timeval_subtract.c: Likewise.
17979 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17981 * manual/timeval_subtract.c.texi: ... here, new file.
17983 2012-03-02 David S. Miller <davem@davemloft.net>
17985 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17987 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17990 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17991 (__sin): Save and restore rounding mode and use round-to-nearest
17992 for all computations.
17993 (__cos): Save and restore rounding mode and use round-to-nearest
17994 for all computations.
17995 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17997 (tan): Save and restore rounding mode and use round-to-nearest for
17999 * math/libm-test.inc (cos_test_tonearest): New function.
18000 (cos_test_towardzero): Likewise.
18001 (cos_test_downward): Likewise.
18002 (cos_test_upward): Likewise.
18003 (sin_test_tonearest): Likewise.
18004 (sin_test_towardzero): Likewise.
18005 (sin_test_downward): Likewise.
18006 (sin_test_upward): Likewise.
18007 (tan_test_tonearest): Likewise.
18008 (tan_test_towardzero): Likewise.
18009 (tan_test_downward): Likewise.
18010 (tan_test_upward): Likewise.
18011 (main): Call the new functions.
18012 * sysdeps/i386/fpu/libm-test-ulps: Update.
18013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18016 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18017 small n, then large n, before computing and testing k+n.
18018 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18019 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18023 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18024 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18025 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18026 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18027 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18029 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18030 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18031 * math/libm-test.inc (scalbn_test): Add more tests.
18032 (scalbln_test): Likewise.
18034 * manual/filesys.texi (mode_t): Describe constraints on size and
18035 signedness, not exact equivalence to a particular type.
18037 (ino64_t): Likewise.
18039 (nlink_t): Likewise.
18040 (blkcnt_t): Likewise.
18041 (blkcnt64_t): Likewise.
18042 * manual/llio.texi (off_t): Likewise.
18045 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18046 (__ieee754_exp): Save and restore rounding mode and use
18047 round-to-nearest for all computations.
18048 * math/libm-test.inc (exp_test_tonearest): New function.
18049 (exp_test_towardzero): Likewise.
18050 (exp_test_downward): Likewise.
18051 (exp_test_upward): Likewise.
18052 (main): Call the new functions.
18053 * sysdeps/i386/fpu/libm-test-ulps: Update.
18054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18056 2012-03-01 Chris Demetriou <cgd@google.com>
18058 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18059 have predictable order.
18061 2012-03-01 David S. Miller <davem@davemloft.net>
18063 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18065 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18066 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18067 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18068 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18070 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18071 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18072 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18074 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18075 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18076 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18077 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18078 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18082 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18083 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18084 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18086 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18087 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18088 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18089 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18090 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18091 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18092 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18093 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18094 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18095 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18096 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18097 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18098 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18099 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18100 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18101 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18102 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18103 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18104 * sysdeps/sparc/elf/configure: Regenerated.
18106 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18108 * configure.in (AS, LD): Require binutils 2.20 or later.
18109 * configure: Regenerated.
18110 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18111 as required minimum version.
18112 * INSTALL: Regenerated.
18116 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18117 before squaring exponent.
18118 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18119 bottom long double and 27 bits of top long double before squaring
18121 * math/libm-test.inc (erfc_test): Add more tests.
18122 * sysdeps/i386/fpu/libm-test-ulps: Update.
18123 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18126 2012-03-01 Kai Tietz <ktietz@redhat.com>
18128 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18129 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18130 containing bit-fields.
18131 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18132 * soft-fp/single.h (_FP_UNION_S): Likewise.
18133 * soft-fp/double.h (_FP_UNION_D): Likewise.
18135 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18138 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18139 not include ../strcmp.S.
18140 [USE_AS_STRNCASECMP_L]: Likewise.
18141 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18142 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18143 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18144 (__strncasecmp_l_ia32): Define as alias to
18145 __strncasecmp_l_nonascii.
18148 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18149 * sysdeps/i386/fpu/libm-test-ulps: Update.
18150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18152 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18155 2012-02-29 Jeff Law <law@redhat.com>
18157 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18158 out of bounds read.
18160 2012-02-29 Marek Polacek <polacek@redhat.com>
18163 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18164 * elf/Makefile: Add rules to run tst-unused-dep.out.
18166 2012-02-28 David S. Miller <davem@davemloft.net>
18168 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18169 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18170 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18171 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18172 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18173 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18175 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18177 * math/libm-test.inc (llround_test): Move one test from
18178 lround_test. Use TEST_f_L in moved test.
18179 (lround_test): Move misplaced test to llround_test. Add testcase
18182 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18184 * sysdeps/x86_64/fpu/e_expf.S: New file.
18185 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18187 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18190 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18191 of remain_len that may cause incomplete multi-byte character and
18193 * posix/bug-regex33.c: New file.
18194 * posix/Makefile (tests): Add bug-regex33.
18196 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18198 * manual/macros.texi: New file.
18199 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18200 * manual/libc.texinfo: Include macros.texi.
18201 * manual/creatute.texi: Likewise.
18202 * manual/install.texi: Likewise.
18203 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18204 @glibcadj{} in references to the GNU C Library.
18205 * manual/charset.texi: Likewise.
18206 * manual/conf.texi: Likewise.
18207 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18208 when not using those macros.
18209 * manual/creature.texi: Likewise.
18210 * manual/crypt.texi: Likewise.
18211 * manual/errno.texi: Likewise.
18212 * manual/filesys.texi: Likewise.
18213 * manual/header.texi: Likewise.
18214 * manual/install.texi: Likewise.
18215 * manual/intro.texi: Likewise.
18216 * manual/io.texi: Likewise.
18217 * manual/job.texi: Likewise.
18218 * manual/lang.texi: Likewise.
18219 * manual/libc.texiinfo: Likewise.
18220 * manual/llio.texi: Likewise.
18221 * manual/locale.texi: Likewise.
18222 * manual/maint.texi: Likewise.
18223 * manual/math.texi: Likewise.
18224 * manual/memory.texi: Likewise.
18225 * manual/message.texi: Likewise.
18226 * manual/nss.texi: Likewise.
18227 * manual/pattern.texi: Likewise.
18228 * manual/process.texi: Likewise.
18229 * manual/resource.texi: Likewise.
18230 * manual/search.texi: Likewise.
18231 * manual/setjmp.texi: Likewise.
18232 * manual/signal.texi: Likewise.
18233 * manual/socket.texi: Likewise.
18234 * manual/startup.texi: Likewise.
18235 * manual/stdio.texi: Likewise.
18236 * manual/string.texi: Likewise.
18237 * manual/sysinfo.texi: Likewise.
18238 * manual/syslog.texi: Likewise.
18239 * manual/terminal.texi: Likewise.
18240 * manual/time.texi: Likewise.
18241 * manual/users.texi: Likewise.
18242 * INSTALL: Regenerated.
18243 * NOTES: Regenerated.
18244 * sysdeps/gnu/errlist.c: Regenerated.
18246 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18248 * include/dirent.h: Include <dirstream.h> before
18251 2012-02-28 David S. Miller <davem@davemloft.net>
18253 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18254 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18255 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18256 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18258 2012-02-27 David S. Miller <davem@davemloft.net>
18260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18262 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18263 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18266 frame pointer instead of stack pointer relative arg slot.
18267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18268 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18269 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18271 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18274 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18276 2012-02-27 David S. Miller <davem@davemloft.net>
18278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18284 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18285 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18287 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18289 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18290 later. Allow versions 5-9.
18291 * configure: Regenerated.
18292 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18293 required minimum version and 4.6 as recommended version. Do not
18294 mention bugs in GCC 2.7 and 2.8.
18295 * INSTALL: Regenerated.
18297 2012-02-27 David S. Miller <davem@davemloft.net>
18299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18303 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18304 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18305 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18306 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18308 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18309 manipulate bits before adding and subtracting TWO112[sx].
18310 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18312 2012-02-27 Roland McGrath <roland@hack.frob.com>
18315 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18316 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18317 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18318 being in POSIX, because they are in 1003.1-2008.
18320 * rt/tst-aio.c: Include <fcntl.h>.
18321 * rt/tst-aio7.c: Likewise.
18322 * rt/tst-aio64.c: Likewise.
18324 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18326 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18328 * manual/install.texi (--with-headers): Describe headers as
18329 interface headers, not private headers.
18330 (Specific advice for GNU/Linux systems): Describe use of headers
18331 from "make headers_install", not private headers from older
18333 * INSTALL: Regenerated.
18334 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18336 * sysdeps/unix/sysv/linux/configure: Regenerated.
18338 * manual/llio.texi (fclean): Remove documentation.
18340 * manual/Makefile (libc-texi-generated): New variable. Include
18342 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18343 $(libc-texi-generated), not duplicated list of files.
18344 (version.texi, stamp-version): New rules.
18345 (realclean): Remove $(libc-texi-generated), not individual files
18346 from that list. Do not remove dir-add.texinfo.
18347 * manual/libc.texinfo: Comment out uses of edition numbers and
18348 references to printed manual. Remove last-updated dates.
18349 (EDITION): Comment out.
18351 (VERSION, UPDATED): Remove.
18352 (version.texi): Include.
18354 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18356 * sysdeps/posix/spawni.c: Include <signal.h>.
18357 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18358 * sysdeps/pthread/aio_fsync.c: Likewise.
18360 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18362 * conform/Makefile (tests): Run only when not cross-compiling and
18363 when fast-check is not defined.
18365 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18366 * conform/data/limits.h-data: Fixes for POSIX2008.
18367 * conform/run-conformtest.sh: Run all tests.
18368 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18370 * include/bits/dlfcn.h: Likewise.
18371 * include/langinfo.h: Likewise.
18372 * include/monetary.h: Likewise.
18373 * include/sys/poll.h: Likewise.
18375 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18377 * posix/spawn.h: Define __need_sigset_t.
18378 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18379 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18380 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18381 to get sigevent_t only.
18382 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18383 only for __USE_GNU.
18384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18385 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18386 process_vm_writev only for __USE_GNU.
18387 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18389 * conform/Makefile: For now ignore errors from run-conformtest.
18390 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18391 POSIX to avoid namespace pollution. Don't prepend headers.
18392 * conform/data/aio.h-data: Fixes for POSIX testing.
18393 * conform/data/fcntl.h-data: Likewise.
18394 * conform/data/glob.h-data: Likewise.
18395 * conform/data/grp.h-data: Likewise.
18396 * conform/data/pthread.h-data: Likewise.
18397 * conform/data/pwd.h-data: Likewise.
18398 * conform/data/signal.h-data: Likewise.
18399 * conform/data/spawn.h-data: Likewise.
18400 * conform/data/stdio.h-data: Likewise.
18401 * conform/data/stdlib.h-data: Likewise.
18402 * conform/data/stropts.h-data: Likewise.
18403 * conform/data/sys/mman.h-data: Likewise.
18404 * conform/data/sys/stat.h-data: Likewise.
18405 * conform/data/sys/types.h-data: Likewise.
18406 * conform/data/sys/wait.h-data: Likewise.
18407 * conform/data/time.h-data: Likewise.
18408 * conform/data/unistd.h-data: Likewise.
18409 * conform/data/utime.h-data: Likewise.
18411 * io/sys/stat.h: fchmod was always in POSIX.
18412 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18413 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18414 * rt/aio.h: Define __need_timespec before including <time.h>.
18415 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18416 struct. Add forward declaration of pthread_attr_t and use it in
18418 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18419 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18420 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18421 always remove CLK_TCK definition.
18423 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18425 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18427 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18429 * conform/run-conformtest.sh: New file.
18430 * conform/Makefile: Run run-conformtest for tests.
18431 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18434 * conform/data/uchar.h-data: New file.
18435 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18436 * conform/data/arpa/inet.h-data: Likewise.
18437 * conform/data/assert.h-data: Likewise.
18438 * conform/data/complex.h-data: Likewise.
18439 * conform/data/cpio.h-data: Likewise.
18440 * conform/data/ctype.h-data: Likewise.
18441 * conform/data/dirent.h-data: Likewise.
18442 * conform/data/dlfcn.h-data: Likewise.
18443 * conform/data/errno.h-data: Likewise.
18444 * conform/data/fcntl.h-data: Likewise.
18445 * conform/data/float.h-data: Likewise.
18446 * conform/data/fmtmsg.h-data: Likewise.
18447 * conform/data/fnmatch.h-data: Likewise.
18448 * conform/data/ftw.h-data: Likewise.
18449 * conform/data/glob.h-data: Likewise.
18450 * conform/data/grp.h-data: Likewise.
18451 * conform/data/iconv.h-data: Likewise.
18452 * conform/data/inttypes.h-data: Likewise.
18453 * conform/data/langinfo.h-data: Likewise.
18454 * conform/data/libgen.h-data: Likewise.
18455 * conform/data/limits.h-data: Likewise.
18456 * conform/data/locale.h-data: Likewise.
18457 * conform/data/math.h-data: Likewise.
18458 * conform/data/monetary.h-data: Likewise.
18459 * conform/data/mqueue.h-data: Likewise.
18460 * conform/data/ndbm.h-data: Likewise.
18461 * conform/data/net/if.h-data: Likewise.
18462 * conform/data/netdb.h-data: Likewise.
18463 * conform/data/netinet/in.h-data: Likewise.
18464 * conform/data/nl_types.h-data: Likewise.
18465 * conform/data/poll.h-data: Likewise.
18466 * conform/data/pthread.h-data: Likewise.
18467 * conform/data/pwd.h-data: Likewise.
18468 * conform/data/regex.h-data: Likewise.
18469 * conform/data/sched.h-data: Likewise.
18470 * conform/data/search.h-data: Likewise.
18471 * conform/data/semaphore.h-data: Likewise.
18472 * conform/data/setjmp.h-data: Likewise.
18473 * conform/data/signal.h-data: Likewise.
18474 * conform/data/spawn.h-data: Likewise.
18475 * conform/data/stdarg.h-data: Likewise.
18476 * conform/data/stdio.h-data: Likewise.
18477 * conform/data/stdlib.h-data: Likewise.
18478 * conform/data/string.h-data: Likewise.
18479 * conform/data/strings.h-data: Likewise.
18480 * conform/data/stropts.h-data: Likewise.
18481 * conform/data/sys/ipc.h-data: Likewise.
18482 * conform/data/sys/mman.h-data: Likewise.
18483 * conform/data/sys/msg.h-data: Likewise.
18484 * conform/data/sys/resource.h-data: Likewise.
18485 * conform/data/sys/select.h-data: Likewise.
18486 * conform/data/sys/sem.h-data: Likewise.
18487 * conform/data/sys/shm.h-data: Likewise.
18488 * conform/data/sys/socket.h-data: Likewise.
18489 * conform/data/sys/stat.h-data: Likewise.
18490 * conform/data/sys/statvfs.h-data: Likewise.
18491 * conform/data/sys/time.h-data: Likewise.
18492 * conform/data/sys/timeb.h-data: Likewise.
18493 * conform/data/sys/times.h-data: Likewise.
18494 * conform/data/sys/types.h-data: Likewise.
18495 * conform/data/sys/uio.h-data: Likewise.
18496 * conform/data/sys/un.h-data: Likewise.
18497 * conform/data/sys/utsname.h-data: Likewise.
18498 * conform/data/sys/wait.h-data: Likewise.
18499 * conform/data/syslog.h-data: Likewise.
18500 * conform/data/tar.h-data: Likewise.
18501 * conform/data/termios.h-data: Likewise.
18502 * conform/data/utime.h-data: Likewise.
18503 * conform/data/utmpx.h-data: Likewise.
18504 * conform/data/varargs.h-data: Likewise.
18505 * conform/data/wchar.h-data: Likewise.
18506 * conform/data/wctype.h-data: Likewise.
18507 * conform/data/wordexp.h-data: Likewise.
18509 * include/stropts.h: New file.
18510 * include/uchar.h: New file.
18511 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18512 * include/assert.h: Likewise.
18513 * include/ctype.h: Likewise.
18514 * include/dirent.h: Likewise.
18515 * include/dlfcn.h: Likewise.
18516 * include/fcntl.h: Likewise.
18517 * include/fnmatch.h: Likewise.
18518 * include/glob.h: Likewise.
18519 * include/grp.h: Likewise.
18520 * include/libio.h: Likewise.
18521 * include/locale.h: Likewise.
18522 * include/math.h: Likewise.
18523 * include/net/if.h: Likewise.
18524 * include/netdb.h: Likewise.
18525 * include/netinet/in.h: Likewise.
18526 * include/pthread.h: Likewise.
18527 * include/pwd.h: Likewise.
18528 * include/regex.h: Likewise.
18529 * include/sched.h: Likewise.
18530 * include/search.h: Likewise.
18531 * include/setjmp.h: Likewise.
18532 * include/signal.h: Likewise.
18533 * include/stdio.h: Likewise.
18534 * include/stdlib.h: Likewise.
18535 * include/string.h: Likewise.
18536 * include/sys/cdefs.h: Likewise.
18537 * include/sys/mman.h: Likewise.
18538 * include/sys/msg.h: Likewise.
18539 * include/sys/resource.h: Likewise.
18540 * include/sys/select.h: Likewise.
18541 * include/sys/socket.h: Likewise.
18542 * include/sys/stat.h: Likewise.
18543 * include/sys/statvfs.h: Likewise.
18544 * include/sys/time.h: Likewise.
18545 * include/sys/times.h: Likewise.
18546 * include/sys/uio.h: Likewise.
18547 * include/sys/utsname.h: Likewise.
18548 * include/sys/wait.h: Likewise.
18549 * include/termios.h: Likewise.
18550 * include/time.h: Likewise.
18551 * include/ulimit.h: Likewise.
18552 * include/unistd.h: Likewise.
18553 * include/utime.h: Likewise.
18554 * include/wchar.h: Likewise.
18555 * include/wctype.h: Likewise.
18556 * include/wordexp.h: Likewise.
18558 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18560 * time/time.h: TIME_UTC must be a macro.
18561 Make timespec_get available for ISO C11 only as well.
18563 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18565 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18566 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18568 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18570 * configure.in: Use -o not -a in test for unsupported multi-arch.
18572 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18574 * manual/texinfo.tex: Update to version 2012-01-19.16.
18576 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18578 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18580 2012-02-24 Roland McGrath <roland@hack.frob.com>
18583 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18584 * manual/fdl-1.3.texi: New file.
18585 * manual/fdl-1.1.texi: File removed.
18588 * manual/libc.texinfo (FDL_VERSION): New @set.
18589 Use it for mention of FDL in cover text.
18590 (Documentation License): Use it in @include file name.
18592 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18593 Roland McGrath <roland@hack.frob.com>
18596 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18597 not LONG_LONG_MAX and LONG_LONG_MIN.
18598 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18599 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18601 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18603 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18607 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18608 manipulate bits before adding and subtracting TWO23[sx].
18609 * math/libm-test.inc (nearbyint_test): Add more tests.
18611 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18614 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18615 bits before adding and subtracting TWO23[sx].
18616 * math/libm-test.inc (rint_test): Add more tests.
18617 (rint_test_tonearest): Likewise.
18618 (rint_test_towardzero): Likewise.
18619 (rint_test_downward): Likewise.
18620 (rint_test_upward: Likewise.
18622 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18625 * include/stdc-predef.h: New file. Extracted from features.h.
18626 * include/features.h: Include stdc-predef.h.
18627 * Makefile (headers): Add stdc-predef.h.
18628 * CONFORMANCE (Compiler limitations): Update.
18630 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18632 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18634 2012-02-21 David S. Miller <davem@davemloft.net>
18636 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18637 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18639 2012-02-20 David S. Miller <davem@davemloft.net>
18641 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18642 using a normal save/restore sequence, rather than allocating a
18643 dummy stack frame just to store a frame pointer and restore.
18644 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18646 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18648 * manual/install.texi: Fix stray word in line-wrapped comment.
18650 2012-02-20 David S. Miller <davem@davemloft.net>
18652 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18653 both binutils and gcc support GOTDATA.
18655 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18656 "rd %pc" in the PIC register setup sequences.
18658 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18659 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18660 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18661 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18662 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18664 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18665 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18667 (SYSCALL_ERROR_HANDLER): Likewise.
18668 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18669 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18671 (SYSCALL_ERROR_HANDLER): Likewise.
18673 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18674 (HAVE_GCC_GOTDATA): New.
18675 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18676 relocation support in both binutils and gcc.
18677 * sysdeps/sparc/elf/configure: Regenerate.
18679 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18680 * sysdeps/sparc/sparc32/elf/configure: Delete.
18681 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18682 * sysdeps/sparc/sparc64/elf/configure: Delete.
18683 * sysdeps/sparc/elf/configure.in: New file.
18684 * sysdeps/sparc/elf/configure: Generate.
18686 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18687 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18688 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18689 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18690 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18692 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18694 * manual/install.texi: Do not mention specific glibc version
18696 * manual/libc.texinfo (VERSION, UPDATED): Update.
18697 (@copying): Use @copyright{} and range of years.
18699 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18702 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18703 [crti.S not in sysdirs] (generated): Do not append.
18704 [crti.S not in sysdirs] (omit-deps): Likewise.
18705 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18706 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18707 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18708 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18709 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18711 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18712 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18713 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18714 * csu/defs.awk: Remove file.
18715 * sysdeps/generic/initfini.c: Likewise.
18716 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18718 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18721 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18723 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18724 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18725 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18727 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18728 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18730 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18731 (__EPOLL_PACKED): Define to empty if not defined by
18733 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18737 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18739 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18740 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18741 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18742 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18744 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18748 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18750 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18752 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18753 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18754 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18757 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18759 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18760 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18762 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18764 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18765 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18767 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18769 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18772 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18774 * math/w_acos.c: Use non-signaling floating-point comparisons.
18775 * math/w_acosf.c: Likewise.
18776 * math/w_acosh.c: Likewise.
18777 * math/w_acoshf.c: Likewise.
18778 * math/w_acoshl.c: Likewise.
18779 * math/w_acosl.c: Likewise.
18780 * math/w_asin.c: Likewise.
18781 * math/w_asinf.c: Likewise.
18782 * math/w_asinl.c: Likewise.
18783 * math/w_atanh.c: Likewise.
18784 * math/w_atanhf.c: Likewise.
18785 * math/w_atanhl.c: Likewise.
18786 * math/w_exp2.c: Likewise.
18787 * math/w_exp2f.c: Likewise.
18788 * math/w_exp2l.c: Likewise.
18789 * math/w_j0.c: Likewise.
18790 * math/w_j0f.c: Likewise.
18791 * math/w_j0l.c: Likewise.
18792 * math/w_j1.c: Likewise.
18793 * math/w_j1f.c: Likewise.
18794 * math/w_j1l.c: Likewise.
18795 * math/w_jn.c: Likewise.
18796 * math/w_jnf.c: Likewise.
18797 * math/w_log.c: Likewise.
18798 * math/w_log10.c: Likewise.
18799 * math/w_log10f.c: Likewise.
18800 * math/w_log10l.c: Likewise.
18801 * math/w_log2.c: Likewise.
18802 * math/w_log2f.c: Likewise.
18803 * math/w_log2l.c: Likewise.
18804 * math/w_logf.c: Likewise.
18805 * math/w_logl.c: Likewise.
18806 * math/w_sqrt.c: Likewise.
18807 * math/w_sqrtf.c: Likewise.
18808 * math/w_sqrtl.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18811 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18812 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18813 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18815 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18818 * manual/string.texi (strnlen): Use correct parameter name in
18819 equivalent expression.
18821 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18824 * manual/users.texi (seteuid): Consistently use neweuid for
18827 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18830 * manual/nss.texi (Services in the NSS configuration): Correct
18831 list of services in example configuration file.
18833 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18836 * manual/arith.texi: Remove statements about negative zero
18837 behaving identically to zero.
18839 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18842 * manual/install.texi: Do not document upgrading from libc5.
18844 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18847 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18849 2012-02-18 David S. Miller <davem@davemloft.net>
18851 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18852 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18853 %o7 across the call.
18854 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18857 SETUP_PIC_REG_LEAF.
18858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18859 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18860 * sysdeps/sparc/crtn.S: Likewise.
18862 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18864 * aout/Makefile: Remove.
18866 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18869 * manual/examples/argp-ex1.c (main): Format definition in GNU
18871 * manual/examples/argp-ex2.c (main): Likewise.
18872 * manual/examples/argp-ex3.c (main): Likewise.
18873 * manual/examples/argp-ex4.c (main): Likewise.
18874 * manual/examples/longopt.c (main): Use new-style prototype
18876 * manual/examples/strncat.c (main): Specify return type and use
18877 (void) for arguments.
18878 * manual/examples/subopt.c (main): Use char **argv argument.
18880 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18883 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18886 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18889 * manual/string.texi (strchr): Change when strchrnul is
18892 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18895 * manual/locale.texi (setlocale): Document LOCPATH.
18897 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18900 * manual/process.texi (execle): Move @dots{} before last argument.
18902 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18905 * manual/charset.texi (Generic Charset Conversion): Fix typo
18906 (LC_TYPE -> LC_CTYPE).
18908 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18911 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18912 (scalbnf): Likewise.
18913 (scalbnl): Likewise.
18914 (scalbln): Likewise.
18915 (scalblnf): Likewise.
18916 (scalblnl): Likewise.
18917 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18918 (vwarnx): Likewise.
18921 * manual/filesys.texi (telldir): Use braces around return type.
18922 * manual/llio.texi (mmap): Add space after comma.
18923 (mmap64): Likewise.
18924 * manual/math.texi (jn): Use @var{} on parameter names.
18930 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18932 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18934 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18935 (sched_get_priority_max): Likewise.
18936 * manual/signal.texi (sigvec): Add space after comma.
18937 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18939 (if_indextoname): Likewise.
18940 (if_freenameindex): Likewise.
18941 (sendto): Use ',' instead of '.' in prototype.
18942 * manual/startup.texi (syscall): Use @dots{} instead of literal
18944 * manual/stdio.texi (__fpending): Separate initial words of
18945 paragraph from @deftypefun line.
18946 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18948 (vsyslog): Use @var{} on parameter names.
18949 * manual/terminal.texi (stty): Use @var{} on parameter names.
18950 * manual/users.texi (getutmp): Use @var{} on parameter names.
18951 (getutmpx): Likewise.
18953 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18956 * manual/stdio.texi (fopen): Fix typos in description of
18959 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18962 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18963 get clock_id definition.
18965 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18968 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18969 (madvise): Cast every argument to void on its own.
18971 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18974 * manual/startup.texi (Exit Status): Fix typo.
18976 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18979 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18980 * manual/examples/argp-ex2.c: Likewise.
18981 * manual/examples/argp-ex3.c: Likewise.
18983 2012-02-16 Richard Henderson <rth@redhat.com>
18985 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18986 * sysdeps/s390/s390-32/initfini.c: Remove.
18987 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18988 * sysdeps/s390/s390-64/initfini.c: Remove.
18990 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18992 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18993 compiler output for sysdeps/generic/initfini.c.
18994 * sysdeps/sh/elf/initfini.c: Remove file.
18996 2012-02-16 David S. Miller <davem@davemloft.net>
18999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19001 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19002 * sysdeps/sparc/crti.S: New file.
19003 * sysdeps/sparc/crtn.S: New file.
19004 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19005 * sysdeps/sparc/sparc64/Makefile: Likewise.
19007 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19010 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19012 2012-02-15 Roland McGrath <roland@hack.frob.com>
19015 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19017 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19018 (write, read, close): Likewise.
19019 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19021 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19023 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19024 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19025 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19026 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19028 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19032 2012-02-14 Marek Polacek <polacek@redhat.com>
19034 * sysdeps/x86_64/crti.S: New file.
19035 * sysdeps/x86_64/crtn.S: New file.
19036 * sysdeps/x86_64/elf/initfini.c: Remove file.
19038 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19040 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19041 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19042 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19043 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19045 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19049 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19051 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19052 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19053 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19054 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19056 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19060 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19062 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19063 __feraiseexcept instead of feraiseexcept.
19065 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19066 nanosleep invocations.
19067 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19068 strings, and add error checking for a nanosleep invocations.
19070 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19072 Replace FSF snail mail address with URLs, as per GNU coding standards.
19073 Most of the snail mail addresses were wrong anyway, and omitting
19074 them makes the source code easier to maintain. Almost all of the
19075 changes are to license notices and to locale LC_IDENTIFICATION
19076 addresses, except for this one:
19077 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19078 not its snail mail address.
19080 2012-02-09 Richard Henderson <rth@twiddle.net>
19082 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19083 of kernel-features.h.
19085 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19087 2012-02-08 Marek Polacek <polacek@redhat.com>
19089 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19090 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19091 * sysdeps/gnu/_G_config.h: Likewise.
19092 * sysdeps/generic/_G_config.h: Likewise.
19094 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19096 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19100 * sysdeps/powerpc/powerpc32/crti.S: New file.
19101 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19102 * sysdeps/powerpc/powerpc64/crti.S: New file.
19103 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19105 * Makeconfig (have-initfini): Don't set.
19106 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19107 * configure.in (nopic_initfini): Don't substitute.
19108 * config.h.in (HAVE_INITFINI): Don't #undef.
19109 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19110 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19112 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19114 Support crti.S and crtn.S provided directly by architectures.
19115 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19116 [crti.S in sysdirs] (omit-deps): Likewise.
19117 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19118 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19119 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19120 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19121 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19122 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19123 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19124 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19125 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19126 compiler output for sysdeps/generic/initfini.c.
19127 * sysdeps/i386/elf/Makefile: Remove file.
19128 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19130 2012-02-07 Marek Polacek <polacek@redhat.com>
19132 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19133 * sysdeps/gnu/_G_config.h: Likewise.
19134 * sysdeps/mach/hurd/_G_config.h: Likewise.
19136 2012-02-07 Marek Polacek <polacek@redhat.com>
19138 * math/Makefile (tests): Add tst-CMPLX2.
19139 * math/tst-CMPLX2.c: New file.
19141 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19143 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19145 * math/libm-test.inc (jn_test): Add missing L suffix.
19147 2012-02-06 Marek Polacek <polacek@redhat.com>
19149 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19150 * sysdeps/i386/fpu/e_powf.S: Likewise.
19151 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19152 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19153 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19154 * sysdeps/i386/fpu/e_pow.S: Likewise.
19155 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19156 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19157 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19158 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19159 * sysdeps/i386/fpu/e_log2.S: Likewise.
19160 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19161 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19162 * sysdeps/i386/fpu/e_powl.S: Likewise.
19163 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19164 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19165 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19166 * sysdeps/i386/fpu/e_logl.S: Likewise.
19167 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19168 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19169 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19170 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19171 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19172 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19173 * sysdeps/i386/fpu/e_log.S: Likewise.
19174 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19175 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19176 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19177 * sysdeps/i386/fpu/e_logf.S: Likewise.
19178 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19179 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19180 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19181 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19182 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19183 * sysdeps/i386/fpu/e_log10.S: Likewise.
19184 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19185 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19186 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19187 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19188 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19189 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19190 * sysdeps/i386/asm-syntax.h: Likewise.
19191 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19192 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19193 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19194 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19195 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19196 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19197 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19198 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19199 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19200 * sysdeps/powerpc/sysdep.h: Likewise.
19201 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19202 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19204 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19207 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19209 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19211 * sysdeps/i386/sysdep.h: Include <features.h>.
19212 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19215 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19217 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19219 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19222 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19224 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19225 (SETUP_PIC_REG): Use GET_PC_THUNK.
19226 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19229 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19231 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19232 for non-PIC compilation.
19233 (SETUP_PIC_REG): Add .p2align directive.
19234 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19235 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19236 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19237 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19238 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19239 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19240 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19241 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19242 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19243 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19244 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19245 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19246 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19247 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19248 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19249 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19250 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19251 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19252 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19253 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19254 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19255 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19256 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19257 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19260 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19261 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19262 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19263 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19264 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19265 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19266 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19267 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19268 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19269 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19270 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19271 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19272 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19273 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19274 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19276 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19278 * math/tst-CMPLX.c: Include <stdio.h>.
19280 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19282 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19284 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19285 * sysdeps/sparc/bits/mathdef.h: Likewise.
19287 2012-01-31 Marek Polacek <polacek@redhat.com>
19289 * libio/libio.h: Don't define _PARAMS.
19290 * locale/programs/config.h: Don't define PARAMS.
19291 * stdlib/strtol_l.c: Likewise.
19292 (__strtol_l): Remove PARAMS from the prototype.
19294 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19296 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19297 names. Just use the correct names. Remove unnecessary wrapper
19299 * malloc/arena.c: Likewise.
19300 * malloc/hooks.c: Likewise.
19302 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19303 ARENA_TEST says not to. Simplify test for creation of a new arena.
19304 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19306 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19308 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19310 (update_get_addr): New function.
19311 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19312 GET_ADDR_MODULE parameter.
19314 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19316 * crypt/cert.c: Remove __STDC__ conditionals.
19317 * crypt/crypt-entry.c: Likewise.
19318 * crypt/crypt_util.c: Likewise.
19319 * libio/filedoalloc.c: Likewise.
19320 * libio/fileops.c: Likewise.
19321 * libio/genops.c: Likewise.
19322 * libio/iofclose.c: Likewise.
19323 * libio/iofdopen.c: Likewise.
19324 * libio/iofopen.c: Likewise.
19325 * libio/iofopen64.c: Likewise.
19326 * libio/iogetdelim.c: Likewise.
19327 * libio/iopopen.c: Likewise.
19328 * libio/obprintf.c: Likewise.
19329 * libio/oldfileops.c: Likewise.
19330 * libio/oldiofclose.c: Likewise.
19331 * libio/oldiofdopen.c: Likewise.
19332 * libio/oldiofopen.c: Likewise.
19333 * libio/oldiopopen.c: Likewise.
19334 * libio/wfiledoalloc.c: Likewise.
19335 * libio/wgenops.c: Likewise.
19336 * locale/programs/xmalloc.c: Likewise.
19337 * misc/syslog.c: Likewise.
19338 * stdio-common/xbug.c: Likewise.
19339 * string/memchr.c: Likewise.
19340 * string/memcmp.c: Likewise.
19341 * string/memrchr.c: Likewise.
19342 * string/rawmemchr.c: Likewise.
19343 * sysdeps/posix/getcwd.c: Likewise.
19344 * time/strftime_l.c: Likewise.
19346 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19348 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19349 * config.make.in (config-cflags-sse2avx): Define.
19350 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19353 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19355 * scripts/config.guess: Update from upstream config git repository.
19356 * scripts/config.sub: Likewise.
19358 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19360 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19362 (R_TILEPRO_*, R_TILEGX_*): New macros.
19364 * scripts/firstversions.awk: Fix bug in version range handling.
19366 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19368 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19370 * include/sys/epoll.h: New file.
19371 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19374 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19376 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19377 Avoid unnecessary __WORDSIZE == 64 test.
19378 (fmaxf): Use VEX format if possible.
19383 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19384 * math/math_private.h: Remove libc_fegetround* and
19386 * sysdeps/i386/configure.in: Check for -msse2avx.
19387 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19388 also if SSE2AVX is defined.
19389 Remove libc_fegetround* and libc_fesetround*.
19390 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19391 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19392 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19394 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19395 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19396 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19397 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19398 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19400 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19402 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19404 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19406 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19408 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19411 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19413 * Makeconfig (libm): Define.
19414 * elf/Makefile: Add rules to build and run tst-relsort1.
19415 * elf/tst-relsort1.c: New file.
19416 * elf/tst-relsort1mod1.c: New file.
19417 * elf/tst-relsort1mod2.c: New file.
19419 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19421 * math/s_ldexp.c: Remove __STDC__ conditionals.
19422 * math/s_ldexpf.c: Likewise.
19423 * math/s_ldexpl.c: Likewise.
19424 * math/s_nextafter.c: Likewise.
19425 * math/s_nexttowardf.c: Likewise.
19426 * math/s_significand.c: Likewise.
19427 * math/s_significandf.c: Likewise.
19428 * math/s_significandl.c: Likewise.
19429 * math/w_jnl.c: Likewise.
19430 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19431 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19432 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19433 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19434 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19435 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19436 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19437 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19438 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19443 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19446 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19447 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19448 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19449 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19450 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19451 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19452 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19453 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19454 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19455 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19456 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19457 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19458 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19459 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19460 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19461 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19462 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19463 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19464 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19465 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19466 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19467 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19468 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19469 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19470 * sysdeps/ieee754/k_standard.c: Likewise.
19471 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19474 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19475 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19476 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19477 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19479 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19480 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19481 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19482 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19483 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19484 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19485 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19486 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19487 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19488 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19489 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19490 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19491 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19492 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19496 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19497 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19510 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19511 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19512 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19530 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19532 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19535 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19537 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19538 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19539 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19540 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19541 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19544 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19545 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19546 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19549 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19550 * sysdeps/ieee754/s_matherr.c: Likewise.
19551 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19552 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19554 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19556 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19558 * crypt/md5.h: Remove __STDC__ conditionals.
19559 * libio/libioP.h: Likewise.
19560 * locale/programs/config.h: Likewise.
19561 * sysdeps/generic/sysdep.h: Likewise.
19562 * sysdeps/i386/asm-syntax.h: Likewise.
19563 * sysdeps/s390/asm-syntax.h: Likewise.
19564 * sysdeps/unix/sysdep.h: Likewise.
19565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19568 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19570 * libio/libio.h: Remove __STDC__ conditionals.
19571 * malloc/obstack.h: Likewise.
19572 * math/complex.h: Likewise.
19573 * math/math.h: Likewise.
19574 * sysdeps/generic/_G_config.h: Likewise.
19575 * sysdeps/gnu/_G_config.h: Likewise.
19576 * sysdeps/mach/hurd/_G_config.h: Likewise.
19577 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19578 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19579 * sysdeps/sparc/bits/mathdef.h: Likewise.
19581 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19584 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19585 Clean up HAS_* macros.
19586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19587 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19589 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19591 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19592 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19593 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19594 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19595 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19597 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19599 * elf/tst-unique3.cc (gets): Remove declaration.
19600 * elf/tst-unique3lib.cc (gets): Likewise.
19601 * elf/tst-unique3lib2.cc (gets): Likewise.
19602 * elf/tst-unique4.cc (gets): Likewise.
19604 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19606 * include/stdio.h: Add C++ protection. Add gets declarations and
19608 * debug/tst-chk1.c: Don't declare gets here.
19609 * stdio-common/tst-gets.c: Likewise.
19611 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19613 * posix/glob: Remove directory.
19615 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19617 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19619 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19621 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19622 of the non-standard EPFNOSUPPORT.
19624 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19626 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19627 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19628 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19630 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19632 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19634 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19636 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19638 * nscd/grpcache.c (cache_addgr): Likewise.
19639 * nscd/hstcache.c (cache_addhst): Likewise.
19640 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19641 * nscd/pwdcache.c (cache_addpw): Likewise.
19642 * nscd/servicescache.c (cache_addserv): Likewise.
19644 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19646 * malloc/malloc.c: Various cleanups.
19647 * malloc/hooks.c: Likewise.
19649 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19650 * stdlib/bug-fmtmsg1.c: New file.
19652 * stdlib/fmtmsg.c (init): Add missing unlock.
19653 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19655 2012-01-12 Marek Polacek <polacek@redhat.com>
19657 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19660 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19662 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19663 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19664 macro to ensure uniqueness of label name.
19665 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19666 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19668 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19670 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19672 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19673 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19674 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19675 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19677 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19679 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19681 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19682 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19683 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19685 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19687 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19688 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19689 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19690 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19692 * math/bits/math-finite.h: Add ldexp support.
19694 2012-01-10 Marek Polacek <polacek@redhat.com>
19696 * locale/programs/localedef.h (show_archive_content): Add noreturn
19699 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19701 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19703 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19705 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19707 * io/Makefile (headers): Add bits/poll2.h.
19709 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19712 typo #include statement.
19714 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19716 * include/sys/cdefs.h: Define __attribute_alloc_size.
19717 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19718 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19719 * elf/pldd.c: Likewise.
19720 * iconv/iconv_charmap.c: Likewise.
19721 * iconv/iconvconfig.c: Likewise.
19722 * iconv/strtab.c: Likewise.
19723 * locale/programs/locale.c: Likewise.
19724 * locale/programs/localedef.h: Likewise.
19725 * locale/programs/simple-hash.c: Likewise.
19726 * nscd/nscd.h: Likewise.
19727 * nss/makedb.c: Likewise.
19728 * sysdeps/generic/ldconfig.h: Likewise.
19729 * locale/programs/localedef.c: Remove xmalloc prototype.
19730 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19732 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19734 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19737 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19739 * math/Makefile (tests): Add tst-CMPLX.
19740 * math/tst-CMPLX.c: New file.
19742 * math/complex.h (CMPLXL): Fix typo.
19744 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19745 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19747 * debug/tst-chk1.c: Add poll and ppoll tests.
19748 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19749 * include/sys/poll.h: Add hidden proto for ppoll.
19750 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19751 * sysdeps/mach/hurd/ppoll.c: Likewise.
19752 * io/ppoll.c: Likewise.
19753 * debug/poll_chk.c: New file.
19754 * debug/ppoll_chk.c: New file.
19755 * include/bits/poll2.h: New file.
19756 * io/bits/poll2.h: New file.
19759 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19761 * configure.in: static is always set to yes. Remove.
19762 * config.make.in: Don't set build-static.
19763 * Makeconfig: Remove use of build-static.
19764 * dlfcn/Makefile: Likewise.
19765 * elf/Makefile: Likewise.
19766 * math/Makefile: Likewise.
19767 * misc/Makefile: Likewise.
19768 * nptl/Makefile: Likewise.
19769 * sysdeps/mach/hurd/Makefile: Likewise.
19771 * configure.in: PWD_P is not used anymore.
19772 * config.make.in: Remove PWD_P entry.
19774 * configure.in: Remove last remnants of RANLIB.
19775 No need to check for signed size_t anymore.
19776 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19778 Remove __builtin_expect test because we require at least gcc 3.4.
19779 * aclocal.m4: Likewise.
19781 * wcsmbs/mbrtoc16.c: Implement using towc function.
19782 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19783 * wcsmbs/wcsmbsload.c: Likewise.
19784 * iconv/gconv_simple.c: Likewise.
19785 * iconv/gconv_int.h: Likewise.
19786 * iconv/gconv_builtin.h: Likewise.
19787 * iconv/iconv_prog.c: Remove CHAR16 handling.
19789 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19791 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19793 * configure.in: Remove --with-elf and --enable-bounded options.
19794 Dont set base_machine for ia64. More non-ELF conditions removed.
19795 Remove testing and setting of leading underscore information.
19796 * config.make.in (build-bounded): Set to no.
19797 * config.h.in: Remove NO_UNDERSCORES entry.
19798 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19800 * csu/start.c: Remove !NO_UNDERSCORE code.
19801 * locale/localeinfo.h: Likewise.
19802 * sysdeps/generic/machine-gmon.h: Likewise.
19803 * sysdeps/generic/sysdep.h: Likewise.
19804 * sysdeps/i386/sysdep.h: Likewise.
19805 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19806 * sysdeps/mach/sysdep.h: Likewise.
19807 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19808 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19809 * sysdeps/sh/sysdep.h: Likewise.
19810 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19811 * sysdeps/unix/i386/sysdep.S: Likewise.
19812 * sysdeps/unix/sparc/start.c: Likewise.
19813 * sysdeps/unix/sparc/sysdep.S: Likewise.
19814 * sysdeps/unix/sparc/sysdep.h: Likewise.
19815 * sysdeps/unix/start.c: Likewise.
19816 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19817 * sysdeps/x86_64/sysdep.h: Likewise.
19819 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19822 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19824 * argp/argp-fmtstream.h: Use const instead __const.
19825 * argp/argp.h: Likewise.
19826 * assert/assert.h: Likewise.
19827 * bits/fenv.h: Likewise.
19828 * bits/sched.h: Likewise.
19829 * bits/sigset.h: Likewise.
19830 * bits/sigthread.h: Likewise.
19831 * catgets/nl_types.h: Likewise.
19832 * conform/data/pthread.h-data: Likewise.
19833 * crypt/crypt-private.h: Likewise.
19834 * crypt/crypt.h: Likewise.
19835 * crypt/crypt_util.c: Likewise.
19836 * ctype/ctype.h: Likewise.
19837 * debug/execinfo.h: Likewise.
19838 * debug/mbsnrtowcs_chk.c: Likewise.
19839 * debug/mbsrtowcs_chk.c: Likewise.
19840 * debug/wcsnrtombs_chk.c: Likewise.
19841 * debug/wcsrtombs_chk.c: Likewise.
19842 * debug/wcstombs_chk.c: Likewise.
19843 * dirent/dirent.h: Likewise.
19844 * dlfcn/dlfcn.h: Likewise.
19845 * elf/neededtest4.c: Likewise.
19846 * grp/grp.h: Likewise.
19847 * gshadow/gshadow.h: Likewise.
19848 * iconv/gconv.h: Likewise.
19849 * iconv/gconv_int.h: Likewise.
19850 * iconv/gconv_simple.c: Likewise.
19851 * iconv/iconv.h: Likewise.
19852 * iconv/loop.c: Likewise.
19853 * iconv/skeleton.c: Likewise.
19854 * include/aio.h: Likewise.
19855 * include/aliases.h: Likewise.
19856 * include/argz.h: Likewise.
19857 * include/arpa/inet.h: Likewise.
19858 * include/assert.h: Likewise.
19859 * include/dirent.h: Likewise.
19860 * include/dlfcn.h: Likewise.
19861 * include/execinfo.h: Likewise.
19862 * include/fcntl.h: Likewise.
19863 * include/fenv.h: Likewise.
19864 * include/glob.h: Likewise.
19865 * include/grp.h: Likewise.
19866 * include/libintl.h: Likewise.
19867 * include/mntent.h: Likewise.
19868 * include/netdb.h: Likewise.
19869 * include/pwd.h: Likewise.
19870 * include/rpc/netdb.h: Likewise.
19871 * include/sched.h: Likewise.
19872 * include/search.h: Likewise.
19873 * include/shadow.h: Likewise.
19874 * include/signal.h: Likewise.
19875 * include/stdio.h: Likewise.
19876 * include/stdlib.h: Likewise.
19877 * include/string.h: Likewise.
19878 * include/sys/socket.h: Likewise.
19879 * include/sys/stat.h: Likewise.
19880 * include/sys/statfs.h: Likewise.
19881 * include/sys/statvfs.h: Likewise.
19882 * include/sys/syslog.h: Likewise.
19883 * include/sys/time.h: Likewise.
19884 * include/sys/uio.h: Likewise.
19885 * include/time.h: Likewise.
19886 * include/unistd.h: Likewise.
19887 * include/utmp.h: Likewise.
19888 * include/wchar.h: Likewise.
19889 * include/wctype.h: Likewise.
19890 * inet/aliases.h: Likewise.
19891 * inet/arpa/inet.h: Likewise.
19892 * inet/netinet/ether.h: Likewise.
19893 * inet/netinet/in.h: Likewise.
19894 * intl/libintl.h: Likewise.
19895 * io/bits/fcntl2.h: Likewise.
19896 * io/fcntl.h: Likewise.
19897 * io/ftw.h: Likewise.
19898 * io/sys/poll.h: Likewise.
19899 * io/sys/stat.h: Likewise.
19900 * io/sys/statfs.h: Likewise.
19901 * io/sys/statvfs.h: Likewise.
19902 * io/utime.h: Likewise.
19903 * libio/bits/stdio.h: Likewise.
19904 * libio/bits/stdio2.h: Likewise.
19905 * libio/libio.h: Likewise.
19906 * libio/libioP.h: Likewise.
19907 * libio/stdio.h: Likewise.
19908 * locale/lc-ctype.c: Likewise.
19909 * locale/locale.h: Likewise.
19910 * login/utmp.h: Likewise.
19911 * malloc/arena.c: Likewise.
19912 * malloc/malloc.c: Likewise.
19913 * malloc/malloc.h: Likewise.
19914 * malloc/mcheck.c: Likewise.
19915 * malloc/mtrace.c: Likewise.
19916 * math/bits/mathcalls.h: Likewise.
19917 * math/fenv.h: Likewise.
19918 * math/math_private.h: Likewise.
19919 * misc/bits/error.h: Likewise.
19920 * misc/bits/syslog.h: Likewise.
19921 * misc/err.h: Likewise.
19922 * misc/error.h: Likewise.
19923 * misc/fstab.h: Likewise.
19924 * misc/mntent.h: Likewise.
19925 * misc/regexp.h: Likewise.
19926 * misc/search.h: Likewise.
19927 * misc/sgtty.h: Likewise.
19928 * misc/sys/mman.h: Likewise.
19929 * misc/sys/syslog.h: Likewise.
19930 * misc/sys/uio.h: Likewise.
19931 * misc/sys/xattr.h: Likewise.
19932 * misc/ttyent.h: Likewise.
19933 * nis/rpcsvc/ypclnt.h: Likewise.
19934 * nss/nss.h: Likewise.
19935 * posix/bits/unistd.h: Likewise.
19936 * posix/fnmatch.h: Likewise.
19937 * posix/glob.h: Likewise.
19938 * posix/sched.h: Likewise.
19939 * posix/spawn.h: Likewise.
19940 * posix/sys/wait.h: Likewise.
19941 * posix/unistd.h: Likewise.
19942 * posix/wordexp.h: Likewise.
19943 * pwd/pwd.h: Likewise.
19944 * resolv/netdb.h: Likewise.
19945 * resource/sys/resource.h: Likewise.
19946 * rt/aio.h: Likewise.
19947 * rt/bits/mqueue2.h: Likewise.
19948 * rt/mqueue.h: Likewise.
19949 * shadow/shadow.h: Likewise.
19950 * signal/signal.h: Likewise.
19951 * socket/send.c: Likewise.
19952 * socket/sendto.c: Likewise.
19953 * socket/sys/socket.h: Likewise.
19954 * stdio-common/printf.h: Likewise.
19955 * stdlib/bits/stdlib.h: Likewise.
19956 * stdlib/fmtmsg.h: Likewise.
19957 * stdlib/monetary.h: Likewise.
19958 * stdlib/stdlib.h: Likewise.
19959 * stdlib/ucontext.h: Likewise.
19960 * streams/stropts.h: Likewise.
19961 * string/argz.h: Likewise.
19962 * string/bits/string2.h: Likewise.
19963 * string/string.h: Likewise.
19964 * string/strings.h: Likewise.
19965 * sunrpc/rpc/auth.h: Likewise.
19966 * sunrpc/rpc/auth_des.h: Likewise.
19967 * sunrpc/rpc/clnt.h: Likewise.
19968 * sunrpc/rpc/netdb.h: Likewise.
19969 * sunrpc/rpc/pmap_clnt.h: Likewise.
19970 * sunrpc/rpc/xdr.h: Likewise.
19971 * sysdeps/generic/inttypes.h: Likewise.
19972 * sysdeps/generic/net/if.h: Likewise.
19973 * sysdeps/generic/sys/swap.h: Likewise.
19974 * sysdeps/gnu/net/if.h: Likewise.
19975 * sysdeps/gnu/utmpx.h: Likewise.
19976 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19977 * sysdeps/i386/i486/bits/string.h: Likewise.
19978 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19979 * sysdeps/s390/bits/string.h: Likewise.
19980 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19981 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19982 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19983 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19984 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19985 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19986 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19987 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19988 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19989 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19990 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19991 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19992 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19993 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19994 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19995 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19996 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19998 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19999 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20000 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20001 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20002 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20003 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20004 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20005 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20006 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20007 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20008 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20009 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20010 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20011 * sysvipc/sys/ipc.h: Likewise.
20012 * sysvipc/sys/msg.h: Likewise.
20013 * sysvipc/sys/sem.h: Likewise.
20014 * sysvipc/sys/shm.h: Likewise.
20015 * termios/termios.h: Likewise.
20016 * time/sys/time.h: Likewise.
20017 * time/time.h: Likewise.
20018 * wcsmbs/bits/wchar2.h: Likewise.
20019 * wcsmbs/uchar.h: Likewise.
20020 * wcsmbs/wchar.h: Likewise.
20021 * wctype/wctype.h: Likewise.
20024 * Makeconfig: Remove all but ELF support including AIX support.
20025 * Makerules: Likewise.
20026 * config.h.in: Likewise.
20027 * config.make.in: Likewise.
20028 * configure: Likewise.
20029 * configure.in: Likewise.
20030 * csu/Makefile: Likewise.
20031 * csu/version.c: Likewise.
20032 * debug/Makefile: Likewise.
20033 * dlfcn/Makefile: Likewise.
20034 * elf/Makefile: Likewise.
20035 * extra-lib.mk: Likewise.
20036 * iconv/Makefile: Likewise.
20037 * include/libc-symbols.h: Likewise.
20038 * include/shlib-compat.h: Likewise.
20039 * resolv/Makefile: Likewise.
20040 * resolv/res_libc.c: Likewise.
20041 * rt/Makefile: Likewise.
20042 * sysdeps/i386/asm-syntax.h: Likewise.
20043 * sysdeps/i386/sysdep.h: Likewise.
20044 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20045 * sysdeps/mach/sysdep.h: Likewise.
20046 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20047 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20048 * sysdeps/s390/asm-syntax.h: Likewise.
20049 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20050 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20051 * sysdeps/sh/sysdep.h: Likewise.
20052 * sysdeps/unix/sparc/sysdep.h: Likewise.
20053 * sysdeps/wordsize-32/divdi3.c: Likewise.
20054 * sysdeps/x86_64/sysdep.h: Likewise.
20056 * argp/Versions: Remove _argp_unlock_xxx.
20059 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20060 * abilist/libBrokenLocale.abilist: Likewise.
20061 * abilist/libanl.abilist: Likewise.
20062 * abilist/libc.abilist: Likewise.
20063 * abilist/libcrypt.abilist: Likewise.
20064 * abilist/libdl.abilist: Likewise.
20065 * abilist/libm.abilist: Likewise.
20066 * abilist/libnsl.abilist: Likewise.
20067 * abilist/libpthread.abilist: Likewise.
20068 * abilist/libresolv.abilist: Likewise.
20069 * abilist/librt.abilist: Likewise.
20070 * abilist/libthread_db.abilist: Likewise.
20071 * abilist/libutil.abilist: Likewise.
20072 * abilist/libnss_db.abilist: New file.
20074 * scripts/abilist.awk: Add support for indirect functions.
20076 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20078 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20080 * shlib-versions: Remove entries for ports architectures.
20082 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20084 * elf/stackguard-macros.h: Remove support for IA-64.
20085 * elf/tst-auditmod1.c: Likewise.
20086 * sysdeps/generic/ldsodefs.h: Likewise.
20088 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20089 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20093 * configure.in: Remove --enable-omitfp support.
20095 * config.make.in: Likewise.
20096 * Makeconfig: Likewise.
20097 * manual/install.texi: Likewise.
20099 In case anyone cares, the IA-64 architecture could move to ports.
20100 * sysdeps/ia64/*: Removed.
20101 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20102 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20105 * configure.in: Remove entries for unsupported architectures.
20108 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20109 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20111 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20112 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20113 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20114 fall back to using wcrtomb.
20115 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20116 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20118 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20119 * wcsmbs/tst-c16c32-1.c: New file.
20121 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20124 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20126 * elf/tst-unique3.cc: Add explicit declaration of gets.
20127 * elf/tst-unique3lib.cc: Likewise.
20128 * elf/tst-unique3lib2.cc: Likewise.
20129 * elf/tst-unique4.cc: Likewise.
20131 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20133 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20136 * assert/assert.h (static_assert): Don't define for C++.
20137 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20138 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20140 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20142 * iconv/loop.c (single loop): Fix assertion in storing of
20145 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20147 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20149 * posix/getconf.c: Update copyright year.
20150 * nss/getent.c: Likewise.
20151 * nss/makedb.c: Likewise.
20152 * iconv/iconvconfig.c: Likewise.
20153 * iconv/iconv_prog.c: Likewise.
20154 * elf/ldconfig.c: Likewise.
20155 * elf/pldd.c: Likewise.
20156 * elf/sotruss.ksh: Likewise.
20157 * catgets/gencat.c: Likewise.
20158 * csu/version.c: Likewise.
20159 * elf/ldd.bash.in: Likewise.
20160 * elf/sprof.c (print_version): Likewise.
20161 * locale/programs/locale.c: Likewise.
20162 * locale/programs/localedef.c: Likewise.
20163 * login/programs/pt_chown.c: Likewise.
20164 * nscd/nscd.c (print_version): Likewise.
20165 * debug/xtrace.sh: Likewise.
20166 * malloc/memusage.sh: Likewise.
20167 * malloc/mtrace.pl: Likewise.
20168 * debug/catchsegv.sh: Likewise.
20170 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20172 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20175 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20178 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20179 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20181 * iconv/gconv_int.h: Likewise.
20182 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20183 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20184 from libc for GLIBC_2.16.
20185 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20186 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20187 * wcsmbs/uchar.h: Really define mbstate_t.
20188 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20189 * wcsmbs/c16rtomb.c: New file.
20190 * wcsmbs/mbrtoc16.c: New file.
20191 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20192 for C/POSIX locale.
20193 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20194 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20196 * wcsmbs/wchar.h: Add missing __restrict.
20198 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20201 * time/Makefile (routines): Add timespec_get.
20202 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20203 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20204 timespec for ISO C11.
20205 * time/timespec_get.c: New file.
20206 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20207 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20210 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20211 * stdlib/stdlib.h: Declare aligned_alloc.
20212 * Versions.def: Add GLIBC_2.16 for libc.
20213 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20216 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20219 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20223 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20226 * assert/assert.h (static_assert): Define.
20228 * version.h: Update for 2.16 development version.
20231 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20234 * version.h (RELEASE): Bump for 2.15 release.
20235 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20237 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20238 Patch by Marek Polacek <mpolacek@redhat.com>.
20240 * bits/byteswap.h: Protect long long constants with __extension__.
20241 * sysdeps/i386/bits/byteswap.h: Likewise.
20242 * sysdeps/ia64/bits/byteswap.h: Likewise.
20243 * sysdeps/s390/bits/byteswap.h: Likewise.
20244 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20246 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20249 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20250 destination buffer.
20251 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20253 2011-12-23 Marek Polacek <polacek@redhat.com>
20255 * elf/dl-addr.c (determine_info): Add inline keyword.
20256 * elf/tst-auditmod4b.c (check_avx): Likewise.
20257 * elf/tst-auditmod6b.c (check_avx): Likewise.
20258 * elf/tst-auditmod6c.c (check_avx): Likewise.
20259 * elf/tst-auditmod7b.c (check_avx): Likewise.
20261 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20263 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20266 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20269 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20270 processing for last bytes.
20272 2011-08-06 Bruno Haible <bruno@clisp.org>
20275 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20276 U+0385, not to U+1FEE.
20279 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20280 entry for U+00A5 U+0301.
20282 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20285 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20286 buffer for the output is too small.
20288 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20292 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20293 SSE flags if possible.
20295 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20298 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20299 processing for last bytes.
20301 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20303 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20304 (syscall-list-default-options, syscall-list-default-condition)
20305 (syscall-list-includes): Define.
20306 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20307 list of ABIs and options and #if conditions for each ABI. Do not
20308 handle common syscalls between ABIs specially.
20309 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20311 (syscall-list-variants, syscall-list-32bit-options)
20312 (syscall-list-32bit-condition, syscall-list-64bit-options)
20313 (syscall-list-64bit-condition): Define.
20314 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20315 (syscall-list-variants, syscall-list-32bit-options)
20316 (syscall-list-32bit-condition, syscall-list-64bit-options)
20317 (syscall-list-64bit-condition): Define.
20318 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20320 (syscall-list-variants, syscall-list-32bit-options)
20321 (syscall-list-32bit-condition, syscall-list-64bit-options)
20322 (syscall-list-64bit-condition): Define.
20323 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20325 (syscall-list-variants, syscall-list-32bit-options)
20326 (syscall-list-32bit-condition, syscall-list-64bit-options)
20327 (syscall-list-64bit-condition): Define.
20329 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20331 * locale/iso-639.def: Add brx entry.
20334 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20335 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20337 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20338 __feraiseexcept_renamed.
20340 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20343 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20344 EPOLLET with unsigned values.
20345 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20346 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20348 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20349 to large cancellation.
20350 * math/s_cacoshf.c: Likewise.
20351 * math/s_cacoshl.c: Likewise.
20353 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20357 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20358 * math/s_cacoshf.c: Likewise.
20359 * math/s_cacoshl.c: Likewise.
20361 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20364 * iconv/gconv.h: Define __GCONV_SWAP.
20365 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20366 * iconvdata/utf-16.c: Likewise.
20367 * iconvdata/utf-32.c: Likewise.
20369 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20372 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20373 numerator after shifting it by one limb.
20375 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20377 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20378 under [__USE_EXTERN_INLINES].
20380 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20383 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20385 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20387 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20388 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20390 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20391 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20392 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20393 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20394 for strncasecmp/strncasecmp_l compilation.
20395 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20396 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20398 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20401 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20404 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20407 * time/tzfile.c (__tzfile_read): Check values from file header.
20409 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20411 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20412 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20413 * powerpc/powerpc32/dl-start.S: Likewise.
20414 * powerpc/powerpc32/elf/start.S: Likewise.
20415 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20416 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20417 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20418 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20419 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20420 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20421 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20422 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20423 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20424 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20425 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20426 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20427 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20428 * powerpc/powerpc32/memset.S: Likewise.
20429 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20430 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20431 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20432 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20433 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20434 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20435 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20436 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20437 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20438 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20439 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20440 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20441 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20443 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20445 * math/libm-test.inc: Added more nearbyint tests.
20446 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20447 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20448 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20449 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20451 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20453 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20456 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20458 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20459 Add wcscpy-ssse3 wcscpy-c.
20460 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20461 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20462 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20463 * sysdeps/x86_64/wcschr.S: New file.
20464 * sysdeps/x86_64/wcsrchr.S: New file.
20465 * string/test-strcmp.c: Remove checking of wcscmp function for
20467 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20468 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20469 wcsrchr-sse2 wcsrchr-c.
20470 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20471 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20472 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20473 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20474 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20475 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20476 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20477 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20478 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20479 * wcsmbc/wcschr.c (WCSCHR): New macro.
20481 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20483 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20484 * wcsmbs/test-wcsrchr.c: New file.
20485 * string/test-strrchr.c: Add wcsrchr support.
20487 * wcsmbs/test-wcscpy.c: New file.
20488 * string/test-strcpy.c: Add wcscpy support.
20491 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20493 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20496 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20499 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20501 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20503 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20504 Minor optimizations.
20506 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20507 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20508 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20510 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20512 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20513 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20514 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20515 for gcc to avoid warnings.
20516 * inet/Makefile (tests): Add tst-checks.
20517 * inet/tst-checks.c: New file.
20519 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20522 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20525 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20526 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20528 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20530 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20532 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20535 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20537 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20539 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20540 conditional on GCC version.
20541 (__arch_compare_and_exchange_val_8_acq)
20542 (__arch_compare_and_exchange_val_16_acq)
20543 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20544 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20545 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20547 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20549 * sysdeps/sh/backtrace.c: New file.
20551 2011-12-02 Andreas Schwab <schwab@redhat.com>
20553 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20556 2011-12-01 Andreas Schwab <schwab@redhat.com>
20558 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20559 falling back to utime.
20561 2011-11-30 Andreas Schwab <schwab@redhat.com>
20563 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20564 expectations for float.
20566 2011-11-29 Andreas Schwab <schwab@redhat.com>
20568 * locale/weight.h (findidx): Add parameter len.
20569 * locale/weightwc.h (findidx): Likewise.
20570 * posix/fnmatch_loop.c (FCT): Adjust caller.
20571 * posix/regcomp.c (build_equiv_class): Likewise.
20572 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20573 * posix/regexec.c (check_node_accept_bytes): Likewise.
20574 * string/strcoll_l.c (STRCOLL): Likewise.
20575 * string/strxfrm_l.c (STRXFRM): Likewise.
20577 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20579 * Makefile.in: Remove CVSOPT handling.
20580 * configure.in: Remove use of AC_REVISION.
20581 * iconvdata/Makefile (distribute): No need to filter out CVS.
20582 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20585 2011-11-16 Andreas Schwab <schwab@redhat.com>
20587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20588 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20589 [USE_AS_STRNCASECMP_L]: Likewise.
20590 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20591 NO_TLS_DIRECT_SEG_REFS.
20592 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20593 Fix argument offsets for non-PIC.
20594 [USE_AS_STRNCASECMP_L]: Likewise.
20595 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20596 NO_TLS_DIRECT_SEG_REFS.
20598 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20600 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20602 * locale/loadlocale.c (_nl_load_locale): Likewise.
20604 2011-11-15 Andreas Schwab <schwab@redhat.com>
20606 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20607 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20608 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20609 (SYSCALL_GETTIME): Set errno on error.
20611 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20612 count references to noai6ai_cached.
20614 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20616 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20618 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20619 FD_CLOEXEC for /proc/self/maps.
20621 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20622 FD_CLOEXEC for /proc/meminfo.
20624 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20627 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20628 FD_CLOEXEC for given file.
20630 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20632 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20633 FD_CLOEXEC for /etc/hosts.
20634 (_gethtent): Likewise.
20636 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20638 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20639 cancellation and set FD_CLOEXEC for /etc/netgroup.
20641 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20642 reading /etc/publickey.
20644 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20645 allow cancellation when reading /etc/group.
20647 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20649 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20651 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20652 when using data file.
20654 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20656 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20657 (write_nis_obj): Use "c" and "e" in fopen.
20659 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20661 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20663 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20665 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20667 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20670 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20672 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20674 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20676 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20677 file parsing and set FD_CLOEXEC.
20679 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20681 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20683 2011-11-14 Andreas Schwab <schwab@redhat.com>
20685 * malloc/arena.c (arena_get2): Don't call reused_arena when
20686 _int_new_arena failed.
20688 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20690 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20691 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20692 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20693 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20694 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20695 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20696 to compile strcasecmp and strncasecmp.
20697 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20698 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20700 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20702 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20704 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20705 locale-defines.sym to gen-as-const-headers.
20706 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20707 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20709 to compile strcasecmp and strncasecmp.
20710 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20711 strcasecmp_l and strncasecmp_l.
20712 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20713 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20714 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20715 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20716 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20717 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20718 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20719 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20720 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20721 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20722 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20724 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20726 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20727 result of SYSDEP_GETTIME_CPU to retval.
20728 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20729 parameter list to macro. Remove trailing semicolon. Adjust users.
20731 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20734 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20736 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20738 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20739 from unused variable.
20741 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20743 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20746 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20749 * sunrpc/rpc_prot.c (rejected): Fix case value.
20751 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20752 unsigned long long int to avoid warnings in shift.
20754 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20756 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20759 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20760 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20761 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20763 * nis/nis_table.c (nis_list): Use variable of correct type for
20764 result of __follow_path call.
20766 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20768 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20769 of math functions ceil, trunc, floor, round, and sqrt, when
20770 avaliable on the platform.
20771 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20773 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20774 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20775 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20777 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20779 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20780 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20782 2011-11-11 Roland McGrath <roland@hack.frob.com>
20784 * include/unistd.h: Fix __readlink return type.
20785 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20787 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20789 * stdlib/ucontext.h: Undo last change for makecontext.
20791 2011-11-11 Andreas Schwab <schwab@redhat.com>
20793 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20795 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20796 * setjmp/setjmp.h: Mark functions as non-leaf.
20797 * setjmp/bits/setjmp2.h: Likewise.
20798 * stdlib/ucontext.h: Likewise.
20800 2011-11-10 Andreas Schwab <schwab@redhat.com>
20802 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20803 (reused_arena): Don't check arena limit.
20804 (arena_get2): Atomically check arena limit.
20806 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20808 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20809 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20814 2011-11-07 Andreas Schwab <schwab@redhat.com>
20816 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20817 handler when locking.
20819 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20820 Fix size of allocated buffer.
20822 2011-11-04 Andreas Schwab <schwab@redhat.com>
20825 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20826 declarations for long double functions.
20827 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20829 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20831 2011-11-03 Andreas Schwab <schwab@redhat.com>
20833 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20836 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20839 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20841 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20843 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20845 * include/alloca.h (stackinfo_alloca_round): Define.
20846 (extend_alloca): Use it.
20847 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20848 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20851 * scripts/check-local-headers.sh: Ignore libaudit.h.
20853 * nscd/Makefile (extra-objs): Make recursively expanded.
20855 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20857 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20858 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20860 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20861 * posix/tst-rfc3484-2.c: Likewise.
20862 * posix/tst-rfc3484-3.c: Likewise.
20864 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20866 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20868 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20869 process_vm_writev from libc using GLIBC_2.15 version.
20871 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20873 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20875 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20878 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20881 * nss/getent.c (initgroups_keys): Show error message in case no group
20884 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20885 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20886 __bump_nl_timestamp.
20887 * nscd/connections (nscd_init): When host database is served open
20888 netlink socket and request notification about configuration changes.
20889 (main_loop_poll): Track netlink file descriptor and bump timestamp
20890 in case data becomes available.
20891 (main_loop_epoll): Likewise.
20892 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20893 (database_pers_head): Add extra_data fileds.
20894 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20895 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20896 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20898 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20899 in6ai data, call __free_in6ai.
20900 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20901 Add -DHAVE_NETLINK.
20902 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20903 interface information. Reuse previous data if netlink timestamp
20905 (__bump_nl_timestamp): New function.
20906 (__free_in6ai): New function.
20908 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20910 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20911 close_not_cancel_no_status here.
20912 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20914 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20917 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20920 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20921 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20922 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20924 2011-07-03 Andreas Jaeger <aj@suse.de>
20927 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20928 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20929 * math/libm-test.inc (sin_test): Add test case.
20931 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20934 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20935 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20937 * elf/chroot_canon.c (chroot_canon): Cleanups.
20939 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20942 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20943 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20945 * string/test-strchr.c: Make usable for strchrnul testing.
20946 * string/test-strchrnul.c: New file.
20947 * string/Makefile (strop-tests): Add strchrnul.
20949 * po/it.po: Update from translation team.
20950 * po/es.po: Likewise.
20952 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20954 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20955 the three constants needed as parameters. Drop the others.
20956 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20957 __m128i_strloadu_tolower.
20958 Create and initialize variable zero and use it in all the places
20959 where _mm_setzero_si128 was used.
20961 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20962 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20963 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20964 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20966 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20967 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20968 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20969 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20970 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20971 __mpranred, __mptan.
20972 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20973 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20974 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20975 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20976 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20977 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20978 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20979 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20980 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20982 2011-10-28 Andreas Schwab <schwab@redhat.com>
20984 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20985 redefine if SHARED.
20986 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20989 wide char related routines to wcsmbs subdir.
20991 2011-10-27 Andreas Schwab <schwab@redhat.com>
20994 * misc/sys/cdefs.h (__THROWNL): Define.
20995 * posix/unistd.h: Use __THREADNL instead of __THREAD
20996 for memory synchronization functions.
20998 2011-10-26 Roland McGrath <roland@hack.frob.com>
21001 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21003 * manual/stdio.texi (Obstack Streams): Node removed.
21005 2011-10-26 Andreas Schwab <schwab@redhat.com>
21007 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21008 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21009 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21011 * math/math_private.h (math_force_eval): Allow non-addressable
21013 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21015 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21017 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21018 file is not needed.
21020 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21021 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21022 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21023 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21024 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21025 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21026 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21027 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21029 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21030 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21031 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21032 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21033 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21034 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21035 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21036 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21037 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21038 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21039 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21040 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21041 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21042 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21043 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21044 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21045 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21046 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21047 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21049 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21050 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21052 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21053 place. Use VEX encoding when compiling for AVX.
21055 2011-10-25 Andreas Schwab <schwab@redhat.com>
21057 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21058 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21060 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21062 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21064 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21065 useless if() expression.
21066 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21067 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21068 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21069 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21070 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21071 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21072 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21073 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21074 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21075 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21076 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21077 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21078 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21079 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21080 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21081 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21082 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21084 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21086 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21088 2011-10-25 Andreas Schwab <schwab@redhat.com>
21090 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21092 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21094 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21096 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21097 .text section. Avoid duplicate constants.
21098 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21100 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21102 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21108 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21109 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21110 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21111 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21113 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21114 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21115 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21118 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21121 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21122 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21123 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21124 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21125 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21126 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21127 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21128 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21129 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21130 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21131 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21132 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21133 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21134 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21135 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21136 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21137 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21138 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21139 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21140 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21141 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21142 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21144 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21146 * sysdeps/x86_64/dla.h: Move to ...
21147 * sysdeps/x86_64/fpu/dla.h: ...here.
21148 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21149 situations. Use __builtin_fma only for gcc 4.6 and up.
21151 * config.make.in: Add have-mfma4 entry.
21152 * configure.in: Substitute libc_cv_cc_fma4.
21153 * math/Makefile (dbl-only-routines): Add sincostab.
21154 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21155 Use __sincostab not sincos.
21156 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21158 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21163 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21164 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21165 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21166 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21168 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21169 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21171 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21172 define aliases when function name is a macro.
21173 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21174 sysdeps/ieee754/dbl-64/sincos.tbl.
21175 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21176 fma4-enabled routines.
21177 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21178 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21179 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21180 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21181 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21182 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21183 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21184 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21185 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21186 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21187 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21188 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21189 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21190 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21191 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21192 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21193 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21194 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21195 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21196 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21197 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21198 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21199 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21200 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21201 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21202 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21203 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21204 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21205 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21206 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21208 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21210 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21211 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21215 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21217 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21219 2011-10-24 Andreas Schwab <schwab@redhat.com>
21221 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21223 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21225 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21227 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21229 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21231 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21232 Remove unused variable magic_bits.
21233 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21235 * string/strnlen.c: Define and use STRNLEN macro.
21236 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21237 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21238 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21239 * wcsmbs/wcslen.c: Define and use WCSLEN.
21240 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21241 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21242 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21243 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21244 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21245 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21246 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21248 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21251 strnlen-sse2-no-bsf.
21252 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21253 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21254 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21255 Add strnlen support.
21256 (USE_AS_STRNLEN): New macro.
21257 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21258 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21259 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21260 * sysdeps/x86_64/wcslen.S: New file.
21262 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21264 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21265 XMM-moves are used for copying on small sizes.
21267 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21269 * wcsmbs/Makefile (strop-tests): Add wcschr.
21270 * wcsmbs/test-wcschr.c: New file.
21271 * string/test-strchr.c: Update.
21272 Add wcschr support.
21275 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21277 * wcsmbs/Makefile (strop-tests): Add wcslen.
21278 * wcsmbs/test-wcslen.c: New file.
21279 * string/test-strlen.c: Update.
21280 Add wcslen support.
21283 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21285 * po/it.po: Update from translation team.
21287 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21289 * sysdeps/x86_64/wcscmp.S: Update.
21290 Fix wrong comparison semantics.
21291 wcscmp shall use signed comparison not unsigned.
21292 Don't use substraction to avoid overflow bug.
21293 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21294 * wcsmbc/wcscmp.c: Likewise.
21295 * string/test-strcmp.c: Likewise.
21296 Add new tests to check cases with negative values.
21298 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21300 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21301 * sysdeps/x86_64/dla.h: ...here. New file.
21302 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21305 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21307 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21308 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21309 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21310 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21312 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21315 __ynl_finite aliases.
21317 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21321 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21323 [DLA_FMA] (EMULV): Use DLA_FMA.
21324 [DLA_FMA] (MUL12): Use EMULV.
21325 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21326 that are not needed.
21327 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21330 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21331 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21332 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21333 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21335 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21337 * math/s_nan.c: Undef __nan.
21338 * math/s_nanf.c: Undef __nanf.
21339 * math/s_nanl.c: Undef __nanl.
21340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21343 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21345 * math/s_catan.c: Add branch predictions.
21346 * math/s_catanf.c: Likewise.
21347 * math/s_catanh.c: Likewise.
21348 * math/s_catanhf.c: Likewise.
21349 * math/s_catanhl.c: Likewise.
21350 * math/s_catanl.c: Likewise.
21351 * math/s_cexp.c: Likewise.
21352 * math/s_cexpf.c: Likewise.
21353 * math/s_cexpl.c: Likewise.
21354 * math/s_clog.c: Likewise.
21355 * math/s_clog10.c: Likewise.
21356 * math/s_clog10f.c: Likewise.
21357 * math/s_clog10l.c: Likewise.
21358 * math/s_clogf.c: Likewise.
21359 * math/s_clogl.c: Likewise.
21360 * math/s_csqrt.c: Likewise.
21361 * math/s_csqrtf.c: Likewise.
21362 * math/s_csqrtl.c: Likewise.
21363 * math/s_ctanf.c: Likewise.
21364 * math/s_ctanh.c: Likewise.
21365 * math/s_ctanhf.c: Likewise.
21366 * math/s_ctanhl.c: Likewise.
21367 * math/s_ctanl.c: Likewise.
21369 * math/math_private.h: Define __nan, __nanf, __nanl.
21370 * math/s_cacosh.c: Include <math_private.h>.
21371 * math/s_cacoshl.c: Likewise.
21372 * math/s_casinh.c: Likewise.
21373 * math/s_casinhf.c: Likewise.
21374 * math/s_casinhl.c: Likewise.
21375 * math/s_ccos.c: Rely entire on ccosh.
21376 * math/s_ccosf.c: Rely entire on ccoshf.
21377 * math/s_ccosl.c: Rely entirely on ccoshl.
21378 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21379 Remove tests for FE_INVALID.
21380 * math/s_ccoshf.c: Likewise.
21381 * math/s_ccoshl.c: Likewise.
21382 * math/s_csin.c: Likewise.
21383 * math/s_csinf.c: Likewise.
21384 * math/s_csinh.c Likewise.
21385 * math/s_csinhf.c: Likewise.
21386 * math/s_csinhl.c: Likewise.
21387 * math/s_csinl.c: Likewise.
21388 * math/s_ctan.c: Likewise.
21389 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21390 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21391 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21393 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21396 compilation problems.
21398 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21401 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21403 * sysdeps/i386/configure.in: Test for -mfma4 option.
21404 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21405 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21406 COMMON_CPUID_INDEX_80000001.
21407 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21408 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21409 use it if FMA3 is not supported.
21410 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21412 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21413 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21415 2011-10-20 Andreas Schwab <schwab@redhat.com>
21418 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21419 it would create a cycle with a link time dependency.
21421 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21423 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21425 * string/Makefile (strop-tests): Add rawmemchr.
21426 * string/test-rawmemchr.c: New file.
21428 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21429 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21430 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21431 when compiling str{,n}casecmp and when AVX is available. Hook up
21432 new optimized code in initializers.
21434 2011-10-19 Andreas Schwab <schwab@redhat.com>
21436 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21437 __feraiseexcept instead of feraiseexcept.
21439 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21441 * math/math_private.h: Define defaults for libc_fetestexcept and
21443 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21444 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21445 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21446 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21447 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21448 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21449 libc_fetestexcept and libc_feupdateenv.
21451 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21452 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21453 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21454 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21455 libc_feholdexcept_setround.
21457 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21458 Add s_nearbyint-c and s_nearbyintf-c.
21459 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21460 nearbyintf inlines.
21461 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21462 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21463 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21464 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21466 * math/math_private.h: Define defaults for libc_fegetround,
21467 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21468 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21469 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21470 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21471 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21472 standard functions.
21473 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21474 Remove comments and hacks for old compiler versions.
21475 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21476 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21477 libc_feholdexceptl.
21479 2011-10-18 Andreas Schwab <schwab@redhat.com>
21481 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21482 (__feraiseexcept_renamed): Add __NTH.
21483 (feraiseexcept): Add __NTH. Rename local variables to fix
21484 namespace violations.
21486 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21488 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21490 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21492 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21493 recently added interfaces.
21494 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21496 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21497 about macro parameter expansion.
21499 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21500 __NO_MATH_INLINES is defined. Cleanups.
21502 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21503 and __floorf is target has SSE4.1.
21504 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21505 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21506 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21507 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21509 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21511 (floorf): Likewise.
21513 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21515 2011-10-17 Andreas Schwab <schwab@redhat.com>
21517 * misc/sys/cdefs.h: Fix last change.
21519 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21522 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21524 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21526 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21527 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21528 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21529 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21530 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21531 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21532 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21533 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21534 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21535 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21536 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21537 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21538 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21539 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21540 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21541 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21542 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21543 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21544 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21545 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21546 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21547 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21549 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21550 ceil, ceilf, floor, floorf.
21552 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21553 Perform IRELATIVE relocations last.
21555 * elf/do-rel.h: Add another parameter nrelative, replacing the
21556 local variable with the same name. Change name of the function
21557 to end in Rel or Rela (uppercase).
21558 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21559 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21560 elf_dynamic_do_##reloc function.
21562 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21564 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21565 is sufficient, at least on modern CPUs.
21567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21569 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21570 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21572 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21574 * math/bits/math-finite.h: Add entries for exp.
21575 * math/e_expl.c: Add __*_finite alias.
21576 * sysdeps/i386/fpu/e_exp.S: Likewise.
21577 * sysdeps/i386/fpu/e_expf.S: Likewise.
21578 * sysdeps/i386/fpu/e_expl.c: Likewise.
21579 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21580 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21583 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21584 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21585 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21587 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21588 is sufficient, at least on modern CPUs.
21590 * ctype/ctype-info.c (__ctype_init): Define.
21591 * include/ctype.h (__ctype_init): Declare.
21592 (__ctype_b_loc): The variable is always initialized.
21593 (__ctype_toupper_loc): Likewise.
21594 (__ctype_tolower_loc): Likewise.
21595 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21596 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21598 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21600 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21602 * configure.in: Also look in $cxxmachine/include for C++ system
21605 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21607 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21608 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21609 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21610 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21611 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21612 (USE_AS_WMEMCMP): New macro.
21614 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21615 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21616 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21617 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21618 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21619 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21620 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21621 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21622 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21623 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21624 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21625 (USE_AS_WMEMCMP): New macro.
21626 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21627 * sysdeps/string/test-memcmp.c: Update.
21628 Fix simple_wmemcmp.
21630 * wcsmbs/wmemcmp.c: Update.
21631 (WMEMCMP): New macro.
21634 2011-10-12 Andreas Jaeger <aj@suse.de>
21637 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21639 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21641 * libio/iofwide.c (do_length): Avoid warning.
21643 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21645 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21647 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21649 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21650 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21651 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21652 * sysdeps/i386/i686/fpu/e_log.S: New file.
21653 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21654 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21656 * ctype/ctype.h: Add support for inlined isXXX functions when
21657 compiling C++ code.
21659 2011-10-14 Andreas Schwab <schwab@redhat.com>
21661 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21663 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21665 2011-10-13 Roland McGrath <roland@hack.frob.com>
21668 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21670 2011-10-13 Andreas Schwab <schwab@redhat.com>
21672 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21673 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21676 * sysdeps/x86_64/memrchr.S: Check for zero size.
21678 * string/stratcliff.c: Add memrchr tests.
21680 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21683 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21684 rawmemchr-sse2 rawmemchr-sse2-bsf.
21685 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21686 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21687 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21688 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21689 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21690 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21691 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21692 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21693 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21694 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21695 * string/memrchr.c (MEMRCHR): New macro.
21697 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21699 Add integration with gcc's -ffinite-math-only and optimize wrapper
21701 * Versions.def: Define GLIBC_2.15 version for libm.
21702 * math/Makefile (headers): Add bits/math-finite.h.
21703 * math/bits/math-finite.h: New file.
21704 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21705 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21706 * math/e_acoshl.c: Add __*_finite alias.
21707 * math/e_acosl.c: Likewise.
21708 * math/e_asinl.c: Likewise.
21709 * math/e_atan2l.c: Likewise.
21710 * math/e_atanhl.c: Likewise.
21711 * math/e_coshl.c: Likewise.
21712 * math/e_exp10.c: Likewise.
21713 * math/e_exp10f.c: Likewise.
21714 * math/e_exp10l.c: Likewise.
21715 * math/e_exp2l.c: Likewise.
21716 * math/e_fmodl.c: Likewise.
21717 * math/e_gammal_r.c: Likewise.
21718 * math/e_hypotl.c: Likewise.
21719 * math/e_j0l.c: Likewise.
21720 * math/e_j1l.c: Likewise.
21721 * math/e_jnl.c: Likewise.
21722 * math/e_lgammal_r.c: Likewise.
21723 * math/e_log10l.c: Likewise.
21724 * math/e_log2l.c: Likewise.
21725 * math/e_logl.c: Likewise.
21726 * math/e_powl.c: Likewise.
21727 * math/e_sinhl.c: Likewise.
21728 * math/e_sqrtl.c: Likewise.
21729 * math/e_scalb.c: Completely rewritten and optimized.
21730 * math/e_scalbf.c: Likewise.
21731 * math/e_scalbl.c: Likewise.
21732 * math/w_acos.c: Likewise.
21733 * math/w_acosf.c: Likewise.
21734 * math/w_acosl.c: Likewise.
21735 * math/w_acosh.c: Likewise.
21736 * math/w_acoshf.c: Likewise.
21737 * math/w_acoshl.c: Likewise.
21738 * math/w_asin.c: Likewise.
21739 * math/w_asinf.c: Likewise.
21740 * math/w_asinl.c: Likewise.
21741 * math/w_atan2.c: Likewise.
21742 * math/w_atan2f.c: Likewise.
21743 * math/w_atan2l.c: Likewise.
21744 * math/w_atanh.c: Likewise.
21745 * math/w_atanhf.c: Likewise.
21746 * math/w_atanhl.c: Likewise.
21747 * math/w_exp10.c: Likewise.
21748 * math/w_exp10f.c: Likewise.
21749 * math/w_exp10l.c: Likewise.
21750 * math/w_fmod.c: Likewise.
21751 * math/w_fmodf.c: Likewise.
21752 * math/w_fmodl.c: Likewise.
21753 * math/w_j0.c: Likewise.
21754 * math/w_j0f.c: Likewise.
21755 * math/w_j0l.c: Likewise.
21756 * math/w_j1.c: Likewise.
21757 * math/w_j1f.c: Likewise.
21758 * math/w_j1l.c: Likewise.
21759 * math/w_jn.c: Likewise.
21760 * math/w_jnf.c: Likewise.
21761 * math/w_log.c: Likewise.
21762 * math/w_logf.c: Likewise.
21763 * math/w_logl.c: Likewise.
21764 * math/w_log10.c: Likewise.
21765 * math/w_log10f.c: Likewise.
21766 * math/w_log10l.c: Likewise.
21767 * math/w_log2.c: Likewise.
21768 * math/w_log2f.c: Likewise.
21769 * math/w_log2l.c: Likewise.
21770 * math/w_pow.c: Likewise.
21771 * math/w_powf.c: Likewise.
21772 * math/w_powl.c: Likewise.
21773 * math/w_remainder.c: Likewise.
21774 * math/w_remainderf.c: Likewise.
21775 * math/w_remainderl.c: Likewise.
21776 * math/w_scalb.c: Likewise.
21777 * math/w_scalbf.c: Likewise.
21778 * math/w_scalbl.c: Likewise.
21779 * math/w_sqrt.c: Likewise.
21780 * math/w_sqrtf.c: Likewise.
21781 * math/w_sqrtl.c: Likewise.
21782 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21783 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21785 * math/math_private.h: Declare __kernel_standard_f.
21786 * math/w_cosh.c: Remove cruft and optimize a bit.
21787 * math/w_coshf.c: Likewise.
21788 * math/w_coshl.c: Likewise.
21789 * math/w_exp2.c: Likewise.
21790 * math/w_exp2f.c: Likewise.
21791 * math/w_exp2l.c: Likewise.
21792 * math/w_hypot.c: Likewise.
21793 * math/w_hypotf.c: Likewise.
21794 * math/w_hypotl.c: Likewise.
21795 * math/w_lgamma.c: Likewise.
21796 * math/w_lgamma_r.c: Likewise.
21797 * math/w_lgammaf.c: Likewise.
21798 * math/w_lgammaf_r.c: Likewise.
21799 * math/w_lgammal.c: Likewise.
21800 * math/w_lgammal_r.c: Likewise.
21801 * math/w_sinh.c: Likewise.
21802 * math/w_sinhf.c: Likewise.
21803 * math/w_sinhl.c: Likewise.
21804 * math/w_tgamma.c: Likewise.
21805 * math/w_tgammaf.c: Likewise.
21806 * math/w_tgammal.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21808 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21809 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21810 Minor optimizations. Pretty printing. Remove cruft.
21811 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21812 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21813 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21814 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21815 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21816 * sysdeps/i386/fpu/e_asin.S: Likewise.
21817 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21818 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21819 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21820 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21821 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21822 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21823 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21824 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21825 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21826 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21827 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21828 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21829 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21830 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21831 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21832 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21833 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21834 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21835 * sysdeps/i386/fpu/e_log.S: Likewise.
21836 * sysdeps/i386/fpu/e_log10.S: Likewise.
21837 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21838 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21839 * sysdeps/i386/fpu/e_log2.S: Likewise.
21840 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21841 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21842 * sysdeps/i386/fpu/e_logf.S: Likewise.
21843 * sysdeps/i386/fpu/e_logl.S: Likewise.
21844 * sysdeps/i386/fpu/e_pow.S: Likewise.
21845 * sysdeps/i386/fpu/e_powf.S: Likewise.
21846 * sysdeps/i386/fpu/e_powl.S: Likewise.
21847 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21848 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21849 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21850 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21852 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21853 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21854 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21855 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21856 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21857 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21859 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21860 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21861 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21862 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21863 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21865 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21866 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21869 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21873 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21874 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21875 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21877 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21878 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21879 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21880 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21881 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21882 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21883 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21884 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21885 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21886 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21887 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21888 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21889 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21890 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21891 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21892 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21893 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21894 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21895 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21896 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21897 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21898 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21899 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21900 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21901 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21902 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21903 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21904 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21905 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21906 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21907 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21908 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21909 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21910 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21911 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21912 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21913 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21914 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21915 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21916 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21917 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21918 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21919 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21920 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21921 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21922 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21923 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21924 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21925 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21926 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21927 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21928 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21929 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21930 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21932 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21933 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21935 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21936 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21937 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21938 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21939 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21940 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21941 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21942 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21943 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21944 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21945 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21946 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21947 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21948 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21949 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21950 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21951 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21952 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21953 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21954 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21955 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21956 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21957 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21958 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21959 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21960 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21961 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21962 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21963 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21964 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21965 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21966 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21967 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21968 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21969 (__isnanf): Likewise.
21970 (__isinf_ns): Likewise.
21971 (__isinf_nsf): Likewise.
21972 (__finite): Likewise.
21973 (__finitef): Likewise.
21974 (__ieee754_sqrt): Define as macro.
21975 (__ieee754_sqrtf): Define as macro.
21976 (__ieee754_sqrtl): Define as macro.
21977 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21979 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21980 __FINITE_MATH_ONLY__ consistent.
21981 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21983 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21985 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21988 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21990 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21992 * po/ja.po: Update from translation team.
21994 2011-10-08 Roland McGrath <roland@hack.frob.com>
21996 * locale/programs/locarchive.c (prepare_address_space): New function.
21997 (create_archive, enlarge_archive, open_archive): Use it.
21999 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22000 inside [SHARED], where it is used.
22002 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22004 * nss/getent.c (netgroup_keys): Remove unused variable.
22005 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22007 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22009 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22010 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22012 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22013 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22014 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22015 * math/Makefile (libm-calls): Add s_isinf_ns.
22016 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22017 * math/multc3.c: Likewise.
22018 * math/s_casin.c: Likewise.
22019 * math/s_casinf.c: Likewise.
22020 * math/s_casinl.c: Likewise.
22021 * math/s_ccos.c: Likewise.
22022 * math/s_ccosf.c: Likewise.
22023 * math/s_ccosl.c: Likewise.
22024 * math/s_ctan.c: Likewise.
22025 * math/s_ctanf.c: Likewise.
22026 * math/s_ctanh.c: Likewise.
22027 * math/s_ctanhf.c: Likewise.
22028 * math/s_ctanhl.c: Likewise.
22029 * math/s_ctanl.c: Likewise.
22030 * math/w_fmod.c: Likewise.
22031 * math/w_fmodf.c: Likewise.
22032 * math/w_fmodl.c: Likewise.
22033 * math/w_remainder.c: Likewise.
22034 * math/w_remainderf.c: Likewise.
22035 * math/w_remainderl.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22037 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22038 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22039 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22040 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22041 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22042 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22043 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22045 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22047 * stdio-common/printf_fphex.c: Likewise.
22048 * stdio-common/printf_size.c: Likewise.
22050 * math/e_exp10.c: Include math_private.h using <...> not "...".
22051 * math/e_exp10f.c: Likewise.
22052 * math/e_exp10l.c: Likewise.
22053 * math/e_exp2l.c: Likewise.
22054 * math/e_j0l.c: Likewise.
22055 * math/e_j1l.c: Likewise.
22056 * math/e_jnl.c: Likewise.
22057 * math/e_lgammal_r.c: Likewise.
22058 * math/e_rem_pio2l.c: Likewise.
22059 * math/e_scalb.c: Likewise.
22060 * math/e_scalbf.c: Likewise.
22061 * math/e_scalbl.c: Likewise.
22062 * math/k_cosl.c: Likewise.
22063 * math/k_sinl.c: Likewise.
22064 * math/k_tanl.c: Likewise.
22065 * math/s_cacoshf.c: Likewise.
22066 * math/s_catan.c: Likewise.
22067 * math/s_catanf.c: Likewise.
22068 * math/s_catanh.c: Likewise.
22069 * math/s_catanhf.c: Likewise.
22070 * math/s_catanhl.c: Likewise.
22071 * math/s_catanl.c: Likewise.
22072 * math/s_ccosh.c: Likewise.
22073 * math/s_ccoshf.c: Likewise.
22074 * math/s_ccoshl.c: Likewise.
22075 * math/s_cexp.c: Likewise.
22076 * math/s_cexpf.c: Likewise.
22077 * math/s_cexpl.c: Likewise.
22078 * math/s_clog.c: Likewise.
22079 * math/s_clog10.c: Likewise.
22080 * math/s_clog10f.c: Likewise.
22081 * math/s_clog10l.c: Likewise.
22082 * math/s_clogf.c: Likewise.
22083 * math/s_clogl.c: Likewise.
22084 * math/s_csin.c: Likewise.
22085 * math/s_csinf.c: Likewise.
22086 * math/s_csinh.c: Likewise.
22087 * math/s_csinhf.c: Likewise.
22088 * math/s_csinhl.c: Likewise.
22089 * math/s_csinl.c: Likewise.
22090 * math/s_csqrt.c: Likewise.
22091 * math/s_csqrtf.c: Likewise.
22092 * math/s_csqrtl.c: Likewise.
22093 * math/s_ctan.c: Likewise.
22094 * math/s_ctanf.c: Likewise.
22095 * math/s_ctanh.c: Likewise.
22096 * math/s_ctanhf.c: Likewise.
22097 * math/s_ctanhl.c: Likewise.
22098 * math/s_ctanl.c: Likewise.
22099 * math/s_ldexp.c: Likewise.
22100 * math/s_ldexpf.c: Likewise.
22101 * math/s_ldexpl.c: Likewise.
22102 * math/s_significand.c: Likewise.
22103 * math/s_significandf.c: Likewise.
22104 * math/s_significandl.c: Likewise.
22105 * math/w_acos.c: Likewise.
22106 * math/w_acosf.c: Likewise.
22107 * math/w_acosh.c: Likewise.
22108 * math/w_acoshf.c: Likewise.
22109 * math/w_acoshl.c: Likewise.
22110 * math/w_acosl.c: Likewise.
22111 * math/w_asin.c: Likewise.
22112 * math/w_asinf.c: Likewise.
22113 * math/w_asinl.c: Likewise.
22114 * math/w_atan2.c: Likewise.
22115 * math/w_atan2f.c: Likewise.
22116 * math/w_atan2l.c: Likewise.
22117 * math/w_atanh.c: Likewise.
22118 * math/w_atanhf.c: Likewise.
22119 * math/w_atanhl.c: Likewise.
22120 * math/w_cosh.c: Likewise.
22121 * math/w_coshf.c: Likewise.
22122 * math/w_coshl.c: Likewise.
22123 * math/w_dremf.c: Likewise.
22124 * math/w_exp10.c: Likewise.
22125 * math/w_exp10f.c: Likewise.
22126 * math/w_exp10l.c: Likewise.
22127 * math/w_exp2.c: Likewise.
22128 * math/w_exp2f.c: Likewise.
22129 * math/w_fmod.c: Likewise.
22130 * math/w_fmodf.c: Likewise.
22131 * math/w_fmodl.c: Likewise.
22132 * math/w_hypot.c: Likewise.
22133 * math/w_hypotf.c: Likewise.
22134 * math/w_hypotl.c: Likewise.
22135 * math/w_j0.c: Likewise.
22136 * math/w_j0f.c: Likewise.
22137 * math/w_j0l.c: Likewise.
22138 * math/w_j1.c: Likewise.
22139 * math/w_j1f.c: Likewise.
22140 * math/w_j1l.c: Likewise.
22141 * math/w_jn.c: Likewise.
22142 * math/w_jnf.c: Likewise.
22143 * math/w_jnl.c: Likewise.
22144 * math/w_lgamma.c: Likewise.
22145 * math/w_lgamma_r.c: Likewise.
22146 * math/w_lgammaf.c: Likewise.
22147 * math/w_lgammaf_r.c: Likewise.
22148 * math/w_lgammal.c: Likewise.
22149 * math/w_lgammal_r.c: Likewise.
22150 * math/w_log.c: Likewise.
22151 * math/w_log10.c: Likewise.
22152 * math/w_log10f.c: Likewise.
22153 * math/w_log10l.c: Likewise.
22154 * math/w_log2.c: Likewise.
22155 * math/w_log2f.c: Likewise.
22156 * math/w_log2l.c: Likewise.
22157 * math/w_logf.c: Likewise.
22158 * math/w_logl.c: Likewise.
22159 * math/w_pow.c: Likewise.
22160 * math/w_powf.c: Likewise.
22161 * math/w_powl.c: Likewise.
22162 * math/w_remainder.c: Likewise.
22163 * math/w_remainderf.c: Likewise.
22164 * math/w_remainderl.c: Likewise.
22165 * math/w_scalb.c: Likewise.
22166 * math/w_scalbf.c: Likewise.
22167 * math/w_scalbl.c: Likewise.
22168 * math/w_sinh.c: Likewise.
22169 * math/w_sinhf.c: Likewise.
22170 * math/w_sinhl.c: Likewise.
22171 * math/w_sqrt.c: Likewise.
22172 * math/w_sqrtf.c: Likewise.
22173 * math/w_sqrtl.c: Likewise.
22174 * math/w_tgamma.c: Likewise.
22175 * math/w_tgammaf.c: Likewise.
22176 * math/w_tgammal.c: Likewise.
22178 * po/ja.po: Update from translation team.
22180 2011-09-29 Andreas Jaeger <aj@suse.de>
22183 * sunrpc/netname.c (netname2host): Fix logic.
22187 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22189 * math/w_remainder.c (__remainder): Likewise.
22190 * math/w_remainderf.c (__remainderf): Likewise.
22191 * math/libm-test.inc (remainder_test): Add test cases.
22193 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22195 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22198 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22200 * string/test-memcmp.c: Avoid unncessary #defines.
22201 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22203 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22205 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22206 Use new sse2 version for core i3 - i7 as it's faster
22207 than sse42 version.
22208 (bit_Prefer_PMINUB_for_stringop): New.
22209 * sysdeps/x86_64/rawmemchr.S: Update.
22210 Replace with faster SSE2 version.
22211 * sysdeps/x86_64/memrchr.S: New file.
22212 * sysdeps/x86_64/memchr.S: Update.
22213 Replace with faster SSE2 version.
22215 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22217 * elf/dl-load.c (lose): Add cast to avoid warning.
22219 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22221 * po/ca.po: Update from translation team.
22223 * inet/getnetgrent_r.c: Hook up nscd.
22224 * nscd/Makefile (routines): Add nscd_netgroup.
22225 (nscd-modules): Add netgroupcache.
22226 (CFLAGS-netgroupcache.c): Define.
22227 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22228 (cache_search): Add const to second parameter.
22229 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22231 (dbs): Add netgrdb entry.
22232 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22233 (verify_persistent_db): Handle netgrdb.
22234 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22235 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22237 (netgroup_response_header): Define.
22238 (innetgroup_response_header): Define.
22239 (datahead): Add netgroup_response_header and innetgroup_response_header
22241 * nscd/nscd.conf: Add entries for netgroup cache.
22242 * nscd/nscd.h (dbtype): Add netgrdb.
22243 (_PATH_NSCD_NETGROUP_DB): Define.
22244 (netgroup_iov_disabled): Declare.
22245 (xmalloc, xcalloc, xrealloc): Move declarations here.
22246 (cache_search): Adjust prototype.
22247 Add netgroup-related prototypes.
22248 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22249 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22250 (__nscd_innetgr): Declare.
22251 * nscd/selinux.c (perms): Use access_vector_t as element type and
22252 add netgroup-related initializers.
22253 * nscd/netgroupcache.c: New file.
22254 * nscd/nscd_netgroup.c: New file.
22255 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22256 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22257 For four parameters use innetgr.
22258 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22259 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22260 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22261 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22263 * nscd/connections.c (register_traced_file): Don't register file
22264 for disabled databases.
22266 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22268 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22270 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22271 from tree and freeing node.
22273 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22275 * nss/nsswitch.c (__nss_database_lookup): Handle
22276 nss_parse_service_list out of memory case.
22278 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22280 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22281 out of memory case.
22283 2011-10-04 Andreas Schwab <schwab@redhat.com>
22285 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22286 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22288 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22289 elf_machine_rela, elf_machine_lazy_rel.
22290 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22291 (ELF_DYNAMIC_DO_REL): Likewise.
22292 (ELF_DYNAMIC_DO_RELA): Likewise.
22293 (ELF_DYNAMIC_RELOCATE): Likewise.
22294 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22295 to ELF_DYNAMIC_DO_REL.
22296 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22297 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22298 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22300 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22301 skip_ifunc, don't call ifunc function if non-zero.
22302 (elf_machine_rela): Likewise.
22303 (elf_machine_lazy_rel): Likewise.
22304 (elf_machine_lazy_rela): Likewise.
22305 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22306 (elf_machine_lazy_rel): Likewise.
22307 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22309 (elf_machine_lazy_rel): Likewise.
22310 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22312 (elf_machine_lazy_rel): Likewise.
22313 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22314 (elf_machine_lazy_rel): Likewise.
22315 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22316 (elf_machine_lazy_rel): Likewise.
22317 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22318 (elf_machine_lazy_rel): Likewise.
22319 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22320 (elf_machine_lazy_rel): Likewise.
22321 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22322 (elf_machine_lazy_rel): Likewise.
22323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22324 (elf_machine_lazy_rel): Likewise.
22326 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22328 * nss/nss_files/files-init.c (_nss_files_init): Use static
22329 initialization for all the *_traced_file variables.
22331 2011-09-28 Andreas Schwab <schwab@redhat.com>
22333 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22335 2011-09-27 Roland McGrath <roland@hack.frob.com>
22338 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22340 2011-09-27 Andreas Schwab <schwab@redhat.com>
22342 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22343 Reread the line before reparsing it.
22345 2011-09-26 Andreas Schwab <schwab@redhat.com>
22347 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22349 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22350 Maxim Kuvyrkov <maxim@codesourcery.com>
22351 Joseph Myers <joseph@codesourcery.com>
22353 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22354 if needed for __stack_chk_guard.
22356 2011-09-19 Roland McGrath <roland@hack.frob.com>
22358 * sysdeps/posix/spawni.c (script_execute): Always define it.
22359 It will be optimized away if unused.
22360 (maybe_script_execute): New function.
22361 (__spawni): Call it.
22363 * Makerules: Don't include tls.make.
22364 (config-tls): Always set to thread.
22365 * tls.make.c: File removed.
22367 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22369 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22370 * config.make.in (CPPFLAGS-config): New substituted variable.
22372 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22374 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22377 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22378 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22380 2011-09-15 Roland McGrath <roland@hack.frob.com>
22382 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22383 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22384 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22385 (CALL_FAIL): Likewise.
22386 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22387 (CALL_FAIL): Macro removed.
22388 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22390 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22392 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22393 for __FINITE_MATH_ONLY__ == 1.
22395 2011-09-15 Andreas Schwab <schwab@redhat.com>
22397 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22398 __ieee754_sqrt instead of sqrt.
22399 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22400 __ieee754_sqrtf instead of sqrtf.
22401 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22402 __floorf instead of floorf.
22403 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22404 __floorf, __truncf instead of floorf, truncf.
22406 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22408 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22410 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22411 __extern_always_inline.
22412 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22415 2011-09-14 Andreas Schwab <schwab@redhat.com>
22417 * elf/rtld.c (dl_main): Also relocate in dependency order when
22418 doing symbol dependency testing.
22420 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22422 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22423 Always define `refsym'.
22425 2011-09-13 Andreas Schwab <schwab@redhat.com>
22427 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22428 (__FD_ELT): Renamed from __FDELT.
22429 * misc/bits/select2.h (__FD_ELT): Likewise.
22430 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22431 __FD_MASK instead of __FDELT, __FDMASK.
22432 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22434 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22437 * elf/Makefile (gen-ldd): Fix pattern.
22439 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22440 (init_tls): Likewise.
22442 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22444 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22446 2011-09-12 Andreas Schwab <schwab@redhat.com>
22448 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22449 `struct cmsghdr *' instead of `void *'.
22450 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22453 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22455 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22457 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22458 ldd_rewrite_script.
22460 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22462 * configure.in: Remove --with-tls option.
22463 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22464 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22465 out in case it is missing.
22466 * sysdeps/ia64/elf/configure.in: Likewise.
22467 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22468 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22469 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22470 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22471 * sysdeps/sh/elf/configure.in: Likewise.
22472 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22473 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22474 * sysdeps/x86_64/elf/configure.in: Likewise.
22475 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22476 * sysdeps/mach/hurd/tls.h: Likewise.
22479 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22482 * configure.in: Fix use of AC_INIT.
22484 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22486 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22488 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22490 * malloc/hooks.c: Likewise.
22493 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22494 variables statically.
22495 (narenas): Initialize.
22496 (list_lock): Initialize.
22497 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22498 initializtion of main_arena and list_lock. Small cleanups.
22499 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22500 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22501 Add initializers to main_arena and mp_.
22502 (malloc_state): Remove pagesize member. Change all users to use
22505 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22506 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22507 is always initialized.
22509 * malloc/malloc.c: Removed unused configurations and dead code.
22510 * malloc/arena.c: Likewise.
22511 * malloc/hooks.c: Likewise.
22512 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22514 * include/tls.h: Removed. USE___THREAD must always be defined.
22515 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22516 * elf/dl-libc.c: Likewise.
22517 * elf/dl-tsd.c: Likewise.
22518 * include/errno.h: Likewise.
22519 * include/netdb.h: Likewise.
22520 * include/resolv.h: Likewise.
22521 * inet/herrno-loc.c: Likewise.
22522 * inet/herrno.c: Likewise.
22523 * malloc/arena.c: Likewise.
22524 * malloc/hooks.c: Likewise.
22525 * malloc/malloc.c: Likewise.
22526 * resolv/res-state.c: Likewise.
22527 * resolv/res_libc.c: Likewise.
22528 * sysdeps/i386/dl-machine.h: Likewise.
22529 * sysdeps/ia64/dl-machine.h: Likewise.
22530 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22531 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22532 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22533 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22534 * sysdeps/sh/dl-machine.h: Likewise.
22535 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22536 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22537 * sysdeps/unix/i386/sysdep.S: Likewise.
22538 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22539 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22540 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22541 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22543 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22544 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22548 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22549 * sysdeps/x86_64/dl-machine.h: Likewise.
22550 * tls.make.c: Likewise.
22552 * configure.in: Remove --with-__thread option. Make tests for
22553 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22554 tls_model attribute fail if no support is available. Remove
22556 * Makeconfig: Adjust for dropped configure option. All features are
22558 * Makerules: Likewise.
22559 * Versions.def: Likewise.
22560 * argp/argp-fmtstream.c: Likewise.
22561 * argp/argp-fmtstream.h: Likewise.
22562 * argp/argp-help.c: Likewise.
22563 * assert/assert.c: Likewise.
22564 * config.h.in: Likewise.
22565 * config.make.in: Likewise.
22566 * configure: Likewise.
22567 * configure.in: Likewise.
22568 * csu/Versions: Likewise.
22569 * csu/init.c: Likewise.
22570 * elf/tst-audit2.c: Likewise.
22571 * elf/tst-tls10.c: Likewise.
22572 * elf/tst-tls10.h: Likewise.
22573 * elf/tst-tls11.c: Likewise.
22574 * elf/tst-tls12.c: Likewise.
22575 * elf/tst-tls14.c: Likewise.
22576 * elf/tst-tlsmod11.c: Likewise.
22577 * elf/tst-tlsmod12.c: Likewise.
22578 * elf/tst-tlsmod13.c: Likewise.
22579 * elf/tst-tlsmod13a.c: Likewise.
22580 * elf/tst-tlsmod14a.c: Likewise.
22581 * elf/tst-tlsmod15b.c: Likewise.
22582 * elf/tst-tlsmod16a.c: Likewise.
22583 * elf/tst-tlsmod16b.c: Likewise.
22584 * elf/tst-tlsmod7.c: Likewise.
22585 * elf/tst-tlsmod8.c: Likewise.
22586 * elf/tst-tlsmod9.c: Likewise.
22587 * gmon/gmon.c: Likewise.
22588 * grp/fgetgrent_r.c: Likewise.
22589 * grp/putgrent.c: Likewise.
22590 * hurd/fopenport.c: Likewise.
22591 * include/libc-symbols.h: Likewise.
22592 * include/tls.h: Likewise.
22593 * intl/gettextP.h: Likewise.
22594 * intl/loadinfo.h: Likewise.
22595 * locale/global-locale.c: Likewise.
22596 * locale/localeinfo.h: Likewise.
22597 * mach/devstream.c: Likewise.
22598 * malloc/arena.c: Likewise.
22599 * malloc/set-freeres.c: Likewise.
22600 * misc/err.c: Likewise.
22601 * misc/getttyent.c: Likewise.
22602 * misc/mntent_r.c: Likewise.
22603 * posix/getopt.c: Likewise.
22604 * posix/wordexp.c: Likewise.
22605 * pwd/fgetpwent_r.c: Likewise.
22606 * resolv/Versions: Likewise.
22607 * resolv/res_hconf.c: Likewise.
22608 * shadow/fgetspent_r.c: Likewise.
22609 * shadow/putspent.c: Likewise.
22610 * stdio-common/printf_fphex.c: Likewise.
22611 * stdio-common/tmpfile.c: Likewise.
22612 * stdlib/abort.c: Likewise.
22613 * stdlib/fmtmsg.c: Likewise.
22614 * sunrpc/auth_unix.c: Likewise.
22615 * sunrpc/clnt_perr.c: Likewise.
22616 * sunrpc/clnt_tcp.c: Likewise.
22617 * sunrpc/clnt_udp.c: Likewise.
22618 * sunrpc/clnt_unix.c: Likewise.
22619 * sunrpc/openchild.c: Likewise.
22620 * sunrpc/svc_simple.c: Likewise.
22621 * sunrpc/svc_tcp.c: Likewise.
22622 * sunrpc/svc_udp.c: Likewise.
22623 * sunrpc/svc_unix.c: Likewise.
22624 * sunrpc/xdr.c: Likewise.
22625 * sunrpc/xdr_array.c: Likewise.
22626 * sunrpc/xdr_rec.c: Likewise.
22627 * sunrpc/xdr_ref.c: Likewise.
22628 * sunrpc/xdr_stdio.c: Likewise.
22630 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22632 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22634 2011-07-03 Andreas Jaeger <aj@suse.de>
22636 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22637 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22638 regenerate with gen-libm-tests.pl.
22640 2010-05-12 Petr Baudis <pasky@suse.cz>
22643 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22644 around j0() zero points by switching to j1().
22645 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22650 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22652 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22654 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22657 Patch in part by Pavel Roskin <proski@gnu.org>.
22660 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22662 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22663 Free memory block if necessary.
22666 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22667 be NULL. Don't lock in this case.
22669 2011-09-09 Roland McGrath <roland@hack.frob.com>
22671 * elf/elf.h (ELFOSABI_GNU): New macro.
22672 (ELFOSABI_LINUX): Define to that.
22674 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22676 * string/strncat.c (strncat): Undef the symbol in case it has been
22677 defined in bits/string.h.
22679 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22681 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22683 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22686 2011-08-17 Andreas Jaeger <aj@suse.de>
22688 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22690 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22691 Ian Lance Taylor <iant@google.com>
22693 * math/libm-test.inc (lround_test): New testcase.
22694 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22696 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22698 * Makefile: Remove support for automatic cvs check-ins.
22699 * Makerules: Likewise.
22700 * config.make.in: Likewise.
22701 * configure.in: Likewise.
22702 * intl/Makefile: Likewise.
22703 * locale/Makefile: Likewise.
22704 * po/Makefile: Likewise.
22705 * posix/Makefile: Likewise.
22706 * sysdeps/gnu/Makefile: Likewise.
22707 * sysdeps/mach/hurd/Makefile: Likewise.
22708 * sysdeps/sparc/sparc32/Makefile: Likewise.
22711 * posix/Makefile (bug-regex32-ENV): Define.
22712 Patch by John Stanley <jpsinthemix@verizon.net>.
22714 * misc/Makefile (headers): Add bits/select2.h.
22715 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22716 * misc/bits/select2.h: New file.
22717 * include/bits/select2.h: New file.
22718 * debug/Makefile (routines): Add fdelt_chk.
22719 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22720 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22722 * debug/fdelt_chk.c: New file.
22724 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22725 * wcsmbs/test-wmemcmp.c: Likewise.
22726 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22727 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22729 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22731 * string/Makefile (strop-tests): Add memcmp.
22732 * string/test-wmemcmp.c: New file.
22733 * string/test-memcmp.c: Add wmemcmp support.
22735 2011-09-08 Roland McGrath <roland@hack.frob.com>
22738 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22741 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22742 garbage value in a __mach_port_mod_refs call in the cases of the
22743 task-self and thread-self ports.
22745 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22747 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22749 2011-09-08 Andreas Schwab <schwab@redhat.com>
22751 * elf/dl-load.c (lose): Check for non-null L.
22753 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22755 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22757 * elf/dl-libc.c (dlerror_run): Pass back error code from
22761 * elf/dl-load.c (lose): Free l_origin if it is valid.
22763 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22765 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22766 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22767 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22768 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22769 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22770 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22772 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22774 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22775 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22776 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22777 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22778 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22779 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22780 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22781 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22782 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22783 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22785 2011-08-15 Alan Modra <amodra@gmail.com>
22788 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22789 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22790 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22791 ppc_mcount to static-only-routines.
22792 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22794 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22795 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22797 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22799 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22800 for finite and infinity parameters.
22802 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22804 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22805 and add nop instructions for throughput optimization.
22806 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22808 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22810 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22811 aligned copy for power7 with vector-scalar instructions.
22812 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22814 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22816 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22819 2011-09-07 Andreas Schwab <schwab@redhat.com>
22822 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22825 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22827 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22828 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22829 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22830 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22833 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22835 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22836 Forgot to demangle the pointer.
22838 * sysdeps/i386/sysdep.h: Define atom_text_section.
22839 * sysdeps/x86_64/sysdep.h: Likewise.
22840 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22841 section with atom_text_section.
22842 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22843 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22844 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22845 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22846 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22848 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22849 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22850 already be defined. Change to take two parameters and don't assign
22851 result to variable. Adjust all users.
22852 Define INTERNAL_GETTIME if not already defined.
22853 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22856 HAVE_CLOCK_GETTIME_VSYSCALL.
22857 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22859 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22860 gettimeofday vsyscall, just use time.
22862 2011-09-06 Andreas Schwab <schwab@redhat.com>
22864 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22867 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22869 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22871 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22873 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22874 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22875 syscall if possible.
22877 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22879 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22880 e_ident. Don't pass to find_mapsXX.
22881 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22883 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22886 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22887 * sysdeps/x86_64/multiarch/strchr.S: Update.
22888 Check bit_slow_BSF bit.
22889 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22890 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22891 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22893 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22896 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22898 (tryshell): Define.
22899 (__spawni): Change last parameter to be flag. Test
22900 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22901 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22902 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22903 * posix/spawni.c: Likewise.
22904 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22905 * posix/spawnp.c: Likewise. Change normal version to use
22906 SPAWN_XFLAGS_USE_PATH.
22907 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22908 SPAWN_XFLAGS_TRY_SHELL.
22911 * posix/glob.h: Remove gcc 1.x support.
22914 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22916 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22919 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22921 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22922 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22923 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22924 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22925 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22926 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22928 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22930 * sysdeps/x86_64/wcscmp.S: New file.
22932 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22933 wcscmp-c wcscmp-sse2
22934 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22935 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22936 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22937 * wcsmbs/wcscmp.c: Allow renaming.
22939 2011-09-05 David S. Miller <davem@davemloft.net>
22941 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22942 stack slot, rather than the struct return pointer slot.
22943 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22944 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22946 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22948 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22950 * po/ja.po: Update from translation team.
22953 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22954 kernel in 64-bit binaries.
22956 2011-09-01 David S. Miller <davem@davemloft.net>
22958 * elf/elf.h (HWCAP_SPARC_*): Move to..
22959 * sysdeps/sparc/sysdep.h: this new file and add new values.
22960 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22961 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22962 _DL_HWCAP_COUNT to 24.
22963 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22965 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22966 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22967 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22968 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22969 instead of magic constants.
22970 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22972 2011-08-31 David S. Miller <davem@davemloft.net>
22974 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22976 Reimplement to do errno handling inline.
22977 (SYSCALL_ERROR_HANDLER): New macro.
22978 (__SYSCALL_STRING): Do not do errno handling in asm.
22979 (__CLONE_SYSCALL_STRING): Delete.
22980 (__INTERNAL_SYSCALL_STRING): Delete.
22981 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22982 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22983 (PSEUDO): Reimplement to do errno handling inline.
22984 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22985 (SYSCALL_ERROR_HANDLER): New macro.
22986 (__SYSCALL_STRING): Do not do errno handling in asm.
22987 (__CLONE_SYSCALL_STRING): Delete.
22988 (__INTERNAL_SYSCALL_STRING): Delete.
22989 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22990 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22992 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22993 (inline_syscall*): Add 'err' argument.
22994 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22995 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22996 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22997 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22999 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23000 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23002 2011-08-30 Andreas Schwab <schwab@redhat.com>
23004 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23006 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23008 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23011 2011-08-24 David S. Miller <davem@davemloft.net>
23013 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23015 2011-08-24 Andreas Schwab <schwab@redhat.com>
23017 * elf/Makefile: Add rules to build and run unload8 test.
23018 * elf/unload8.c: New file.
23019 * elf/unload8mod1.c: New file.
23020 * elf/unload8mod1x.c: New file.
23021 * elf/unload8mod2.c: New file.
23022 * elf/unload8mod3.c: New file.
23024 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23027 2011-08-23 David S. Miller <davem@davemloft.net>
23029 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23030 subtract stack bias.
23031 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23032 %sp not %fp in calculations.
23033 (_JMPBUF_UNWINDS_ADJ): Likewise.
23035 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23036 (aio_suspend): Call it to force an exception region around the
23037 AIO_MISC_WAIT() invocation.
23039 2011-08-23 Andreas Schwab <schwab@redhat.com>
23041 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23044 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23046 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23048 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23049 and <dl-machine.h>.
23050 (Elf64_FuncDesc): Remove.
23052 2011-08-22 David S. Miller <davem@davemloft.net>
23054 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23055 sigaltstack check, add missing cfi directives.
23056 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23057 missing cfi directives, and sigaltstack handling.
23059 2011-08-16 Andreas Schwab <schwab@redhat.com>
23062 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23063 object is seen twice.
23064 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23066 * elf/Makefile (distribute): Add tst-initorder2.c.
23067 (tests): Add tst-initorder2.
23068 (modules-names): Add tst-initorder2a tst-initorder2b
23069 tst-initorder2c tst-initorder2d. Add rules to build them.
23070 ($(objpfx)tst-initorder2.out): New rule.
23071 * elf/tst-initorder2.c: New file.
23072 * elf/tst-initorder2.exp: New file.
23074 2011-08-22 Andreas Schwab <schwab@redhat.com>
23076 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23078 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23079 dependencies back to end of function.
23081 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23082 $(elfobjdir)/ld.so.
23084 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23086 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23087 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23088 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23089 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23090 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23091 of __vdso_gettimeofday.
23092 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23093 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23095 (_libc_vdso_platform_setup): Remove initialization of
23096 __vdso_gettimeofday and __vdso_time.
23098 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23100 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23101 and fgetc_unlocked.
23102 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23105 * elf/dl-open.c (add_to_global): Report additions to the global scope
23106 for LD_DEBUG=scopes.
23107 (dl_open_worker): Also print scope of newly loaded dependencies.
23108 (_dl_show_scope): Indicate if there is no scope.
23111 * stdio-common/Makefile (tests): Add bug24.
23112 * stdio-common/bug24.c: New file.
23114 2011-08-19 Andreas Jaeger <aj@suse.de>
23117 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23118 non-existant file when using close-on-exec mode.
23120 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23123 the very first instruction.
23125 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23126 the CFI state in the end.
23127 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23128 inclusion of dl-trampoline.h.
23129 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23131 2011-08-19 Andreas Schwab <schwab@redhat.com>
23133 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23134 expectations for long double.
23136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23137 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23139 2011-08-14 David S. Miller <davem@davemloft.net>
23141 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23142 artificual limit depends upon the system page size.
23144 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23146 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23147 * resolv/Makefile: Define CFLAGS-libresolv.
23149 2011-08-17 Andreas Schwab <schwab@redhat.com>
23151 * nss/makedb.c (compute_tables): Make variables used in nested
23154 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23156 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23157 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23158 if buffer was too small.
23160 * elf/pldd.c (main): Attach to all threads in the process.
23161 Rewrite /proc handling to use *at functions.
23163 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23165 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23166 specifies first scope to show.
23167 (dl_open_worker): Update callers. Move printing scope of new
23168 object to before the relocation.
23169 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23170 * sysdeps/generic/ldsodefs.h: Update declaration.
23172 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23173 string for the scope number.
23175 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23177 * nscd/servicescache.c (cache_addserv): Make sure written is always
23180 2011-08-14 Roland McGrath <roland@hack.frob.com>
23182 * sysdeps/i386/i486/bits/atomic.h
23183 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23184 statement expression, so as to suppress "set but not used" warning.
23185 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23187 * string/strncat.c (STRNCAT): Use prototype definition.
23189 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23190 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23192 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23193 (localedef-modules): Add localedef.
23194 (locale-modules): Add locale.
23196 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23197 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23198 to avoid a warning.
23200 2011-08-14 David S. Miller <davem@davemloft.net>
23202 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23203 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23205 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23207 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23208 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23209 * elf/rtld.c (dl_main): Set l_name of vDSO.
23210 Call _dl_show_scope when DL_DEBUG_SCOPES.
23211 (process_dl_debug): Recognize scopes flag and also set it for all.
23212 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23213 Declare _dl_show_scope.
23215 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23216 (do_dlopen): Pass caller_dlopen to dl_open.
23217 (__libc_dlopen_mode): Initialize caller_dlopen.
23219 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23220 of libc. Make tolower call locale-independent. Optimize a bit by
23221 using isdigit instead of isalnum.
23222 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23224 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23226 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23227 was a dependency or dynamically loaded.
23229 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23231 * intl/l10nflist.c: Allow architecture-specific pop function.
23232 * sysdeps/x86_64/l10nflist.c: New file.
23234 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23237 2011-08-10 Andreas Schwab <schwab@redhat.com>
23239 * include/dirent.h: Add libc_hidden_proto for scandirat and
23240 scandirat64. Don't declare __scandirat64.
23241 * dirent/scandirat.c: Add libc_hidden_def.
23242 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23243 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23245 2011-08-10 David S. Miller <davem@davemloft.net>
23247 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23249 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23250 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23251 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23253 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23255 * Versions.def [libc]: Add GLIBC_2.15.
23256 * dirent/Makefile (routines): Add scandirat and scandirat64.
23257 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23259 * dirent/dirent.h: Declare scandirat and scandirat64.
23260 * dirent/scandirat.c: New file.
23261 * dirent/scandirat64.c: New file.
23262 * sysdeps/wordsize-64/scandirat.c: New file.
23263 * sysdeps/wordsize-64/scandirat64.c: New file.
23264 * dirent/opendir.c: Define opendirat.
23265 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23267 * dirent/scandir64.c: Adjust for scandir.c change.
23268 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23269 __scandirat64, and __scandir_cancel_handler.
23270 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23271 additional parameter and use openat instead of open (outside of ld.so).
23272 Add new __opendir as wrapper around __opendirat.
23273 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23274 here without requiring old scandirat implementation.
23276 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23278 * dirent/scandir.c (cancel_handler): Renamed to
23279 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23280 defined. Adjust users.
23281 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23282 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23284 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23286 * string/test-string.h (IMPL): Use __STRING to expand name and then
23289 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23292 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23294 * string/Makefile: Update.
23295 (strop-tests): Append strncat.
23296 * string/test-wcscmp.c: New file.
23297 New comprehensive test for wcscmp.
23298 * string/test-strcmp.c: Update.
23299 (WIDE): New define.
23301 2011-07-22 Andreas Schwab <schwab@redhat.com>
23303 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23306 2011-07-26 Andreas Schwab <schwab@redhat.com>
23308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23309 encoding to ACE if AI_IDN.
23311 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23313 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23314 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23316 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23318 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23319 Fix overflow bug in strncat.
23320 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23322 * string/test-strncat.c: Update.
23323 Add new tests for checking overflow bugs.
23325 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23328 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23329 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23330 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23331 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23332 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23333 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23334 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23335 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23337 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23338 (USE_AS_STRCAT): Define.
23339 Add strcat and strncat support.
23340 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23342 2011-07-25 Andreas Schwab <schwab@redhat.com>
23344 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23345 __n bigger than INT_MAX+1.
23346 (__strncmp_g): Likewise.
23348 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23350 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23351 * libio/stido.h: Likewise.
23353 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23358 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23359 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23360 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23361 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23362 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23365 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23368 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23370 (_dl_x86_64_save_sse): Likewise.
23372 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23376 (_dl_x86_64_save_sse): Likewise.
23378 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23380 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23382 2011-07-21 Andreas Schwab <schwab@redhat.com>
23384 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23386 (_dl_x86_64_save_sse): Use correct AVX check.
23388 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23390 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23391 bug in strncpy/strncat.
23392 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23394 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23396 * string/tester.c (test_strcat): Add tests for different alignments
23397 of source and destination.
23398 (test_strncat): Likewise.
23400 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23403 * posix/glob.c (glob): Check passed in values before using them in
23404 expressions to avoid some overflows.
23405 (glob_in_dir): Likewise.
23408 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23409 check for AVX enablement so that we don't crash with old kernels and
23411 * elf/tst-audit4.c: Add same checks here.
23412 * elf/tst-audit6.c: Likewise.
23414 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23416 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23418 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23420 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23422 * po/cs.po: Update from translation team.
23423 * po/bg.po: Likewise.
23425 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23427 * misc/sys/cdefs.h: Add support for const attribute.
23428 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23429 to gnu_dev_{major,minor,makedev} functions.
23431 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23433 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23435 2011-07-20 Andreas Schwab <schwab@redhat.com>
23437 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23440 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23442 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23443 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23444 register in order to avoid conflicts with the soft frame pointer
23445 being held in r11 when necessary.
23446 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23447 (INTERNAL_VSYSCALL_NCS): Likewise.
23449 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23451 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23452 * elf/dl-fini.c (_dl_fini): Adjust caller.
23453 * elf/dl-close.c (_dl_close_worker): Likewise.
23454 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23456 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23458 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23459 "aux_cache->nlibs < 0".
23461 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23462 in the reload-count case.
23464 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23467 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23468 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23469 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23470 * sysdeps/x86_64/multiarch/strcat.S: New file.
23471 * sysdeps/x86_64/multiarch/strncat.S: New file.
23472 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23473 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23474 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23475 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23476 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23477 (USE_AS_STRCAT): Define.
23478 Add strcat and strncat support.
23479 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23480 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23481 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23482 * string/strncat.c: Update.
23483 (USE_AS_STRNCAT): Define.
23484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23485 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23487 * sysdeps/x86_64/multiarch/init-arch.h
23488 (bit_Prefer_PMINUB_for_stringop): New.
23489 (index_Prefer_PMINUB_for_stringop): Likewise.
23490 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23491 bit_Prefer_PMINUB_for_stringop.
23493 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23495 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23497 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23498 of casting of buffer.
23499 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23500 buffer32 and buffer64.
23501 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23502 writes instead of casting of buffer.
23503 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23505 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23508 2011-07-19 Andreas Schwab <schwab@redhat.com>
23510 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23512 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23514 * nscd/nscd.c (termination_handler): Don't do anything for a database
23515 if it has not yet been initialized.
23517 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23519 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23521 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23523 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23525 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23527 * po/nl.po: Update from translation team.
23528 * po/sv.po: Likewise.
23530 2011-07-16 Roland McGrath <roland@hack.frob.com>
23532 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23533 now disallowed by GCC.
23535 * configure.in (use-default-link): Default to yes if a test -shared
23536 link meets our qualifications.
23537 * configure: Regenerated.
23539 * config.make.in (output-format): New variable.
23540 * configure.in: Check for ld --print-output-format support.
23541 * configure: Regenerated.
23542 * Makerules ($(common-objpfx)format.lds)
23543 [$(output-format) != unknown]: Just use $(output-format),
23544 instead of the linker-script munging.
23546 2011-07-14 Roland McGrath <roland@hack.frob.com>
23548 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23549 of $(common-objpfx)shlib.lds.
23550 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23552 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23553 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23555 * configure.in (-z relro check): Adjust test code to add a large
23556 writable data section after it.
23557 * configure: Regenerated.
23559 2011-07-11 Roland McGrath <roland@hack.frob.com>
23561 * configure.in (-z relro check): Fix test code to make the variable
23563 * configure: Regenerated.
23565 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23567 * nscd/nscd.h (struct traced_file): Define.
23568 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23569 elements. Add traced_files.
23570 (inotify_fd): Declare.
23571 (register_traced_file): Declare.
23572 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23573 (inotify_fd): Export.
23574 (resolv_conf_descr): Remove.
23575 (nscd_init): Move inotify descriptor creation to main.
23576 Don't register files for notification here.
23577 (register_traced_file): New function.
23578 (invalidate_cache): Don't use reset_res to determine whether to call
23579 res_init, go through the list of registered files.
23580 (main_loop_poll): The inotify descriptors are now stored in the
23581 structures for the traced files.
23582 (main_loop_epoll): Likewise
23583 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23584 to __nss_disable_nscd.
23585 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23586 for a database anymore. Check the records for all the registered
23588 * nss/Makefile (libnss_files-routines): Add files-init.
23589 (libnss_db-routines): Add db-init.
23590 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23591 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23592 * nss/nss_db/db-init.c: New file.
23593 * nss/nss_files/files-init.c: New file.
23594 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23595 __nss_lookup_function.
23596 (__nss_lookup_function): Call nss_load_library.
23597 (nss_load_all_libraries): New function.
23598 (__nss_disable_nscd): Take parameter with callback function for files
23599 to register. Set is_nscd. Load all the DSOs for the NSS modules
23600 used for the cached services.
23601 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23602 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23603 options for features to all the files in nscd.
23605 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23607 2011-07-10 Roland McGrath <roland@hack.frob.com>
23609 * csu/elf-init.c (__libc_csu_init): Comment typo.
23611 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23613 * po/pl.po: Update from translation team.
23614 * po/ja.po: Likewise.
23615 * po/ru.po: Likewise.
23616 * po/ko.po: Likewise.
23617 * po/fr.po: Likewise.
23619 2011-07-09 Roland McGrath <roland@hack.frob.com>
23621 * configure.in (.ctors/.dtors header and trailer check):
23622 Use an empirical test on a built program.
23623 * configure: Regenerated.
23625 * configure.in (-z relro check): Use an empirical test on a built DSO.
23626 Detect, but do not require, on ia64.
23627 * configure: Regenerated.
23629 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23630 Update tests that use readelf to use $READELF instead.
23631 * configure: Regenerated.
23633 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23635 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23636 if the result is not used.
23638 2011-07-05 Andreas Jaeger <aj@suse.de>
23641 * stdlib/tst-strtod.c: Add testcase.
23643 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23645 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23646 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23647 The latter has a higher limit. Take additional parameter to pass to
23649 (__pathconf): Pass file to __statfs_link_max.
23650 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23652 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23656 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23657 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23659 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23660 (__statfs_filesize_max): Likewise.
23661 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23663 2011-07-05 Andreas Jaeger <aj@suse.de>
23665 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23667 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23669 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23671 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23674 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23676 * Makefile (strop-tests): Add strncat.
23677 * string/test-strncat.c: New file.
23679 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23681 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23683 2011-06-21 Andreas Jaeger <aj@suse.de>
23685 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23686 Copy rule from iconvdata/Makefile.
23688 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23691 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23692 but no long options are defined, just return 'W'.
23694 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23697 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23699 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23701 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23703 (innetgr): Likewise.
23705 2011-07-05 Roland McGrath <roland@hack.frob.com>
23707 * config.make.in (install_root): Default to $(DESTDIR).
23709 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23711 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23713 2011-07-02 Roland McGrath <roland@hack.frob.com>
23715 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23717 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23718 containing directory rather than embedding absolute directory names.
23720 * scripts/check-local-headers.sh: Rewritten using awk.
23721 Match by word, not by line. Print error messages for matches.
23722 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23724 * Makerules [shlib-lds-flags empty]:
23725 ($(common-objpfx)libc_pic.opts): New target.
23726 ($(common-objpfx)libc_pic.os.clean): New target.
23727 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23729 * config.make.in (OBJCOPY): New variable.
23730 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23731 * configure: Regenerated.
23733 * config.make.in (use-default-link): New variable.
23734 * configure.in (use_default_link): Grok --with-default-link to set it.
23735 * configure: Regenerated.
23736 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23737 (shlib-lds, shlib-lds-flags): Define to empty.
23739 * Makerules (shlib-lds): New variable.
23740 (shlib-lds-flags): New variable.
23741 (build-shlib, build-moduile, build-module-asneeded): Use it.
23742 ($(common-objpfx)libc.so): Use $(shlib-lds).
23743 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23744 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23746 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23747 DT_FLAGS/DT_FLAGS_1 with zero flags.
23749 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23750 linker script munging.
23752 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23754 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23756 * crypt/sha512.c (sha512_process_block): Perform total addition using
23757 128-bit if possible.
23758 (__sha512_finish_ctx): Likewise.
23759 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23761 * crypt/sha256.c (SWAP64): Define.
23762 (sha256_process_block): Perform total addition using 64-bit if
23764 (__sha256_finish_ctx): Likewise.
23766 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23768 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23769 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23770 * nscd/hstcache.c (cache_addhst): Likewise.
23771 * nscd/grpcache.c (cache_addgr): Likewise.
23772 * nscd/aicache.c (addhstaiX): Likewise
23773 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23775 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23777 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23778 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23779 * nscd/hstcache.c (cache_addhst): Likewise.
23780 * nscd/grpcache.c (cache_addgr): Likewise.
23781 * nscd/aicache.c (addhstaiX): Likewise
23783 2011-07-01 Andreas Schwab <schwab@redhat.com>
23785 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23786 domain only when needed.
23788 2011-06-30 Andreas Schwab <schwab@redhat.com>
23790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23791 is always restored.
23793 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23795 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23796 are re-adding the entry.
23797 * nscd/servicescache.c (cache_addserv): Likewise.
23799 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23801 * sysdeps/generic/dl-irel.h: fix protection against multiple
23803 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23805 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23808 * malloc/memusage.sh: Fix quoting in message.
23809 * debug/xtrace.sh: Likewise.
23811 * configure.in: Remove support for --experimental-malloc option, make
23813 * config.make.in: Likewise.
23814 * malloc/Makefile: Likewise.
23816 2011-06-27 Andreas Schwab <schwab@redhat.com>
23818 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23819 two-byte characters.
23821 2011-06-27 Roland McGrath <roland@hack.frob.com>
23823 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23824 AC_CACHE_CHECK invocation.
23825 * configure: Regenerated.
23827 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23829 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23832 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23833 bit from old_res_options.
23835 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23837 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23838 value type for setfct.
23840 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23842 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23843 __gettimeofday instead of gettimeofday.
23845 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23847 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23849 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23851 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23853 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23856 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23859 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23860 strcpy-sse2-unaligned strncpy-sse2-unaligned
23861 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23862 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23863 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23864 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23865 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23866 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23867 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23868 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23869 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23870 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23871 (STRCPY): Support SSE2 and SSSE3 versions.
23873 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23876 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23877 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23878 kernels which artificially limit size of requests.
23880 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23882 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23883 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23884 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23885 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23886 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23887 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23888 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23889 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23890 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23891 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23892 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23893 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23894 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23895 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23896 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23898 Enable unaligned load optimization for Intel Core i3, i5 and i7
23900 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23902 (index_Fast_Unaligned_Load): Define.
23903 (HAS_FAST_UNALIGNED_LOAD): Define.
23905 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23907 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23909 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23913 until it is clear that the information is realy needed.
23914 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23916 2011-06-22 Andreas Schwab <schwab@redhat.com>
23918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23920 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23922 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23923 /sys/devices/system/cpu/online if it is usable.
23925 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23926 reading the information from the /proc filesystem to once a second.
23928 2011-06-21 Andreas Jaeger <aj@suse.de>
23930 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23931 NULL after inclusion of kernel headers.
23933 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23935 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23936 calls to internal_setent.
23939 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23940 addresses using gethostbyname4_r ignore IPv4 addresses.
23942 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23943 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23945 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23947 2011-06-20 David S. Miller <davem@davemloft.net>
23949 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23951 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23953 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23954 (elf_irel): Use it.
23955 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23956 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23957 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23958 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23959 * sysdeps/x86_64/dl-irel.h: Likewise.
23961 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23962 * elf/dl-sym.c: Likewise.
23964 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23966 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23967 need to dereference resplen2.
23969 2011-06-14 Andreas Schwab <schwab@redhat.com>
23971 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23973 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23975 * Makeconfig: Define vardbdir and inst_vardbdir.
23976 * nss/Makefile: Add rules to install db-Makefile.
23978 * nss/nss_db/db-XXX.c: Cleanup.
23980 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23981 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23983 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23984 * nss/makedb.c: Implement -g option to specify that value strings
23985 are generated and should not be added to table iterated over for
23987 * nss/nss_db/db-initgroups.c: New file.
23989 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23992 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23993 (internal_getgrouplist): Adjust to name change.
23994 Update use_initgroups_entry if this is not the first call.
23995 * nss/databases.def: Add initgroups entry.
23997 * nss/makedb.c (compute_tables): Check result of multiple hash table
23998 sizes to minimize maximum chain length.
24000 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24002 * Versions.def: Add entry for libnss_db.
24003 * shlib-versions: Likewise.
24004 * nss/Makefile: Add rules to build libnss_db.
24005 * nss/Versions: Add libnss_db information. Organize libnss_files
24007 * nss/db-Makefile: Add gshadow support. Change rules for the new
24008 makedb progra. Some minor improvements to generate smaller files.
24009 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24011 * nss/makedb.c: ...here.
24012 Improve database format to be smaller and require less memory at
24014 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24016 * nss/nss_db/db-netgrp.c: Likewise.
24017 * nss/nss_db/db-open.c: Likewise.
24018 * nss/nss_files/flies-XXX.x: Adjust comments.
24019 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24020 * nss/nss_files/files-grp.c: Likewise.
24021 * nss/nss_files/files-hosts.c: Likewise.
24022 * nss/nss_files/files-network.c: Likewise.
24023 * nss/nss_files/files-proto.c: Likewise.
24024 * nss/nss_files/files-pwd.c: Likewise.
24025 * nss/nss_files/files-rpc.c: Likewise.
24026 * nss/nss_files/files-service.c: Likewise.
24027 * nss/nss_files/files-sgrp.c: Likewise.
24028 * nss/nss_files/files-spwd.c: Likewise.
24029 * nss/nss_db/db-alias.c: Removed.
24030 * nss/nss_db/dummy-db.h: Removed.
24032 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24034 * nss/makedb.c: Rewritten to not use database library.
24035 * nss/Makefile: Update to build new makedb program.
24037 2011-06-14 Andreas Jaeger <aj@suse.de>
24039 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24040 memset declaration.
24042 2011-06-10 Andreas Schwab <schwab@redhat.com>
24044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24047 2011-06-10 Roland McGrath <roland@hack.frob.com>
24049 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24050 * elf/Makefile ($(objpfx)ld.so): Likewise.
24052 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24053 Don't list ld.so twice in dependencies.
24055 * posix/bug-regex31.c: Include <stdlib.h>.
24057 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24059 * nis/nss_compat/compat-spwd.c
24060 (getspent_next_nss_netgr): Remove unused variable.
24061 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24063 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24064 nonmembers" output to use the right array.
24066 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24068 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24070 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24071 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24072 * catgets/gencat.c (read_input_file): Likewise.
24073 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24075 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24076 variable definition inside #if's controlling its use.
24078 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24080 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24082 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24084 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24087 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24089 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24090 * configure: Regenerated.
24092 * Makerules: Revert last change.
24093 * elf/Makefile: Likewise.
24095 2011-06-09 Roland McGrath <roland@hack.frob.com>
24097 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24098 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24099 (reloc-link): Likewise.
24101 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24103 * elf/Makefile: Add rules to build pldd.
24104 * elf/pldd.c: New file.
24105 * elf/pldd-xx.c: New file.
24107 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24109 * version.h: Update for 2.15 development version.
24111 2011-06-07 David S. Miller <davem@davemloft.net>
24113 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24115 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24116 elf_machine_lazy_rel): Likewise.
24117 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24118 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24119 elf_machine_lazy_rel): Likewise.
24120 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24121 dl_hwcap via passed in argument.
24122 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24125 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24127 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24129 2011-06-06 Roland McGrath <roland@hack.frob.com>
24132 * manual/fdl-1.1.texi: New file, verbatim from:
24133 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24134 * manual/lgpl-2.1.texi: New file, verbatim from:
24135 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24136 * manual/Makefile (licenses): New variable, list those new file names.
24138 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24140 * manual/fdl.texi: File removed.
24141 * manual/lesser.texi: File removed.
24142 * manual/libc.texinfo (Copying, Documentation License):
24143 Use new @include file names, put @appendix directive before @include.
24145 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24148 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24149 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24150 (mq_open): Add __NTH.
24152 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24155 Assume Intel Core i3/i5/i7 processor if AVX is available.
24157 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24162 2011-05-31 Andreas Schwab <schwab@redhat.com>
24164 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24165 memory. Use alloca_account. Fix memory leak when retrying.
24167 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24169 * version.h (RELEASE): Bump for 2.14 release.
24170 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24172 * config.make.in (RANLIB): Remove entry.
24174 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24176 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24177 (libc.pot): Work around missing support for .ksh extension in xgettext.
24180 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24181 if both request failed.
24182 (send_dg): In case of server errors clear resplen or *resplen2.
24185 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24186 when there are multiple maps.
24187 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24188 (_dl_fini): Remove test here.
24190 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24192 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24195 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24196 bit from old_res_options.
24197 (gaih_inet): Likewise.
24200 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24203 * resolv/res_init.c (res_setoptions): Make the code more compact.
24206 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24210 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24212 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24215 * malloc/malloc.h: Declare malloc hook variables as volatile.
24217 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24221 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24222 raise in the comment.
24223 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24225 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24227 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24230 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24231 grow the buffers more if it already has to be sufficient.
24232 (build_wcs_upper_buffer): Likewise.
24233 * posix/regexec.c (check_matching): Likewise.
24234 (clean_state_log_if_needed): Likewise.
24235 (extend_buffers): Don't enlarge buffers beyond size of the input
24237 Patches mostly by Emil Wojak <emil@wojak.eu>.
24238 * posix/bug-regex32.c: New file.
24239 * posix/Makefile (tests): Add bug-regex32.
24241 * locale/findlocale.c (_nl_find_locale): Return right away if
24242 _nl_explode_name failed.
24243 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24245 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24247 * debug/xtrace.sh: Unify messages.
24248 * malloc/memusage.sh: Likewise.
24251 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24252 time symbol from vDSO. Substitute with vsyscall if not available.
24253 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24256 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24257 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24258 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24259 Add sendmmsg and internal_sendmmsg.
24260 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24261 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24262 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24264 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24265 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24266 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24268 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24271 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24272 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24274 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24278 * iconvdata/Makefile (tests): Add bug-iconv9.
24279 * iconvdata/bug-iconv9.c: New file.
24281 2011-05-27 Andreas Schwab <schwab@redhat.com>
24284 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24286 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24288 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24289 (struct user_regs_struct): Change intcs field back to cs.
24291 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24293 * po/ja.po: Update from translation team.
24295 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24298 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24299 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24301 2011-05-20 Andreas Schwab <schwab@redhat.com>
24303 * stdlib/longlong.h: Update from GCC.
24305 2011-05-23 Andreas Schwab <schwab@redhat.com>
24307 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24309 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24310 Add parameter name.
24311 (__sysconf): Pass it down.
24313 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24316 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24318 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24319 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24320 add in in __libc_use_alloca calls. Adjust callers.
24321 (glob): Use malloc in some situations.
24323 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24324 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24327 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24329 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24330 and CLOCK_BOOTTIME_ALARM.
24333 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24336 * string/_strerror.c (__strerror_r): Print negative errors as signed
24340 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24341 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24342 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24344 * configure.in: Fix typo in redirection and correct removal of test
24345 files in two cases.
24348 * locale/setlocale.c (new_composite_name): Fix test to check for
24349 identical name of all categories.
24352 * libio/filedoalloc.c (local_isatty): New function.
24353 (_IO_file_doallocate): Use local_isatty.
24354 * stdio-common/perror.c (perror): In case a new stream is used
24355 forward the stream error.
24356 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24359 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24364 * include/alloca.h (extend_alloca_account): Define.
24367 * posix/regex.h: Fix comments with documentation of user-accessible
24368 fields after compilation and describe correct free'ing of pattern
24369 after re_compile_pattern.
24370 Patch by Reuben Thomas <rrt@sc3d.org>.
24372 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24374 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24375 and -mno-altivec to prevent the compiler from using Altivec and/or
24376 VSX instructions when the corresponding registers are not available.
24378 2011-05-19 Andreas Schwab <schwab@redhat.com>
24380 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24382 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24384 * libio/freopen.c (freopen): Use __dup2, not dup2.
24385 * libio/freopen64.c (freopen64): Likewise.
24387 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24390 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24391 * math/Makefile (tests): Add test-powl.
24392 (CFLAGS-test-powl.c): Define.
24393 * math/test-powl.c: New file.
24395 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24397 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24399 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24402 * iconvdata/gb18030.c: Update to GB18020-2005.
24404 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24406 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24407 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24408 Patch by Aharon Robbins <arnold@skeeve.com>.
24411 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24415 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24416 through underflows.
24419 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24420 point to strings before performing equality test for error_one_per_line
24424 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24427 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24428 (struct user_fpregs_struct): Avoid __uint*_t types.
24431 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24432 symbol info. Use it instead of calling _dl_addr locally.
24433 (lock_and_info): New function.
24434 (tr_freehook): Call lock_and_info and pass symbol info as additional
24435 parameter to tr_where.
24436 (tr_mallochook): Likewise.
24437 (tr_reallochook): Likewise.
24438 (tr_memalignhook): Likewise.
24440 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24441 used and couldn't be at all thread-safe.
24443 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24445 * libio/freopen.c (freopen): Don't close old file descriptor
24446 before the new one is opened. Instead dup the new file descriptor
24447 to the old one after the new stream is created.
24448 * libio/freopen64.c (freopen64): Likewise.
24449 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24450 * libio/fileops.c (_IO_new_file_close_it): Handle new
24451 _IO_FLAGS2_NOCLOSE flag.
24452 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24453 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24454 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24455 _IO_FLAGS2_NOCLOSE flag.
24456 * include/unistd.h: Add hidden_proto for dup3.
24457 Define __have_dup3.
24458 * io/dup3.c: Define hidden symbol.
24459 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24462 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24463 when an incomplete long option is used.
24464 * posix/tst-getopt_long1.c: New file.
24465 * posix/Makefile (tests): Add tst-getopt_long1.
24468 * scripts/config.guess: Update from autoconf-2.68.
24469 * scripts/config.sub: Likewise.
24472 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24474 (has_cpuclock): ...this. New function.
24475 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24476 macro here based on has_cpuclock code.
24479 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24480 First byte (not low byte) is now always NUL.
24481 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24484 Use non-cancelable interfaces.
24487 * locale/iso-639.def: Add entry for Sorani.
24490 * include/stdlib.h: Move include protection to the right place.
24491 Define abort_msg_s. Declare __abort_msg with it.
24492 * stdlib/abort.c (__abort_msg): Adjust type.
24493 * assert/assert.c (__assert_fail_base): New function. Majority
24494 of code from __assert_fail. Allocate memory for __abort_msg with
24496 (__assert_fail): Now call __assert_fail_base.
24497 * assert/assert-perr.c: Remove bulk of implementation. Use
24498 __assert_fail_base.
24499 * include/assert.hL Declare __assert_fail_base.
24500 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24502 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24504 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24508 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24509 until all modules are registered in the DTV.
24510 * elf/Makefile: Add rules to build and run tst-tls19.
24511 * elf/tst-tls19.c: New file.
24512 * elf/tst-tls19mod1.c: New file.
24513 * elf/tst-tls19mod2.c: New file.
24514 * elf/tst-tls19mod3.c: New file.
24515 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24518 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24522 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24523 two-byte sequence errors.
24524 * iconvdata/Makefile (tests): Add bug-iconv8.
24525 * iconvdata/bug-iconv8.c: New file.
24528 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24531 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24534 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24535 (dummy_getcfa): New function.
24536 (init): Get _Unwind_GetCFA address, use dummy if not found.
24537 (backtrace_helper): In recursion check, also check whether CFA changes.
24538 (__backtrace): Completely initialize arg.
24540 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24541 storing incomplete byte sequence in state object. Avoid testing for
24542 guaranteed too small input if we know there is enough data available.
24544 2011-05-11 Andreas Schwab <schwab@redhat.com>
24546 * Makeconfig (+link-pie): Indent.
24547 * Rules (binaries-pie): Define if $(have-fpie) and
24549 (binaries-shared): Also filter out $(binaries-pie).
24550 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24551 * nscd/Makefile (others-pie): Add nscd.
24552 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24553 ($(objpfx)nscd): Remove command override.
24554 * login/Makefile (others-pie): Add pt_chown.
24555 ($(objpfx)pt_chown): Remove command override.
24556 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24557 remove command overrides.
24559 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24561 * libio/tst_putwc.c: Fix error messages.
24564 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24565 currently writing and seek to current position when not.
24566 * libio/Makefile (tests): Add bug-fclose1.
24567 * libio/bug-fclose1.c: New file.
24569 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24572 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24573 don't set DF_1_NODELETE here.
24574 (do_lookup_x): When entering new entry test for copy relocation
24575 and if necessary set DF_1_NODELETE flag.
24576 * elf/tst-unique4.cc: New file.
24577 * elf/tst-unique4.h: New file.
24578 * elf/tst-unique4lib.cc: New file.
24579 * elf/Makefile: Add rules to build and run tst-unique4.
24580 Patch by Piotr Bury <pbury@goahead.com>.
24582 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24585 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24588 * misc/mntent_r.c (addmntent): Flush the stream after the output
24591 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24592 (is_trusted_path_normalize): Skip initial colon. Append slash
24593 to empty buffer. Duplicate is_trusted_path code but allow
24594 constructed patch to be prefix.
24595 (is_dst): Allow $ORIGIN followed by /.
24596 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24597 Correct testing of result of is_trusted_path_normalize
24598 (decompose_rpath): Fix warning.
24600 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24603 * grp/initgroups.c (internal_getgrouplist): When we found the service
24604 list through the initgroups entry in nsswitch.conf do not always
24605 continue on a successful lookup. Don't always use the
24606 __nss_group_database value if it is set.
24607 * nss/nsswitch.conf (initgroups): Change action for successful db
24608 lookup to continue for compatibility.
24610 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24613 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24615 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24617 * iconvdata/tst-tables.sh: Likewise.
24618 * iconvdata/cp770.c: New file.
24619 * iconvdata/cp771.c: New file.
24620 * iconvdata/cp772.c: New file.
24621 * iconvdata/cp773.c: New file.
24622 * iconvdata/cp774.c: New file.
24623 * iconvdata/testdata/CP770: New file.
24624 * iconvdata/testdata/CP770..UTF8: New file.
24625 * iconvdata/testdata/CP771: New file.
24626 * iconvdata/testdata/CP771..UTF8: New file.
24627 * iconvdata/testdata/CP772: New file.
24628 * iconvdata/testdata/CP772..UTF8: New file.
24629 * iconvdata/testdata/CP773: New file.
24630 * iconvdata/testdata/CP773..UTF8: New file.
24631 * iconvdata/testdata/CP774: New file.
24632 * iconvdata/testdata/CP774..UTF8: New file.
24634 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24636 * iconvdata/gen-8bit-gap.sh: Likewise.
24637 * iconvdata/gen-8bit.sh: Likewise.
24639 * locale/iso-639.def: Add ary entry.
24642 * locale/C-translit.h.in: Add U20A1 transliteration.
24645 * locale/iso-639.def: Add wae entry.
24646 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24649 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24653 * locale/C-translit.h.in: Add entry for U20B9.
24654 Patch by pravin.d.s@gmail.com.
24656 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24659 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24660 ENAMETOOLONG use generic getcwd.
24661 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24662 in rtld. Use *stat64.
24663 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24664 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24665 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24666 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24667 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24668 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24669 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24670 __fstatat64 macros.
24671 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24672 * dirent/rewinddir.c: Add libc_hidden_def.
24673 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24674 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24676 * include/dirent.h (__alloc_dir): Add flags parameter.
24677 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24678 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24680 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24681 from fdopendir if O_CLOEXEC is already set.
24683 2011-03-15 Alan Modra <amodra@gmail.com>
24685 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24686 l_tls_firstbyte_offset non-zero. Save padding offset in
24687 l_tls_firstbyte_offset for later use.
24688 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24689 freeing static tls block.
24691 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24693 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24694 where #ifdef was intended. The intent is to prevent ARG_MAX from
24695 being defined by the kernel headers.
24697 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24700 * resolv/resolv.h: Define RES_NOTLDQUERY.
24701 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24702 no-tld-query and set RES_NOTLDQUERY.
24703 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24704 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24705 modern BIND to search name as TLD unless forbidden.
24707 2011-05-07 Petr Baudis <pasky@suse.cz>
24708 Ulrich Drepper <drepper@gmail.com>
24711 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24712 (is_trusted_path): ...to here.
24713 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24714 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24715 using is_trusted_path_normalize() in setuid scripts.
24717 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24719 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24720 __BEGIN/__END_DECLS.
24722 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24724 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24725 NSS_STATUS_NOTFOUND if no record was found.
24727 2011-05-05 Andreas Schwab <schwab@redhat.com>
24729 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24730 (headers-not-in-tirpc): Remove rpc/netdb.h
24731 * resolv/netdb.h: Revert last change.
24733 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24735 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24736 circular dependency between libgcc.a and libc.a.
24738 2011-05-05 Andreas Schwab <schwab@redhat.com>
24740 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24741 * nis/Makefile: Don't install rpcsvc/*.
24742 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24743 instead of <rpc/types.h>.
24744 (MAXHOSTNAMELEN): Define.
24746 2011-05-03 Andreas Schwab <schwab@redhat.com>
24748 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24750 2011-04-28 Maciej Babinski <mbabinski@google.com>
24753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24754 gethostbyname4_r when IPv6 results are possible.
24756 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24759 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24760 _PC_PIPE_BUF handling.
24762 2011-04-30 Bruno Haible <bruno@clisp.org>
24765 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24766 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24768 * inet/getnameinfo.c (getnameinfo): Likewise.
24770 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24772 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24773 to groups setting in database lookup.
24774 * nss/nsswitch.conf: Add initgroups entry.
24776 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24779 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24781 Patch by Eric Blake <eblake@redhat.com>.
24783 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24785 * sunrpc/Makefile (need-export-routines): Add svc_run.
24786 (routines): Remove svc_run.
24787 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24788 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24789 * sunrpc/svc_run.c (svc_run): Likewise.
24790 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24792 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24794 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24795 problem in reallocation in last patch.
24797 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24799 * sunrpc/Makefile: Move inclusion of Rules.
24801 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24803 * nss/nss_files/files-initgroups.c: New file.
24804 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24805 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24806 _nss_files_initgroups_dyn.
24808 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24810 * elf/elf.h (R_ARM_IRELATIVE): Define.
24812 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24814 * po/ru.po: Update from translation team.
24816 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24818 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24821 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24824 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24825 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24826 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24827 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24828 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24830 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24832 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24834 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24835 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24836 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24838 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24841 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24843 * stdlib/bug-getcontext.c: New file.
24844 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24846 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24848 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24849 instructions into .machine "z9-109".
24850 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24851 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24853 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24855 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24856 between environment variables and auxiliary vector.
24858 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24860 * Makefile: Add rules to build linkobj/libc.so.
24861 * include/libc-symbols.h: Define libc_hidden_nolink.
24862 * include/rpc/auth.h: Mark functions which are to be hidden.
24863 * include/rpc/auth_des.h: Likewise.
24864 * include/rpc/auth_unix.h: Likewise.
24865 * include/rpc/clnt.h: Likewise.
24866 * include/rpc/des_crypt.h: Likewise.
24867 * include/rpc/key_prot.h: Likewise.
24868 * include/rpc/pmap_clnt.h: Likewise.
24869 * include/rpc/pmap_prot.h: Likewise.
24870 * include/rpc/pmap_rmt.h: Likewise.
24871 * include/rpc/rpc_msg.h: Likewise.
24872 * include/rpc/svc.h: Likewise.
24873 * include/rpc/svc_auth.h: Likewise.
24874 * include/rpc/xdr.h: Likewise.
24875 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24876 * nss/Makefile: Likewise.
24877 * sunrpc/Makefile: Don't install headers. Build library with normal
24878 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24879 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24880 for the compat linking library. Remove use of INTDEF/INTUSE.
24881 * sunrpc/auth_none.c: Likewise.
24882 * sunrpc/auth_unix.c: Likewise.
24883 * sunrpc/authdes_prot.c: Likewise.
24884 * sunrpc/authuxprot.c: Likewise.
24885 * sunrpc/clnt_gen.c: Likewise.
24886 * sunrpc/clnt_perr.c: Likewise.
24887 * sunrpc/clnt_raw.c: Likewise.
24888 * sunrpc/clnt_simp.c: Likewise.
24889 * sunrpc/clnt_tcp.c: Likewise.
24890 * sunrpc/clnt_udp.c: Likewise.
24891 * sunrpc/clnt_unix.c: Likewise.
24892 * sunrpc/des_crypt.c: Likewise.
24893 * sunrpc/des_soft.c: Likewise.
24894 * sunrpc/get_myaddr.c: Likewise.
24895 * sunrpc/key_call.c: Likewise.
24896 * sunrpc/key_prot.c: Likewise.
24897 * sunrpc/netname.c: Likewise.
24898 * sunrpc/pm_getmaps.c: Likewise.
24899 * sunrpc/pm_getport.c: Likewise.
24900 * sunrpc/pmap_clnt.c: Likewise.
24901 * sunrpc/pmap_prot.c: Likewise.
24902 * sunrpc/pmap_prot2.c: Likewise.
24903 * sunrpc/pmap_rmt.c: Likewise.
24904 * sunrpc/publickey.c: Likewise.
24905 * sunrpc/rpc_cmsg.c: Likewise.
24906 * sunrpc/rpc_common.c: Likewise.
24907 * sunrpc/rpc_dtable.c: Likewise.
24908 * sunrpc/rpc_prot.c: Likewise.
24909 * sunrpc/rpc_thread.c: Likewise.
24910 * sunrpc/rtime.c: Likewise.
24911 * sunrpc/svc.c: Likewise.
24912 * sunrpc/svc_auth.c: Likewise.
24913 * sunrpc/svc_authux.c: Likewise.
24914 * sunrpc/svc_raw.c: Likewise.
24915 * sunrpc/svc_run.c: Likewise.
24916 * sunrpc/svc_simple.c: Likewise.
24917 * sunrpc/svc_tcp.c: Likewise.
24918 * sunrpc/svc_udp.c: Likewise.
24919 * sunrpc/svc_unix.c: Likewise.
24920 * sunrpc/svcauth_des.c: Likewise.
24921 * sunrpc/xcrypt.c: Likewise.
24922 * sunrpc/xdr.c: Likewise.
24923 * sunrpc/xdr_array.c: Likewise.
24924 * sunrpc/xdr_float.c: Likewise.
24925 * sunrpc/xdr_intXX_t.c: Likewise.
24926 * sunrpc/xdr_mem.c: Likewise.
24927 * sunrpc/xdr_rec.c: Likewise.
24928 * sunrpc/xdr_ref.c: Likewise.
24929 * sunrpc/xdr_sizeof.c: Likewise.
24930 * sunrpc/xdr_stdio.c: Likewise.
24932 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24935 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24936 * sysdeps/ia64/dl-tls.h: Likewise.
24937 * sysdeps/powerpc/dl-tls.h: Likewise.
24938 * sysdeps/s390/dl-tls.h: Likewise.
24939 * sysdeps/sh/dl-tls.h: Likewise.
24940 * sysdeps/sparc/dl-tls.h: Likewise.
24941 * sysdeps/x86_64/dl-tls.h: Likewise.
24942 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24944 2011-03-14 Andreas Schwab <schwab@redhat.com>
24946 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24947 rpath element also skip the following colon.
24948 (expand_dynamic_string_token): Add is_path parameter and pass
24949 down to DL_DST_REQUIRED and _dl_dst_substitute.
24950 (decompose_rpath): Call expand_dynamic_string_token with
24951 non-zero is_path. Ignore empty rpaths.
24952 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24955 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24960 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24963 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24964 Patch by Filipe David Manana <fdmanana@apache.org>.
24966 2011-04-07 Andreas Schwab <schwab@redhat.com>
24968 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24969 Maintain aligned stack.
24970 (CHECK_RSP): Remove unused macro.
24972 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24974 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24975 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24977 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24979 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24981 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24983 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24986 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24987 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24988 * sysdeps/x86_64/memmove.c: New file.
24989 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24990 (memcpy): Renamed to ...
24991 (__new_memcpy): This.
24992 (memcpy): Provide GLIBC_2_14 memcpy.
24993 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24994 (memcpy): Provide GLIBC_2_2_5 memcpy.
24996 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24999 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25001 2011-03-30 Andreas Schwab <schwab@redhat.com>
25003 * misc/syncfs.c: New file.
25004 * misc/Makefile (routines): Add syncfs.
25005 * posix/unistd.h: Declare syncfs.
25006 * sysdeps/unix/syscalls.list: Add syncfs.
25008 2011-04-01 Andreas Schwab <schwab@redhat.com>
25010 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25012 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25013 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25014 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25015 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25017 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25018 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25020 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25023 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25024 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25030 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25031 sync_file_range.c with -fexceptions.
25032 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25033 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25034 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25035 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25036 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25037 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25038 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25039 sync_file_range as cancellation point
25040 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25041 now a wrapper around __call_sync_file_range with cancellation handling.
25042 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25043 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25044 function name to __call_sync_file_range.
25045 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25046 Add call_sync_file_range.
25048 2011-04-01 Andreas Schwab <schwab@redhat.com>
25050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25053 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25055 * iconv/iconv.h: Fix typo in comment.
25056 * io/fcntl.h: Likewise.
25057 * libio/stdio.h: Likewise.
25058 * posix/spawn.h: Likewise.
25059 * posix/unistd.h: Likewise.
25060 * stdlib/stdlib.h: Likewise.
25061 * time/time.h: Likewise.
25062 * wcsmbs/wchar.h: Likewise.
25064 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25065 open_by_handle): Add.
25066 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25067 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25068 Augment a few comments.
25069 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25070 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25071 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25074 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25077 * io/fcntl.h (AT_EMPTY_PATH): Define.
25079 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25081 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25082 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25083 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25085 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25086 * Versions.def: Add GLIBC_2.14.
25087 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25090 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25092 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25094 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25096 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25099 * string/test-strncmp.c (do_page_test): New function.
25100 (check2): Likewise.
25101 (test_main): Call check2.
25102 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25104 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25107 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25108 Handle cache information in CPU leaf 4.
25109 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25111 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25114 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25115 character representation.
25116 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25118 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25120 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25121 END(__isnan) to END(__isnanf) to match function entry point/label
25122 EALIGN(__isnanf,...).
25124 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25126 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25128 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25131 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25132 copy from the symbol referenced in the relocation to initialize the
25134 Patch by Piotr Bury <pbury@goahead.com>.
25135 * elf/Makefile: Add rules to build and tst-unique3.
25136 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25137 * elf/tst-unique3.cc: New file.
25138 * elf/tst-unique3.h: New file.
25139 * elf/tst-unique3lib.cc: New file.
25140 * elf/tst-unique3lib2.cc: New file.
25142 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25144 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25146 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25147 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25150 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25152 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25153 to-be-loaded object along a path to loader is ld.so.
25155 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25156 Ulrich Drepper <drepper@gmail.com>
25158 * sysdeps/x86_64/memset.S: After aligning destination, code
25159 branches to different locations depending on the value of
25160 misalignment, when multiarch is enabled. Fix this.
25162 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25164 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25165 Set _x86_64_preferred_memory_instruction for AMD processsors.
25166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25167 Set bit_Prefer_SSE_for_memop for AMD processors.
25169 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25171 * libio/fmemopen.c (fmemopen): Optimize a bit.
25173 2011-03-03 Andreas Schwab <schwab@redhat.com>
25175 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25177 2011-03-03 Roland McGrath <roland@redhat.com>
25179 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25181 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25183 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25184 __bzero_ultra1 instead of __memset_ultra1.
25186 2011-02-23 Andreas Schwab <schwab@redhat.com>
25187 Ulrich Drepper <drepper@gmail.com>
25190 * include/link.h (struct link_map): Add l_orig_initfini.
25191 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25192 returning unsuccessfully.
25193 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25194 close of a file loaded at startup, restore the original l_initfini
25196 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25197 list, store the pointer.
25198 * elf/Makefile ($(objpfx)noload-mem): New rule.
25199 (noload-ENV): Define.
25200 (tests): Add $(objpfx)noload-mem.
25201 * elf/noload.c: Include <memcheck.h>.
25202 (main): Call mtrace. Close all opened handles.
25204 2011-02-17 Andreas Schwab <schwab@redhat.com>
25207 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25208 dependencies are missing.
25210 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25212 Fix __if_freereq crash: Unlike the generic version which uses free,
25214 * sysdeps/mach/hurd/ifreq.h: New file.
25216 2011-01-27 Petr Baudis <pasky@suse.cz>
25217 Ulrich Drepper <drepper@gmail.com>
25220 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25221 to extend_alloca().
25222 * stdio-common/bug23.c: New file.
25223 * stdio-common/Makefile (tests): Add bug23.
25225 2010-09-28 Andreas Schwab <schwab@redhat.com>
25226 Ulrich Drepper <drepper@gmail.com>
25229 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25230 before performing relro protection. At old place add assertion
25231 to make sure nothing changed.
25233 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25234 Glauber de Oliveira Costa <glommer@gmail.com>
25236 * elf/elf.h: Add new ARM TLS relocs.
25238 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25241 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25243 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25245 * sysdeps/wordsize-64/tst-writev.c: New file.
25247 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25249 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25250 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25251 insns in _dl_start to prevent a TOC reference before relocs are
25254 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25257 * Makeconfig: Remove RANLIB definition.
25258 * Makerules: Don't use RANLIB.
25259 * aclocal.m4: Remove ranlib test.
25260 * configure.in: No need to check for ranlib.
25261 * elf/rtld-Rules: Don't use RANLIB.
25263 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25265 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25267 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25268 inclusion protection macro.
25270 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25271 SIGRTMIN and SIGRTMAX and print information in that case only when
25272 SIGRTMIN is defined.
25274 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25276 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25277 arginfo fn returning -1.
25279 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25280 and thousands string is zero terminated.
25282 2011-02-03 Andreas Schwab <schwab@redhat.com>
25284 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25285 sysdeps/unix/sysv/linux/bits/socket.h.
25287 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25289 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25290 (__CPU_COUNT): Remove old macros.
25291 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25292 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25293 (__CPU_ALLOC, __CPU_FREE): Add macros.
25294 (__sched_cpualloc, __sched_cpufree): Add declarations.
25296 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25298 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25299 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25300 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25301 (readdhstai): Return value of addhstaiX call.
25302 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25303 (addgrbyX): Return value returned by cache_addgr.
25304 (readdgrbyname): Return value returned by addgrbyX.
25305 (readdgrbygid): Likewise.
25306 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25307 (addpwbyX): Return value returned by cache_addpw.
25308 (readdpwbyname): Return value returned by addhstbyX.
25309 (readdpwbyuid): Likewise.
25310 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25311 (addservbyX): Return value returned by cache_addserv.
25312 (readdservbyname): Return value returned by addservbyX:
25313 (readdservbyport): Likewise.
25314 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25315 (addhstbyX): Return value returned by cache_addhst.
25316 (readdhstbyname): Return value returned by addhstbyX.
25317 (readdhstbyaddr): Likewise.
25318 (readdhstbynamev6): Likewise.
25319 (readdhstbyaddrv6): Likewise.
25320 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25321 (readdinitgroups): Return value returned by addinitgroupsX.
25322 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25323 (prune_cache): Keep track of timeout value of re-added entries.
25324 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25325 * nscd/nscd.h: Adjust prototypes of readd* functions.
25327 2011-02-04 Roland McGrath <roland@redhat.com>
25329 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25330 (nis_stats): Likewise.
25331 * nis/nis_modify.c (nis_modify): Likewise.
25332 * nis/nis_remove.c (nis_remove): Likewise.
25333 * nis/nis_add.c (nis_add): Likewise.
25335 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25337 * posix/fnmatch_loop.c: Add some consts.
25339 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25341 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25344 * config.make.in (config-cflags-novzeroupper): Define.
25345 * configure.in: Substitute libc_cv_cc_novzeroupper.
25346 * elf/Makefile (AVX-CFLAGS): Define.
25347 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25348 (CFLAGS-tst-auditmod4a.c): Likewise.
25349 (CFLAGS-tst-auditmod4b.c): Likewise.
25350 (CFLAGS-tst-auditmod6b.c): Likewise.
25351 (CFLAGS-tst-auditmod6c.c): Likewise.
25352 (CFLAGS-tst-auditmod7b.c): Likewise.
25353 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25355 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25357 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25358 function to the callback.
25359 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25361 2011-02-02 Andreas Schwab <schwab@redhat.com>
25363 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25366 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25369 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25371 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25373 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25376 * elf/Makefile: Add rules to build and run new test.
25377 * elf/tst-initorder.c: New file.
25378 * elf/tst-initorder.exp: New file.
25379 * elf/tst-initordera1.c: New file.
25380 * elf/tst-initordera2.c: New file.
25381 * elf/tst-initordera3.c: New file.
25382 * elf/tst-initordera4.c: New file.
25383 * elf/tst-initorderb1.c: New file.
25384 * elf/tst-initorderb2.c: New file.
25385 * elf/tst-order-a1.c: New file.
25386 * elf/tst-order-a2.c: New file.
25387 * elf/tst-order-a3.c: New file.
25388 * elf/tst-order-a4.c: New file.
25389 * elf/tst-order-b1.c: New file.
25390 * elf/tst-order-b2.c: New file.
25391 * elf/tst-order-main.c: New file.
25392 New test case by George Gensure <werkt0@gmail.com>.
25394 2010-10-01 Andreas Schwab <schwab@redhat.com>
25396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25397 decoding ACE if AI_CANONIDN.
25399 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25401 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25403 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25405 * version.h (RELEASE): Bump for 2.13 release.
25406 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25408 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25410 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25412 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25413 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25414 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25415 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25416 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25417 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25419 * posix/getconf.c: Update copyright year.
25420 * catgets/gencat.c: Likewise.
25421 * csu/version.c: Likewise.
25422 * debug/catchsegv.sh: Likewise.
25423 * debug/xtrace.sh: Likewise.
25424 * elf/ldconfig.c: Likewise.
25425 * elf/ldd.bash.in: Likewise.
25426 * elf/sprof.c (print_version): Likewise.
25427 * iconv/iconv_prog.c: Likewise.
25428 * iconv/iconvconfig.c: Likewise.
25429 * locale/programs/locale.c: Likewise.
25430 * locale/programs/localedef.c: Likewise.
25431 * malloc/memusage.sh: Likewise.
25432 * malloc/mtrace.pl: Likewise.
25433 * nscd/nscd.c (print_version): Likewise.
25434 * nss/getent.c: Likewise.
25436 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25437 PF_CAIF, and PF_ALG.
25438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25440 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25442 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25443 (modules-names): Use them.
25444 (ifunc-test-modules, ifunc-pie-tests): Define.
25445 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25446 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25447 (test-extras): Likewise.
25448 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25449 $(compile-command.c).
25450 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25451 (all-built-dso): Define.
25452 (check-textrel.out, check-execstack.out): Depend on it.
25454 * configure.in: Don't override --enable-multi-arch.
25456 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25459 * nscd/hstcache.c (tryagain): Define.
25460 (cache_addhst): Return tryagain not notfound for temporary errors.
25461 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25464 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25467 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25468 to make the syscall.
25469 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25472 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25473 and fall back to matching as normal character if the string ends before
25474 the matching ']' is found. This is what POSIX requires.
25475 * posix/testfnm.c: Adjust test result.
25476 * posix/globtest.sh: Adjust test result. Add new test.
25477 * posix/tst-fnmatch.input: Likewise.
25478 * posix/tst-fnmatch2.c: Add new test.
25480 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25482 * elf/Makefile (check-execstack): Revert last change. Depend on
25484 (check-execstack.h): New target.
25485 (generated): Add check-execstack.h.
25486 * elf/check-execstack.c: Include "check-execstack.h".
25487 (main): Revert last change.
25488 (handle_file): Return zero if GNU_STACK is absent and
25489 DEFAULT_STACK_PERMS doesn't include PF_X.
25491 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25493 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25494 in child fails because the descriptor is already closed.
25495 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25496 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25497 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25500 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25504 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25505 temporary buffer used to handle multi lookups locally.
25506 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25508 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25510 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25513 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25515 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25516 alignment for SSE2.
25518 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25521 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25522 characters. When rounding increased number of integer digits recompute
25524 * stdio-common/tst-grouping.c: New file.
25525 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25527 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25529 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25530 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25532 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25534 * bits/select.h: Likewise.
25536 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25538 * po/ja.po: Update from translation team.
25540 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25543 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25544 implementation just like for lxstat, fxstatat, et al.
25546 2010-12-27 Jim Meyering <meyering@redhat.com>
25549 * posix/regexec.c (build_trtable): Return failure indication upon
25550 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25552 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25555 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25556 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25557 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25558 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25561 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25564 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25565 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25567 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25569 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25570 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25571 script has SORT_BY_INIT_PRIORITY.
25572 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25573 NO_CTORS_DTORS_SECTIONS is defined.
25574 * elf/soinit.c: Likewise.
25575 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25576 NO_CTORS_DTORS_SECTIONS is defined.
25577 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25578 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25579 * sysdeps/sh/init-first.c: Likewise.
25580 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25582 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25584 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25585 always use the slow path.
25587 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25589 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25590 similar rule which adds the sysdep directories to the header search in
25591 order to pick up the correct platform stackinfo.h.
25592 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25593 perform test if it is, otherwise return successfully without testing.
25594 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25595 DEFAULT_STACK_PERMS define in stackinfo.h.
25596 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25597 defined in stackinfo.h.
25598 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25599 DEFAULT_STACK_PERMS defined in stackinfo.h.
25600 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25601 * sysdeps/ia64/stackinfo.h: Likewise.
25602 * sysdeps/s390/stackinfo.h: Likewise.
25603 * sysdeps/sh/stackinfo.h: Likewise.
25604 * sysdeps/sparc/stackinfo.h: Likewise.
25605 * sysdeps/x86_64/stackinfo.h: Likewise.
25606 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25607 PF_X for powerpc64. Retain PF_X for powerpc32.
25609 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25611 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25613 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25614 GETDENTS_64BIT_ALIGNED.
25616 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25618 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25620 2010-12-10 Andreas Schwab <schwab@redhat.com>
25622 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25625 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25626 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25628 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25629 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25631 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25634 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25637 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25639 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25641 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25643 * po/it.po: Update from translation team.
25645 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25650 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25652 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25654 2010-11-24 Andreas Schwab <schwab@redhat.com>
25656 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25658 (gaih_getanswer_slice): Likewise.
25660 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25664 2010-05-31 Petr Baudis <pasky@suse.cz>
25667 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25668 silently even in the chroot mode.
25670 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25672 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25673 last patch a bit. Pretty printing
25675 2010-05-31 Petr Baudis <pasky@suse.cz>
25678 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25679 initialization of skip_initgroups_dyn.
25681 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25683 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25684 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25686 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25688 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25690 2010-11-11 Andreas Schwab <schwab@redhat.com>
25692 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25693 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25694 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25695 ($(objpfx)tst-fnmatch-mem): New rule.
25696 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25697 * posix/tst-fnmatch.c (main): Call mtrace.
25699 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25702 Support Intel processor model 6 and model 0x2c.
25704 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25706 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25709 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25712 * string/test-strncasecmp.c (check_result): New function.
25713 (do_one_test): Use it.
25714 (check1): New function.
25715 (test_main): Use it.
25716 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25717 Support strcasecmp and strncasecmp.
25719 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25722 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25723 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25725 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25727 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25731 * sysdeps/x86_64/multiarch/bzero.S: New file.
25732 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25733 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25734 * sysdeps/x86_64/multiarch/memset.S: New file.
25735 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25737 Set bit_Prefer_SSE_for_memop for Intel processors.
25738 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25740 (index_Prefer_SSE_for_memop): Define.
25741 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25743 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25745 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25746 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25748 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25751 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25752 (__x86_64_raw_data_cache_size_half): Likewise.
25753 (__x86_64_raw_shared_cache_size): Likewise.
25754 (__x86_64_raw_shared_cache_size_half): Likewise.
25756 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25757 (__x86_64_raw_data_cache_size_half): Likewise.
25758 (__x86_64_raw_shared_cache_size): Likewise.
25759 (__x86_64_raw_shared_cache_size_half): Likewise.
25760 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25761 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25762 and __x86_64_raw_shared_cache_size_half. Round
25763 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25764 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25765 to multiple of 256 bytes.
25767 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25770 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25771 of inacessible symlinks. Verify result of symlink before returning it.
25772 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25773 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25775 2010-10-28 Erich Ritz <erichritz@gmail.com>
25777 * math/math.h (isinf): Fix typo in comment.
25779 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25781 * po/da.po: Update from translation team.
25783 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25785 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25786 is added to the list.
25788 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25789 Ulrich Drepper <drepper@gmail.com>
25791 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25792 the global list here. Move code to...
25793 (_dl_add_to_namespace_list): ...here. New function.
25794 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25795 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25796 * elf/dl-load.c (lose): Don't remove the element from the list.
25797 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25798 (_dl_map_object): Likewise.
25800 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25803 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25804 into all bytes of SSE register.
25805 Patch by Richard Li <richardpku@gmail.com>.
25807 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25810 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25813 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25815 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25816 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25817 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25818 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25823 2010-10-22 Andreas Schwab <schwab@redhat.com>
25825 * include/dlfcn.h (__RTLD_SECURE): Define.
25826 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25827 mode & __RTLD_SECURE instead.
25828 (open_path): Rename preloaded parameter to secure.
25829 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25830 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25831 * elf/dl-deps.c (openaux): Likewise.
25832 * elf/rtld.c (struct map_args): Remove is_preloaded.
25833 (map_doit): Don't use it.
25834 (dl_main): Likewise.
25835 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25836 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25838 2010-09-09 Andreas Schwab <schwab@redhat.com>
25840 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25841 (sysd-rules-targets): Remove duplicates.
25842 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25843 rtld-%.$o dependency.
25845 2010-10-18 Andreas Schwab <schwab@redhat.com>
25847 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25848 _dl_map_object do it.
25850 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25852 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25853 fast fma builtins, define the macros in the C99 standard.
25854 (FP_FAST_FMAF): Likewise.
25855 (FP_FAST_FMAL): Likewise.
25856 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25858 * bits/mathdef.h: Update copyright year.
25859 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25861 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25863 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25864 builtins, define the macros in the C99 standard.
25865 (FP_FAST_FMAF): Likewise.
25866 (FP_FAST_FMAL): Likewise.
25867 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25869 (FP_FAST_FMAF): Likewise.
25871 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25874 * math/libm-test.inc (fma_test): Some new testcases.
25875 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25876 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25877 y and infinite z. Do multiplication by C already in long double.
25878 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25880 y and infinite z. Do bitwise or of inexact bit into u.d.
25881 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25882 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25883 * sysdeps/i386/fpu/s_fma.S: Removed.
25884 * sysdeps/i386/fpu/s_fmal.S: Removed.
25886 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25889 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25891 computation is not scheduled after fetestexcept. Fix value
25892 of minimum denormal long double.
25894 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25897 * math/libm-test.inc (fma_test): Add some more tests.
25898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25901 2010-10-15 Andreas Schwab <schwab@redhat.com>
25903 * scripts/data/localplt-s390-linux-gnu.data: New file.
25904 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25906 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25909 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25910 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25912 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25914 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25916 if one of x and y is very large and the other is subnormal.
25917 * sysdeps/s390/fpu/s_fmaf.c: New file.
25918 * sysdeps/s390/fpu/s_fma.c: New file.
25919 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25920 * sysdeps/powerpc/fpu/s_fma.S: New file.
25921 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25922 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25923 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25925 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25928 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25930 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25931 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25932 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25933 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25934 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25935 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25936 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25938 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25941 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25942 * posix/bug-regex31.input: Add test case.
25944 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25946 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25947 * posix/bug-regex31.input: New file.
25950 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25951 (parse_sub_exp): Fix last change, use postorder.
25953 * posix/bug-regex31.c: New file.
25954 * posix/Makefile: Add rules to build and run bug-regex31.
25956 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25959 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25962 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25963 to have entries in sys_siglist.
25966 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25969 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25972 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25973 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25974 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25975 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25976 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25977 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25978 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25979 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25980 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25981 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25982 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25983 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25984 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25985 * math/ftestexcept.c (fetestexcept): Likewise.
25986 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25987 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25988 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25989 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25990 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25991 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25992 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25994 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25997 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26000 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26002 * string/bug-strstr1.c: New file.
26003 * string/Makefile: Add rules to build and run bug-strstr1.
26005 2010-10-05 Eric Blake <eblake@redhat.com>
26008 * string/str-two-way.h (two_way_long_needle): Always clear memory
26009 when skipping input due to the shift table.
26011 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26014 * malloc/mcheck.c: Handle large requests.
26017 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26018 for strncmp and strncasecmp.
26019 * string/stratcliff.c: Add tests for strcmp and strncmp.
26020 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26022 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26024 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26027 2010-09-30 Andreas Jaeger <aj@suse.de>
26029 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26030 (CGROUP_SUPER_MAGIC): Define.
26031 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26032 Handle btrfs and cgroup file systems.
26033 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26036 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26038 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26039 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26041 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26044 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26045 trying to locate the ELF header.
26047 2010-09-27 Andreas Schwab <schwab@redhat.com>
26050 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26051 Mask out sign-bit copies when constructing f_fsid.
26053 2010-09-24 Petr Baudis <pasky@suse.cz>
26055 * debug/stack_chk_fail_local.c: Add missing licence exception.
26056 * debug/warning-nop.c: Likewise.
26058 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26060 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26061 implementing getdents64 using getdents syscall, set d_type if
26062 __ASSUME_GETDENTS32_D_TYPE.
26064 2010-09-16 Andreas Schwab <schwab@redhat.com>
26066 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26067 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26069 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26072 * posix/unistd.h: Undo change of feature selection for ftruncate from
26075 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26077 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26080 2010-09-20 Andreas Schwab <schwab@redhat.com>
26082 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26084 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26086 2010-09-14 Andreas Schwab <schwab@redhat.com>
26088 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26089 variables after CHECK_SP call.
26090 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26092 2010-09-13 Andreas Schwab <schwab@redhat.com>
26093 Ulrich Drepper <drepper@redhat.com>
26095 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26096 re-relocationg ld.so.
26097 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26098 _dl_init_paths call.
26099 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26102 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26104 * resolv/res_init.c (__res_vinit): Count the default server we added.
26106 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26107 Ulrich Drepper <drepper@redhat.com>
26110 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26111 (____longjmp_chk): Use %ebx for saving value across system call.
26114 2010-09-06 Andreas Schwab <schwab@redhat.com>
26116 * manual/Makefile: Don't mix pattern rules with normal rules.
26118 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26120 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26122 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26123 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26124 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26125 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26126 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26129 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26132 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26133 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26135 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26137 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26138 * sysdeps/x86_64/addmul_1.S: Likewise.
26139 * sysdeps/x86_64/lshift.S: Likewise.
26140 * sysdeps/x86_64/mul_1.S: Likewise.
26141 * sysdeps/x86_64/rshift.S: Likewise.
26142 * sysdeps/x86_64/sub_n.S: Likewise.
26143 * sysdeps/x86_64/submul_1.S: Likewise.
26145 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26147 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26148 Define __sched_param instead of SCHED_* and sched_param when
26149 <bits/sched.h> is included with __need_schedparam defined.
26150 * bits/sched.h [__need_schedparam]
26151 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26152 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26153 (__defined_schedparam): Define to 1.
26154 (__sched_param): New structure, identical to sched_param.
26155 (__need_schedparam): Undefine.
26157 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26159 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26160 (epoll_create1): Declare.
26162 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26164 2010-08-31 Andreas Schwab <schwab@redhat.com>
26167 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26168 shifting retval into place.
26170 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26172 * nis/rpcsvc/nis.h: Update copyright notice.
26173 * nis/rpcsvc/nis.x: Likewise.
26174 * nis/rpcsvc/nis_callback.h: Likewise.
26175 * nis/rpcsvc/nis_callback.x: Likewise.
26176 * nis/rpcsvc/nis_object.x: Likewise.
26177 * nis/rpcsvc/nis_tags.h: Likewise.
26178 * nis/rpcsvc/yp.h: Likewise.
26179 * nis/rpcsvc/yp.x: Likewise.
26180 * nis/rpcsvc/ypupd.h: Likewise.
26181 * nis/yp_xdr.c: Likewise.
26182 * nis/ypupdate_xdr.c: Likewise.
26184 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26185 mainly the body of pmap_getport. Add parameters to specify timeouts.
26186 (pmap_getport): Use __libc_rpc_getport.
26187 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26188 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26189 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26191 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26196 2010-08-27 Roland McGrath <roland@redhat.com>
26198 * sysdeps/i386/i686/multiarch/Makefile
26199 (CFLAGS-varshift.c): New variable.
26201 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26203 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26204 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26206 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26208 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26210 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26212 * sysdeps/x86_64/strlen.S: Unroll the loop.
26213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26214 strlen-sse2 strlen-sse2-bsf.
26215 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26216 __strlen_no_bsf if bit_Slow_BSF is set.
26217 (__strlen_sse42): Removed.
26218 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26219 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26221 2010-08-25 Roland McGrath <roland@redhat.com>
26223 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26224 * sysdeps/x86_64/multiarch/varshift.c: New file.
26225 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26226 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26227 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26228 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26230 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26232 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26233 strlen-sse2 strlen-sse2-bsf.
26234 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26235 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26236 (__strlen_sse2): Removed.
26237 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26238 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26240 bit_Slow_BSF for Atom.
26241 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26242 (index_Slow_BSF): Define.
26243 (HAS_SLOW_BSF): Define.
26245 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26248 * resolv/res_init.c (__res_vinit): When no server address at all
26249 is given default to loopback.
26251 2010-08-24 Roland McGrath <roland@redhat.com>
26253 * configure.in: Remove config-name.h generation.
26254 * configure: Regenerated.
26255 * config-name.in: File removed.
26256 * scripts/config-uname.sh: New file.
26257 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26258 ($(objdir)config-name.h): New target.
26260 * sunrpc/rpc_parse.h: Avoid nested comment.
26262 2010-08-24 Richard Henderson <rth@redhat.com>
26263 Ulrich Drepper <drepper@redhat.com>
26264 H.J. Lu <hongjiu.lu@intel.com>
26266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26268 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26269 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26270 _mm_alignr_epi8 with _mm_loadu_si128.
26271 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26272 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26273 (__m128i_shift_right): Removed.
26274 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26275 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26276 * sysdeps/x86_64/multiarch/varshift.h: New file.
26277 * sysdeps/x86_64/multiarch/varshift.S: New file.
26279 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26281 * configure.in: Move assembler checks to before sysdep dir checking.
26283 2010-08-20 Petr Baudis <pasky@suse.cz>
26285 * LICENSES: Sync the sunrpc license.
26287 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26289 * sunrpc/auth_des.c: Update copyright notice once again.
26290 * sunrpc/auth_none.c: Likewise.
26291 * sunrpc/auth_unix.c: Likewise.
26292 * sunrpc/authdes_prot.c: Likewise.
26293 * sunrpc/authuxprot.c: Likewise.
26294 * sunrpc/bindrsvprt.c: Likewise.
26295 * sunrpc/clnt_gen.c: Likewise.
26296 * sunrpc/clnt_perr.c: Likewise.
26297 * sunrpc/clnt_raw.c: Likewise.
26298 * sunrpc/clnt_simp.c: Likewise.
26299 * sunrpc/clnt_tcp.c: Likewise.
26300 * sunrpc/clnt_udp.c: Likewise.
26301 * sunrpc/clnt_unix.c: Likewise.
26302 * sunrpc/des_crypt.c: Likewise.
26303 * sunrpc/des_soft.c: Likewise.
26304 * sunrpc/get_myaddr.c: Likewise.
26305 * sunrpc/getrpcport.c: Likewise.
26306 * sunrpc/key_call.c: Likewise.
26307 * sunrpc/key_prot.c: Likewise.
26308 * sunrpc/openchild.c: Likewise.
26309 * sunrpc/pm_getmaps.c: Likewise.
26310 * sunrpc/pm_getport.c: Likewise.
26311 * sunrpc/pmap_clnt.c: Likewise.
26312 * sunrpc/pmap_prot.c: Likewise.
26313 * sunrpc/pmap_prot2.c: Likewise.
26314 * sunrpc/pmap_rmt.c: Likewise.
26315 * sunrpc/rpc/auth.h: Likewise.
26316 * sunrpc/rpc/auth_unix.h: Likewise.
26317 * sunrpc/rpc/clnt.h: Likewise.
26318 * sunrpc/rpc/des_crypt.h: Likewise.
26319 * sunrpc/rpc/key_prot.h: Likewise.
26320 * sunrpc/rpc/netdb.h: Likewise.
26321 * sunrpc/rpc/pmap_clnt.h: Likewise.
26322 * sunrpc/rpc/pmap_prot.h: Likewise.
26323 * sunrpc/rpc/pmap_rmt.h: Likewise.
26324 * sunrpc/rpc/rpc.h: Likewise.
26325 * sunrpc/rpc/rpc_des.h: Likewise.
26326 * sunrpc/rpc/rpc_msg.h: Likewise.
26327 * sunrpc/rpc/svc.h: Likewise.
26328 * sunrpc/rpc/svc_auth.h: Likewise.
26329 * sunrpc/rpc/types.h: Likewise.
26330 * sunrpc/rpc/xdr.h: Likewise.
26331 * sunrpc/rpc_clntout.c: Likewise.
26332 * sunrpc/rpc_cmsg.c: Likewise.
26333 * sunrpc/rpc_common.c: Likewise.
26334 * sunrpc/rpc_cout.c: Likewise.
26335 * sunrpc/rpc_dtable.c: Likewise.
26336 * sunrpc/rpc_hout.c: Likewise.
26337 * sunrpc/rpc_main.c: Likewise.
26338 * sunrpc/rpc_parse.c: Likewise.
26339 * sunrpc/rpc_parse.h: Likewise.
26340 * sunrpc/rpc_prot.c: Likewise.
26341 * sunrpc/rpc_sample.c: Likewise.
26342 * sunrpc/rpc_scan.c: Likewise.
26343 * sunrpc/rpc_scan.h: Likewise.
26344 * sunrpc/rpc_svcout.c: Likewise.
26345 * sunrpc/rpc_tblout.c: Likewise.
26346 * sunrpc/rpc_util.c: Likewise.
26347 * sunrpc/rpc_util.h: Likewise.
26348 * sunrpc/rpcinfo.c: Likewise.
26349 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26350 * sunrpc/rpcsvc/key_prot.x: Likewise.
26351 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26352 * sunrpc/rpcsvc/mount.x: Likewise.
26353 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26354 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26355 * sunrpc/rpcsvc/rex.x: Likewise.
26356 * sunrpc/rpcsvc/rstat.x: Likewise.
26357 * sunrpc/rpcsvc/rusers.x: Likewise.
26358 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26359 * sunrpc/rpcsvc/spray.x: Likewise.
26360 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26361 * sunrpc/rtime.c: Likewise.
26362 * sunrpc/svc.c: Likewise.
26363 * sunrpc/svc_auth.c: Likewise.
26364 * sunrpc/svc_authux.c: Likewise.
26365 * sunrpc/svc_raw.c: Likewise.
26366 * sunrpc/svc_run.c: Likewise.
26367 * sunrpc/svc_simple.c: Likewise.
26368 * sunrpc/svc_tcp.c: Likewise.
26369 * sunrpc/svc_udp.c: Likewise.
26370 * sunrpc/svc_unix.c: Likewise.
26371 * sunrpc/svcauth_des.c: Likewise.
26372 * sunrpc/xcrypt.c: Likewise.
26373 * sunrpc/xdr.c: Likewise.
26374 * sunrpc/xdr_array.c: Likewise.
26375 * sunrpc/xdr_float.c: Likewise.
26376 * sunrpc/xdr_mem.c: Likewise.
26377 * sunrpc/xdr_rec.c: Likewise.
26378 * sunrpc/xdr_ref.c: Likewise.
26379 * sunrpc/xdr_sizeof.c: Likewise.
26380 * sunrpc/xdr_stdio.c: Likewise.
26382 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26385 2010-08-19 Andreas Schwab <schwab@redhat.com>
26387 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26389 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26391 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26392 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26393 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26394 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26395 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26396 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26397 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26398 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26399 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26400 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26401 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26402 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26403 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26404 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26406 2010-07-26 Anton Blanchard <anton@samba.org>
26408 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26409 * malloc/arena.c (heap_trim): Likewise.
26411 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26413 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26415 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26416 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26418 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26420 * sysdeps/i386/elf/Makefile: New file.
26422 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26424 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26425 from fanotify_init.
26426 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26427 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26429 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26431 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26433 * sysdeps/multiarch/strcmp.S: Likewise.
26435 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26437 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26438 strncase_l-nonascii.
26439 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26440 Add strncase_l-ssse3.
26441 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26442 * sysdeps/x86_64/strcmp.S: Likewise.
26443 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26444 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26445 * sysdeps/x86_64/strncase.S: New file.
26446 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26447 * sysdeps/x86_64/strncase_l.S: New file.
26448 * string/Makefile (strop-tests): Add strncasecmp.
26449 * string/test-strncasecmp.c: New file.
26451 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26454 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26455 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26457 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26459 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26461 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26463 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26464 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26465 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26467 2010-05-01 Alan Modra <amodra@gmail.com>
26469 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26470 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26471 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26472 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26473 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26474 tidying. Don't tail-call __sigjmp_save for static lib.
26475 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26477 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26478 (CALL_MCOUNT): Add eh info, and nop after bl.
26479 (TAIL_CALL_SYSCALL_ERROR): New macro.
26480 (PSEUDO_RET): Use it.
26481 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26482 Correct save location of integer regs and cr.
26483 (_dl_profile_resolve): Correct cr save location. Delete nops
26484 after bl when SHARED. Reduce cfi size a little by better
26485 placement of cfi directives.
26486 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26487 make a stack frame. Instead use parm save area as a temp.
26488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26489 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26491 Don't make a stack frame for parent, use parm save area.
26492 Increase child stack frame to 112 bytes. Don't save unused reg,
26493 and adjust reg usage. Set up cfi on error recovery and
26494 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26496 (__makecontext): Add dummy nop after jump to exit.
26497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26498 Use correct parm save area and cr save, reduce stack frame.
26499 Correct cfi for possible PSEUDO_RET frame setup.
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26501 Branch to local label emitted by PSEUDO_RET rather than
26504 2010-08-12 Andreas Schwab <schwab@redhat.com>
26507 * locale/programs/locale.c (print_assignment): New function.
26508 (show_locale_vars): Use it.
26510 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26512 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26514 (struct statfs64): Likewise.
26515 (_STATFS_F_FLAGS): Define.
26516 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26517 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26518 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26519 (ST_VALID): Define locally.
26520 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26521 __statvfs_getflags, use the provided value.
26522 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26523 __ASSUME_STATFS_F_FLAGS.
26525 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26527 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26528 Add sys/fanotify.h.
26529 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26530 fanotify_mask for GLIBC_2.13.
26531 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26532 fanotify_init and fanotify_mark.
26533 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26534 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26536 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26538 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26539 prlimit64 for GLIBC_2.13.
26540 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26542 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26545 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26546 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26547 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26548 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26550 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26553 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26554 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26556 * nss/Makefile: Add rules to build and run tst-nss-test1.
26557 * shlib-versions: Add entry for libnss_test1.
26558 * nss/nss_test1.c: New file.
26559 * nss/tst-nss-test1.c: New file.
26561 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26562 (__nss_configure_lookup): Set appropriate entry in
26563 __nss_configure_lookup to true.
26564 * nss/nsswitch.h: Define enum with indeces of databases in
26565 databases and __nss_database_custom arrays. Declare
26566 __nss_database_custom.
26567 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26568 to avoid using nscd when custom rules are installed.
26569 * nss/getXXbyYY_r.c: Likewise.
26570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26572 * nss/nss_files/files-parse.c: Whitespace fixes.
26574 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26577 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26578 * posix/fnmatch_loop.c: Likewise.
26580 2010-07-17 Andi Kleen <ak@linux.intel.com>
26582 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26583 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26584 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26585 * Versions.def [GLIBC_2.13]: Add.
26587 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26589 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26590 Also fail if tpwd after pwuid call is NULL.
26592 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26594 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26595 when converting to ms.
26597 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26599 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26600 EOPNOTSUPP errors with ENOTTY.
26601 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26602 EOPNOTSUPP errors with ENOTTY.
26604 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26606 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26607 Add strcasecmp_l-ssse3.
26608 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26610 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26611 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26612 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26614 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26616 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26618 * string/Makefile (strop-tests): Add strcasecmp.
26619 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26620 strcasecmp_l-nonascii.
26621 (gen-as-const-headers): Add locale-defines.sym.
26622 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26623 * sysdeps/x86_64/strcasecmp.S: New file.
26624 * sysdeps/x86_64/strcasecmp_l.S: New file.
26625 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26626 * sysdeps/x86_64/locale-defines.sym: New file.
26627 * string/test-strcasecmp.c: New file.
26629 * string/test-strcasestr.c: Test both ends of the range of characters.
26630 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26632 2010-07-29 Roland McGrath <roland@redhat.com>
26635 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26637 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26639 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26642 2010-07-27 Andreas Schwab <schwab@redhat.com>
26644 * manual/memory.texi (Malloc Tunable Parameters): Document
26647 2010-07-26 Roland McGrath <roland@redhat.com>
26650 * configure.in (-fgnu89-inline check): Set and substitute
26651 gnu89_inline, not libc_cv_gnu89_inline.
26652 * configure: Regenerated.
26653 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26655 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26657 * string/test-strnlen.c: New file.
26658 * string/Makefile (strop-tests): Add strnlen.
26659 * string/tester.c (test_strnlen): Add a few more test cases.
26660 * string/tst-strlen.c: Better error reporting.
26662 * sysdeps/x86_64/strnlen.S: New file.
26664 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26667 lower-latency instructions.
26669 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26671 * string/test-strcasestr.c: New file.
26672 * string/test-strstr.c: New file.
26673 * string/Makefile (strop-tests): Add strstr and strcasestr.
26674 * string/str-two-way.h: Don't undefine MAX.
26675 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26677 2010-07-21 Andreas Schwab <schwab@redhat.com>
26679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26680 strcasestr-nonascii.
26681 (CFLAGS-strcasestr-nonascii.c): Define.
26682 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26683 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26684 Remove unused attribute.
26686 2010-07-20 Roland McGrath <roland@redhat.com>
26688 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26689 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26690 ld.so.cache was broken. With it, there is no way to disable dsocaps
26691 like LD_HWCAP_MASK can disable hwcaps.
26693 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26695 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26697 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26699 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26700 call in strcasestr.
26701 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26702 __strcasestr_sse42_nonascii.
26703 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26704 strcasestr-nonascii.c.
26705 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26707 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26709 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26710 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26711 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26712 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26714 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26716 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26719 2010-07-06 Andreas Schwab <schwab@redhat.com>
26722 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26725 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26727 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26728 _PC_PIPE_BUF using F_GETPIPE_SZ.
26730 2010-07-05 Roland McGrath <roland@redhat.com>
26732 * manual/arith.texi (Rounding Functions): Fix rint description
26733 implicit in round description.
26735 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26737 * elf/Makefile: Fix linking for a few tests to make recent linker
26740 2010-06-30 Andreas Schwab <schwab@redhat.com>
26742 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26743 $(common-objpfx)libc_nonshared.a.
26745 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26747 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26748 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26749 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26750 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26751 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26752 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26753 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26754 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26769 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26770 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26771 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26772 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26773 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26774 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26775 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26776 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26777 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26778 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26779 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26780 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26796 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26798 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26799 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26800 * string/memmove.c (memmove): Renamed to ...
26801 (MEMMOVE): ...this. Default to memmove.
26802 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26803 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26806 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26807 mempcpy-ssse3-back memmove-ssse3-back.
26808 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26809 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26810 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26811 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26812 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26813 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26814 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26815 * sysdeps/x86_64/multiarch/memmove.c: New file.
26816 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26817 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26818 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26819 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26820 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26821 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26823 (index_Fast_Copy_Backward): Define.
26824 (HAS_ARCH_FEATURE): Define.
26825 (HAS_FAST_REP_STRING): Define.
26826 (HAS_FAST_COPY_BACKWARD): Define.
26828 2010-06-21 Andreas Schwab <schwab@redhat.com>
26830 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26831 Restore proper fallback handling.
26833 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26836 * posix/group_member.c (__group_member): Correct checking loop.
26838 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26839 OOM in getpwuid_r correctly. Return error number when the caller
26840 should return, otherwise -1.
26841 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26842 call returning > 0 value.
26843 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26845 2010-06-07 Andreas Schwab <schwab@redhat.com>
26847 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26848 libc_nonshared.a from targets in modules-names.
26850 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26852 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26855 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26857 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26858 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26859 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26860 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26862 2010-06-02 Andreas Schwab <schwab@redhat.com>
26864 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26866 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26868 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26870 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26872 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26874 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26875 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26877 2010-06-14 Roland McGrath <roland@redhat.com>
26879 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26881 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26883 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26884 __REDIRECT followed by __THROW.
26885 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26886 * posix/getopt.h (getopt): Likewise.
26888 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26890 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26891 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26892 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26894 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26895 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26897 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26899 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26901 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26905 Properly check family and model.
26907 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26909 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26911 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26913 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26915 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26917 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26920 2010-05-19 Andreas Schwab <schwab@redhat.com>
26922 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26925 2010-05-21 Andreas Schwab <schwab@redhat.com>
26927 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26928 and internal_recvmmsg.
26929 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26930 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26931 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26932 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26934 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26935 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26936 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26938 2010-05-20 Andreas Schwab <schwab@redhat.com>
26940 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26942 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26944 POWER7 optimizations.
26945 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26946 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26948 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26950 * version.h: Update for 2.13 development version.
26952 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26954 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26955 exceptions. Return 0.
26957 2010-05-07 Roland McGrath <roland@redhat.com>
26959 * elf/ldconfig.c (main): Add a const.
26961 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26963 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26964 (args_options): Add no-idn option.
26965 (ahosts_keys_int): Add idn_flags to ai_flags.
26966 (parse_option): Handle 'i' option to clear idn_flags.
26968 * malloc/malloc.c (_int_free): Possible race in the most recently
26969 added check. Only act on the data if no current modification
26972 See ChangeLog.17 for earlier changes.