1 2013-03-13 Andreas Schwab <schwab@suse.de>
3 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8 * timezone/zic.c: Update from tzcode 2013b.
10 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12 * manual/install.texi (Configuring and compiling):
13 Mention i686 and i586.
14 * INSTALL: Regenerate.
16 2013-03-12 Roland McGrath <roland@hack.frob.com>
18 * sysdeps/init_array/elf-init.c: New file.
20 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24 __gmon_start__ as global, but as static with a .preinit_array pointer.
25 * sysdeps/init_array/gmon-start.c: New file. Use that.
26 * sysdeps/init_array/crti.S: New file, empty except for comments.
27 * sysdeps/init_array/crtn.S: Likewise.
29 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
31 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34 Remove Prefer_SSE_for_memop.
35 * sysdeps/x86_64/multiarch/init-arch.h: Remove
36 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37 HAS_PREFER_SSE_FOR_MEMOP.
38 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
40 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41 Remove bzero, memset ifunc support.
42 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47 2013-03-11 Andreas Schwab <schwab@suse.de>
50 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53 (GLIBC_2.16): Remove pthread_atfork.
55 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
57 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58 (ptestcases.h): Likewise.
60 2013-03-08 Roland McGrath <roland@hack.frob.com>
62 * Makeconfig ($(common-objpfx)config.status): Depend on
63 sysdeps/*/preconfigure{,.in} too.
65 2013-03-08 Joseph Myers <joseph@codesourcery.com>
67 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68 (__free_hook): Use void * instead of __malloc_ptr_t.
69 (__malloc_hook): Likewise.
70 (__realloc_hook): Likewise.
71 (__memalign_hook): Likewise.
72 (__after_morecore_hook): Likewise.
73 * malloc/arena.c (save_malloc_hook): Likewise.
74 (save_free_hook): Likewise.
75 * malloc/hooks.c (malloc_hook_ini): Likewise.
76 (realloc_hook_ini): Likewise.
77 (memalign_hook_ini): Likewise.
78 * malloc/malloc.c (malloc_hook_ini): Likewise.
79 (realloc_hook_ini): Likewise.
80 (memalign_hook_ini): Likewise.
81 (__free_hook): Likewise.
82 (__malloc_hook): Likewise.
83 (__realloc_hook): Likewise.
84 (__memalign_hook): Likewise.
85 (__libc_malloc): Likewise.
86 (__libc_free): Likewise.
87 (__libc_realloc): Likewise.
88 (__libc_memalign): Likewise.
89 (__libc_valloc): Likewise.
90 (__libc_pvalloc): Likewise.
91 (__libc_calloc): Likewise.
92 (__posix_memalign): Likewise.
93 * malloc/morecore.c (__sbrk): Likewise.
94 (__default_morecore): Likewise.
96 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
98 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
99 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
102 * malloc/malloc.h (__malloc_size_t): Remove macro.
103 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
105 (old_memalign_hook): Likewise.
106 (old_realloc_hook): Likewise.
107 (struct hdr): Likewise.
109 (mallochook): Likewise.
110 (memalignhook): Likewise.
111 (reallochook): Likewise.
112 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
113 (tr_old_realloc_hook): Likewise.
114 (tr_old_memalign_hook): Likewise.
115 (tr_mallochook): Likewise.
116 (tr_reallochook): Likewise.
117 (tr_memalignhook): Likewise.
119 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
121 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
122 default_ldbl_pack and using as default implementation.
123 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
125 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
126 redundant definition.
127 (ldbl_insert_mantissa): Likewise.
128 (ldbl_canonicalize): Likewise.
129 (ldbl_nearbyint): Likewise.
130 (ldbl_pack): Rename to ldbl_pack_ppc.
131 (ldbl_unpack): Rename to ldbl_unpack_ppc.
132 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
133 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
135 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
138 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
139 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
140 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
142 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
143 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
144 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
146 2013-03-07 Andreas Jaeger <aj@suse.de>
148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
151 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
153 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
154 Include mpa.h and declare __MPEXP.
155 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
156 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
157 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
158 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
159 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
160 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
161 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
163 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
164 (__slowpow): Use long double EXPL and LOGL functions to
166 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
167 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
168 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
169 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
170 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
171 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
174 intermediate variable to calculate exponent.
176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
180 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
181 [!NO__SQR]: Define __sqr.
182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
183 and NO__SQR. Remove all code except __mul and __sqr. Include
184 sysdeps/ieee754/dbl-64/mpa.c.
185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
188 * posix/Makefile (tests): Add tst-pathconf.
189 * posix/tst-pathconf.c: New test case.
190 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
192 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
194 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
196 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
198 2013-03-06 Andreas Jaeger <aj@suse.de>
200 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
201 definition via __MAP_ANONYMOUS.
203 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
204 it's not part of Linux headers.
206 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
207 (MAP_HUGE_MASK): Define.
209 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
211 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
214 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
215 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
217 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
218 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
220 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
222 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
223 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
224 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
225 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
226 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
227 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
229 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
233 Handle f2fs and efivarfs.
235 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
238 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
239 (EFIVARFS_MAGIC): Add.
240 (F2FS_LINK_MAX): Add.
242 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
244 * stdio-common/vfprintf.c: Replace __builtin_expect with
247 2013-03-06 Joseph Myers <joseph@codesourcery.com>
250 * sysdeps/generic/bp-sym.h: Remove file.
251 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
252 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
253 <bp-sym.h> and <bp-asm.h>.
254 (__longjmp): Don't use BP_SYM.
255 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
257 (memcpy): Don't use BP_SYM.
258 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
259 <bp-sym.h> and <bp-asm.h>.
260 (memcpy): Don't use BP_SYM.
261 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
263 (memcpy): Don't use BP_SYM.
264 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
266 (memset): Don't use BP_SYM.
267 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
268 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
269 (__bzero): Don't use BP_SYM.
270 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
271 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
272 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
273 <bp-sym.h> and <bp-asm.h>.
274 (memcmp): Don't use BP_SYM. Remove comment about bounded
276 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
277 <bp-sym.h> and <bp-asm.h>.
278 (memcpy): Don't use BP_SYM.
279 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
280 <bp-sym.h> and <bp-asm.h>.
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/strncmp.S: Don't include
288 <bp-sym.h> and <bp-asm.h>.
289 (strncmp): Don't use BP_SYM. Remove comment about bounded
291 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
292 <bp-sym.h> and <bp-asm.h>.
293 (memcpy): Don't use BP_SYM.
294 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
303 <bp-sym.h> and <bp-asm.h>.
304 (__memchr): Don't use BP_SYM.
305 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
306 <bp-sym.h> and <bp-asm.h>.
307 (memcmp): Don't use BP_SYM. Remove comment about bounded
309 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
310 <bp-sym.h> and <bp-asm.h>.
311 (memcpy): Don't use BP_SYM.
312 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
313 <bp-sym.h> and <bp-asm.h>.
314 (__mempcpy): Don't use BP_SYM.
315 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
316 <bp-sym.h> and <bp-asm.h>.
317 (__memrchr): Don't use BP_SYM.
318 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
319 <bp-sym.h> and <bp-asm.h>.
320 (memset): Don't use BP_SYM.
322 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
323 <bp-sym.h> and <bp-asm.h>.
324 (__rawmemchr): Don't use BP_SYM.
325 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
326 <bp-sym.h> and <bp-asm.h>.
327 (__STRCMP): Don't use BP_SYM.
328 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
329 <bp-sym.h> and <bp-asm.h>.
330 (strchr): Don't use BP_SYM.
331 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
332 <bp-sym.h> and <bp-asm.h>.
333 (__strchrnul): Don't use BP_SYM.
334 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
335 <bp-sym.h> and <bp-asm.h>.
336 (strlen): Don't use BP_SYM.
337 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
338 <bp-sym.h> and <bp-asm.h>.
339 (strncmp): Don't use BP_SYM. Remove comment about bounded
341 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
342 <bp-sym.h> and <bp-asm.h>.
343 (__strnlen): Don't use BP_SYM.
344 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
345 <bp-sym.h> and <bp-asm.h>.
346 (__GI__setjmp): Don't use BP_SYM.
348 (__sigsetjmp): Likewise.
349 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
350 (L(start_addresses)): Don't use BP_SYM.
352 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
354 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
355 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
356 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
357 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
358 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
360 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
361 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
362 about bounded pointers.
363 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
364 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
365 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
367 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
368 about bounded pointers. Remove GKM FIXME comments.
369 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
370 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
372 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
373 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
374 Remove GKM FIXME comments.
375 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
376 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
377 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
379 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
380 about bounded pointers. Remove GKM FIXME comment.
381 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
383 (strncmp): Don't use BP_SYM. Remove comment about bounded
385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
386 <bp-sym.h> and <bp-asm.h>.
387 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
389 <bp-sym.h> and <bp-asm.h>.
390 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
393 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
395 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
398 2013-03-05 David S. Miller <davem@davemloft.net>
400 * po/es.po: Update from translation team.
402 2013-03-05 Andreas Jaeger <aj@suse.de>
404 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
406 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
408 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
409 <bits/mman-linux.h> to end of file.
410 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
412 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
413 <bits/mman-linux.h> to end of file.
414 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
416 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
417 <bits/mman-linux.h> to end of file.
419 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
420 (MCL_CURRENT, MCL_FUTURE): Define here.
422 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
425 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
427 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
429 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
431 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
432 fourth parameter needed for rt_sigprocmask syscall.
433 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
434 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
435 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
436 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
437 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
438 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
440 2013-03-04 Joseph Myers <joseph@codesourcery.com>
443 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
444 comment about bounded pointers.
445 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
446 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
448 2013-03-04 Andreas Jaeger <aj@suse.de>
450 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
453 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
454 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
455 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
456 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
457 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
460 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
464 __ieee754_sqrl instead of __sqrl.
466 2013-03-01 Joseph Myers <joseph@codesourcery.com>
468 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
469 * sysdeps/powerpc/fpu_control.h: ... here.
470 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
471 * sysdeps/powerpc/bits/fenvinline.h: ... here.
472 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
473 * sysdeps/powerpc/bits/mathinline.h: ... here.
475 2013-03-01 Roland McGrath <roland@hack.frob.com>
477 * elf/dl-hwcaps.c (_dl_important_hwcaps):
478 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
479 to just [NEED_DL_SYSINFO_DSO].
480 * elf/dl-support.c: Likewise.
481 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
482 * elf/rtld.c (dl_main): Likewise.
483 * elf/setup-vdso.h (setup_vdso): Likewise.
484 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
485 * sysdeps/unix/sysv/linux/dl-sysdep.c
486 (_dl_discover_osversion): Likewise.
488 2013-03-01 Carlos O'Donell <carlos@redhat.com>
490 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
491 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
493 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
495 * NEWS: Mention libm performance improvements and non-x86 PI
498 * csu/libc-start.c (__pthread_initialize_minimal): Change
500 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
502 2013-02-28 Joseph Myers <joseph@codesourcery.com>
505 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
506 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
507 <bp-sym.h> and <bp-asm.h>.
508 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
509 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
511 (memcpy): Don't use BP_SYM.
512 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
514 (__mpn_add_n): Don't use BP_SYM.
515 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
516 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
518 (__mpn_addmul_1): Don't use BP_SYM.
519 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
520 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
522 (_setjmp): Don't use BP_SYM.
523 (__novmx_setjmp): Likewise.
524 (__GI__setjmp): Likewise.
525 (__vmx_setjmp): Likewise.
526 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
528 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
529 (__bzero): Don't use BP_SYM.
530 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
531 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
532 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
533 <bp-sym.h> and <bp-asm.h>.
534 (memcpy): Don't use BP_SYM.
535 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
536 <bp-sym.h> and <bp-asm.h>.
537 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
538 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
539 <bp-sym.h> and <bp-asm.h>.
540 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
541 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
543 (__mpn_lshift): Don't use BP_SYM.
544 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
545 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
547 (memset): Don't use BP_SYM.
548 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
549 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
550 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
552 (__mpn_mul_1): Don't use BP_SYM.
553 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
554 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
555 <bp-sym.h> and <bp-asm.h>.
556 (memcmp): Don't use BP_SYM.
557 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
558 <bp-sym.h> and <bp-asm.h>.
559 (memcpy): Don't use BP_SYM.
560 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
561 <bp-sym.h> and <bp-asm.h>.
562 (memset): Don't use BP_SYM.
563 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
564 <bp-sym.h> and <bp-asm.h>.
565 (strncmp): Don't use BP_SYM.
566 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
567 <bp-sym.h> and <bp-asm.h>.
568 (memcpy): Don't use BP_SYM.
569 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
570 <bp-sym.h> and <bp-asm.h>.
571 (memset): Don't use BP_SYM.
572 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
573 <bp-sym.h> and <bp-asm.h>.
574 (__memchr): Don't use BP_SYM.
575 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
576 <bp-sym.h> and <bp-asm.h>.
577 (memcmp): Don't use BP_SYM.
578 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
579 <bp-sym.h> and <bp-asm.h>.
580 (memcpy): Don't use BP_SYM.
581 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
582 <bp-sym.h> and <bp-asm.h>.
583 (__mempcpy): Don't use BP_SYM.
584 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
585 <bp-sym.h> and <bp-asm.h>.
586 (__memrchr): Don't use BP_SYM.
587 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
588 <bp-sym.h> and <bp-asm.h>.
589 (memset): Don't use BP_SYM.
590 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
591 <bp-sym.h> and <bp-asm.h>.
592 (__rawmemchr): Don't use BP_SYM.
593 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
594 <bp-sym.h> and <bp-asm.h>.
595 (__STRCMP): Don't use BP_SYM.
596 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
597 <bp-sym.h> and <bp-asm.h>.
598 (strchr): Don't use BP_SYM.
599 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
600 <bp-sym.h> and <bp-asm.h>.
601 (__strchrnul): Don't use BP_SYM.
602 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
603 <bp-sym.h> and <bp-asm.h>.
604 (strlen): Don't use BP_SYM.
605 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
606 <bp-sym.h> and <bp-asm.h>.
607 (strncmp): Don't use BP_SYM.
608 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
609 <bp-sym.h> and <bp-asm.h>.
610 (__strnlen): Don't use BP_SYM.
611 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
613 (__mpn_rshift): Don't use BP_SYM.
614 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
615 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
616 <bp-sym.h> and <bp-asm.h>.
617 (__sigsetjmp): Don't use BP_SYM.
618 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
619 (L(start_addresses)): Don't use BP_SYM.
621 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
623 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
624 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
625 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
626 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
628 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
629 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
630 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
631 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
633 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
635 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
636 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
638 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
640 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
641 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
642 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
644 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
646 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
648 (strncmp): Don't use BP_SYM,
649 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
651 (__mpn_sub_n): Don't use BP_SYM.
652 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
653 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
655 (__mpn_submul_1): Don't use BP_SYM.
656 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
658 <bp-sym.h> and <bp-asm.h>.
659 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
661 <bp-sym.h> and <bp-asm.h>.
662 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
665 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
668 Use ZK to minimize writes to Z.
669 (sub_magnitudes): Simplify code a bit.
670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
671 Use ZK to minimize writes to Z.
672 (sub_magnitudes): Simplify code a bit.
674 2013-02-27 Roland McGrath <roland@hack.frob.com>
676 * csu/gmon-start.c: Add special exception to license text.
678 2013-02-27 Richard Henderson <rth@redhat.com>
680 * scripts/config.guess: Update from config.git.
681 * scripts/config.sub: Likewise.
683 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
685 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
687 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
689 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
691 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
693 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
695 2013-02-26 Roland McGrath <roland@hack.frob.com>
697 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
698 [$(build-shared = yes].
700 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
702 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
703 (__mul): Reduce iterations for calculating mantissa.
705 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
707 (__mpranred): Likewise.
710 * malloc/memusagestat.c (main): Draw graphs for heap and stack
711 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
713 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
715 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
716 Define __attribute__.
718 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
720 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
722 * posix/regex_internal.h (__attribute): Remove.
723 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
724 (re_string_context_at): Likewise.
725 (bitset_not): Use __attribute__ and mark function as possibly
727 (bitset_merge): Likewise.
728 (bitset_mask): Likewise.
729 (re_string_char_size_at): Likewise.
730 (re_string_wchar_at): Likewise.
731 (re_string_elem_size_at): Likewise.
733 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
735 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
739 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
744 (__dbl_mp): Likewise.
745 (add_magnitudes): Likewise.
746 (sub_magnitudes): Likewise.
750 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
753 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
756 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
760 up changes with default code.
761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
764 2013-02-24 Allan McRae <allan@archlinux.org>
766 * manual/socket.texi (The Internet Namespace): Order menu items
767 to match that in the file.
769 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
770 node listing of the info page menu.
772 2013-02-21 Joseph Myers <joseph@codesourcery.com>
775 * sysdeps/i386/bp-asm.h: Remove file.
776 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
777 (PARMS): Do not use macros from bp-asm.h.
781 (__mpn_add_n): Do not use BP_SYM
782 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
784 (PARMS): Do not use macros from bp-asm.h.
787 (__mpn_addmul_1): Do not use BP_SYM
788 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
790 (PARMS): Do not use macros from bp-asm.h.
792 (_setjmp): Likewise. Do not use BP_SYM.
793 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
795 (PARMS): Do not use macros from bp-asm.h.
797 (setjmp): Likewise. Do not use BP_SYM.
798 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
800 (PARMS): Do not use macros from bp-asm.h.
801 (__frexp): Do not use BP_SYM.
803 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
805 (PARMS): Do not use macros from bp-asm.h.
806 (__frexpf): Do not use BP_SYM.
808 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
810 (PARMS): Do not use macros from bp-asm.h.
811 (__frexpl): Do not use BP_SYM.
813 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
815 (PARMS): Do not use macros from bp-asm.h.
816 (__remquo): Do not use BP_SYM.
818 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
820 (PARMS): Do not use macros from bp-asm.h.
821 (__remquof): Do not use BP_SYM.
823 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
825 (PARMS): Do not use macros from bp-asm.h.
826 (__remquol): Do not use BP_SYM.
828 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
830 (PARMS): Do not use macros from bp-asm.h.
833 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
834 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
836 (PARMS): Do not use macros from bp-asm.h.
837 (strlen): Do not use BP_SYM.
838 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
840 (PARMS): Do not use macros from bp-asm.h.
844 (__mpn_add_n): Do not use BP_SYM.
845 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
847 (PARMS): Do not use macros from bp-asm.h.
850 (__mpn_addmul_1): Do not use BP_SYM.
851 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
854 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
856 (PARMS): Do not use macros from bp-asm.h.
859 (__mpn_lshift): Do not use BP_SYM.
860 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
862 (PARMS): Do not use macros from bp-asm.h.
866 (memcpy): Likewise. Do not use BP_SYM.
867 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
868 libc_hidden_def and weak_alias.
869 (mempcpy): Do not use BP_SYM in weak_alias.
870 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
872 (PARMS): Do not use macros from bp-asm.h.
875 [!BZERO_P] (CHR): Likewise.
876 (memset): Likewise. Do not use BP_SYM.
877 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
879 (PARMS): Do not use macros from bp-asm.h.
882 (__mpn_mul_1): Do not use BP_SYM.
883 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
885 (PARMS): Do not use macros from bp-asm.h.
888 (__mpn_rshift): Do not use BP_SYM.
889 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
891 (PARMS): Do not use macros from bp-asm.h.
894 (strchr): Likewise. Do not use BP_SYM.
895 (index): Do not use BP_SYM in weak_alias.
896 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
898 (PARMS): Do not use macros from bp-asm.h.
901 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
902 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
904 (PARMS): Do not use macros from bp-asm.h.
905 (strlen): Do not use BP_SYM.
906 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
908 (PARMS): Do not use macros from bp-asm.h.
912 (__mpn_sub_n): Do not use BP_SYM.
913 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
915 (PARMS): Do not use macros from bp-asm.h.
918 (__mpn_submul_1): Do not use BP_SYM.
919 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
921 (PARMS): Do not use macros from bp-asm.h.
925 (__mpn_add_n): Do not use BP_SYM.
926 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
929 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
931 (PARMS): Do not use macros from bp-asm.h.
934 (memcmp): Do not use BP_SYM.
935 (bcmp): Do not use BP_SYM in weak_alias.
936 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
938 (PARMS): Do not use macros from bp-asm.h.
942 (memcpy): Likewise. Do not use BP_SYM.
943 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
945 (PARMS): Do not use macros from bp-asm.h.
949 (memmove): Likewise. Do not use BP_SYM.
950 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
952 (PARMS): Do not use macros from bp-asm.h.
956 (__mempcpy): Likewise. Do not use BP_SYM.
957 (mempcpy): Do not use BP_SYM in weak_alias.
958 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
960 (PARMS): Do not use macros from bp-asm.h.
963 [!BZERO_P] (CHR): Likewise.
964 (memset): Likewise. Do not use BP_SYM.
965 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
967 (PARMS): Do not use macros from bp-asm.h.
969 (strcmp): Do not use BP_SYM.
970 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
972 (PARMS): Do not use macros from bp-asm.h.
975 [USE_AS_STRTOK_R] (SAVE): Likewise.
976 (FUNCTION): Likewise. Do not use BP_SYM.
977 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
979 (strtok_r): Likewise.
980 (__GI___strtok_r): Likewise.
981 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
982 (PARMS): Do not use macros from bp-asm.h.
985 (__mpn_lshift): Do not use BP_SYM.
986 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
987 (PARMS): Do not use macros from bp-asm.h.
990 (__memchr): Do not use BP_SYM.
991 (memchr): Do not use BP_SYM in weak_alias.
992 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
993 (PARMS): Do not use macros from bp-asm.h.
996 (memcmp): Do not use BP_SYM.
997 (bcmp): Do not use BP_SYM in weak_alias.
998 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
999 (PARMS): Do not use macros from bp-asm.h.
1002 (__mpn_mul_1): Do not use BP_SYM.
1003 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1005 (PARMS): Do not use macros from bp-asm.h.
1008 (__rawmemchr): Do not use BP_SYM.
1009 (rawmemchr): Do not use BP_SYM in weak_alias.
1010 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1011 (PARMS): Do not use macros from bp-asm.h.
1014 (__mpn_rshift): Do not use BP_SYM.
1015 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1016 (PARMS): Do not use macros from bp-asm.h.
1018 (__sigsetjmp): Likewise. Do not use BP_SYM.
1019 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1020 (_start): Do not use BP_SYM.
1021 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1022 (PARMS): Do not use macros from bp-asm.h.
1025 (__stpcpy): Likewise. Do not use BP_SYM.
1026 (stpcpy): Do not use BP_SYM in weak_alias.
1027 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1029 (PARMS): Do not use macros from bp-asm.h.
1033 (__stpncpy): Likewise. Do not use BP_SYM.
1034 (stpncpy): Do not use BP_SYM in weak_alias.
1035 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1036 (PARMS): Do not use macros from bp-asm.h.
1039 (strchr): Likewise. Do not use BP_SYM.
1040 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1042 (PARMS): Do not use macros from bp-asm.h.
1045 (__strchrnul): Likewise. Do not use BP_SYM.
1046 (strchrnul): Do not use BP_SYM in weak_alias.
1047 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1049 (PARMS): Do not use macros from bp-asm.h.
1051 (strcspn): Do not use BP_SYM.
1052 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1054 (PARMS): Do not use macros from bp-asm.h.
1057 (strpbrk): Likewise. Do not use BP_SYM.
1058 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1060 (PARMS): Do not use macros from bp-asm.h.
1063 (strrchr): Likewise. Do not use BP_SYM.
1064 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1065 (PARMS): Do not use macros from bp-asm.h.
1067 (strspn): Do not use BP_SYM.
1068 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1069 (PARMS): Do not use macros from bp-asm.h.
1073 (FUNCTION): Likewise. Do not use BP_SYM.
1074 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1076 (strtok_r): Likewise.
1077 (__GI___strtok_r): Likewise.
1078 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1079 (PARMS): Do not use macros from bp-asm.h.
1083 (__mpn_sub_n): Do not use BP_SYM.
1084 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1086 (PARMS): Do not use macros from bp-asm.h.
1089 (__mpn_submul_1): Do not use BP_SYM.
1090 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1092 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1094 (PARMS): Do not use macros from bp-asm.h.
1099 (__clone): Do not use BP_SYM.
1100 (clone): Do not use BP_SYM in weak_alias.
1101 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1103 (PARMS): Do not use macros from bp-asm.h.
1105 (__mmap64): Do not use BP_SYM.
1106 (mmap64): Do not use BP_SYM in weak_alias.
1107 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1108 <bp-sym.h> and <bp-asm.h>.
1109 (PARMS): Do not use macros from bp-asm.h.
1110 (__posix_fadvise64_l64): Do not use BP_SYM.
1111 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1112 (PARMS): Do not use macros from bp-asm.h.
1114 (semtimedop): Do not use BP_SYM.
1115 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1118 2013-02-21 Allan McRae <allan@archlinux.org>
1120 * manual/message.texi (Charset conversion in gettext):
1121 Move @end statement to beginning of line.
1123 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1130 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1135 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1137 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1138 tail-call to the resolved function if pltexit isn't needed.
1140 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1143 or Y being zero as being unlikely.
1144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1147 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1149 * manual/nss.texi (System Databases and Name Service Switch):
1150 Remove frobnicate @pxref.
1152 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1154 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1155 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1157 2013-02-20 Petr Machata <pmachata@redhat.com>
1159 * elf/elf.h (R_ARM_TARGET1): New macro.
1160 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1161 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1162 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1163 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1164 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1165 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1166 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1167 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1168 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1169 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1170 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1171 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1172 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1173 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1174 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1175 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1176 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1177 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1178 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1179 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1180 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1181 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1182 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1183 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1184 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1185 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1186 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1187 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1188 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1189 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1190 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1191 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1192 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1193 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1194 (R_ARM_THM_GOT_BREL12): Likewise.
1195 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1196 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1197 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1198 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1199 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1200 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1201 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1202 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1203 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1205 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1207 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1208 __attribute_used__ to __attribute__ ((unused)).
1210 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1212 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1218 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1221 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1223 (ENTER): Remove both macro definitions.
1225 (CHECK_BOUNDS_LOW): Likewise.
1226 (CHECK_BOUNDS_HIGH): Likewise.
1227 (CHECK_BOUNDS_BOTH): Likewise.
1228 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1229 (RETURN_BOUNDED_POINTER): Likewise.
1230 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1231 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1232 (POP_ERRNO_LOCATION_RETURN): Likewise.
1233 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1234 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1235 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1237 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1238 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1239 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1240 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1241 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1242 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1243 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1244 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1245 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1246 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1247 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1248 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1249 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1250 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1252 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1253 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1255 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1256 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1257 * sysdeps/i386/i586/memset.S (memset): Likewise.
1258 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1259 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1260 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1262 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1263 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1264 Change uses of L(2) to L(out).
1265 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1266 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1267 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1268 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1269 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1271 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1272 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1274 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1275 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1276 (RETURN): Do not use macro LEAVE.
1277 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1278 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1279 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1280 * sysdeps/i386/i686/memset.S (memset): Likewise.
1281 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1282 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1283 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1284 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1286 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1287 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1288 L(1_2) and L(1_3) into L(1).
1289 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1290 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1291 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1292 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1293 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1294 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1295 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1296 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1297 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1299 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1300 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1301 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1302 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1303 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1304 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1305 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1306 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1307 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1308 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1309 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1310 * sysdeps/i386/strspn.S (strspn): Likewise.
1311 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1313 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1314 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1315 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1316 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1318 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1319 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1320 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1322 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1324 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1326 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1329 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1331 * math/atest-exp.c (exp_mpn): Remove ROUND.
1332 * math/atest-exp2.c (exp_mpn): Likewise.
1333 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1335 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1336 * stdlib/tst-tls-atexit-lib.c: Likewise.
1337 * stdlib/tst-tls-atexit.c: Likewise.
1339 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1341 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1342 and __attribute_alloc_size__.
1344 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1346 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1347 __attribute_alloc_size__.
1348 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1349 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1351 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1353 * include/programs/xmalloc.h: New file.
1354 * catgets/gencat.c: Include it.
1355 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1356 * elf/pldd.c: Likewise.
1357 * iconv/iconv_charmap.c: Likewise.
1358 * iconv/iconvconfig.c: Likewise.
1359 * iconv/strtab.c: Likewise.
1360 * locale/programs/locale.c: Likewise.
1361 * locale/programs/localedef.h: Likewise.
1362 * locale/programs/simple-hash.c: Likewise.
1363 * nscd/nscd.h: Likewise.
1364 * nss/makedb.c: Likewise.
1365 * sysdeps/generic/ldconfig.h: Likewise.
1367 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1369 * Versions.def: Add GLIBC_2.18.
1370 * include/link.h (struct link_map): New member l_tls_dtor_count.
1371 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1372 (__call_tls_dtors): Likewise.
1373 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1374 __cxa_thread_atexit_impl.
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1383 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1391 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1392 (tests): Add test case tst-tls-atexit.
1393 (modules-names): Add shared library for tst-tls-atexit.
1394 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1395 (GLIBC_PRIVATE): Add __call_tls_dtors.
1396 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1398 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1399 * stdlib/tst-tls-atexit.c: New test case.
1400 * stdlib/tst-tls-atexit-lib.c: New test case.
1402 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1404 * elf/Versions (ld): Add _dl_find_dso_for_object.
1405 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1406 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1407 (dl_open_worker): Use _dl_find_dso_for_object.
1408 * elf/dl-sym.c (do_sym): Likewise.
1409 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1411 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1413 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1414 Syntactic changes only.
1415 (_dl_runtime_profile): Do a tail-call to the resolved function.
1417 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1420 * sysdeps/x86_64/bp-asm.h: Remove file.
1421 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1422 <bp-sym.h> and <bp-asm.h>.
1423 (__clone): Do not use BP_SYM.
1424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1425 <bp-sym.h> and <bp-asm.h>.
1426 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1427 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1429 (_setjmp): Do not use BP_SYM.
1430 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1432 (setjmp): Do not use BP_SYM.
1433 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1435 (mempcpy): Do not use BP_SYM in weak_alias.
1436 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1438 (strchr): Do not use BP_SYM.
1439 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1441 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1442 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1443 (_start): Do not use BP_SYM.
1444 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1446 (strcat): Do not use BP_SYM.
1447 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1449 (STRCMP): Do not use BP_SYM.
1450 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1452 (STRCPY): Do not use BP_SYM.
1453 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1455 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1457 (FUNCTION): Do not use BP_SYM.
1458 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1460 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1462 2013-02-17 Andreas Jaeger <aj@suse.de>
1464 * time/Versions: Sort entries.
1465 * string/Versions: Likewise.
1466 * resolv/Versions: Likewise.
1467 * posix/Versions: Likewise.
1468 * iconv/Versions: Likewise.
1469 * elf/Versions: Likewise.
1470 * wcsmbs/Versions: Likewise.
1472 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1474 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1475 loop termination condition.
1477 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1478 variable to calculate EZ.
1481 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1482 the lower precision input.
1484 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1487 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1488 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1489 (run-via-rtld-prefix): Do not handle %-bp tests.
1490 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1491 (all-object-suffixes): Remove .ob.
1492 (bppfx): Remove variable.
1493 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1494 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1495 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1496 [$(build-bounded) = yes] (libtype.ob): Likewise.
1497 * Makerules (elide-routines.ob): Remove variable.
1498 (do-tests-clean): Do not handle *-bp.out.
1499 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1500 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1501 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1502 (tests): Do not include $(tests-bp.out).
1503 (xtests): Do not include $(xtests-bp.out).
1504 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1505 [$(build-bounded) = yes] ($(addprefix
1506 $(objpfx),$(binaries-bounded))): Remove rule.
1507 ($(objpfx)%-bp.out): Remove rule.
1508 * config.make.in (build-bounded): Remove variable.
1509 * crypt/Makefile [$(build-bounded) = yes]
1510 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1511 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1513 [$(build-bounded) = yes] (install-lib): Likewise.
1514 [$(build-bounded) = yes] (generated): Likewise.
1515 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1517 * intl/Makefile [$(build-bounded) = yes]
1518 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1519 * math/Makefile [$(build-bounded) = yes]
1520 ($(tests:%=$(objpfx)%-bp): Likewise.
1521 * misc/Makefile [$(build-bounded) = yes]
1522 ($(objpfx)tst-tsearch-bp): Likewise.
1523 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1524 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1526 * string/Makefile (o-objects.ob): Remove variable.
1527 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1528 (CFLAGS-.ob): Remove variable.
1529 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1530 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1531 both definitions of variable.
1532 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1533 (ASFLAGS-.ob): Remove variable.
1535 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1538 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1539 Remove __BOUNDED_POINTERS__ from condition.
1540 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1541 * string/bits/string2.h [!__NO_STRING_INLINES &&
1542 !__BOUNDED_POINTERS__]: Likewise.
1543 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1545 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1546 Remove conditional code.
1547 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1548 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1549 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1553 * csu/libc-start.c: Do not include <bp-sym.h>.
1554 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1555 * elf/dl-open.c: Do not include <bp-sym.h>.
1556 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1557 * math/fegetenv.c: Do not include <bp-sym.h>.
1558 (fegetenv): Do not use BP_SYM in versioned symbols.
1559 * nptl/sysdeps/pthread/bits/libc-lockP.h
1560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1563 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1565 (__pthread_mutex_destroy): Likewise.
1566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1567 (__pthread_mutex_lock): Likewise.
1568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1569 (__pthread_mutex_trylock): Likewise.
1570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1571 (__pthread_mutex_unlock): Likewise.
1572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1573 (__pthread_mutexattr_init): Likewise.
1574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1575 (__pthread_mutexattr_destroy): Likewise.
1576 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1577 (__pthread_mutexattr_settype): Likewise.
1578 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1579 (__pthread_rwlock_init): Likewise.
1580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1581 (__pthread_rwlock_destroy): Likewise.
1582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1583 (__pthread_rwlock_rdlock): Likewise.
1584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1585 (__pthread_rwlock_tryrdlock): Likewise.
1586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1587 (__pthread_rwlock_wrlock): Likewise.
1588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1589 (__pthread_rwlock_trywrlock): Likewise.
1590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1591 (__pthread_rwlock_unlock): Likewise.
1592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1593 (__pthread_key_create): Likewise.
1594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1595 (__pthread_setspecific): Likewise.
1596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1597 (__pthread_getspecific): Likewise.
1598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1601 (_pthread_cleanup_push_defer): Likewise.
1602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1603 (_pthread_cleanup_pop_restore): Likewise.
1604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1605 (pthread_setcancelstate): Likewise.
1606 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1608 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1609 (memchr): Do not use BP_SYM in weak_alias.
1610 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1611 (fegetenv): Do not use BP_SYM in versioned symbols.
1612 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1613 (fesetenv): Do not use BP_SYM in versioned symbols.
1614 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1615 (feupdateenv): Do not use BP_SYM in versioned symbols.
1616 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1617 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1618 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1619 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1620 (open64): Do not use BP_SYM in weak_alias.
1621 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1622 (fegetenv): Do not use BP_SYM in versioned symbols.
1623 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1624 (fesetenv): Do not use BP_SYM in versioned symbols.
1625 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1626 (feupdateenv): Do not use BP_SYM in versioned symbols.
1627 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1628 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1629 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1630 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1631 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1632 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1633 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1635 (__libc_start_main): Do not use BP_SYM.
1637 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1640 redundant return line.
1644 (sub_magnitudes): Likewise.
1650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1654 (sub_magnitudes): Likewise.
1661 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1663 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1664 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1667 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1668 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1670 of __mul for squares.
1671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1675 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1676 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1678 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1681 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1683 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1684 prototype or function definition. Rename ubp_* variables and
1685 parameters. Remove argv definitions conditional on
1686 [__BOUNDED_POINTERS__].
1687 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1688 * elf/dl-runtime.c (_dl_fixup): Likewise.
1689 * include/set-hooks.h (RUN_HOOK): Likewise.
1690 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1692 * string/strcpy.c (strcpy): Do not use __unbounded.
1693 * sysdeps/generic/frame.h (struct layout): Likewise.
1694 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1695 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1696 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1697 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1698 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1699 (__backtrace): Likewise.
1700 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1702 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1703 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1704 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1706 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1707 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1708 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1709 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1710 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1711 Do not use __unbounded.
1712 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1713 Rename __unboundedrlimits parameter to rlimits in prototype.
1714 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1715 Do not use __unbounded.
1716 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1718 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1719 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1720 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1721 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1722 __ptrvalue or __unbounded.
1723 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1724 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1726 (__new_msgctl): Do not use __ptrvalue.
1727 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1729 (__libc_msgrcv): Do not use __ptrvalue.
1730 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1731 startup_info): Do not use __unbounded.
1732 (__libc_start_main): Likewise. Rename ubp_* variables and
1733 parameters. Remove argv definitions conditional on
1734 [__BOUNDED_POINTERS__].
1735 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1737 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1739 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1741 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1743 (__new_shmctl): Do not use __ptrvalue.
1744 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1745 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1747 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1748 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1749 (__libc_sigaction): Likewise.
1750 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1751 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1753 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1755 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1757 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1759 * string/mempcpy.c: Implement by calling memcpy.
1761 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1763 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1765 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1769 values in the mantissa.
1771 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1772 minimize writes to Z.
1773 (sub_magnitudes): Simplify code a bit.
1775 2013-02-12 Roland McGrath <roland@hack.frob.com>
1777 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1778 from the message. The linker prefixes all warnings with that already.
1780 2013-02-12 Andreas Schwab <schwab@suse.de>
1783 * posix/regexec.c (extend_buffers): Add parameter min_len.
1784 (check_matching): Pass minimum needed length.
1785 (clean_state_log_if_needed): Likewise.
1786 (get_subexp): Likewise.
1787 * posix/Makefile (tests): Add bug-regex34.
1788 (bug-regex34-ENV): Define.
1789 * posix/bug-regex34.c: New file.
1792 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1793 elements compare against the byte sequence of it, not its name.
1794 * posix/Makefile (tests): Add bug-regex35.
1795 (bug-regex35-ENV): Define.
1796 * posix/bug-regex35.c: New file.
1798 2013-02-11 Tom de Vries <tom@codesourcery.com>
1800 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1802 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1803 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1804 (CHECK_EOL): Add undef.
1806 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1808 * bits/stdlib-bsearch.h: New file.
1809 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1810 * stdlib/stdlib.h: Likewise.
1812 2013-02-11 Roland McGrath <roland@hack.frob.com>
1814 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1815 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1817 * manual/search.texi (Array Search Function): Add missing const in
1819 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1820 declaration to use rlim_t.
1821 (Basic Scheduling Functions): Remove erroneous const from
1822 sched_getparam prototype. Remove erroneous * from
1823 sched_get_priority_max and sched_get_priority_min prototypes.
1824 (Resource Usage): Fix summary @comment on vtimes to refer to
1825 sys/vtimes.h rather than vtimes.h.
1826 Add missing *s in vtimes prototype.
1827 (Limits on Resources): Fix ulimit prototype to return long int.
1828 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1829 prototypes to use long int rather than double.
1830 (BSD Random): Fix initstate and setstate to use char *, not void *.
1831 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1832 prototype to make second argument 'struct aiocb64 *const[]'.
1833 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1834 (Status of AIO Operations): Remove erroneous const in aio_return and
1835 aio_return64 prototypes.
1836 (Synchronizing I/O): Fix sync prototype to return void.
1837 * manual/startup.texi (Suboptions): Remove an erroneous const in
1838 getsubopt prototype.
1839 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1840 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1841 use size_t rather than int.
1842 (Scanning All Users): Likewise for getpwent_r.
1843 (Setting Groups): Add missing const to setgroups prototype.
1844 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1845 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1846 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1847 'const void *' rather than 'const char *'.
1848 (Host Address Functions): Likewise for inet_ntop.
1849 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1850 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1851 ssize_t for return value.
1852 (Sending Data): Likewise for send, sendto, sendmsg.
1853 (Socket Option Functions): Add a missing const in setsockopt prototype.
1854 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1855 use wchar_t for the argument.
1856 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1857 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1859 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1860 double/float/long double for second argument.
1861 Fix return types of significand, significandf, significandl.
1862 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1863 argument in fchmod prototype.
1864 (File Owner): Use uid_t and gid_t in fchown prototype.
1865 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1866 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1867 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1868 use 'const struct dirent **' as argument types to CMP function pointer
1870 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1871 (File Times): Fix summary magic @comment for struct utimbuf and utime
1872 to refer to utime.h, not time.h.
1873 * manual/string.texi (Argz Functions): Add missing const in
1874 argz_extract and argz_next prototypes.
1875 (Finding Tokens in a String): Likewise for basename.
1876 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1877 (Copying and Concatenation): Fix typo in wmemmove prototype.
1878 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1879 (Signal Stack): Remove erroneous const in sigstack prototype.
1880 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1882 (Simple Calendar Time): Likewise for stime.
1883 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1885 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1886 say sys/sysctl.h instead.
1887 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1888 and vsyslog prototypes.
1890 2013-02-11 Tom de Vries <tom@codesourcery.com>
1892 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1895 2013-02-11 Roland McGrath <roland@hack.frob.com>
1897 * misc/sys/mman.h: Fix typo in mremap comment.
1899 2013-02-08 Roland McGrath <roland@hack.frob.com>
1901 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1902 the '\0' terminator.
1904 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1907 * debug/segfault.c: Don't include <bp-checks.h>.
1908 * sysdeps/generic/bp-checks.h: Remove file.
1909 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1910 (__GETDENTS): Don't use CHECK_N.
1911 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1912 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1913 (__getgroups): Don't use CHECK_N.
1914 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1915 (setgroups): Don't use CHECK_N.
1916 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1917 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1918 (__libc_msgrcv): Don't use CHECK_N.
1919 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1920 (__libc_msgsnd): Don't use CHECK_N.
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1923 (__libc_pread): Don't use CHECK_N.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1925 include <bp-checks.h>.
1926 (__libc_pread64): Don't use CHECK_N.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1928 include <bp-checks.h>.
1929 (__libc_pwrite): Don't use CHECK_N.
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1931 include <bp-checks.h>.
1932 (__libc_pwrite64): Don't use CHECK_N.
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1935 (__libc_pread): Don't use CHECK_N.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1937 include <bp-checks.h>.
1938 (__libc_pread64): Don't use CHECK_N.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1940 include <bp-checks.h>.
1941 (__libc_pwrite): Don't use CHECK_N.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1943 include <bp-checks.h>.
1944 (__libc_pwrite64): Don't use CHECK_N.
1945 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1946 (do_pread): Don't use CHECK_N.
1947 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1948 (do_pread64): Don't use CHECK_N.
1949 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1950 (do_pwrite): Don't use CHECK_N.
1951 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1952 (do_pwrite64): Don't use CHECK_N.
1953 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1954 (__libc_readv): Don't use CHECK_N.
1955 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1956 (semop): Don't use CHECK_N.
1957 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1959 (semtimedop): Don't use CHECK_N.
1960 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1961 (__libc_pread): Don't use CHECK_N.
1962 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1964 (__libc_pread64): Don't use CHECK_N.
1965 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1967 (__libc_pwrite): Don't use CHECK_N.
1968 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1970 (__libc_pwrite64): Don't use CHECK_N.
1971 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1973 (__libc_msgrcv): Don't use CHECK_N.
1974 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1975 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1976 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1977 (__libc_writev): Don't use CHECK_N.
1979 2013-02-08 Roland McGrath <roland@hack.frob.com>
1981 * string/strcpy.c: Removed unused variable.
1983 * Makeconfig (+sysdep-includes): Define with := rather than =.
1984 Use an existing include/ subdir of each sysdeps dir before it.
1986 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1988 * nscd/connection.c (register_traced_file): Comment function.
1989 [HAVE_INOTIFY] (union __inev): Define.
1990 [HAVE_INOTIFY] (inotify_check_files): New function.
1991 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1992 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1994 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1996 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1998 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1999 loaded if not already and that a failure is permanent.
2001 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2004 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2005 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2007 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2010 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2011 (CHECK_1_NULL_OK): Likewise.
2012 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2013 (__fxstat): Do not use CHECK_1.
2014 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2016 (___fxstat64): Do not use CHECK_1.
2017 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2019 (__fxstatat): Do not use CHECK_1.
2020 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2022 (__fxstatat64): Do not use CHECK_1.
2023 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2025 (__fxstat): Do not use CHECK_1.
2026 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2028 (__fxstatat): Do not use CHECK_1.
2029 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2031 (__getresgid): Do not use CHECK_1.
2032 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2034 (__getresuid): Do not use CHECK_1.
2035 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2037 (__lxstat): Do not use CHECK_1.
2038 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2040 (__old_msgctl): Do not use CHECK_1.
2041 (__new_msgctl): Likewise.
2042 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2044 (__new_setrlimit): Do not use CHECK_1.
2045 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2047 (__old_shmctl): Do not use CHECK_1.
2048 (__new_shmctl): Likewise.
2049 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2051 (__xstat): Do not use CHECK_1.
2052 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2053 (__lxstat): Do not use CHECK_1.
2054 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2056 (___lxstat64): Do not use CHECK_1.
2057 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2058 (__old_msgctl): Do not use CHECK_1.
2059 (__new_msgctl): Likewise.
2060 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2062 (__gettimeofday): Do not use CHECK_1.
2063 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2064 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2065 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2067 (__gettimeofday): Do not use CHECK_1.
2068 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2069 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2070 (__new_shmctl): Do not use CHECK_1.
2071 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2073 (do_sigtimedwait): Do not use CHECK_1.
2074 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2076 (do_sigwaitinfo): Do not use CHECK_1.
2077 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2079 (msgctl): Do not use CHECK_1.
2080 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2082 (shmctl): Do not use CHECK_1.
2083 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2084 (ustat): Do not use CHECK_1.
2085 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2087 (__fxstat): Do not use CHECK_1.
2088 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2090 (__fxstatat): Do not use CHECK_1.
2091 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2093 (__lxstat): Do not use CHECK_1.
2094 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2096 (__xstat): Do not use CHECK_1.
2097 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2098 (__xstat): Do not use CHECK_1.
2099 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2100 (___xstat64): Do not use CHECK_1.
2103 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2105 (CHECK_BOUNDS_HIGH): Likewise.
2106 * string/strcpy.c: Do not include <bp-checks.h>.
2107 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2109 2013-02-07 Roland McGrath <roland@hack.frob.com>
2111 * nscd/nscd-client.h (__nscd_drop_map_ref):
2112 Add __attribute__ ((unused)).
2113 * nis/nss-nisplus.h (niserr2nss): Likewise.
2115 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2116 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2118 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2119 Remove inline keyword.
2120 * include/rounding-mode.h (round_away): Likewise.
2121 * libio/wfileops.c (adjust_wide_data): Likewise.
2122 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2123 (__m128i_strloadu_tolower): Likewise.
2124 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2125 (__m128i_strloadu_tolower): Likewise.
2126 * time/mktime.c (ydhms_diff): Likewise.
2127 * locale/elem-hash.h (elem_hash): Likewise.
2128 * locale/setlocale.c (setdata): Likewise.
2129 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2130 (re_string_wchar_at): Likewise.
2131 (bitset_not, bitset_merge, bitset_mask): Likewise.
2132 [!(__GNUC__ > 3)] (inline): Remove macro.
2133 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2134 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2135 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2136 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2137 * string/memcmp.c (memcmp_bytes): Likewise.
2138 * locale/programs/locarchive.c (compute_hashval): Likewise.
2139 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2140 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2141 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2142 * nss/getent.c (print_rpc, print_protocols): Likewise.
2143 (print_passwd, print_group, print_aliases): Likewise.
2144 * nis/nss-nisplus.h (niserr2nss): Likewise.
2145 * nscd/connections.c (restart_p): Likewise.
2146 Change return type to bool.
2148 2013-02-05 Roland McGrath <roland@hack.frob.com>
2150 * Makeconfig (all-Depend-files): Add existing
2151 $(sorted-subdirs:=/Depend) files.
2152 (all-subdirs): Remove nss.
2153 * sysdeps/unix/inet/Subdirs: Add it here instead.
2154 * hesiod/Depend: New file.
2156 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2157 instead of calling alloca.
2159 * io/lseek.c (__lseek): Rename to __libc_lseek.
2160 Define __lseek as an alias.
2162 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2164 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2166 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2167 else clause and remove check for non-standard endianness.
2169 2013-02-04 David S. Miller <davem@davemloft.net>
2171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2173 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2176 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2177 (__ubp_memchr): Remove prototype.
2178 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2179 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2180 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2181 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2182 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2184 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2185 (__ubp_memchr): Likewise.
2186 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2187 (__ubp_memchr): Likewise.
2188 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2189 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2190 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2191 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2193 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2194 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2195 (__getcwd): Do not use CHECK_STRING.
2196 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2198 (__real_chown): Do not use CHECK_STRING.
2199 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2201 (fchownat): Do not use CHECK_STRING.
2202 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2204 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2206 (__lchown): Do not use CHECK_STRING.
2207 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2208 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2209 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2210 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2212 include <bp-checks.h>.
2213 (truncate64): Do not use CHECK_STRING.
2214 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2216 (__real_chown): Do not use CHECK_STRING.
2217 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2219 (__lchown): Do not use CHECK_STRING.
2220 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2222 (__chown): Do not use CHECK_STRING.
2223 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2225 (truncate64): Do not use CHECK_STRING.
2226 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2228 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2229 (__xmknod): Do not use CHECK_STRING.
2230 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2232 (__xmknodat): Do not use CHECK_STRING.
2233 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2234 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2236 2013-02-04 Andreas Schwab <schwab@suse.de>
2239 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2240 * include/netdb.h: Likewise for h_errno.
2241 * elf/tst-stackguard1.c: Include <tls.h>.
2243 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2245 * elf/link.h (struct link_map): Extend the l_addr comment.
2246 * include/link.h (struct link_map): Likewise.
2248 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2251 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2252 (BOUNDED_1): Remove macro.
2253 * debug/backtrace.c: Don't include <bp-checks.h>.
2254 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2255 (__backtrace): Likewise.
2256 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2258 (__backtrace): Don't use BOUNDED_1.
2259 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2261 (__backtrace): Don't use BOUNDED_1.
2262 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2263 (__backtrace): Don't use BOUNDED_1.
2264 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2265 (shmat): Don't use BOUNDED_N.
2267 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2270 * sysdeps/generic/bp-start.h: Remove file.
2271 * csu/libc-start.c: Don't include <bp-start.h>.
2272 (LIBC_START_MAIN): Set up __environ directly instead of using
2273 INIT_ARGV_and_ENVIRON.
2274 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2278 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2280 (CHECK_FCNTL): Likewise.
2281 (CHECK_N_PAGES): Likewise.
2284 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2286 (CHECK_SIGSET_NULL_OK): Likewise.
2287 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2289 (sigpending): Don't use CHECK_SIGSET.
2290 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2292 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2293 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2295 (do_sigsuspend): Don't use CHECK_SIGSET.
2296 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2298 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2299 (do_sigwait): Don't use CHECK_SIGSET.
2300 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2302 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2303 include <bp-checks.h>.
2304 (sigpending): Don't use CHECK_SIGSET.
2305 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2306 include <bp-checks.h>.
2307 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2308 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2310 (sigpending): Don't use CHECK_SIGSET.
2311 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2313 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2316 * sysdeps/generic/bp-semctl.h: Remove file.
2317 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2318 <bp-checks.h> and <bp-semctl.h>.
2319 (__old_semctl): Don't use CHECK_SEMCTL.
2320 (__new_semctl): Likewise.
2321 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2323 (__old_semctl): Don't use CHECK_SEMCTL.
2324 (__new_semctl): Likewise.
2325 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2326 <bp-checks.h> and <bp-semctl.h>.
2327 (__old_semctl): Don't use CHECK_SEMCTL.
2328 (__new_semctl): Likewise.
2329 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2330 <bp-checks.h> and <bp-semctl.h>.
2331 (semctl): Don't use CHECK_SEMCTL.
2334 * Makerules (elide-bp-thunks): Remove variable.
2335 (elide-routines.oS): Don't use $(elide-bp-thunks).
2336 (elide-routines.os): Likewise.
2337 (elide-routines.o): Likewise.
2338 (elide-routines.op): Likewise.
2339 (elide-routines.og): Likewise.
2340 (objects): Don't use $(bp-thunks).
2341 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2343 (common-generated): Do not add s-proto-bp.d.
2344 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2347 Do not generate makefile rules for bounded-pointer thunks.
2348 * sysdeps/generic/bp-thunks.h: Remove file.
2349 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2350 * sysdeps/unix/s-proto-bp.S: Likewise.
2353 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2354 parts of result separately when argument is not close to line from
2355 -i to i and one part of argument is small.
2356 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2357 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2358 * math/libm-test.inc (cacos_test): Add more tests.
2359 (casin_test): Likewise.
2360 (casinh_test): Likewise.
2361 * sysdeps/i386/fpu/libm-test-ulps: Update.
2362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2364 2013-01-31 David S. Miller <davem@davemloft.net>
2366 * po/de.po: Update from translation team.
2368 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2370 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2372 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2374 * configure.in (_AC_PROG_CC_C89): New definition.
2375 * configure: Regenerate.
2377 * configure.in (AC_PROG_CPP): New definition.
2378 * configure: Regenerate.
2380 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2382 * debug/tst-backtrace.h: New file.
2383 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2384 (ret): Remove variable.
2386 (FAIL): Remove macro.
2387 (NO_INLINE): Likewise.
2388 (fn1): Use match function instead of strstr.
2389 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2390 (ret): Remove variable.
2392 (FAIL): Remove macro.
2393 (NO_INLINE): Likewise.
2394 (fn): Use match function instead of strstr.
2395 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2396 (ret): Remove variable.
2398 (FAIL): Remove macro.
2399 (NO_INLINE): Likewise.
2400 (handle_signal): Use match function instead of strstr.
2401 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2402 (ret): Remove variable.
2404 (FAIL): Remove macro.
2405 (NO_INLINE): Likewise.
2406 (handle_signal): Use match function instead of strstr.
2408 2013-01-23 Roland McGrath <roland@hack.frob.com>
2410 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2412 2013-01-23 David S. Miller <davem@davemloft.net>
2414 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2415 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2416 argument of CAS if possible.
2417 * sysdeps/sparc/sparc64/bits/atomic.h
2418 (__arch_compare_and_exchange_val_32_acq): Likewise.
2419 (__arch_compare_and_exchange_val_64_acq): Likewise.
2421 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2423 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2424 * sysdeps/posix/ulimit.c: ... this.
2426 * sysdeps/unix/bsd/ulimit.c: Remove file.
2428 2013-01-23 Adam Conrad <adconrad@0c3.net>
2430 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2431 (LDFLAGS-tst-array5): Likewise.
2433 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2436 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2437 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2438 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2439 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2441 2013-01-21 David S. Miller <davem@davemloft.net>
2443 * sysdeps/sparc/backtrace.c: New file.
2444 * sysdeps/sparc/sparc32/backtrace.h: New file.
2445 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2446 * sysdeps/sparc/sparc64/backtrace.h: New file.
2447 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2448 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2451 2013-01-21 Andreas Schwab <schwab@suse.de>
2454 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2457 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2463 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2464 Mark Mitchell <mark@codesourcery.com>
2465 Tom de Vries <tom@codesourcery.com>
2466 Paul Pluzhnikov <ppluzhnikov@google.com>
2468 * debug/tst-backtrace2.c: New file.
2469 * debug/tst-backtrace3.c: Likewise.
2470 * debug/tst-backtrace4.c: Likewise.
2471 * debug/tst-backtrace5.c: Likewise.
2472 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2473 (CFLAGS-tst-backtrace3.c): Likewise.
2474 (CFLAGS-tst-backtrace4.c): Likewise.
2475 (CFLAGS-tst-backtrace5.c): Likewise.
2476 (LDFLAGS-tst-backtrace2): Likewise.
2477 (LDFLAGS-tst-backtrace3): Likewise.
2478 (LDFLAGS-tst-backtrace4): Likewise.
2479 (LDFLAGS-tst-backtrace5): Likewise.
2480 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2481 tst-backtrace4 and tst-backtrace5.
2483 2013-01-18 Anton Blanchard <anton@samba.org>
2484 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2486 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2487 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2488 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2489 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2491 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2492 "+r" and remove output regs list as redundant. Add explicit inline
2493 asm to specify register of return val to work around compiler codegen
2494 bug. Remove (int) cast on return value. Add return type parameter to
2495 use in macro so that this macro does not truncate return value for
2497 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2498 pass to INTERNAL_VSYSCALL_NCS.
2499 (INLINE_VSYSCALL): Add 'long int' as return type to
2500 INTERNAL_VSYSCALL_NCS macro invocation.
2501 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2502 INTERNAL_VSYSCALL_NCS macro invocation.
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2505 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2508 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2509 Fix application of SIMD FP exception mask.
2511 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2512 mp_no from a power of two.
2513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2514 __mpexp_twomm1. Use __pow_mp.
2516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2519 2013-01-17 David S. Miller <davem@davemloft.net>
2521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2523 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2526 * include/complex.h: Condition contents on [!_COMPLEX_H].
2527 (__kernel_casinhf): New prototype.
2528 (__kernel_casinh): Likewise.
2529 (__kernel_casinhl): Likewise.
2530 * math/Makefile (libm_calls): Add k_casinh.
2531 * math/k_casinh.c: New file.
2532 * math/k_casinhf.c: Likewise.
2533 * math/k_casinhl.c: Likewise.
2534 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2535 finite nonzero arguments.
2536 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2537 finite nonzero arguments.
2538 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2539 finite nonzero arguments.
2540 * math/s_casinh.c: Do not include <float.h>.
2541 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2542 * math/s_casinhf.c: Do not include <float.h>.
2543 (__casinhf): Move code for finite nonzero arguments to
2545 * math/s_casinhl.c: Do not include <float.h>.
2546 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2548 (__casinhl): Move code for finite nonzero arguments to
2550 * math/libm-test.inc (cacos_test): Add more tests.
2551 * sysdeps/i386/fpu/libm-test-ulps: Update.
2552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2554 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2556 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2557 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2558 [!HAVE_MREMAP]: Remove [defined linux] case.
2559 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2561 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2563 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2565 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2567 * elf/elf.h (R_386_SIZE32): New relocation.
2568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2570 (elf_machine_rela): Likewise.
2571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2572 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2574 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2576 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2577 (FP_FAST_FMA): Do not define.
2578 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2579 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2580 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2581 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2582 !_SOFT_FLOAT]: Likewise.
2583 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2584 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2586 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2587 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2588 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2589 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2590 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2591 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2594 2013-01-16 Andreas Schwab <schwab@suse.de>
2597 * include/stdlib.h (__mktemp): Add declaration.
2598 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2599 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2601 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2603 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2605 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2606 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2607 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2609 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2610 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2612 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2614 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2615 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2616 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2618 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2619 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2621 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2623 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2625 2013-01-15 David S. Miller <davem@davemloft.net>
2627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2628 trunc{,f} to libm-sysdep_routes.
2629 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2639 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2640 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2641 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2642 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2643 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2644 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2647 nearbyint{,f} to libm-sysdep_routes.
2648 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2659 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2661 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2662 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2664 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2665 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2666 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2668 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2669 libc_feholdexcept and libc_fesetenv.
2671 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2673 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2675 2013-01-14 David S. Miller <davem@davemloft.net>
2677 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2678 (SPARC_ASM_VIS2_IFUNC): Likewise.
2679 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2681 use of 'siam' instruction.
2682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2715 routines to libm-sysdep_routines.
2716 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2719 fdim/fdimf to libm-sysdep_routines.
2720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2728 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2729 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2730 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2731 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2733 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2735 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2738 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2743 local variable MPTWO.
2744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2747 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2749 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2752 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2754 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2756 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2758 * manual/pattern.texi (glob_t): Document gl_flags.
2759 (glob64_t): Likewise.
2761 2013-01-11 David S. Miller <davem@davemloft.net>
2763 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2764 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2765 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2766 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2767 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2768 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2769 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2770 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2771 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2772 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2773 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2774 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2775 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2777 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2778 sparc V9 rather than using V8 code.
2779 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2780 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2784 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2787 2013-01-11 Roland McGrath <roland@hack.frob.com>
2789 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2790 not in the main loop.
2791 * configure: Regenerated.
2793 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2795 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2796 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2798 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2799 [!__GLIBC_HAVE_LONG_LONG] case.
2800 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2801 condition to just #else.
2802 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2803 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2804 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2805 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2807 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2808 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2809 #elif condition to just #else.
2810 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2811 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2812 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2813 #elif condition to just #else.
2815 2013-01-11 Steve Ellcey <sellcey@mips.com>
2817 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2818 (EF_MIPS_ARCH_64): Fix value.
2819 (EF_MIPS_ARCH_32R2): New.
2820 (EF_MIPS_ARCH_64R2): New.
2822 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2824 * Makeconfig (+link-pie-before-libc): New.
2825 (+link-pie-after-libc): Likewise.
2826 (+link-pie-tests): Likewise.
2827 (+link-pie): Rewritten.
2828 (link-before-libc): Remove $(config-LDFLAGS).
2829 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2830 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2831 (config-LDFLAGS): Renamed to ...
2832 (rtld-LDFLAGS): This.
2833 (rtld-tests-LDFLAGS): New macro.
2834 (link-libc-rpath-link): Likewise.
2835 (link-libc-tests-rpath-link): Likewise.
2836 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2837 (link-libc): Prepand $(link-libc-rpath-link).
2838 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2839 (test-program-prefix): New macro.
2840 (test-via-rtld-prefix): Likewise.
2841 (test-program-cmd): Likewise.
2842 (host-test-program-cmd): Likewise.
2843 * Makefile ($(common-objpfx)testrun.sh): Replace
2844 $(run-program-prefix) with $(test-program-prefix).
2845 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2847 ($(common-objpfx)shlib.lds): Likewise.
2848 (build-module-helper): Likewise.
2849 ($(common-objpfx)format.lds): Likewise.
2850 * Rules (binaries-pie-tests): New.
2851 (binaries-pie-notests): Likewise.
2852 (binaries-pie): Rewritten.
2853 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2854 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2855 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2856 (make-test-out): Replace $(host-built-program-cmd) with
2857 $(host-test-program-cmd).
2858 * config.make.in (build-hardcoded-path-in-tests): New variable.
2859 * configure.in (--enable-hardcoded-path-in-tests): New configure
2861 (hardcoded_path_in_tests): New AC_SUBST.
2862 * configure: Regenerated.
2863 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2864 $(built-program-cmd) with $(test-program-cmd).
2865 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2866 (test_program_cmd): This.
2867 * elf/Makefile ($(objpfx)order.out): Run test with
2868 $(test-program-prefix).
2869 ($(objpfx)order2.out): Likewise.
2870 ($(objpfx)tst-initorder.out): Likewise.
2871 ($(objpfx)tst-initorder2.out): Likewise.
2872 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2873 $(test-program-cmd).
2874 ($(objpfx)tst-array1-static.out): Likewise.
2875 ($(objpfx)tst-array2.out): Likewise.
2876 ($(objpfx)tst-array3.out): Likewise.
2877 ($(objpfx)tst-array4.out): Likewise.
2878 ($(objpfx)tst-array5.out): Likewise.
2879 ($(objpfx)tst-array5-static.out): Likewise.
2880 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2881 $(test-program-cmd).
2882 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2883 $(run-program-prefix) with $(test-program-prefix).
2884 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2885 (test_program_prefix): This.
2886 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2887 $(run-program-prefix) with $(test-program-prefix).
2888 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2889 (test_program_prefix): This.
2890 * iconvdata/tst-tables.sh: Likewise.
2891 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2892 $(run-program-prefix) with $(test-program-prefix).
2893 ($(objpfx)tst-translit.out): Likewise.
2894 ($(objpfx)tst-gettext2.out): Likewise.
2895 ($(objpfx)tst-gettext4.out): Likewise.
2896 ($(objpfx)tst-gettext6.out): Likewise.
2897 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2898 (test_program_prefix): This.
2899 * intl/tst-gettext2.sh: Likewise.
2900 * intl/tst-gettext4.sh Likewise.
2901 * intl/tst-gettext6.sh: Likewise.
2902 * intl/tst-translit.sh: Likewise.
2903 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2904 with $(test-program-cmd).
2905 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2906 $(run-program-prefix) with $(test-program-prefix).
2907 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2908 (test_program_prefix): This.
2909 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2910 $(run-program-prefix) with $(test-program-prefix).
2911 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2912 (test_program_prefix): This.
2913 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2914 * posix/Makefile ($(objpfx)globtest.out): Replace
2915 $(run-via-rtld-prefix) and $(test-wrapper) with
2916 $(test-program-prefix) and $(test-via-rtld-prefix).
2917 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2918 $(test-program-prefix).
2919 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2920 $(host-test-program-cmd).
2921 (tst-spawn-ARGS): Likewise.
2922 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2923 $(test-program-prefix).
2924 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2925 (test_via_rtld_prefix): This.
2926 (test_wrapper): Renamed to ...
2927 (test_program_prefix): This.
2928 (run_program_prefix): Replaced by test_program_prefix.
2929 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2930 (test_program_prefix): This.
2931 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2932 with $(host-test-program-cmd).
2933 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2934 $(run-program-prefix) with $(test-program-prefix).
2935 ($(objpfx)tst-printf.out): Likewise.
2936 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2937 $(test-program-cmd).
2938 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2939 (test_program_prefix): This.
2940 * stdio-common/tst-unbputc.sh: Likewise.
2941 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2942 $(run-program-prefix) with $(test-program-prefix).
2943 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2944 (test_program_prefix): This.
2945 * string/Makefile ($(objpfx)tst-svc.out): Replace
2946 $(built-program-cmd) with $(test-program-cmd).
2948 2013-01-11 Andreas Jaeger <aj@suse.de>
2951 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2952 value. Sync with Linux 3.7.
2954 2013-01-10 David S. Miller <davem@davemloft.net>
2956 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2957 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2958 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2960 2013-01-10 Roland McGrath <roland@hack.frob.com>
2962 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2964 * configure: Regenerated.
2966 2013-01-10 David S. Miller <davem@davemloft.net>
2968 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2969 sparc V9 rather than using V8 code.
2970 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2971 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2973 2013-01-10 Roland McGrath <roland@hack.frob.com>
2975 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2976 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2977 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2978 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2979 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2980 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2981 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2982 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2983 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2984 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2985 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2986 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2987 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2988 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2989 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2990 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2991 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2992 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2993 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2994 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2995 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2996 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2997 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2998 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2999 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3000 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3001 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3003 2013-01-10 David S. Miller <davem@davemloft.net>
3005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3007 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3009 * posix/Makefile (tests-static): New variable.
3010 (tests): Add $(tests-static).
3011 (tst-exec-static-ARGS): New variable.
3012 (tst-spawn-static-ARGS): Likewise.
3013 * posix/tst-exec-static.c: New file.
3014 * posix/tst-spawn-static.c: Likewise.
3015 * posix/tst-exec.c: Support run directly.
3016 * posix/tst-spawn.c: Likewise.
3018 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3020 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3022 * math/bits/mathcalls.h (llrint): Likewise.
3023 (llround): Likewise.
3024 * stdlib/stdlib.h (struct drand48_data): Likewise.
3025 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3026 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3027 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3029 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3031 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3032 (elf_greg_t): Likewise.
3033 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3034 (__jmp_buf): Likewise.
3035 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3037 (llrint): Likewise, for all definitions.
3038 (llrintl): Likewise.
3040 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3041 Remove [__GNUC__] condition.
3042 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3043 condition to just [__USE_ISOC99].
3044 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3046 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3049 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3050 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3052 (_POSIX_V6_ILP32_OFF32): Likewise.
3053 (_XBS5_ILP32_OFF32): Likewise.
3054 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3055 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3057 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3059 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3061 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3062 doubles __mpexp_twomm1. Adjust usage.
3063 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3066 2013-01-10 Andreas Schwab <schwab@suse.de>
3069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3070 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3072 2013-01-09 David S. Miller <davem@davemloft.net>
3075 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3076 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3077 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3078 TCP_FASTOPEN): Define.
3079 (tcp_repair_opt): New structure.
3080 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3082 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3083 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3084 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3085 (tcp_cookie_transactions): New structure.
3087 2013-01-09 Anton Blanchard <anton@samba.org>
3089 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3090 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3091 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3092 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3094 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3096 * include/features.h (__USE_ANSI): Remove.
3098 2013-01-09 Roland McGrath <roland@hack.frob.com>
3100 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3102 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3104 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3106 * sysdeps/s390/fpu/libm-test-ulps: Update.
3108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3110 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3115 (__mp_dbl): Likewise.
3116 (__dbl_mp): Likewise.
3117 (add_magnitudes): Likewise.
3118 (sub_magnitudes): Likewise.
3124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3129 (__mp_dbl): Likewise.
3130 (__dbl_mp): Likewise.
3131 (add_magnitudes): Likewise.
3132 (sub_magnitudes): Likewise.
3138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3143 (__mp_dbl): Likewise.
3144 (__dbl_mp): Likewise.
3145 (add_magnitudes): Likewise.
3146 (sub_magnitudes): Likewise.
3153 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3155 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3156 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3157 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3158 2 && __USE_EXTERN_INLINES]: Likewise.
3160 2013-01-08 Andreas Jaeger <aj@suse.de>
3163 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3165 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3166 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3168 2013-01-07 Anton Blanchard <anton@samba.org>
3170 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3171 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3172 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3173 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3174 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3175 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3176 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3177 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3179 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3180 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3181 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3182 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3183 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3184 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3185 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3186 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3187 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3188 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3189 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3190 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3191 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3192 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3193 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3194 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3195 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3196 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3197 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3198 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3199 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3200 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3202 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3203 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3204 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3205 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3206 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3207 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3208 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3209 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3210 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3211 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3212 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3214 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3216 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3217 (__MALLOC_PMT): Likewise.
3218 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3219 [__GNUC__], only on [_LIBC].
3220 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3221 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3222 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3223 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3224 forward declaration.
3225 (realloc_hook_ini): Likewise.
3226 (memalign_hook_ini): Likewise.
3227 (__libc_memalign): Do not use __MALLOC_PMT in variable
3229 (__libc_valloc): Likewise.
3230 (__libc_pvalloc): Likewise.
3231 (__libc_calloc): Likewise.
3232 (__posix_memalign): Likewise.
3235 * math/s_casinh.c: Include <float.h>.
3236 (__casinh): Do not do computation with squaring and square root
3237 for large arguments.
3238 * math/s_casinhf.c: Include <float.h>.
3239 (__casinhf): Do not do computation with squaring and square root
3240 for large arguments.
3241 * math/s_casinhl.c: Include <float.h>.
3242 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3243 (__casinhl): Do not do computation with squaring and square root
3244 for large arguments.
3245 * math/libm-test.inc (casin_test): Add more tests.
3246 (casinh_test): Likewise.
3247 * sysdeps/i386/fpu/libm-test-ulps: Update.
3248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3250 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3252 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3253 (__x86_64_raw_data_cache_size): Likewise.
3254 (__x86_64_data_cache_size_half): Likewise.
3255 (__x86_64_raw_data_cache_size_half): Likewise.
3256 (__x86_64_shared_cache_size): Likewise.
3257 (__x86_64_raw_shared_cache_size): Likewise.
3258 (__x86_64_shared_cache_size_half): Likewise.
3259 (__x86_64_raw_shared_cache_size_half): Likewise.
3260 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3262 (__x86_data_cache_size): This.
3263 (__x86_64_raw_data_cache_size): Renamed to ...
3264 (__x86_raw_data_cache_size): This.
3265 (__x86_64_data_cache_size_half): Renamed to ...
3266 (__x86_data_cache_size_half): This.
3267 (__x86_64_raw_data_cache_size_half): Renamed to ...
3268 (__x86_raw_data_cache_size_half): This.
3269 (__x86_64_shared_cache_size): Renamed to ...
3270 (__x86_shared_cache_size): This.
3271 (__x86_64_raw_shared_cache_size): Renamed to ...
3272 (__x86_raw_shared_cache_size): This.
3273 (__x86_64_shared_cache_size_half): Renamed to ...
3274 (__x86_shared_cache_size_half): This.
3275 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3276 (__x86_raw_shared_cache_size_half): This.
3277 * sysdeps/x86_64/memcpy.S: Updated.
3278 * sysdeps/x86_64/memset.S: Likewise.
3279 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3280 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3281 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3283 2013-01-04 David S. Miller <davem@davemloft.net>
3285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3287 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3289 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3290 1 to avoid redefinition warning.
3291 (__USE_GNU): Don't define.
3292 (init_signaling_nan): Protoize.
3294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3296 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3298 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3300 (__cpymn): Likewise.
3301 (norm): Remove commented code.
3303 (__mp_dbl): Likewise.
3305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3306 (__cpymn): Likewise.
3307 (norm): Remove commented code.
3309 (__mp_dbl): Likewise.
3312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3313 mp_no value for 1.0 and 2.0.
3314 (norm): Use RADIXI instead of radixi.d.
3316 (__mul): Use 0.0 instead of zero.d.
3317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3318 mp_no value for 1.0 and 2.0.
3319 (norm): Use RADIXI instead of radixi.d.
3321 (__mul): Use 0.0 instead of zero.d.
3323 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3326 * math/s_casinh.c (__casinh): Reduce finite argument to first
3327 quadrant then set signs of results at the end.
3328 * math/s_casinhf.c (__casinhf): Likewise.
3329 * math/s_casinhl.c (__casinhl): Likewise.
3330 * math/libm-test.inc (casin_test): Add more tests.
3331 (casinh_test): Likewise.
3332 * sysdeps/i386/fpu/libm-test-ulps: Update.
3333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3335 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3337 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3339 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3341 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3344 (__mp_dbl): Likewise.
3347 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3348 and adjust the header comment.
3350 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3351 variable name from declaration.
3353 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3356 Initialize COMMON_CPUID_INDEX_7 element.
3357 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3358 (CPUID_RTM): Likewise.
3359 (HAS_RTM): Likewise.
3360 (COMMON_CPUID_INDEX_7): New enum.
3362 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3365 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3366 size is zero, record memory as freed.
3368 2013-01-03 Andreas Jaeger <aj@suse.de>
3370 * po/ia.po: Add new Interlingua translation.
3372 2012-01-03 Allan McRae <allan@archlinux.org>
3374 * locale/programs/localedef.c: Fix description of '--posix' flag.
3376 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3378 * NEWS: Update dates in second copyright notice.
3379 * README: Update copyright dates in example.
3380 * manual/libc.texinfo: Update copyright dates.
3381 * scripts/test-installation.pl: Update copyright date in --version
3384 * hurd/ctty-input.c: Fix copyright notice formatting.
3385 * hurd/ctty-output.c: Likewise.
3386 * hurd/dtable.c: Likewise.
3387 * hurd/hurd-raise.c: Likewise.
3388 * hurd/hurdprio.c: Likewise.
3389 * hurd/msgportdemux.c: Likewise.
3390 * misc/sys/file.h: Likewise.
3391 * misc/sys/ioctl.h: Likewise.
3392 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3393 * sysdeps/mach/hurd/chdir.c: Likewise.
3394 * sysdeps/mach/hurd/fchdir.c: Likewise.
3395 * sysdeps/mach/hurd/rename.c: Likewise.
3396 * sysdeps/mach/hurd/rmdir.c: Likewise.
3397 * sysdeps/mach/hurd/seekdir.c: Likewise.
3398 * sysdeps/mach/hurd/setsid.c: Likewise.
3399 * sysdeps/posix/wait3.c: Likewise.
3401 * All files with FSF copyright notices: Update copyright dates
3402 using scripts/update-copyrights.
3403 * intl/plural.c: Regenerated.
3404 * locale/programs/charmap-kw.h: Likewise.
3405 * locale/programs/locfile-kw.h: Likewise.
3407 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3409 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3412 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3413 calculation loop and add branch prediction.
3415 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3416 check access beyond bounds of m1np.
3418 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3420 (__inv): Remove local variable MPTWO to use the global
3422 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3423 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3425 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3426 MP3HALFS static const.
3428 2013-01-01 David S. Miller <davem@davemloft.net>
3430 * po/ca.po: Update from translation team.
3432 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3434 * scripts/update-copyrights: New file.
3435 * Makeconfig: Reformat copyright notice.
3436 * ctype/ctype.h: Likewise.
3437 * debug/swprintf_chk.c: Likewise.
3438 * elf/dl-cache.c: Likewise.
3439 * elf/dl-debug.c: Likewise.
3440 * elf/dl-object.c: Likewise.
3441 * grp/initgroups.c: Likewise.
3442 * hurd/Makefile: Likewise.
3443 * hurd/hurd/signal.h: Likewise.
3444 * hurd/hurdfault.c: Likewise.
3445 * hurd/hurdioctl.c: Likewise.
3446 * hurd/hurdlookup.c: Likewise.
3447 * hurd/intr-msg.c: Likewise.
3448 * iconv/gconv_open.c: Likewise.
3449 * libio/swprintf.c: Likewise.
3450 * locale/lc-ctype.c: Likewise.
3451 * locale/nl_langinfo.c: Likewise.
3452 * mach/Machrules: Likewise.
3453 * mach/Makefile: Likewise.
3454 * malloc/obstack.h: Likewise.
3455 * manual/Makefile: Likewise.
3456 * manual/tsort.awk: Likewise.
3457 * misc/bits/stab.def: Likewise.
3458 * nis/nis_print_group_entry.c: Likewise.
3459 * nis/nis_table.c: Likewise.
3460 * nis/nss_compat/compat-pwd.c: Likewise.
3461 * nis/nss_compat/compat-spwd.c: Likewise.
3462 * po/Makefile: Likewise.
3463 * posix/fnmatch.c: Likewise.
3464 * posix/regex.h: Likewise.
3465 * resolv/Makefile: Likewise.
3466 * resolv/nss_dns/dns-network.c: Likewise.
3467 * resolv/res_hconf.c: Likewise.
3468 * scripts/gen-sorted.awk: Likewise.
3469 * soft-fp/soft-fp.h: Likewise.
3470 * stdio-common/printf.h: Likewise.
3471 * stdlib/monetary.h: Likewise.
3472 * stdlib/random.c: Likewise.
3473 * stdlib/random_r.c: Likewise.
3474 * sysdeps/generic/Makefile: Likewise.
3475 * sysdeps/gnu/Makefile: Likewise.
3476 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3478 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3480 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3483 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3484 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3486 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3487 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3488 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3489 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3490 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3491 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3492 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3494 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3495 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3496 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3497 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3498 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3499 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3500 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3501 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3502 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3503 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3504 * sysdeps/mach/hurd/errnos.awk: Likewise.
3505 * sysdeps/mach/hurd/fork.c: Likewise.
3506 * sysdeps/mach/hurd/getcwd.c: Likewise.
3507 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3508 * sysdeps/mach/hurd/mmap.c: Likewise.
3509 * sysdeps/mach/hurd/utimes.c: Likewise.
3510 * sysdeps/mach/hurd/xmknod.c: Likewise.
3511 * sysdeps/posix/profil.c: Likewise.
3512 * sysdeps/posix/readdir_r.c: Likewise.
3513 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3514 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3515 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3516 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3518 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3519 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3520 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3522 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3523 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3524 * sysdeps/pthread/lio_listio.c: Likewise.
3525 * sysdeps/sparc/dl-procinfo.h: Likewise.
3526 * sysdeps/unix/i386/sysdep.S: Likewise.
3527 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3528 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3529 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3530 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3532 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3533 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3534 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3535 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3536 * sysdeps/wordsize-32/divdi3.c: Likewise.
3537 * time/sys/time.h: Likewise.
3538 * wcsmbs/Makefile: Likewise.
3540 2013-01-01 David S. Miller <davem@davemloft.net>
3542 * po/fr.po: Update from translation team.
3544 * catgets/gencat.c: Update copyright year.
3545 * csu/version.c: Likewise.
3546 * debug/catchsegv.sh: Likewise.
3547 * debug/pcprofiledump.c: Likewise.
3548 * debug/xtrace.sh: Likewise.
3549 * elf/ldconfig.c: Likewise.
3550 * elf/ldd.bash.in: Likewise.
3551 * elf/pldd.c: Likewise.
3552 * elf/sotruss.ksh: Likewise.
3553 * elf/sprof.c: Likewise.
3554 * iconv/iconv_prog.c: Likewise.
3555 * iconv/iconvconfig.c: Likewise.
3556 * locale/programs/locale.c: Likewise.
3557 * locale/programs/localedef.c: Likewise.
3558 * login/programs/pt_chown.c: Likewise.
3559 * malloc/memusage.sh: Likewise.
3560 * malloc/memusagestat.c: Likewise.
3561 * malloc/mtrace.pl: Likewise.
3562 * nscd/nscd.c: Likewise.
3563 * nss/getent.c: Likewise.
3564 * nss/makedb.c: Likewise.
3565 * posix/getconf.c: Likewise.
3567 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3569 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3572 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3574 * math/bits/mathcalls.h (modf): Use __nonnull.
3576 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3578 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3579 (split): Use macro CN instead of the bare value.
3580 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3583 instead of the bare value.
3586 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3588 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3590 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3592 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3594 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3595 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3596 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3597 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3599 2012-12-28 Andreas Jaeger <aj@suse.de>
3601 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3602 values are from Linux 3.7.
3604 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3605 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3607 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3609 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3612 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3614 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3615 variables with preprocessor constants.
3616 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3617 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3618 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3620 2012-12-27 Bruno Haible <bruno@clisp.org>
3623 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3626 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3629 and use variable directly.
3630 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3632 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3634 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3635 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3637 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3638 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3639 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3640 include directive. Remove local variable MPONE.
3641 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3642 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3643 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3645 2012-12-25 David S. Miller <davem@davemloft.net>
3647 * version.h (RELEASE): Set to "development".
3648 (VERSION): Set to "2.17.90".
3649 * NEWS: Add 2.18 section.
3651 2012-12-21 David S. Miller <davem@davemloft.net>
3653 * po/hr.po: Update from translation team.
3655 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3657 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3659 2012-12-19 Steve Ellcey <sellcey@mips.com>
3661 * NEWS: Mention new memcpy for MIPS.
3663 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3665 * manual/contrib.texi (Contributors): Spelling correction.
3667 2012-12-15 David S. Miller <davem@davemloft.net>
3669 * po/ru.po: Update from translation team.
3671 2012-12-13 David S. Miller <davem@davemloft.net>
3673 * NEWS: Mention IFUNC testsuite enhancements.
3675 * po/pl.po: Update from translation team.
3676 * po/bg.po: Likewise.
3678 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3679 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3681 2012-12-11 David S. Miller <davem@davemloft.net>
3683 * po/sv.po: Update from translation team.
3685 * po/vi.po: Update from translation team.
3687 * po/cs.po: Update from translation team.
3689 * po/de.po: Update from translation team.
3690 * po/eo.po: Likewise.
3691 * po/nl.po: Likewise.
3693 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3696 * manual/argp.texi (Argp Helper Functions): Move node to follow
3700 * manual/conf.texi (Limits on File System Capacity): Mention if
3701 terminating null is included in the max size.
3703 2012-12-10 Andreas Jaeger <aj@suse.de>
3705 * po/cs.po: Update from translation team.
3707 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3709 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3710 void pointer and cast to uintptr_t.
3711 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3713 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3714 * sysdeps/s390/s390-64/memset.S: Likewise.
3716 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3719 * menual/message.texi (Message Translation): Fix typos.
3720 (Helper programs for gettext): Likewise.
3722 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3725 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3728 2012-12-07 David S. Miller <davem@davemloft.net>
3730 * po/libc.pot: Update.
3732 2012-12-07 Richard Henderson <rth@redhat.com>
3735 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3736 normal/normal case to before the switch.
3737 (_FP_DIV): Likewise.
3739 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3740 Mike Frysinger <vapier@gentoo.org>
3742 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3743 check for __NR_fadvise64_64.
3745 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3747 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3748 0, not just to plain "0" as a statement.
3749 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3752 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3754 * NEWS: Use sourceware.org in Bugzilla URL.
3756 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3759 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3761 * stdio-common/tst-put-error.c (do_test): Add newline to the
3762 padded test to ensure flush.
3764 2012-12-05 Jeff Law <law@redhat.com>
3766 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3768 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3770 * README: Don't refer to ports add-on as distributed separately.
3771 Mention AArch64 in list of systems supported in the ports add-on.
3773 * LICENSES: Add more non-FSF copyright and license notices.
3775 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3778 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3780 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3781 10000 as width of padded output.
3783 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3785 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3787 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3788 variable LX with __attribute__ ((unused)).
3789 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3791 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3793 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3794 with __attribute__ ((unused)).
3796 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3798 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3800 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3802 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3803 (CFLAGS-nldbl-acos.c): New variable.
3804 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3805 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3806 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3807 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3808 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3809 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3810 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3811 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3812 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3813 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3814 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3815 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3816 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3817 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3818 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3819 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3820 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3821 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3822 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3823 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3824 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3825 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3826 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3827 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3828 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3829 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3830 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3831 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3832 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3833 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3834 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3835 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3836 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3837 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3838 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3839 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3840 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3841 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3842 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3843 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3844 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3845 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3846 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3847 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3848 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3849 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3850 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3851 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3852 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3853 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3854 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3855 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3856 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3857 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3858 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3859 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3860 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3861 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3862 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3863 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3864 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3865 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3866 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3867 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3868 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3869 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3870 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3871 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3872 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3873 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3874 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3875 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3876 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3877 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3878 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3879 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3880 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3881 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3882 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3883 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3884 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3885 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3886 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3887 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3888 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3889 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3890 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3891 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3892 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3893 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3894 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3895 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3896 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3897 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3898 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3899 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3900 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3903 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3906 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3907 whole low double instead of just low 47 bits when splitting values
3910 2012-12-03 Allan McRae <allan@archlinux.org>
3912 * manual/stdio.texi (Predefined Printf Handlers): Remove
3913 @hsep and @vsep usage.
3915 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3917 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3918 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3920 2012-12-03 Jeff Law <law@redhat.com>
3922 * time/sys/time.h (settimeofday): Do not mark TV argument
3925 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3927 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3928 when currently writing and seek to current position when not.
3929 * libio/Makefile (tests): Remove bug-fclose1.
3930 * libio/bug-fclose1.c: Delete.
3932 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3934 * manual/arith.texi (feenableexcept): Fix typo.
3935 (fedisableexcept): Likewise.
3937 2012-11-30 Roland McGrath <roland@hack.frob.com>
3939 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3940 second, differently-typed declaration, rather than a cast.
3942 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3944 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3945 * include/rpc/svc.h: ... here.
3947 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3950 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3951 depending n and resplen2 to catch cases where answer
3954 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3956 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3957 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3959 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3961 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3963 2012-11-29 Roland McGrath <roland@hack.frob.com>
3965 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3967 2012-11-28 Jeff Law <law@redhat.com>
3970 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3971 dataset_temporary. Track alloca usage into alloca_used.
3972 If dataset is large allocate and release it via malloc/free.
3974 2012-06-04 Florian Weimer <fweimer@redhat.com>
3977 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3979 2012-11-28 David S. Miller <davem@davemloft.net>
3981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3983 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3986 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3987 of pi/2 rounded to nearest to 64 bits.
3988 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3990 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3993 2012-11-28 Jeff Law <law@redhat.com>
3994 Martin Osvald <mosvald@redhat.com>
3997 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3998 * sunrpc/svc.c: Include time.h.
3999 (__svc_accept_failed): New function.
4000 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4001 any reason other than EINTR, call __svc_accept_failed.
4002 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4003 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4005 2012-11-28 Andreas Schwab <schwab@suse.de>
4007 * scripts/abilist.awk: Also handle indirect functions in .opd
4010 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4013 * sysdeps/x86/fpu/powl_helper.c: New file.
4014 * sysdeps/x86/fpu/Makefile: Likewise.
4015 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4017 (__ieee754_powl): Use __powl_helper for finite arguments except
4018 integer exponents below 8.
4019 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4021 (__ieee754_powl): Use __powl_helper for finite arguments except
4022 integer exponents below 8.
4023 * math/libm-test.inc (pow_test): Add more tests and enable some
4024 previously disabled tests.
4025 * sysdeps/i386/fpu/libm-test-ulps: Update.
4026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4028 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4029 Carlos O'Donell <carlos_odonell@mentor.com>
4031 * nss/makedb.c (is_prime): Assert that input is odd and greater
4032 than 4. Note that fact in a comment too.
4033 (next_prime): Add 4 to input.
4035 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4038 * libio/Makefile (tests): Add test case tst-fwrite-error.
4039 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4040 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4041 * libio/tst-fwrite-error.c: New test case.
4043 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4045 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4046 before casting to void *.
4047 * include/libc-internal.h (__pointer_type): New macro.
4048 (__integer_if_pointer_type_sub): Likewise.
4049 (__integer_if_pointer_type): Likewise.
4050 (cast_to_integer): Likewise.
4051 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4052 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4053 before casting to atomic64_t.
4054 (atomic_exchange_acq): Likewise.
4055 (__arch_exchange_and_add_body): Likewise.
4056 (__arch_add_body): Likewise.
4057 (atomic_add_negative): Likewise.
4058 (atomic_add_zero): Likewise.
4060 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4062 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4063 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4064 (add_fdes): Likewise.
4065 (linear_search_fdes): Likewise.
4066 (binary_search_unencoded_fdes): Likewise.
4068 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4070 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4072 2012-11-24 Adam Conrad <adconrad@0c3.net>
4074 * configure.in: Autodetect C++ header directories.
4075 * configure: Regenerated.
4077 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4079 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4081 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4085 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4087 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4088 LDBL_MANT_DIG == 106]: Disable some tests.
4089 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4091 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4095 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4096 input for small inputs. Return +/- pi/2 for large inputs.
4097 * math/libm-test.inc (atan_test): Add more tests.
4099 * sysdeps/generic/unwind-dw2-fde-glibc.c
4100 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4101 __attribute__ ((unused)).
4104 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4105 x * y if x and y are nonzero and z is zero.
4108 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4109 nonzero exponents with absolute value below 0x1p-117 to +/-
4113 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4114 up arguments below 2**-450, not just those below 2**-500.
4115 * math/libm-test.inc (hypot_test): Add another test.
4118 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4119 Return a+b for ratio over 2**120, not 2**60.
4120 * math/libm-test.inc (hypot_test): Add another test.
4122 * math/libm-test.inc (clog_test): Use
4123 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4124 (clog10_test): Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4129 2012-11-22 Andreas Schwab <schwab@suse.de>
4131 * sysdeps/i386/fpu/libm-test-ulps: Update.
4133 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4135 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4136 printf output with newline.
4138 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4141 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4142 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4143 -z nodlopen, -z initfirst and -z execstack support.
4144 * configure: Regenerated.
4146 * elf/elf.h (DF_1_NODIRECT): New macro.
4147 (DF_1_IGNMULDEF): Likewise.
4148 (DF_1_NOKSYMS): Likewise.
4149 (DF_1_NOHDR): Likewise.
4150 (DF_1_EDITED): Likewise.
4151 (DF_1_NORELOC): Likewise.
4152 (DF_1_SYMINTPOSE): Likewise.
4153 (DF_1_GLOBAUDIT): Likewise.
4154 (DF_1_SINGLETON): Likewise.
4155 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4156 DT_1_SUPPORTED_MASK bits.
4157 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4159 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4161 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4163 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4165 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4168 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4169 (sendmmsg): Move declarations...
4170 * socket/sys/socket.h: ... here.
4171 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4172 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4174 * socket/recvmmsg.c: ... this new file.
4175 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4176 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4177 definition of __sendmmsg hidden.
4178 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4179 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4180 Move ENOSYS stub into and include it from...
4181 * socket/sendmmsg.c: ... this new file.
4182 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4183 (sysdep_routines): Move recvmmsg and sendmmsg...
4184 * socket/Makefile (routines): ... here.
4185 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4186 (GLIBC_PRIVATE): Add __sendmmsg.
4187 * include/sys/socket.h (__sendmmsg): Add declarations.
4188 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4191 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4193 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4194 variable I1 with __attribute__ ((unused)).
4195 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4197 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4199 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4200 DUMMY variables with __attribute__ ((unused)).
4202 * bits/byteswap.h: Include <bits/types.h>.
4203 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4205 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4207 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4208 string_t. Do not manually set errno.
4209 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4210 length with __strnlen. Make sure to both set errno and return it on
4213 2012-11-19 David S. Miller <davem@davemloft.net>
4215 With help from Joseph Myers.
4216 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4217 very large arguments properly.
4218 * math/libm-test.inc (atan_test): New tests.
4219 (atan2_test): New tests.
4220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4223 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4226 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4229 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4230 [POSIX] (EADDRNOTAVAIL): Likewise.
4231 [POSIX] (EAFNOSUPPORT): Likewise.
4232 [POSIX] (EALREADY): Likewise.
4233 [POSIX] (ECONNABORTED): Likewise.
4234 [POSIX] (ECONNREFUSED): Likewise.
4235 [POSIX] (ECONNRESET): Likewise.
4236 [POSIX] (EDESTADDRREQ): Likewise.
4237 [POSIX] (EDQUOT): Likewise.
4238 [POSIX] (EHOSTUNREACH): Likewise.
4239 [POSIX] (EIDRM): Likewise.
4240 [POSIX] (EISCONN): Likewise.
4241 [POSIX] (ELOOP): Likewise.
4242 [POSIX] (EMULTIHOP): Likewise.
4243 [POSIX] (ENETDOWN): Likewise.
4244 [POSIX] (ENETUNREACH): Likewise.
4245 [POSIX] (ENOBUFS): Likewise.
4246 [POSIX] (ENODATA): Likewise.
4247 [POSIX] (ENOLINK): Likewise.
4248 [POSIX] (ENOMSG): Likewise.
4249 [POSIX] (ENOPROTOOPT): Likewise.
4250 [POSIX] (ENOSR): Likewise.
4251 [POSIX] (ENOSTR): Likewise.
4252 [POSIX] (ENOTCONN): Likewise.
4253 [POSIX] (ENOTSOCK): Likewise.
4254 [POSIX] (EOPNOTSUPP): Likewise.
4255 [POSIX] (EOVERFLOW): Likewise.
4256 [POSIX] (EPROTO): Likewise.
4257 [POSIX] (EPROTONOSUPPORT): Likewise.
4258 [POSIX] (EPROTOTYPE): Likewise.
4259 [POSIX] (ESTALE): Likewise.
4260 [POSIX] (ETIME): Likewise.
4261 [POSIX] (ETXTBSY): Likewise.
4262 [POSIX] (EWOULDBLOCK): Likewise.
4263 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4264 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4265 [POSIX] (SEEK_CUR): Likewise.
4266 [POSIX] (SEEK_END): Likewise.
4267 [POSIX || UNIX98] (mode_t): Do not require.
4268 [POSIX] (off_t): Likewise.
4269 [POSIX] (pid_t): Likewise.
4270 [POSIX] (sys/stat.h): Do not allow header.
4271 [POSIX] (unistd.h): Likewise.
4272 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4273 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4274 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4275 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4277 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4278 sigevent): Specify elements.
4279 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4281 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4282 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4284 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4285 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4286 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4287 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4288 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4289 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4290 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4291 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4292 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4293 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4294 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4295 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4296 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4297 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4299 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4301 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4303 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4305 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4306 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4307 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4308 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4309 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4310 Specify lower bound on value.
4311 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4312 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4313 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4314 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4315 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4316 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4317 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4318 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4320 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4322 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4323 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4324 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4325 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4326 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4327 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4328 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4329 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4330 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4331 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4332 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4333 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4334 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4335 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4336 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4337 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4339 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4341 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4342 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4343 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4344 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4345 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4346 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4348 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4349 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4350 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4351 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4352 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4353 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4354 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4356 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4357 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4358 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4359 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4360 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4361 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4362 specify as optional.
4363 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4364 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4365 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4366 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4367 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4368 [XPG3] (NL_LANGMAX): Likewise.
4369 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4370 [POSIX || XPG3] (NL_NMAX): Likewise.
4371 [POSIX || XPG3] (NL_SETMAX): Likewise.
4372 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4373 [XPG3] (NZERO): Likewise.
4374 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4375 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4376 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4377 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4378 (REG_ERANGE): Expect.
4379 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4381 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4382 Use (void) in prototype.
4383 [POSIX] (*_t): Allow.
4384 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4385 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4386 (WRDE_BADVAL): Expect.
4388 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4390 [XPG3 || XPG4] (O_RSYNC): Likewise.
4391 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4393 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4394 [XPG3 || XPG4] (sigqueue): Likewise.
4395 [XPG3 || XPG4] (sigtimedwait): Likewise.
4396 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4397 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4398 [XPG3 || XPG4] (vsnprintf): Likewise.
4399 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4401 [XPG3 || XPG4] (blksize_t): Likewise.
4402 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4404 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4405 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4406 [XPG3 || XPG4] (struct itimerspec): Likewise.
4407 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4408 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4409 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4410 [XPG3 || XPG4] (clockid_t): Likewise.
4411 [XPG3 || XPG4] (timer_t): Likewise.
4412 [XPG3 || XPG4] (clock_getres): Likewise.
4413 [XPG3 || XPG4] (clock_gettime): Likewise.
4414 [XPG3 || XPG4] (clock_settime): Likewise.
4415 [XPG3 || XPG4] (nanosleep): Likewise.
4416 [XPG3 || XPG4] (timer_create): Likewise.
4417 [XPG3 || XPG4] (timer_delete): Likewise.
4418 [XPG3 || XPG4] (timer_gettime): Likewise.
4419 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4420 [XPG3 || XPG4] (timer_settime): Likewise.
4421 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4422 [XPG3 || XPG4] (getlogin_r): Likewise.
4423 [XPG3 || XPG4] (pread): Likewise.
4424 [XPG3 || XPG4] (pthread_atfork): Likewise.
4425 [XPG3 || XPG4] (pwrite): Likewise.
4428 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4431 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4433 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4434 finalizing MALLSTREAM.
4436 * sysdeps/mach/hurd/syncfs.c: New file.
4438 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4441 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4442 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4443 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4444 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4445 (_nss_dns_gethostbyname4_r): Likewise.
4446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4447 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4449 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4452 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4454 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4456 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4457 * elf/cache.c (print_entry): Print ",AArch64" for
4460 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4461 * elf/cache.c (print_entry): Print ",hard-float" for
4464 2012-11-18 David S. Miller <davem@davemloft.net>
4466 With help from Joseph Myers.
4467 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4469 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4471 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4472 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4474 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4475 * math/libm-test.inc (y0_test): New tests.
4476 (y1_test): New tests.
4477 * sysdeps/i386/fpu/libm-test-ulps: Update.
4478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4481 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4483 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4485 * configure: Regenerated.
4487 2012-11-17 David S. Miller <davem@davemloft.net>
4490 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4491 nonzero exponents with absolute value below 0x1p-128 to +/-
4494 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4496 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4498 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4500 * posix/getconf-speclist.c: New file.
4501 * posix/posix-envs.def: Likewise.
4502 * posix/confstr.c (START_ENV_GROUP): New macro.
4503 (END_ENV_GROUP): Likewise.
4504 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4505 (KNOWN_PRESENT_ENV_STRING): Likewise.
4506 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4507 (UNKNOWN_ENVIRONMENT): Likewise.
4508 (confstr): Include posix-envs.def instead of handling
4509 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4510 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4511 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4512 (END_ENV_GROUP): Likewise.
4513 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4514 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4515 (UNKNOWN_ENVIRONMENT): Likewise.
4516 (__sysconf): Include posix-envs.def instead of handling associated
4517 cases directly here.
4518 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4519 preprocessing getconf-speclist.c rather than running getconf or
4520 generating empty file.
4522 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4524 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4526 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4529 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4531 2012-11-16 David S. Miller <davem@davemloft.net>
4533 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4534 smaller than LDBL_EPSILON/2.0L, just return xm1.
4536 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4538 * elf/tst-array1.c (init): Set constructor priority to 1000.
4539 (fini): Set destructor priority to 1000.
4540 * elf/tst-array2dep.c: Likewise.
4542 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4545 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4546 (_IO_new_file_xsputn): Also return EOF if none of the input
4547 data was written when overflow failed.
4548 * libio/iopadn.c (_IO_padn): Likewise.
4549 * libio/iowpadn.c (_IO_wpadn): Likewise.
4550 * stdio-common/tst-put-error.c: Add copyright notice.
4551 (do_test): Add case for printing padded string.
4552 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4553 _IO_padn returned error.
4554 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4555 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4558 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4560 * libio/libioP.h: Add comment note that the references to C++
4561 bits are now obsolete.
4563 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4565 * math/libm-test.inc (check_complex): Use asprintf.
4567 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4569 * debug/pcprofiledump.c (print_version): Update copyright year.
4570 * malloc/memusagestat.c (print_version): Likewise.
4572 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4575 * elf/Makefile (tests): Add tst-audit8.
4576 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4577 ($(objpfx)tst-audit8.out): New target.
4578 (tst-audit8-ENV): New variable.
4579 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4580 audit if l_reloc_result is NULL.
4581 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4582 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4583 * elf/tst-audit8.c: New file.
4585 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4587 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4588 * misc/Makefile (CFLAGS-select.c): Define.
4589 * posix/Makefile (CFLAGS-pause.c): Define.
4591 2012-11-13 David S. Miller <davem@davemloft.net>
4593 * crypt/Makefile: Move test targets after toplevel Rules
4594 inclusion. Grab any necessary sysdep routines when linking.
4595 * crypt/md5.c (md5_process_block): Remove define, we will always
4596 name it __md5_process_block.
4597 (md5_finish_ctx): Update md5_process_block call.
4598 (md5_stream): Likewise.
4599 (md5_process_bytes): Likewise.
4600 (md5_process_block): Rename to __md5_process_block and move to ...
4601 * crypt/md5-block.c: ... here.
4602 * crypt/sha256.c (sha256_process_block): Move to ...
4603 * crypt/sha256-block.c: ... here.
4604 * crypt/sha512.c (sha512_process_block): Move to ...
4605 * crypt/sha512-block.c: ... here.
4606 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4608 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4609 * sysdeps/sparc/sparc64/multiarch/Makefile
4610 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4612 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4613 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4615 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4616 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4617 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4618 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4619 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4620 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4621 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4622 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4623 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4625 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4626 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4628 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4630 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4632 * timezone/tzselect.ksh: Update from tzcode git revision
4633 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4634 * timezone/zdump.c: Likewise.
4635 * timezone/zic.c: Likewise.
4636 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4637 in TZVERSION setting, not $(PKGVERSION).
4638 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4639 REPORT_BUGS_TO settings.
4642 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4645 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4647 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4648 detection to immediately after _FP_ROUND().
4649 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4652 2012-11-11 David S. Miller <davem@davemloft.net>
4654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4656 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4657 __close rather than their public counterparts.
4659 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4661 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4663 [UNIX98] (sem_timedwait): Do not expect.
4664 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4665 [XPG4 || UNIX98] (sockatmark): Do not expect.
4666 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4667 (clock_getcpuclockid): Do not expect.
4668 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4669 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4671 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4672 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4673 [UNIX98] (vwscanf): Likewise.
4674 [UNIX98] (vswscanf): Likewise.
4676 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4678 * timezone/version.h: Remove file.
4679 * timezone/README: Do not refer to version.h.
4680 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4682 ($(objpfx)zdump.o): Likewise.
4683 ($(objpfx)version.h): New target.
4685 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4687 * timezone/README: Don't mention modification to tzselect.ksh.
4688 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4689 work on unmodified tzselect.ksh. Substitute version numbers in
4692 * Makefile (format-me): Remove.
4693 (INSTALL): Adjust indentation. Use commands directly instead of
4696 * aclocal.m4 (ACX_PKGVERSION): New macro.
4697 (ACX_BUGURL): Likewise.
4698 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4699 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4700 (REPORT_BUGS_TO): Likewise.
4701 * configure: Regenerated.
4702 * config.h.in (PKGVERSION): New macro.
4703 (REPORT_BUGS_TO): Likewise.
4704 * config.make.in (PKGVERSION): New variable.
4705 (PKGVERSION_TEXI): Likewise.
4706 (REPORT_BUGS_TO): Likewise.
4707 (REPORT_BUGS_TEXI): Likewise.
4708 * Makefile (format-me): Use -I$(common-objpfx)manual.
4709 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4710 ($(common-objpfx)manual/%): New target.
4711 (manual/%): Remove target.
4712 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4713 (print_version): Use PKGVERSION.
4714 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4715 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4717 ($(objpfx)xtrace): Likewise.
4718 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4719 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4720 (print_version): Use PKGVERSION.
4721 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4722 (do_version): Use PKGVERSION.
4723 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4725 (common-ldd-rewrite): Likewise.
4726 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4727 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4728 (print_version): Use PKGVERSION.
4729 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4730 * elf/pldd.c (argp_program_bug_address): Remove variable.
4731 (more_help): New function.
4732 (argp): Use more_help.
4733 (print_version): Use PKGVERSION.
4734 * elf/sln.c (main): Use PKGVERSION.
4735 (usage): Use REPORT_BUGS_TO.
4736 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4737 (top level): Use PKGVERSION.
4738 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4739 (print_version): Use PKGVERSION.
4740 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4741 (print_version): Use PKGVERSION.
4742 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4743 (print_version): Use PKGVERSION.
4744 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4745 (print_version): Use PKGVERSION.
4746 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4747 (print_version): Use PKGVERSION.
4748 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4749 (print_version): Use PKGVERSION.
4750 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4752 ($(objpfx)memusage): Likewise.
4753 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4754 (do_version): Use PKGVERSION.
4755 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4756 (print_version): Use PKGVERSION.
4757 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4758 ($PKGVERSION): New variable.
4759 ($REPORT_BUGS_TO): Likewise.
4760 (usage): Use $REPORT_BUGS_TO.
4761 (top level): Use $PKGVERSION.
4762 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4763 ($(objpfx)pkgvers.texi): New rule.
4764 ($(objpfx)stamp-pkgvers): Likewise.
4765 * manual/install.texi: Include pkgvers.texi.
4766 (--with-pkgversion): Document new configure option.
4767 (--with-bugurl): Likewise.
4768 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4769 than necessarily for this particular distribution. Use
4770 REPORT_BUGS_TO for where to report bugs.
4771 * INSTALL: Regenerated.
4772 * manual/libc.texinfo: Include pkgvers.texi.
4773 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4774 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4775 (print_version): Use PKGVERSION.
4776 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4777 (print_version): Use PKGVERSION.
4778 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4779 (print_version): Use PKGVERSION.
4780 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4781 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4783 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4784 (print_version): Use PKGVERSION.
4785 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4786 (print_version): Use PKGVERSION.
4787 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4790 * timezone/checktab.awk: Update from tzcode 2012i.
4791 * timezone/ialloc.c: Likewise.
4792 * timezone/private.h: Likewise.
4793 * timezone/scheck.c: Likewise.
4794 * timezone/tzfile.h: Likewise.
4795 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4796 (TZVERSION): Hardcode tzcode version number.
4797 * timezone/zdump.c: Update from tzcode 2012i.
4798 * timezone/zic.c: Likewise.
4799 * timezone/version.h: New file.
4800 * timezone/README: Describe version.h. Update upstream location.
4803 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4804 (mktemp): Enable declaration.
4805 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4806 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4807 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4808 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4810 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4812 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4814 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4816 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4818 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4822 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4823 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4824 for copies of such integer values.
4825 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4826 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4828 2012-11-09 Andreas Jaeger <aj@suse.de>
4830 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4831 definitions and declarations that are provided by
4832 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4834 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4836 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4837 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4838 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4841 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4843 * elf/elf.h: Update comment before AArch64 relocations.
4845 2012-11-07 David S. Miller <davem@davemloft.net>
4847 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4848 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4849 (__start_context): Declare.
4850 (__makecontext_ret): Delete.
4851 (__makecontext): Hook up __start_context instead of
4853 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4854 (sysdep_routines): Add __start_context when in stdlib.
4856 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4858 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4859 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4860 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4862 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4863 (READELF): New variable. Use it instead of hardcoded "readelf".
4865 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4867 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4868 * sysdeps/x86/Makefile: Here.
4869 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4870 * sysdeps/x86/tst-xmmymm.sh: This.
4872 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4874 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4876 [UNIX98] (pthread_barrier_t): Do not expect.
4877 [UNIX98] (pthread_barrierattr_t): Likewise.
4878 [UNIX98] (pthread_spinlock_t): Likewise.
4879 [UNIX98] (pthread_barrier_destroy): Likewise.
4880 [UNIX98] (pthread_barrier_init): Likewise.
4881 [UNIX98] (pthread_barrier_wait): Likewise.
4882 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4883 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4884 [UNIX98] (pthread_barrierattr_init): Likewise.
4885 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4886 [UNIX98] (pthread_getcpuclockid): Likewise.
4887 [UNIX98] (pthread_mutex_timedlock): Likewise.
4888 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4889 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4890 [UNIX98] (pthread_sigmask): Likewise.
4891 [UNIX98] (pthread_spin_destroy): Likewise.
4892 [UNIX98] (pthread_spin_init): Likewise.
4893 [UNIX98] (pthread_spin_lock): Likewise.
4894 [UNIX98] (pthread_spin_trylock): Likewise.
4895 [UNIX98] (pthread_spin_unlock): Likewise.
4896 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4898 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4899 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4900 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4901 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4902 [XPG3 || XPG4] (pthread_key_t): Likewise.
4903 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4904 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4905 [XPG3 || XPG4] (pthread_once_t): Likewise.
4906 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4907 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4908 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4909 [XPG3 || XPG4] (pthread_t): Likewise.
4911 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4913 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4915 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4916 Change function return type to int.
4918 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4919 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4920 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4921 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4922 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4923 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4924 [!POSIX] (posix_madvise): Likewise.
4925 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4927 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4928 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4930 (posix_mem_offset): Likewise.
4931 (posix_typed_mem_get_info): Likewise.
4932 (posix_typed_mem_open): Likewise.
4934 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4935 Change condition to [XOPEN2K8].
4937 * conform/conformtest.pl: Preprocess allow-header data with -x c
4938 instead of from stdin.
4939 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4940 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4941 [C99-based standards] (cerfc): Likewise.
4942 [C99-based standards] (cexp2): Likewise.
4943 [C99-based standards] (cexpm1): Likewise.
4944 [C99-based standards] (clog10): Likewise.
4945 [C99-based standards] (clog1p): Likewise.
4946 [C99-based standards] (clog2): Likewise.
4947 [C99-based standards] (clgamma): Likewise.
4948 [C99-based standards] (ctgamma): Likewise.
4949 [C99-based standards] (cerff): Likewise.
4950 [C99-based standards] (cerfcf): Likewise.
4951 [C99-based standards] (cexp2f): Likewise.
4952 [C99-based standards] (cexpm1f): Likewise.
4953 [C99-based standards] (clog10f): Likewise.
4954 [C99-based standards] (clog1pf): Likewise.
4955 [C99-based standards] (clog2f): Likewise.
4956 [C99-based standards] (clgammaf): Likewise.
4957 [C99-based standards] (ctgammaf): Likewise.
4958 [C99-based standards] (cerfl): Likewise.
4959 [C99-based standards] (cerfcl): Likewise.
4960 [C99-based standards] (cexp2l): Likewise.
4961 [C99-based standards] (cexpm1l): Likewise.
4962 [C99-based standards] (clog10l): Likewise.
4963 [C99-based standards] (clog1pl): Likewise.
4964 [C99-based standards] (clog2l): Likewise.
4965 [C99-based standards] (clgammal): Likewise.
4966 [C99-based standards] (ctgammal): Likewise.
4967 * conform/data/inttypes.h-data [C99-based standards]: Include
4968 stdint.h-data. Remove all expectations for stdint.h contents.
4969 [C99-based standards] (PRI*): Do not allow.
4970 [C99-based standards] (SCN*): Likewise.
4971 [C99-based standards] (*_t): Likewise.
4972 [C99-based-standards] (PRId8): Expect macro.
4973 [C99-based-standards] (PRIi8): Likewise.
4974 [C99-based-standards] (PRIo8): Likewise.
4975 [C99-based-standards] (PRIu8): Likewise.
4976 [C99-based-standards] (PRIx8): Likewise.
4977 [C99-based-standards] (PRIX8): Likewise.
4978 [C99-based-standards] (SCNd8): Likewise.
4979 [C99-based-standards] (SCNi8): Likewise.
4980 [C99-based-standards] (SCNo8): Likewise.
4981 [C99-based-standards] (SCNu8): Likewise.
4982 [C99-based-standards] (SCNx8): Likewise.
4983 [C99-based-standards] (PRIdLEAST8): Likewise.
4984 [C99-based-standards] (PRIiLEAST8): Likewise.
4985 [C99-based-standards] (PRIoLEAST8): Likewise.
4986 [C99-based-standards] (PRIuLEAST8): Likewise.
4987 [C99-based-standards] (PRIxLEAST8): Likewise.
4988 [C99-based-standards] (PRIXLEAST8): Likewise.
4989 [C99-based-standards] (SCNdLEAST8): Likewise.
4990 [C99-based-standards] (SCNiLEAST8): Likewise.
4991 [C99-based-standards] (SCNoLEAST8): Likewise.
4992 [C99-based-standards] (SCNuLEAST8): Likewise.
4993 [C99-based-standards] (SCNxLEAST8): Likewise.
4994 [C99-based-standards] (PRIdFAST8): Likewise.
4995 [C99-based-standards] (PRIiFAST8): Likewise.
4996 [C99-based-standards] (PRIoFAST8): Likewise.
4997 [C99-based-standards] (PRIuFAST8): Likewise.
4998 [C99-based-standards] (PRIxFAST8): Likewise.
4999 [C99-based-standards] (PRIXFAST8): Likewise.
5000 [C99-based-standards] (SCNdFAST8): Likewise.
5001 [C99-based-standards] (SCNiFAST8): Likewise.
5002 [C99-based-standards] (SCNoFAST8): Likewise.
5003 [C99-based-standards] (SCNuFAST8): Likewise.
5004 [C99-based-standards] (SCNxFAST8): Likewise.
5005 [C99-based-standards] (PRId16): Likewise.
5006 [C99-based-standards] (PRIi16): Likewise.
5007 [C99-based-standards] (PRIo16): Likewise.
5008 [C99-based-standards] (PRIu16): Likewise.
5009 [C99-based-standards] (PRIx16): Likewise.
5010 [C99-based-standards] (PRIX16): Likewise.
5011 [C99-based-standards] (SCNd16): Likewise.
5012 [C99-based-standards] (SCNi16): Likewise.
5013 [C99-based-standards] (SCNo16): Likewise.
5014 [C99-based-standards] (SCNu16): Likewise.
5015 [C99-based-standards] (SCNx16): Likewise.
5016 [C99-based-standards] (PRIdLEAST16): Likewise.
5017 [C99-based-standards] (PRIiLEAST16): Likewise.
5018 [C99-based-standards] (PRIoLEAST16): Likewise.
5019 [C99-based-standards] (PRIuLEAST16): Likewise.
5020 [C99-based-standards] (PRIxLEAST16): Likewise.
5021 [C99-based-standards] (PRIXLEAST16): Likewise.
5022 [C99-based-standards] (SCNdLEAST16): Likewise.
5023 [C99-based-standards] (SCNiLEAST16): Likewise.
5024 [C99-based-standards] (SCNoLEAST16): Likewise.
5025 [C99-based-standards] (SCNuLEAST16): Likewise.
5026 [C99-based-standards] (SCNxLEAST16): Likewise.
5027 [C99-based-standards] (PRIdFAST16): Likewise.
5028 [C99-based-standards] (PRIiFAST16): Likewise.
5029 [C99-based-standards] (PRIoFAST16): Likewise.
5030 [C99-based-standards] (PRIuFAST16): Likewise.
5031 [C99-based-standards] (PRIxFAST16): Likewise.
5032 [C99-based-standards] (PRIXFAST16): Likewise.
5033 [C99-based-standards] (SCNdFAST16): Likewise.
5034 [C99-based-standards] (SCNiFAST16): Likewise.
5035 [C99-based-standards] (SCNoFAST16): Likewise.
5036 [C99-based-standards] (SCNuFAST16): Likewise.
5037 [C99-based-standards] (SCNxFAST16): Likewise.
5038 [C99-based-standards] (PRId32): Likewise.
5039 [C99-based-standards] (PRIi32): Likewise.
5040 [C99-based-standards] (PRIo32): Likewise.
5041 [C99-based-standards] (PRIu32): Likewise.
5042 [C99-based-standards] (PRIx32): Likewise.
5043 [C99-based-standards] (PRIX32): Likewise.
5044 [C99-based-standards] (SCNd32): Likewise.
5045 [C99-based-standards] (SCNi32): Likewise.
5046 [C99-based-standards] (SCNo32): Likewise.
5047 [C99-based-standards] (SCNu32): Likewise.
5048 [C99-based-standards] (SCNx32): Likewise.
5049 [C99-based-standards] (PRIdLEAST32): Likewise.
5050 [C99-based-standards] (PRIiLEAST32): Likewise.
5051 [C99-based-standards] (PRIoLEAST32): Likewise.
5052 [C99-based-standards] (PRIuLEAST32): Likewise.
5053 [C99-based-standards] (PRIxLEAST32): Likewise.
5054 [C99-based-standards] (PRIXLEAST32): Likewise.
5055 [C99-based-standards] (SCNdLEAST32): Likewise.
5056 [C99-based-standards] (SCNiLEAST32): Likewise.
5057 [C99-based-standards] (SCNoLEAST32): Likewise.
5058 [C99-based-standards] (SCNuLEAST32): Likewise.
5059 [C99-based-standards] (SCNxLEAST32): Likewise.
5060 [C99-based-standards] (PRIdFAST32): Likewise.
5061 [C99-based-standards] (PRIiFAST32): Likewise.
5062 [C99-based-standards] (PRIoFAST32): Likewise.
5063 [C99-based-standards] (PRIuFAST32): Likewise.
5064 [C99-based-standards] (PRIxFAST32): Likewise.
5065 [C99-based-standards] (PRIXFAST32): Likewise.
5066 [C99-based-standards] (SCNdFAST32): Likewise.
5067 [C99-based-standards] (SCNiFAST32): Likewise.
5068 [C99-based-standards] (SCNoFAST32): Likewise.
5069 [C99-based-standards] (SCNuFAST32): Likewise.
5070 [C99-based-standards] (SCNxFAST32): Likewise.
5071 [C99-based-standards] (PRId64): Likewise.
5072 [C99-based-standards] (PRIi64): Likewise.
5073 [C99-based-standards] (PRIo64): Likewise.
5074 [C99-based-standards] (PRIu64): Likewise.
5075 [C99-based-standards] (PRIx64): Likewise.
5076 [C99-based-standards] (PRIX64): Likewise.
5077 [C99-based-standards] (SCNd64): Likewise.
5078 [C99-based-standards] (SCNi64): Likewise.
5079 [C99-based-standards] (SCNo64): Likewise.
5080 [C99-based-standards] (SCNu64): Likewise.
5081 [C99-based-standards] (SCNx64): Likewise.
5082 [C99-based-standards] (PRIdLEAST64): Likewise.
5083 [C99-based-standards] (PRIiLEAST64): Likewise.
5084 [C99-based-standards] (PRIoLEAST64): Likewise.
5085 [C99-based-standards] (PRIuLEAST64): Likewise.
5086 [C99-based-standards] (PRIxLEAST64): Likewise.
5087 [C99-based-standards] (PRIXLEAST64): Likewise.
5088 [C99-based-standards] (SCNdLEAST64): Likewise.
5089 [C99-based-standards] (SCNiLEAST64): Likewise.
5090 [C99-based-standards] (SCNoLEAST64): Likewise.
5091 [C99-based-standards] (SCNuLEAST64): Likewise.
5092 [C99-based-standards] (SCNxLEAST64): Likewise.
5093 [C99-based-standards] (PRIdFAST64): Likewise.
5094 [C99-based-standards] (PRIiFAST64): Likewise.
5095 [C99-based-standards] (PRIoFAST64): Likewise.
5096 [C99-based-standards] (PRIuFAST64): Likewise.
5097 [C99-based-standards] (PRIxFAST64): Likewise.
5098 [C99-based-standards] (PRIXFAST64): Likewise.
5099 [C99-based-standards] (SCNdFAST64): Likewise.
5100 [C99-based-standards] (SCNiFAST64): Likewise.
5101 [C99-based-standards] (SCNoFAST64): Likewise.
5102 [C99-based-standards] (SCNuFAST64): Likewise.
5103 [C99-based-standards] (SCNxFAST64): Likewise.
5104 [C99-based-standards] (PRIdMAX): Likewise.
5105 [C99-based-standards] (PRIiMAX): Likewise.
5106 [C99-based-standards] (PRIoMAX): Likewise.
5107 [C99-based-standards] (PRIuMAX): Likewise.
5108 [C99-based-standards] (PRIxMAX): Likewise.
5109 [C99-based-standards] (PRIXMAX): Likewise.
5110 [C99-based-standards] (SCNdMAX): Likewise.
5111 [C99-based-standards] (SCNiMAX): Likewise.
5112 [C99-based-standards] (SCNoMAX): Likewise.
5113 [C99-based-standards] (SCNuMAX): Likewise.
5114 [C99-based-standards] (SCNxMAX): Likewise.
5115 [C99-based-standards] (PRIdPTR): Likewise.
5116 [C99-based-standards] (PRIiPTR): Likewise.
5117 [C99-based-standards] (PRIoPTR): Likewise.
5118 [C99-based-standards] (PRIuPTR): Likewise.
5119 [C99-based-standards] (PRIxPTR): Likewise.
5120 [C99-based-standards] (PRIXPTR): Likewise.
5121 [C99-based-standards] (SCNdPTR): Likewise.
5122 [C99-based-standards] (SCNiPTR): Likewise.
5123 [C99-based-standards] (SCNoPTR): Likewise.
5124 [C99-based-standards] (SCNuPTR): Likewise.
5125 [C99-based-standards] (SCNxPTR): Likewise.
5126 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5128 * conform/data/stdint.h-data: Update comments to clarify
5130 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5132 [C99-based standards] (INT8_MAX): Likewise.
5133 [C99-based standards] (INT16_MIN): Likewise.
5134 [C99-based standards] (INT16_MAX): Likewise.
5135 [C99-based standards] (INT32_MIN): Likewise.
5136 [C99-based standards] (INT32_MAX): Likewise.
5137 [C99-based standards] (INT64_MIN): Likewise.
5138 [C99-based standards] (INT64_MAX): Likewise.
5139 [C99-based standards] (UINT8_MAX): Likewise.
5140 [C99-based standards] (UINT16_MAX): Likewise.
5141 [C99-based standards] (UINT32_MAX): Likewise.
5142 [C99-based standards] (UINT64_MAX): Likewise.
5143 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5144 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5145 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5146 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5147 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5148 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5149 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5150 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5151 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5152 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5153 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5154 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5155 [C99-based standards] (INT_FAST8_MIN): Likewise.
5156 [C99-based standards] (INT_FAST8_MAX): Likewise.
5157 [C99-based standards] (INT_FAST16_MIN): Likewise.
5158 [C99-based standards] (INT_FAST16_MAX): Likewise.
5159 [C99-based standards] (INT_FAST32_MIN): Likewise.
5160 [C99-based standards] (INT_FAST32_MAX): Likewise.
5161 [C99-based standards] (INT_FAST64_MIN): Likewise.
5162 [C99-based standards] (INT_FAST64_MAX): Likewise.
5163 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5164 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5165 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5166 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5167 [C99-based standards] (INTPTR_MIN): Likewise.
5168 [C99-based standards] (INTPTR_MAX): Likewise.
5169 [C99-based standards] (UINTPTR_MAX): Likewise.
5170 [C99-based standards] (INTMAX_MIN): Likewise.
5171 [C99-based standards] (INTMAX_MAX): Likewise.
5172 [C99-based standards] (UINTMAX_MAX): Likewise.
5173 [C99-based standards] (PTRDIFF_MIN): Likewise.
5174 [C99-based standards] (PTRDIFF_MAX): Likewise.
5175 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5176 [C99-based standards] (SIZE_MAX): Likewise.
5177 [C99-based standards] (WCHAR_MAX): Likewise.
5178 [C99-based standards] (WINT_MAX): Likewise.
5179 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5180 constraint on value.
5181 [C99-based standards] (WCHAR_MIN): Likewise.
5182 [C99-based standards] (WINT_MIN): Likewise.
5183 [C99-based standards] (*_t): Allow.
5184 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5185 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5186 Include math.h-data and complex.h-data. Remove all expectations
5187 of math.h and complex.h contents.
5188 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5190 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5191 (struct tm): Expect tag.
5192 [C99-based-standards] (wcstof): Expect function.
5193 [C99-based-standards] (wcstold): Likewise.
5194 [C99-based-standards] (wcstoll): Likewise.
5195 [C99-based-standards] (wcstoull): Likewise.
5196 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5197 macro-int-constant. Specify type.
5198 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5199 constraint on value.
5200 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5202 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5204 [ISO C standards]: Do not allow headers.
5205 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5206 wcs[abcdefghijklmnopqrstuvwxyz]*.
5207 [ISO C standards] (*_t): Do not allow.
5208 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5210 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5211 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5213 [ISO C standards]: Do not allow headers.
5214 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5215 is[abcdefghijklmnopqrstuvwxyz]*.
5216 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5217 to[abcdefghijklmnopqrstuvwxyz]*.
5218 [ISO C standards] (*_t): Do not allow.
5219 * conform/data/stdalign.h-data: New file.
5220 * conform/data/stdbool.h-data: Likewise.
5221 * conform/data/stdnoreturn.h-data: Likewise.
5223 2012-11-07 Roland McGrath <roland@hack.frob.com>
5226 * manual/filesys.texi (Directory Entries): Typo fix.
5227 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5229 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5231 * elf/elf.h (EM_AARCH64): New macro.
5232 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5233 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5234 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5235 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5236 (R_AARCH64_TLSDESC): Likewise.
5237 (NT_ARM_TLS): Likewise.
5238 (NT_ARM_HW_BREAK): Likewise.
5239 (NT_ARM_HW_WATCH): Likewise.
5241 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5244 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5245 (__ieee754_powl): Saturate nonzero exponents with absolute value
5246 below 0x1p-79 to +/- 0x1p-79.
5247 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5248 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5249 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5250 nonzero exponents with absolute value below 0x1p-32 to +/-
5252 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5253 (__ieee754_powl): Saturate nonzero exponents with absolute value
5254 below 0x1p-79 to +/- 0x1p-79.
5255 * math/libm-test.inc (pow_test): Add more tests.
5257 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5259 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5260 _dl_s390_cap_flags with kernel. Increase string length.
5261 (_dl_s390_platforms): Add z196 and zEC12.
5263 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5265 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5266 Change XOPEN21K to XOPEN2K.
5268 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5270 * string/memmove.c: Use memcpy when possible.
5272 2012-11-06 Andreas Jaeger <aj@suse.de>
5274 * po/eo.po: Update from translation team.
5276 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5280 exponent and small x and y exponents, scale x or y up. Increase
5281 by 2 the exponent used in scaling up.
5282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5283 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5284 * math/libm-test.inc (fma_test): Add more tests.
5285 (fma_test_towardzero): Likewise.
5286 (fma_test_downward): Likewise.
5287 (fma_test_upward): Likewise.
5289 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5292 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5296 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5297 namespace for names of struct fields.
5298 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5300 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5301 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5303 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5306 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5308 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5310 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5314 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5317 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5321 definitely overflow as x * y not x * y + z.
5322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5323 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5324 * math/libm-test.inc (fma_test): Add more tests.
5325 (fma_test_towardzero): Likewise.
5326 (fma_test_downward): Likewise.
5327 (fma_test_upward): Likewise.
5329 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5333 * include/stub-tag.h: Remove file.
5334 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5336 * manual/maint.texi (Porting): Don't reference it.
5337 * Makerules ($(objpfx)stubs): Likewise.
5338 * dirent/closedir.c: Don't include <stub-tag.h>.
5339 * dirent/dirfd.c: Likewise.
5340 * dirent/fdopendir.c: Likewise.
5341 * dirent/getdents.c: Likewise.
5342 * dirent/getdents64.c: Likewise.
5343 * dirent/opendir.c: Likewise.
5344 * dirent/readdir.c: Likewise.
5345 * dirent/readdir64.c: Likewise.
5346 * dirent/readdir64_r.c: Likewise.
5347 * dirent/readdir_r.c: Likewise.
5348 * dirent/rewinddir.c: Likewise.
5349 * dirent/seekdir.c: Likewise.
5350 * dirent/telldir.c: Likewise.
5351 * gmon/profil.c: Likewise.
5352 * grp/setgroups.c: Likewise.
5353 * inet/if_index.c: Likewise.
5354 * io/access.c: Likewise.
5355 * io/chdir.c: Likewise.
5356 * io/chmod.c: Likewise.
5357 * io/chown.c: Likewise.
5358 * io/close.c: Likewise.
5359 * io/dup.c: Likewise.
5360 * io/dup2.c: Likewise.
5361 * io/dup3.c: Likewise.
5362 * io/euidaccess.c: Likewise.
5363 * io/faccessat.c: Likewise.
5364 * io/fchdir.c: Likewise.
5365 * io/fchmod.c: Likewise.
5366 * io/fchmodat.c: Likewise.
5367 * io/fchown.c: Likewise.
5368 * io/fchownat.c: Likewise.
5369 * io/fcntl.c: Likewise.
5370 * io/flock.c: Likewise.
5371 * io/fstatfs.c: Likewise.
5372 * io/fstatfs64.c: Likewise.
5373 * io/fstatvfs.c: Likewise.
5374 * io/fstatvfs64.c: Likewise.
5375 * io/futimens.c: Likewise.
5376 * io/fxstat.c: Likewise.
5377 * io/fxstat64.c: Likewise.
5378 * io/fxstatat.c: Likewise.
5379 * io/fxstatat64.c: Likewise.
5380 * io/getcwd.c: Likewise.
5381 * io/isatty.c: Likewise.
5382 * io/lchmod.c: Likewise.
5383 * io/lchown.c: Likewise.
5384 * io/link.c: Likewise.
5385 * io/linkat.c: Likewise.
5386 * io/lseek.c: Likewise.
5387 * io/lseek64.c: Likewise.
5388 * io/lxstat64.c: Likewise.
5389 * io/mkdir.c: Likewise.
5390 * io/mkdirat.c: Likewise.
5391 * io/mkfifo.c: Likewise.
5392 * io/mkfifoat.c: Likewise.
5393 * io/open.c: Likewise.
5394 * io/open64.c: Likewise.
5395 * io/openat.c: Likewise.
5396 * io/openat64.c: Likewise.
5397 * io/pipe.c: Likewise.
5398 * io/pipe2.c: Likewise.
5399 * io/poll.c: Likewise.
5400 * io/posix_fadvise.c: Likewise.
5401 * io/posix_fadvise64.c: Likewise.
5402 * io/posix_fallocate.c: Likewise.
5403 * io/posix_fallocate64.c: Likewise.
5404 * io/read.c: Likewise.
5405 * io/readlink.c: Likewise.
5406 * io/readlinkat.c: Likewise.
5407 * io/rmdir.c: Likewise.
5408 * io/sendfile.c: Likewise.
5409 * io/sendfile64.c: Likewise.
5410 * io/statfs.c: Likewise.
5411 * io/statfs64.c: Likewise.
5412 * io/statvfs.c: Likewise.
5413 * io/statvfs64.c: Likewise.
5414 * io/symlink.c: Likewise.
5415 * io/symlinkat.c: Likewise.
5416 * io/ttyname.c: Likewise.
5417 * io/ttyname_r.c: Likewise.
5418 * io/umask.c: Likewise.
5419 * io/unlink.c: Likewise.
5420 * io/unlinkat.c: Likewise.
5421 * io/utime.c: Likewise.
5422 * io/utimensat.c: Likewise.
5423 * io/write.c: Likewise.
5424 * io/xmknod.c: Likewise.
5425 * io/xmknodat.c: Likewise.
5426 * io/xstat.c: Likewise.
5427 * io/xstat64.c: Likewise.
5428 * login/getpt.c: Likewise.
5429 * login/grantpt.c: Likewise.
5430 * login/unlockpt.c: Likewise.
5431 * math/e_acoshl.c: Likewise.
5432 * math/e_acosl.c: Likewise.
5433 * math/e_asinl.c: Likewise.
5434 * math/e_atan2l.c: Likewise.
5435 * math/e_atanhl.c: Likewise.
5436 * math/e_coshl.c: Likewise.
5437 * math/e_expl.c: Likewise.
5438 * math/e_fmodl.c: Likewise.
5439 * math/e_gammal_r.c: Likewise.
5440 * math/e_hypotl.c: Likewise.
5441 * math/e_j0l.c: Likewise.
5442 * math/e_j1l.c: Likewise.
5443 * math/e_jnl.c: Likewise.
5444 * math/e_lgammal_r.c: Likewise.
5445 * math/e_log10l.c: Likewise.
5446 * math/e_log2l.c: Likewise.
5447 * math/e_logl.c: Likewise.
5448 * math/e_powl.c: Likewise.
5449 * math/e_rem_pio2l.c: Likewise.
5450 * math/e_sinhl.c: Likewise.
5451 * math/e_sqrtl.c: Likewise.
5452 * math/fclrexcpt.c: Likewise.
5453 * math/fedisblxcpt.c: Likewise.
5454 * math/feenablxcpt.c: Likewise.
5455 * math/fegetenv.c: Likewise.
5456 * math/fegetexcept.c: Likewise.
5457 * math/fegetround.c: Likewise.
5458 * math/feholdexcpt.c: Likewise.
5459 * math/fesetenv.c: Likewise.
5460 * math/fesetround.c: Likewise.
5461 * math/feupdateenv.c: Likewise.
5462 * math/fgetexcptflg.c: Likewise.
5463 * math/fraiseexcpt.c: Likewise.
5464 * math/fsetexcptflg.c: Likewise.
5465 * math/ftestexcept.c: Likewise.
5466 * math/k_cosl.c: Likewise.
5467 * math/k_rem_pio2l.c: Likewise.
5468 * math/k_sinl.c: Likewise.
5469 * math/k_tanl.c: Likewise.
5470 * math/s_asinhl.c: Likewise.
5471 * math/s_atanl.c: Likewise.
5472 * math/s_cbrtl.c: Likewise.
5473 * math/s_erfl.c: Likewise.
5474 * math/s_expm1l.c: Likewise.
5475 * math/s_log1pl.c: Likewise.
5476 * math/s_tanhl.c: Likewise.
5477 * misc/acct.c: Likewise.
5478 * misc/brk.c: Likewise.
5479 * misc/chflags.c: Likewise.
5480 * misc/chroot.c: Likewise.
5481 * misc/fchflags.c: Likewise.
5482 * misc/fgetxattr.c: Likewise.
5483 * misc/flistxattr.c: Likewise.
5484 * misc/fremovexattr.c: Likewise.
5485 * misc/fsetxattr.c: Likewise.
5486 * misc/fsync.c: Likewise.
5487 * misc/ftruncate.c: Likewise.
5488 * misc/futimes.c: Likewise.
5489 * misc/futimesat.c: Likewise.
5490 * misc/getdomain.c: Likewise.
5491 * misc/getdtsz.c: Likewise.
5492 * misc/gethostid.c: Likewise.
5493 * misc/gethostname.c: Likewise.
5494 * misc/getloadavg.c: Likewise.
5495 * misc/getpagesize.c: Likewise.
5496 * misc/getsysstats.c: Likewise.
5497 * misc/getxattr.c: Likewise.
5498 * misc/gtty.c: Likewise.
5499 * misc/ioctl.c: Likewise.
5500 * misc/lgetxattr.c: Likewise.
5501 * misc/listxattr.c: Likewise.
5502 * misc/llistxattr.c: Likewise.
5503 * misc/lremovexattr.c: Likewise.
5504 * misc/lsetxattr.c: Likewise.
5505 * misc/lutimes.c: Likewise.
5506 * misc/madvise.c: Likewise.
5507 * misc/mincore.c: Likewise.
5508 * misc/mlock.c: Likewise.
5509 * misc/mlockall.c: Likewise.
5510 * misc/mmap.c: Likewise.
5511 * misc/mprotect.c: Likewise.
5512 * misc/msync.c: Likewise.
5513 * misc/munlock.c: Likewise.
5514 * misc/munlockall.c: Likewise.
5515 * misc/munmap.c: Likewise.
5516 * misc/preadv.c: Likewise.
5517 * misc/preadv64.c: Likewise.
5518 * misc/ptrace.c: Likewise.
5519 * misc/pwritev.c: Likewise.
5520 * misc/pwritev64.c: Likewise.
5521 * misc/readv.c: Likewise.
5522 * misc/reboot.c: Likewise.
5523 * misc/remap_file_pages.c: Likewise.
5524 * misc/removexattr.c: Likewise.
5525 * misc/revoke.c: Likewise.
5526 * misc/select.c: Likewise.
5527 * misc/setdomain.c: Likewise.
5528 * misc/setegid.c: Likewise.
5529 * misc/seteuid.c: Likewise.
5530 * misc/sethostid.c: Likewise.
5531 * misc/sethostname.c: Likewise.
5532 * misc/setregid.c: Likewise.
5533 * misc/setreuid.c: Likewise.
5534 * misc/setxattr.c: Likewise.
5535 * misc/sstk.c: Likewise.
5536 * misc/stty.c: Likewise.
5537 * misc/swapoff.c: Likewise.
5538 * misc/swapon.c: Likewise.
5539 * misc/sync.c: Likewise.
5540 * misc/syncfs.c: Likewise.
5541 * misc/syscall.c: Likewise.
5542 * misc/truncate.c: Likewise.
5543 * misc/ualarm.c: Likewise.
5544 * misc/usleep.c: Likewise.
5545 * misc/ustat.c: Likewise.
5546 * misc/utimes.c: Likewise.
5547 * misc/vhangup.c: Likewise.
5548 * misc/writev.c: Likewise.
5549 * posix/_exit.c: Likewise.
5550 * posix/alarm.c: Likewise.
5551 * posix/execve.c: Likewise.
5552 * posix/fexecve.c: Likewise.
5553 * posix/fork.c: Likewise.
5554 * posix/fpathconf.c: Likewise.
5555 * posix/getaddrinfo.c: Likewise.
5556 * posix/getegid.c: Likewise.
5557 * posix/geteuid.c: Likewise.
5558 * posix/getgid.c: Likewise.
5559 * posix/getgroups.c: Likewise.
5560 * posix/getlogin.c: Likewise.
5561 * posix/getlogin_r.c: Likewise.
5562 * posix/getpgid.c: Likewise.
5563 * posix/getpid.c: Likewise.
5564 * posix/getppid.c: Likewise.
5565 * posix/getresgid.c: Likewise.
5566 * posix/getresuid.c: Likewise.
5567 * posix/getsid.c: Likewise.
5568 * posix/getuid.c: Likewise.
5569 * posix/glob64.c: Likewise.
5570 * posix/nanosleep.c: Likewise.
5571 * posix/pathconf.c: Likewise.
5572 * posix/pause.c: Likewise.
5573 * posix/posix_madvise.c: Likewise.
5574 * posix/pread.c: Likewise.
5575 * posix/pread64.c: Likewise.
5576 * posix/pwrite.c: Likewise.
5577 * posix/pwrite64.c: Likewise.
5578 * posix/sched_getaffinity.c: Likewise.
5579 * posix/sched_getp.c: Likewise.
5580 * posix/sched_gets.c: Likewise.
5581 * posix/sched_primax.c: Likewise.
5582 * posix/sched_primin.c: Likewise.
5583 * posix/sched_rr_gi.c: Likewise.
5584 * posix/sched_setaffinity.c: Likewise.
5585 * posix/sched_setp.c: Likewise.
5586 * posix/sched_sets.c: Likewise.
5587 * posix/sched_yield.c: Likewise.
5588 * posix/setgid.c: Likewise.
5589 * posix/setlogin.c: Likewise.
5590 * posix/setpgid.c: Likewise.
5591 * posix/setresgid.c: Likewise.
5592 * posix/setresuid.c: Likewise.
5593 * posix/setsid.c: Likewise.
5594 * posix/setuid.c: Likewise.
5595 * posix/sleep.c: Likewise.
5596 * posix/spawni.c: Likewise.
5597 * posix/sysconf.c: Likewise.
5598 * posix/times.c: Likewise.
5599 * posix/wait.c: Likewise.
5600 * posix/wait3.c: Likewise.
5601 * posix/wait4.c: Likewise.
5602 * posix/waitpid.c: Likewise.
5603 * resolv/gai_sigqueue.c: Likewise.
5604 * resource/getpriority.c: Likewise.
5605 * resource/getrlimit.c: Likewise.
5606 * resource/getrusage.c: Likewise.
5607 * resource/nice.c: Likewise.
5608 * resource/setpriority.c: Likewise.
5609 * resource/setrlimit.c: Likewise.
5610 * resource/ulimit.c: Likewise.
5611 * rt/aio_cancel.c: Likewise.
5612 * rt/aio_fsync.c: Likewise.
5613 * rt/aio_read.c: Likewise.
5614 * rt/aio_sigqueue.c: Likewise.
5615 * rt/aio_suspend.c: Likewise.
5616 * rt/aio_write.c: Likewise.
5617 * rt/clock_getres.c: Likewise.
5618 * rt/clock_gettime.c: Likewise.
5619 * rt/clock_nanosleep.c: Likewise.
5620 * rt/clock_settime.c: Likewise.
5621 * rt/lio_listio.c: Likewise.
5622 * rt/mq_close.c: Likewise.
5623 * rt/mq_getattr.c: Likewise.
5624 * rt/mq_notify.c: Likewise.
5625 * rt/mq_open.c: Likewise.
5626 * rt/mq_receive.c: Likewise.
5627 * rt/mq_send.c: Likewise.
5628 * rt/mq_setattr.c: Likewise.
5629 * rt/mq_timedreceive.c: Likewise.
5630 * rt/mq_timedsend.c: Likewise.
5631 * rt/mq_unlink.c: Likewise.
5632 * rt/shm_open.c: Likewise.
5633 * rt/shm_unlink.c: Likewise.
5634 * rt/timer_create.c: Likewise.
5635 * rt/timer_delete.c: Likewise.
5636 * rt/timer_getoverr.c: Likewise.
5637 * rt/timer_gettime.c: Likewise.
5638 * rt/timer_settime.c: Likewise.
5639 * setjmp/__longjmp.c: Likewise.
5640 * setjmp/setjmp.c: Likewise.
5641 * signal/kill.c: Likewise.
5642 * signal/killpg.c: Likewise.
5643 * signal/raise.c: Likewise.
5644 * signal/sigaction.c: Likewise.
5645 * signal/sigaltstack.c: Likewise.
5646 * signal/sigblock.c: Likewise.
5647 * signal/sigignore.c: Likewise.
5648 * signal/sigintr.c: Likewise.
5649 * signal/signal.c: Likewise.
5650 * signal/sigpause.c: Likewise.
5651 * signal/sigpending.c: Likewise.
5652 * signal/sigqueue.c: Likewise.
5653 * signal/sigreturn.c: Likewise.
5654 * signal/sigset.c: Likewise.
5655 * signal/sigsetmask.c: Likewise.
5656 * signal/sigstack.c: Likewise.
5657 * signal/sigsuspend.c: Likewise.
5658 * signal/sigtimedwait.c: Likewise.
5659 * signal/sigvec.c: Likewise.
5660 * signal/sigwait.c: Likewise.
5661 * signal/sigwaitinfo.c: Likewise.
5662 * signal/sysv_signal.c: Likewise.
5663 * socket/accept.c: Likewise.
5664 * socket/accept4.c: Likewise.
5665 * socket/bind.c: Likewise.
5666 * socket/connect.c: Likewise.
5667 * socket/getpeername.c: Likewise.
5668 * socket/getsockname.c: Likewise.
5669 * socket/getsockopt.c: Likewise.
5670 * socket/isfdtype.c: Likewise.
5671 * socket/listen.c: Likewise.
5672 * socket/recv.c: Likewise.
5673 * socket/recvfrom.c: Likewise.
5674 * socket/recvmsg.c: Likewise.
5675 * socket/send.c: Likewise.
5676 * socket/sendmsg.c: Likewise.
5677 * socket/sendto.c: Likewise.
5678 * socket/setsockopt.c: Likewise.
5679 * socket/shutdown.c: Likewise.
5680 * socket/sockatmark.c: Likewise.
5681 * socket/socket.c: Likewise.
5682 * socket/socketpair.c: Likewise.
5683 * stdio-common/ctermid.c: Likewise.
5684 * stdio-common/cuserid.c: Likewise.
5685 * stdio-common/remove.c: Likewise.
5686 * stdio-common/rename.c: Likewise.
5687 * stdio-common/renameat.c: Likewise.
5688 * stdio-common/tempname.c: Likewise.
5689 * stdlib/getcontext.c: Likewise.
5690 * stdlib/makecontext.c: Likewise.
5691 * stdlib/setcontext.c: Likewise.
5692 * stdlib/swapcontext.c: Likewise.
5693 * stdlib/system.c: Likewise.
5694 * streams/fattach.c: Likewise.
5695 * streams/fdetach.c: Likewise.
5696 * streams/getmsg.c: Likewise.
5697 * streams/getpmsg.c: Likewise.
5698 * streams/putmsg.c: Likewise.
5699 * streams/putpmsg.c: Likewise.
5700 * sysdeps/unix/bsd/getpt.c: Likewise.
5701 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5702 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5703 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5706 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5707 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5708 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5709 * sysvipc/msgctl.c: Likewise.
5710 * sysvipc/msgget.c: Likewise.
5711 * sysvipc/msgrcv.c: Likewise.
5712 * sysvipc/msgsnd.c: Likewise.
5713 * sysvipc/semctl.c: Likewise.
5714 * sysvipc/semget.c: Likewise.
5715 * sysvipc/semop.c: Likewise.
5716 * sysvipc/semtimedop.c: Likewise.
5717 * sysvipc/shmat.c: Likewise.
5718 * sysvipc/shmctl.c: Likewise.
5719 * sysvipc/shmdt.c: Likewise.
5720 * sysvipc/shmget.c: Likewise.
5721 * termios/tcdrain.c: Likewise.
5722 * termios/tcflow.c: Likewise.
5723 * termios/tcflush.c: Likewise.
5724 * termios/tcgetattr.c: Likewise.
5725 * termios/tcgetpgrp.c: Likewise.
5726 * termios/tcsendbrk.c: Likewise.
5727 * termios/tcsetattr.c: Likewise.
5728 * termios/tcsetpgrp.c: Likewise.
5729 * time/adjtime.c: Likewise.
5730 * time/clock.c: Likewise.
5731 * time/getitimer.c: Likewise.
5732 * time/gettimeofday.c: Likewise.
5733 * time/setitimer.c: Likewise.
5734 * time/settimeofday.c: Likewise.
5735 * time/stime.c: Likewise.
5736 * time/time.c: Likewise.
5738 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5740 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5743 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5745 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5747 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5751 FE_TONEAREST before applying Dekker multiplication and Knuth
5752 addition. Clear inexact exceptions and check for exact zero
5754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5755 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5756 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5757 * math/libm-test.inc (fma_test): Add more tests.
5758 (fma_test_towardzero): Likewise.
5759 (fma_test_downward): Likewise.
5760 (fma_test_upward): Likewise.
5761 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5763 (libc_fesetround): New macro.
5764 (libc_fesetroundf): Likewise.
5765 (libc_fesetroundl): Likewise.
5766 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5768 (libc_fesetround_387): Likewise.
5769 (libc_fesetroundf): New macro.
5770 (libc_fesetround): Likewise.
5771 (libc_fesetroundl): Likewise.
5772 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5774 (libc_fesetroundf): New macro.
5775 (libc_fesetround): Likewise.
5776 (libc_fesetroundl): Likewise.
5777 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5778 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5779 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5781 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5782 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5784 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5785 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5787 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5791 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5792 integer constant usable in #if and use that to give value to enum
5794 (FE_DIVBYZERO): Likewise.
5795 (FE_UNDERFLOW): Likewise.
5796 (FE_OVERFLOW): Likewise.
5797 (FE_INVALID): Likewise.
5798 (FE_INVALID_SNAN): Likewise.
5799 (FE_INVALID_ISI): Likewise.
5800 (FE_INVALID_IDI): Likewise.
5801 (FE_INVALID_ZDZ): Likewise.
5802 (FE_INVALID_IMZ): Likewise.
5803 (FE_INVALID_COMPARE): Likewise.
5804 (FE_INVALID_SOFTWARE): Likewise.
5805 (FE_INVALID_SQRT): Likewise.
5806 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5807 (FE_TONEAREST): Likewise.
5808 (FE_TOWARDZERO): Likewise.
5809 (FE_UPWARD): Likewise.
5810 (FE_DOWNWARD): Likewise.
5811 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5812 (FE_DIVBYZERO): Likewise.
5813 (FE_OVERFLOW): Likewise.
5814 (FE_UNDERFLOW): Likewise.
5815 (FE_INEXACT): Likewise.
5816 (FE_TONEAREST): Likewise.
5817 (FE_DOWNWARD): Likewise.
5818 (FE_UPWARD): Likewise.
5819 (FE_TOWARDZERO): Likewise.
5820 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5821 (FE_UNDERFLOW): Likewise.
5822 (FE_OVERFLOW): Likewise.
5823 (FE_DIVBYZERO): Likewise.
5824 (FE_INVALID): Likewise.
5825 (FE_TONEAREST): Likewise.
5826 (FE_TOWARDZERO): Likewise.
5827 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5828 (FE_OVERFLOW): Likewise.
5829 (FE_UNDERFLOW): Likewise.
5830 (FE_DIVBYZERO): Likewise.
5831 (FE_INEXACT): Likewise.
5832 (FE_TONEAREST): Likewise.
5833 (FE_TOWARDZERO): Likewise.
5834 (FE_UPWARD): Likewise.
5835 (FE_DOWNWARD): Likewise.
5836 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5837 (FE_DIVBYZERO): Likewise.
5838 (FE_OVERFLOW): Likewise.
5839 (FE_UNDERFLOW): Likewise.
5840 (FE_INEXACT): Likewise.
5841 (FE_TONEAREST): Likewise.
5842 (FE_DOWNWARD): Likewise.
5843 (FE_UPWARD): Likewise.
5844 (FE_TOWARDZERO): Likewise.
5846 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5848 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5850 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5852 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5853 commands. Quote $PWD.
5854 (blacklist_exports): Don't use remove_newlines. Replace "declare
5856 (remove_newlines): Remove.
5858 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5860 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5861 * stdlib/stdlib.h (atof): Moved to ...
5862 * include/bits/stdlib-float.h: Here. New file.
5863 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5864 * stdlib/bits/stdlib-float.h: New file.
5865 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5867 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5870 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5872 * conform/conformtest.pl (@headers): Add fenv.h.
5873 * conform/data/fenv.h-data: New file.
5874 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5875 include of <math/fenv.h>.
5877 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5878 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5879 && !UNIX98]. Enables tests for XOPEN2K8.
5880 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5881 POSIX2008]: Likewise.
5883 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5884 (struct rusage): Do not expect type or its members.
5887 * math/math.h (FP_NAN): Define macro to integer constant usable in
5888 #if and use that to give value to enum constant.
5889 (FP_INFINITE): Likewise.
5890 (FP_ZERO): Likewise.
5891 (FP_SUBNORMAL): Likewise.
5892 (FP_NORMAL): Likewise.
5894 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5896 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5897 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5900 2012-11-02 Roland McGrath <roland@hack.frob.com>
5902 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5903 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5904 autoconf-time if not.
5905 * configure.in: Remove AC_PREREQ.
5907 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5909 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5910 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5911 of the internal implementation.
5913 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5915 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5916 except include of <misc/sys/syslog.h>.
5918 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5921 function returns with a NULL context exit with zero.
5923 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5925 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5927 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5929 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5930 (run_program_cmd): This.
5931 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5932 (tst_langinfo): New variable. Use it.
5934 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5936 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5937 floating point opcodes.
5939 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5941 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5944 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5946 * sysdeps/mach/hurd/powerpc: Remove directory.
5947 * sysdeps/mach/powerpc: Likewise.
5949 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5951 * scripts/check-local-headers.sh: Ignore c++ headers.
5953 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5955 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5956 __libc_cleanup_region_start argument.
5958 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5963 x * y using scaling, not as x * y + z.
5964 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5965 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5966 * math/libm-test.inc (fma_test): Add more tests.
5967 (fma_test_towardzero): Likewise.
5968 (fma_test_downward): Likewise.
5969 (fma_test_upward): Likewise.
5971 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5973 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5975 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5977 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5980 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5982 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5984 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5991 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5994 Fix the order of the list for glibc 2.17.
5995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5998 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6002 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6005 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6006 for low part of x being zero before using __atanl (y).
6007 * math/libm-test.inc (atan2_test): Add another test.
6009 * manual/install.texi (Configuring and compiling): Document
6010 general use of test-wrapper and test-wrapper-env.
6011 * INSTALL: Regenerated.
6013 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6014 (__fma): Do not extract and scale down low bits on after-rounding
6015 systems when result rounded to normal precision would have normal
6017 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6018 (__fmal): Do not extract and scale down low bits on after-rounding
6019 systems when result rounded to normal precision would have normal
6021 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6022 (__fmal): Do not extract and scale down low bits on after-rounding
6023 systems when result rounded to normal precision would have normal
6025 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6027 (fma_test): Add more tests.
6028 (fma_test_towardzero): Likewise.
6029 (fma_test_downward): Likewise.
6030 (fma_test_upward): Likewise.
6032 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6034 * sysdeps/i386/tininess.h: Renamed to ...
6035 * sysdeps/x86/tininess.h: This.
6036 * sysdeps/x86_64/tininess.h: Removed.
6038 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6040 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6041 input. Use $(build-program-cmd).
6042 ($(objpfx)tst-array1-static.out): Likewise.
6043 ($(objpfx)tst-array2.out): Likewise.
6044 ($(objpfx)tst-array3.out): Likewise.
6045 ($(objpfx)tst-array4.out): Likewise.
6046 ($(objpfx)tst-array5.out): Likewise.
6047 ($(objpfx)tst-array5-static.out): Likewise.
6049 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6051 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6054 * nss/nsswitch.h (nss_interface_function): Provide new
6055 macro for use with NSS functions.
6056 * grp/initgroups.c: Use new macro.
6057 * nss/getXXbyYY.c: Likewise.
6058 * nss/getXXbyYY_r.c: Likewise.
6059 * nss/getXXent.c: Likewise.
6060 * nss/getXXent_r.c: Likewise.
6061 * sysdeps/posix/getaddrinfo.c: Likewise.
6063 2012-10-30 Andreas Jaeger <aj@suse.de>
6065 * po/ru.po: Update Russion translation from translation project.
6067 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6072 result and shift together with sticky bit instead of replicating
6073 round-to-nearest rounding.
6074 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6075 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6076 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6077 missing underflow exceptions.
6078 (fma_test_towardzero): Add more tests.
6079 (fma_test_downward): Likewise.
6080 (fma_test_upward): Likewise.
6083 * sysdeps/generic/tininess.h: New file.
6084 * sysdeps/i386/tininess.h: Likewise.
6085 * sysdeps/sh/tininess.h: Likewise.
6086 * sysdeps/x86_64/tininess.h: Likewise.
6087 * stdlib/tst-strtod-underflow.c: Likewise.
6088 * stdlib/tst-tininess.c: Likewise.
6089 * stdlib/strtod_l.c: Include <tininess.h>.
6090 (round_and_return): Do not set errno for exact underflow cases.
6091 Force an underflow exception when setting errno for underflow.
6092 Determine underflow based on rounding to normal precision if
6093 TININESS_AFTER_ROUNDING.
6094 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6095 ERANGE for exact underflow cases.
6096 * stdlib/Makefile (tests): Add tst-tininess and
6097 tst-strtod-underflow.
6098 ($(objpfx)tst-tininess): Use $(link-libm).
6099 ($(objpfx)tst-strtod-underflow): Likewise.
6101 2012-10-30 Andreas Jaeger <aj@suse.de>
6104 * elf/Makefile (tests): Remove conditional for have-initfini-array
6105 since this is now always required and the variable does not exist
6107 (tests-static): Likewise.
6108 (modules-names): Likewise.
6110 * po/eo.po: Add Esperanto translation from translation project.
6112 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6113 merged with constructor/destructor.
6114 (init_array): Likewise.
6115 * elf/tst-array2dep.c (fini_array): Likewise.
6116 (init_array): Likewise.
6118 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6120 * manual/message.texi: Delete @cartouche tags.
6122 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6124 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6126 * sysdeps/mach/hurd/fsync.c: Likewise.
6128 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6129 [_POSIX_REALTIME_SIGNALS]: Change condition to
6130 [_POSIX_REALTIME_SIGNALS > 0].
6132 2012-10-27 Andreas Jaeger <aj@suse.de>
6134 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6135 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6136 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6137 [__WORDSIZE != 64]: Likewise.
6139 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6141 * iconvdata/tst-table.sh: Remove ${SHELL}.
6142 * iconvdata/tst-tables.sh: Likewise.
6144 2012-10-25 David S. Miller <davem@davemloft.net>
6146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6147 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6152 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6153 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6154 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6157 2012-10-25 Roland McGrath <roland@hack.frob.com>
6159 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6160 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6163 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6164 Jim Blandy <jimb@codesourcery.com>
6166 * scripts/cross-test-ssh.sh: New file.
6167 * manual/install.texi (Configuring and compiling): Document use of
6169 * INSTALL: Regenerated.
6171 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6173 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6176 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6178 * Makeconfig (run-program-prefix): Fix comment.
6180 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6181 Jim Blandy <jimb@codesourcery.com>
6183 * Makeconfig (test-wrapper): New variable,
6184 (test-wrapper-env): Likewise.
6185 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6186 (run-built-tests): Define to yes.
6187 (run-program-prefix): Use $(test-wrapper).
6188 (built-program-cmd): Likewise.
6189 * Rules (make-test-out): Use $(test-wrapper-env) and
6190 $(host-built-program-cmd).
6191 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6192 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6194 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6195 $(test-wrapper-env) to tst-rtld-load-self.sh.
6196 ($(objpfx)order2.out): Use $(test-wrapper).
6197 ($(objpfx)tst-initorder.out): Likewise.
6198 ($(objpfx)tst-initorder2.out): Likewise.
6199 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6200 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6201 (test_wrapper_env): New variable. Use it to run ld.so.
6202 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6203 Use it to run ld.so.
6204 (test_wrapper_env): Likewise.
6205 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6206 $(test-wrapper) to run-iconv-test.sh.
6207 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6208 (ICONV): Use $test_wrapper.
6209 * posix/Makefile ($(objpfx)globtest.out): Pass
6210 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6211 globtest.sh, not $(run-program-prefix).
6212 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6213 (test_wrapper): Likewise.
6214 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6215 set together with run_via_rtld_prefix.
6216 (run_program_prefix): Define in terms of test_wrapper and
6217 run_via_rtld_prefix.
6219 2012-10-24 Roland McGrath <roland@hack.frob.com>
6221 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6222 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6226 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6227 Declare __clock_getres, __clock_gettime, __clock_settime,
6228 __clock_nanosleep, and __clock_getcpuclockid.
6229 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6230 Remove librt_hidden_def (clock_gettime).
6231 * sysdeps/unix/clock_gettime.c: Likewise.
6232 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6233 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6234 * rt/clock_getres.c: Define __clock_getres as an alias.
6235 * sysdeps/posix/clock_getres.c: Likewise.
6236 * rt/clock_settime.c: Define __clock_settime as an alias.
6237 * sysdeps/unix/clock_settime.c: Likewise.
6238 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6239 * sysdeps/unix/clock_nanosleep.c: Likewise.
6240 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6241 * rt/clock-compat.c: New file.
6242 * rt/Makefile (librt-routines): Add clock-compat and move
6243 $(clock-routines) to ...
6244 (routines): ... here, new variable.
6245 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6246 Don't add get_clockfreq here.
6247 * rt/Versions (libc: GLIBC_2.17): New version set.
6248 Add clock_* symbols here.
6249 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6250 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6251 (GLIBC_2.17): Add clock_* symbols.
6252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6254 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6263 * NEWS: Mention the move.
6265 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6266 Use __open, __read, __close rather than their public counterparts.
6267 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6268 (__get_clockfreq_via_cpuinfo): Likewise.
6269 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6270 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6272 * config.h.in (HAVE_IFUNC): New #undef.
6273 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6275 * configure: Regenerated.
6277 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6279 * configure.in: Move READELF check to start of file.
6280 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6281 libc_cv_asm_gnu_indirect_function in the process.
6282 * configure: Regenerated.
6284 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6286 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6287 send the output to /dev/null.
6288 (libc_cv_cc_with_libunwind): Likewise.
6289 (libc_cv_as_noexecstack): Likewise.
6290 * configure: Regenerate.
6292 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6294 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6296 * posix/globtest.sh (TMPDIR): Do not set.
6297 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6298 (testout): Likewise.
6300 2012-10-24 Andreas Jaeger <aj@suse.de>
6302 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6303 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6304 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6305 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6306 posix_fadvise64, posix_fallocate64.
6308 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6309 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6310 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6312 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6314 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6317 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6318 <bits/fcntl-linux.h>.
6319 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6321 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6322 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6323 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6324 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6325 [__WORDSIZE != 64]: Likewise.
6327 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6329 * Makeconfig (run-built-tests): New variable.
6330 * Rules [$(cross-compiling) = yes]: Change condition to
6331 [$(run-built-tests) = no].
6332 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6333 to [$(run-built-tests) = yes].
6334 * elf/Makefile [$(cross-compiling) = no]: Likewise
6335 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6336 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6337 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6338 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6339 * io/Makefile [$(cross-compiling) = no]: Likewise.
6340 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6341 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6342 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6343 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6344 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6345 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6346 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6347 * string/Makefile [$(cross-compiling) = no]: Likewise.
6349 * posix/Makefile ($(objpfx)globtest.out): Pass
6350 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6351 $(rtld-installed-name).
6352 * posix/globtest.sh (elf_objpfx): Remove variable.
6353 (rtld_installed_name): Likewise.
6354 (library_path): Likewise.
6355 (run_program_prefix): New variable. Use for running globtest
6358 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6359 Joseph Myers <joseph@codesourcery.com>
6361 * Makeconfig (host-built-program-cmd): New variable.
6362 * elf/Makefile (tst-stackguard1-ARGS): Use
6363 $(host-built-program-cmd).
6364 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6365 (tst-spawn-ARGS): Likewise.
6366 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6368 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6369 Jim Blandy <jimb@codesourcery.com>
6371 * Makeconfig (run-via-rtld-prefix): New variable.
6372 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6373 (built-program-cmd): Likewise.
6375 2012-10-22 Andreas Jaeger <aj@suse.de>
6377 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6378 __O_RSYNC if it exists, otherwise to O_SYNC.
6380 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6381 Joseph Myers <joseph@codesourcery.com>
6383 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6385 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6387 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6390 2012-10-22 Andreas Jaeger <aj@suse.de>
6392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6394 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6399 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6400 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6407 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6408 Joseph Myers <joseph@codesourcery.com>
6410 * config.make.in (NM): New variable.
6412 2012-10-21 Andreas Jaeger <aj@suse.de>
6414 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6415 definitions and declarations that are provided by
6416 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6418 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6421 * elf/Makefile (tests-static): Add tst-leaks1-static.
6422 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6423 ($(objpfx)tst-leaks1-static): New rule.
6424 ($(objpfx)tst-leaks1-static-mem): Likewise.
6425 (tst-leaks1-static-ENV): New macro.
6426 * elf/dl-open.c (dl_open_worker): Check the main application
6427 only if SHARED is defined.
6428 * elf/tst-leaks1-static.c: New file.
6430 2012-10-20 Andreas Jaeger <aj@suse.de>
6432 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6433 generic values for Linux.
6434 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6435 and declarations that are provided by <bits/fcntl-linux.h> and
6436 include <bits/fcntl-linux.h>.
6437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6440 2012-10-20 Roland McGrath <roland@hack.frob.com>
6442 * io/fcntl.h: Move include of <bits/types.h> to the top and
6443 include it unconditionally.
6445 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6447 * wcsmbs/Makefile (tests-ifunc): New variable.
6448 (tests): Add $(tests-ifunc).
6449 * wcsmbs/test-wcschr-ifunc.c: New file.
6450 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6451 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6452 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6453 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6454 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6456 * string/Makefile (tests-ifunc): New variable.
6457 (tests): Add $(tests-ifunc).
6458 * string/test-memccpy.c (TEST_NAME): New macro.
6459 * string/test-memchr.c (TEST_NAME): Likewise.
6460 * string/test-memcmp.c (TEST_NAME): Likewise.
6461 * string/test-memcpy.c (TEST_NAME): Likewise.
6462 * string/test-memmem.c (TEST_NAME): Likewise.
6463 * string/test-memmove.c (TEST_NAME): Likewise.
6464 * string/test-memset.c (TEST_NAME): Likewise.
6465 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6466 * string/test-stpcpy.c (TEST_NAME): Likewise.
6467 * string/test-stpncpy.c (TEST_NAME): Likewise.
6468 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6469 * string/test-strcasestr.c (TEST_NAME): Likewise.
6470 * string/test-strcat.c (TEST_NAME): Likewise.
6471 * string/test-strchr.c (TEST_NAME): Likewise.
6472 * string/test-strcmp.c(TEST_NAME): Likewise.
6473 * string/test-strcpy.c (TEST_NAME): Likewise.
6474 * string/test-strcspn.c (TEST_NAME): Likewise.
6475 * string/test-strlen.c (TEST_NAME): Likewise.
6476 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6477 * string/test-strncmp.c (TEST_NAME): Likewise.
6478 * string/test-strncpy.c (TEST_NAME): Likewise.
6479 * string/test-strnlen.c (TEST_NAME): Likewise.
6480 * string/test-strpbrk.c (TEST_NAME): Likewise.
6481 * string/test-strrchr.c (TEST_NAME): Likewise.
6482 * string/test-strspn.c (TEST_NAME): Likewise.
6483 * string/test-strstr.c (TEST_NAME): Likewise.
6484 * string/test-bcopy-ifunc.c: New file.
6485 * string/test-bzero-ifunc.c: Likewise.
6486 * string/test-memccpy-ifunc.c: Likewise.
6487 * string/test-memchr-ifunc.c: Likewise.
6488 * string/test-memcmp-ifunc.c: Likewise.
6489 * string/test-memcpy-ifunc.c: Likewise.
6490 * string/test-memmem-ifunc.c: Likewise.
6491 * string/test-memmove-ifunc.c: Likewise.
6492 * string/test-mempcpy-ifunc.c: Likewise.
6493 * string/test-memset-ifunc.c: Likewise.
6494 * string/test-rawmemchr-ifunc.c: Likewise.
6495 * string/test-stpcpy-ifunc.c: Likewise.
6496 * string/test-stpncpy-ifunc.c: Likewise.
6497 * string/test-strcasecmp-ifunc.c: Likewise.
6498 * string/test-strcasestr-ifunc.c: Likewise.
6499 * string/test-strcat-ifunc.c: Likewise.
6500 * string/test-strchr-ifunc.c: Likewise.
6501 * string/test-strchrnul-ifunc.c: Likewise.
6502 * string/test-strcmp-ifunc.c: Likewise.
6503 * string/test-strcpy-ifunc.c: Likewise.
6504 * string/test-strcspn-ifunc.c: Likewise.
6505 * string/test-strlen-ifunc.c: Likewise.
6506 * string/test-strncasecmp-ifunc.c: Likewise.
6507 * string/test-strncat-ifunc.c: Likewise.
6508 * string/test-strncmp-ifunc.c: Likewise.
6509 * string/test-strncpy-ifunc.c: Likewise.
6510 * string/test-strnlen-ifunc.c: Likewise.
6511 * string/test-strpbrk-ifunc.c: Likewise.
6512 * string/test-strrchr-ifunc.c: Likewise.
6513 * string/test-strspn-ifunc.c: Likewise.
6514 * string/test-strstr-ifunc.c: Likewise.
6516 * debug/Makefile (tests-ifunc): New variable.
6517 (tests): Add $(tests-ifunc).
6518 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6519 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6520 * debug/test-stpcpy_chk-ifunc.c: New file.
6521 * debug/test-strcpy_chk-ifunc.c: Likewise.
6523 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6526 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6527 header is not read in.
6529 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6531 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6532 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6533 directly. Pass built executable to script as
6534 $(built-program-cmd).
6535 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6536 $testprogram without using LD_LIBRARY_PATH and $ldso.
6538 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6539 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6540 $(rtld-installed-name).
6541 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6542 (rtld_installed_name): Likewise.
6543 (library_path): Likewise.
6544 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6545 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6546 $(run-program-prefix) to tst-tables.sh.
6547 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6548 it to run tst-table-from and tst-table-to.
6549 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6550 Pass it to tst-table.sh.
6551 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6552 $(run-program-prefix) to tst-gettext.sh.
6553 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6555 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6557 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6559 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6560 to run tst-gettext2.
6561 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6562 to run tst-translit.
6563 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6564 $(run-program-prefix) to tst-mtrace.sh.
6565 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6567 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6568 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6569 $(rtld-installed-name).
6570 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6571 (rtld_installed_name): Likewise.
6572 (run_program_prefix): New variable. Use it to run wordexp-test.
6574 * Makeconfig (ARCH): Remove all definitions.
6575 (machine): Likewise.
6576 [ARCH]: Remove conditional code.
6577 [!objdir]: Give error.
6578 [!objdir] (objpfx): Remove.
6579 [!objdir] (common-objpfx): Likewise.
6580 [!objdir] (common-objdir): Likewise.
6581 * configure.in (config_makefile): Remove. Hardcode Makefile in
6582 AC_CONFIG_FILES call.
6583 * configure: Regenerated.
6586 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6588 (testout): Likewise.
6590 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6591 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6592 $(rtld-installed-name).
6593 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6594 (rtld_installed_name): Likwise.
6595 (runit): Remove function.
6596 (run_getconf): New variable, Use it for running getconf binary.
6598 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6601 * string/test-memmem.c (check_result): New function.
6602 (do_one_test): Use it.
6603 (check1): New function.
6604 (test_main): Use it.
6606 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6608 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6610 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6612 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6613 (_G_LSEEK64): Likewise.
6614 (_G_MMAP64): Likewise.
6615 (_G_FSTAT64): Likewise.
6616 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6617 (_G_LSEEK64): Likewise.
6618 (_G_MMAP64): Likewise.
6619 (_G_FSTAT64): Likewise.
6620 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6621 unconditional. Call __mmap64 directly.
6622 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6623 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6625 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6626 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6628 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6629 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6631 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6632 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6634 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6635 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6637 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6638 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6639 __fxstat64 directly.
6640 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6641 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6643 (freopen64) [!_G_OPEN64]: Remove conditional code.
6644 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6646 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6647 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6649 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6650 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6652 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6653 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6655 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6656 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6658 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6659 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6661 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6662 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6664 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6666 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6669 * manual/memory.texi (Malloc Tunable Parameters): Add note
6670 about free list pointers overwriting some perturb bytes.
6671 Wording suggested by Roland McGrath.
6673 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6675 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6676 (lgamma_test): Likewise.
6677 (tgamma_test): Likewise.
6679 2012-10-16 Florian Weimer <fweimer@redhat.com>
6682 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6683 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6685 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6687 * NEWS: Mention BZ #14716.
6688 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6689 when removing AVAILABLE1_USES_J macro.
6691 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6693 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6694 (__bswap_64): __uint64_t for unsigned 64-bit int.
6696 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6698 * include/string.h (memmem): Declare libc hidden alias.
6699 * string/memmem.c (memmem): Define libc hidden alias.
6700 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6701 __read, __close instead of open, read, close.
6703 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6706 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6708 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6709 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6710 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6712 (__rawmemchr_sse2): Likewise.
6713 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6714 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6715 (__strchr_sse2): Likewise.
6716 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6717 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6718 (__strcasecmp_sse2): Likewise.
6719 (__strncasecmp_sse2): Likewise.
6720 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6721 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6722 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6723 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6724 (__strrchr_sse2): Likewise.
6725 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6727 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6728 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6729 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6730 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6731 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6732 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6733 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6734 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6735 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6736 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6737 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6738 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6739 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6740 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6741 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6742 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6743 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6744 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6745 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6746 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6747 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6748 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6749 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6750 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6751 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6752 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6753 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6754 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6755 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6756 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6758 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6760 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6761 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6762 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6763 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6765 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6767 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6768 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6769 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6770 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6772 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6773 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6774 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6775 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6776 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6777 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6778 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6779 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6780 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6781 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6782 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6783 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6784 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6785 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6786 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6787 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6788 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6789 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6790 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6791 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6792 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6793 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6794 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6795 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6796 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6797 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6798 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6799 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6800 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6801 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6802 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6803 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6804 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6805 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6806 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6807 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6808 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6809 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6810 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6811 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6812 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6814 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6815 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6816 * include/ifunc-impl-list.h: New file.
6817 * misc/ifunc-impl-list.c: Likewise.
6818 * misc/Makefile (routines): Add ifunc-impl-list.
6819 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6820 * string/test-string.h: Include <ifunc-impl-list.h>.
6821 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6822 impl_array): New variables.
6823 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6825 (test_init): Call __libc_ifunc_impl_list to initialize
6826 func_list if TEST_IFUNC and TEST_NAME are defined.
6828 * string/Makefile (strop-tests): Add bcopy and bzero.
6829 * string/test-bcopy.c: New file.
6830 * string/test-bzero.c: Likewise.
6831 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6833 * string/test-memset.c: Support bzero test if TEST_BZERO is
6835 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6837 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6839 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6842 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6844 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6845 * configure: Regenerated.
6847 * Makeconfig (+link-static-before-libc): Don't include
6848 $(link-static-libc).
6850 * libio/libio.h (_IO_pos_t): Remove.
6852 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6854 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6857 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6859 * crypt/crypt-entry.c: Include fips-private.h.
6860 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6861 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6862 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6863 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6865 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6867 * crypt/crypt-private.h: Include stdbool.h.
6868 (_ufc_setup_salt_r): Return bool.
6869 * crypt/crypt-entry.c: Include errno.h.
6870 (__crypt_r): Return NULL with EINVAL for bad salt.
6871 * crypt/crypt_util.c (bad_for_salt): New.
6872 (_ufc_setup_salt_r): Check that salt is long enough and within
6873 the specified alphabet.
6874 * crypt/badsalttest.c: New file.
6875 * crypt/Makefile (tests): Add it.
6876 ($(objpfx)badsalttest): New.
6878 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6880 * NEWS: Add entry for BZ #14602.
6882 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6884 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6886 * math/libm-test.inc: Update comment listing what functions and
6888 (isgreater_test): New function.
6889 (isgreaterequal_test): Likewise.
6890 (isless_test): Likewise.
6891 (islessequal_test): Likewise.
6892 (islessgreater_test): Likewise.
6893 (isunordered_test): Likewise.
6894 (main): Call the new functions.
6896 2012-10-09 Roland McGrath <roland@hack.frob.com>
6898 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6899 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6900 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6901 * sysdeps/i386/configure: Regenerated.
6902 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6903 * sysdeps/mach/configure: Regenerated.
6904 * sysdeps/mach/hurd/configure: Regenerated.
6905 * sysdeps/powerpc/configure: Regenerated.
6906 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6907 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6908 * sysdeps/s390/s390-32/configure: Regenerated.
6909 * sysdeps/s390/s390-64/configure: Regenerated.
6910 * sysdeps/sh/configure: Regenerated.
6911 * sysdeps/sparc/configure: Regenerated.
6912 * sysdeps/unix/sysv/linux/configure: Regenerated.
6913 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6914 * sysdeps/x86_64/configure: Regenerated.
6916 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6917 defined. Don't check if MAP is NULL.
6919 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6921 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6922 (_G_stat64): Likewise.
6923 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6924 (_G_stat64): Likewise.
6925 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6926 instead of struct _G_stat64.
6927 * libio/fileops.c (mmap_remap_check): Likewise.
6928 (decide_maybe_mmap): Likewise.
6929 (_IO_new_file_seekoff): Likewise.
6930 (_IO_file_stat): Likewise.
6931 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6933 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6934 instead of struct _G_stat64.
6935 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6937 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6940 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6942 (CHECK_EOL): New macro.
6943 (two_way_short_needle): Check beginning of haystack for EOL. Use
6945 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6946 Replace with CHECK_EOL.
6947 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6948 Replace with CHECK_EOL.
6950 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6952 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6954 * math/libm-test.inc: Update comment listing what functions and
6956 (finite_test): New function.
6957 (isinf_test): Likewise.
6958 (isnan_test): Likewise.
6959 (fpclassify_test): Test subnormal input.
6960 (isfinite_test): Likewise.
6961 (isnormal_test): Likewise.
6962 (main): Call the new functions.
6964 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6967 * Makerules (%.dynsym): Force C locale when running
6968 $(OBJDUMP) --dynamic-syms.
6970 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6972 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6975 2012-10-06 David S. Miller <davem@davemloft.net>
6977 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6978 upper 32-bits of the length value in %o2 since we use branch-on-register
6979 tests which consider the entire 64-bit register.
6981 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6983 * string/test-strstr.c (check2): Add a test for page boundary.
6985 2012-10-05 David S. Miller <davem@davemloft.net>
6987 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6988 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6990 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6992 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6993 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6994 and bzero when HWCAP_SPARC_CRYPTO is present.
6996 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6999 * string/test-strstr.c (check2): New function.
7000 (test_main): Call check2.
7002 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7004 * string/bug-strcasestr1.c (do_test): Moved to ...
7005 * string/test-strcasestr.c (check1): Here. New function.
7006 (do_one_test): Break out result checking code into ...
7007 (check_result): This. New function.
7008 (do_one_test): Call check_result.
7009 (test_main): Call check1.
7010 * string/bug-strchr1.c (do_test): Moved to ...
7011 * string/test-strchr.c (check1): Here. New function.
7012 (do_one_test): Break out result checking code into ...
7013 (check_result): This. New function.
7014 (do_one_test): Call check_result.
7015 (test_main): Call check1.
7016 * string/bug-strstr1.c (main): Moved to ...
7017 * string/test-strstr.c (check1): Here. New function.
7018 (do_one_test): Break out result checking code into ...
7019 (check_result): This. New function.
7020 (do_one_test): Call check_result.
7021 (test_main): Call check1.
7022 * string/bug-strcasestr1.c: Removed.
7023 * string/bug-strchr1.c: Likewise.
7024 * string/bug-strstr1.c: Likewise.
7026 * elf/Makefile (dl-routines): Add hwcaps.
7027 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7028 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7029 (_dl_important_hwcaps): Moved to ...
7030 * elf/dl-hwcaps.c: Here. New file.
7031 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7034 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7035 if IS_IN_rtld isn't defined.
7037 * elf/dl-support.c (_dl_sysinfo_map): New.
7038 Include "get-dynamic-info.h" and "setup-vdso.h".
7039 (_dl_non_dynamic_init): Call setup_vdso.
7040 * elf/dynamic-link.h: Don't include <assert.h>.
7041 (elf_get_dynamic_info): Moved to ...
7042 * elf/get-dynamic-info.h: Here. New file.
7043 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7044 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7045 * elf/setup-vdso.h: Here. New file.
7046 * elf/rtld.c: Include "setup-vdso.h".
7047 (dl_main): Call setup_vdso.
7049 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7051 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7052 creal in comment listing functions tested. List finite, isinf,
7053 isnan, isless, islessequal, isgreater, isgreaterequal,
7054 islessgreater, isunordered, lgamma_r and pow10 as functions and
7055 macros not tested. Mention which functions not tested are aliases
7056 for other functions. Fix typo. Note that signs of NaNs are not
7059 * scripts/config.guess: Update from config.git.
7060 * scripts/config.sub: Likewise.
7062 2012-10-04 Roland McGrath <roland@hack.frob.com>
7064 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7065 * misc/madvise.c (madvise): Renamed to __madvise.
7066 Make madvise a weak alias.
7067 * include/sys/mman.h: Declare __madvise.
7068 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7069 * sysdeps/unix/syscalls.list
7070 (madvise): Make __madvise the strong name, and madvise a weak alias.
7071 * sysdeps/unix/sysv/linux/syscalls.list
7072 (madvise, mmap): Remove redundant entries.
7073 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7074 * malloc/malloc.c (mtrim): Likewise.
7075 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7077 2012-10-03 Roland McGrath <roland@hack.frob.com>
7079 * sysdeps/mach/hurd/dl-cache.c: File removed.
7080 * config.h.in (USE_LDCONFIG): New #undef.
7081 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7082 * configure: Regenerated.
7083 * elf/Makefile (dl-routines): Add dl-cache only under
7084 [$(use-ldconfig) = yes].
7085 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7086 cache on [USE_LDCONFIG].
7087 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7089 * elf/rtld.c (dl_main): Likewise.
7091 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7093 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7094 _SC_LEVEL4_CACHE_LINESIZE.
7096 2012-10-03 Roland McGrath <roland@hack.frob.com>
7098 * sysdeps/unix/bsd/confstr.h: File removed.
7100 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7102 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7105 2012-10-02 Roland McGrath <roland@hack.frob.com>
7107 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7108 Make 'mapoff' field ElfW(Off) rather than off_t.
7110 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7112 * nscd/Makefile: Remove nscd-cflags and all its users.
7113 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7114 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7117 * malloc.c (malloc_printerr): Clarify error message.
7119 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7123 Set bit_FMA_Usable if FMA is supported.
7124 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7126 (bit_FMA4_Usable): Updated.
7127 (index_FMA_Usable): New macro.
7128 (CPUID_FMA): Likewise
7129 (HAS_FMA): Defined with bit_FMA_Usable.
7131 2012-10-01 Roland McGrath <roland@hack.frob.com>
7133 * bits/types.h (__swblk_t): Type removed.
7134 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7135 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7136 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7137 (__SWBLK_T_TYPE): Likewise.
7138 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7139 (__SWBLK_T_TYPE): Likewise.
7140 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7141 (__SWBLK_T_TYPE): Likewise.
7142 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7143 (__SWBLK_T_TYPE): Likewise.
7145 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7146 Honza Horak <hhorak@redhat.com>
7148 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7149 (xdr_mapname): Use YPMAXMAP as maxsize.
7150 (xdr_peername): Use YPMAXPEER as maxsize.
7151 (xdr_keydat): Use YPAXRECORD as maxsize.
7152 (xdr_valdat): Use YPMAXRECORD as maxsize.
7154 2012-10-01 Roland McGrath <roland@hack.frob.com>
7156 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7158 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7159 * csu/init-first.c: ... here.
7160 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7161 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7162 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7163 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7164 * sysdeps/i386/init-first.c: File removed.
7165 * sysdeps/sh/init-first.c: File removed.
7167 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7171 if x * y might underflow to zero and z is zero.
7172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7173 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7174 * math/libm-test.inc (min_subnorm_value): New variable.
7175 (fma_test): Add more tests.
7176 (fma_test_towardzero): Likewise.
7177 (fma_test_downward): Likewise
7178 (fma_test_upward): Likewise.
7179 (initialize): Set min_subnorm_value.
7181 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7186 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7187 mode for addition resulting in exact zero.
7188 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7191 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7192 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7193 * math/libm-test.inc (fma_test): Add more tests.
7194 (fma_test_towardzero): New function.
7195 (fma_test_downward): Likewise.
7196 (fma_test_upward): Likewise.
7197 (main): Call the new functions.
7199 2012-09-28 David S. Miller <davem@davemloft.net>
7201 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7203 2012-09-28 Roland McGrath <roland@hack.frob.com>
7205 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7208 * sysdeps/gnu/_G_config.h: Moved to ...
7209 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7210 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7211 * sysdeps/generic/_G_config.h: ... here.
7213 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7215 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7217 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7218 Conditionalize target on [libnss_test1.so-version].
7220 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7222 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7223 (elfobjdir): Move out of conditionals.
7225 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7226 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7227 (__nss_lookup_function): Conditionalize label remove_from_tree on
7228 [!DO_STATIC_NSS || SHARED], matching its only use.
7230 2012-09-28 David S. Miller <davem@davemloft.net>
7232 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7233 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7235 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7237 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7238 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7239 when HWCAP_SPARC_CRYPTO is present.
7241 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7243 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7245 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7248 * stdio-common/vfprintf.c (process_string_arg): Revert
7251 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7253 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7255 * stdio-common/tst-sprintf.c: Include <locale.h>
7256 (main): Test sprintf's handling of incomplete multibyte
7259 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7261 * elf/dl-runtime.c (VERSYMIDX): Removed.
7262 * elf/dl-version.c (VERSYMIDX): Likewise.
7263 * elf/do-rel.h (VERSYMIDX): Likewise.
7265 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7266 * elf/rtld.c (VALIDX): Likewise.
7267 (ADDRIDX): Likewise.
7268 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7269 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7270 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7271 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7273 (ADDRIDX): Likewise.
7275 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7277 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7279 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7282 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7284 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7285 addresses are in the same scope as 192.0.2/24.
7286 * posix/gai.conf: Document new scope table defaults.
7288 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7291 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7292 for ftell. Compute offsets from write pointers instead.
7293 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7295 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7298 * libio/Makefile (tests): New test case tst-fseek.
7299 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7300 combination works in wide mode.
7301 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7302 state when the external buffer state changes.
7304 2012-09-27 David S. Miller <davem@davemloft.net>
7307 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7308 pass reloc->r_addend in as the 'high' argument to
7309 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7313 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7315 * rt/tst-aio2.c: Include <pthread.h>.
7316 * rt/tst-aio3.c: Likewise.
7318 2012-09-27 Steve Ellcey <sellcey@mips.com>
7320 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7322 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7324 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7325 contents on [SHARED].
7327 2012-09-26 Marek Polacek <polacek@redhat.com>
7331 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7332 for C++ and GCC <4.3 as well as for non GCC compilers.
7334 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7338 2012-09-25 Roland McGrath <roland@hack.frob.com>
7340 * Makefile.in (all, install): Declare with .PHONY.
7341 Reported by Michael Hope <michael.hope@linaro.org>.
7343 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7345 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7346 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7348 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7350 (sydep_routines): Add the new and the internal functions.
7351 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7352 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7354 (GLIBC_2.17): Add the new function.
7355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7356 (GLIBC_2.17): Likewise.
7357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7358 (GLIBC_2.17): Likewise.
7359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7360 (GLIBC_2.17): Likewise.
7361 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7363 2012-09-25 Alan Modra <amodra@gmail.com>
7365 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7366 Add release barrier before setting once_control to say
7367 initialisation is done. Add hints on lwarx. Use macro in
7369 (clear_once_control): Add release barrier.
7371 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7374 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7376 * math/s_clog10.c (__clog10): Likewise.
7377 * math/s_clog10f.c (__clog10f): Likewise.
7378 * math/s_clog10l.c (__clog10l): Likewise.
7379 * math/s_clogf.c (__clogf): Likewise.
7380 * math/s_clogl.c (__clogl): Likewise.
7381 * math/Makefile (libm-calls): Add x2y2m1.
7382 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7383 (__x2y2m1): Likewise.
7384 (__x2y2m1l): Likewise.
7385 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7386 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7389 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7390 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7391 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7392 * sysdeps/i386/fpu/libm-test-ulps: Update.
7393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7396 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7397 int as type of variable DEPTH.
7398 (glob): Use size_t instead of int as type of variables NEWCOUNT
7401 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7403 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7405 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7406 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7407 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7408 macros for using routine as __sincosf_ia32.
7409 Use macro for function declaration and weak_alias.
7410 * sysdeps/i386/fpu/libm-test-ulps: Update.
7412 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7415 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7417 * math/s_cexpf.c (__cexpf): Likewise.
7418 * math/s_csinf.c (__csinf): Likewise.
7419 * math/s_csinhf.c (__csinhf): Likewise.
7420 * math/s_ctanf.c (__ctanf): Likewise.
7421 * math/s_ctanhf.c (__ctanhf): Likewise.
7422 * math/s_ccosh.c (__ccoshf): Likewise.
7423 * math/s_cexp.c (__cexpl): Likewise.
7424 * math/s_csin.c (__csin): Likewise.
7425 * math/s_csinh.c (__csinh): Likewise.
7426 * math/s_ctan.c (__ctan): Likewise.
7427 * math/s_ctanh.c (ctanh): Likewise.
7428 * math/s_ccoshl.c (__ccoshl): Likewise.
7429 * math/s_cexpl.c (__cexpl): Likewise.
7430 * math/s_csinl.c (__csinl): Likewise.
7431 * math/s_csinhl.c (__csinhl): Likewise.
7432 * math/s_ctanl.c (__ctanl): Likewise.
7433 * math/s_ctanhl.c (__ctanhl): Likewise.
7435 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7437 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7438 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7439 (_IO_off_t): Define to __off_t, not _G_off_t.
7440 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7441 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7442 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7443 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7444 type of __dummy and __dummy2 fields.
7445 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7446 (_G_ssize_t): Likewise.
7447 (_G_off_t): Likewise.
7448 (_G_pid_t): Likewise.
7449 (_G_uid_t): Likewise.
7450 (_G_wchar_t): Likewise.
7451 (_G_wint_t): Likewise.
7452 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7453 (_G_ssize_t): Likewise.
7454 (_G_off_t): Likewise.
7455 (_G_pid_t): Likewise.
7456 (_G_uid_t): Likewise.
7457 (_G_wchar_t): Likewise.
7458 (_G_wint_t): Likewise.
7459 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7460 (_G_ssize_t): Likewise.
7461 (_G_off_t): Likewise.
7462 (_G_pid_t): Likewise.
7463 (_G_uid_t): Likewise.
7464 (_G_wchar_t): Likewise.
7465 (_G_wint_t): Likewise.
7467 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7469 * malloc/arena.c: Include malloc-sysdep.h.
7470 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7471 is sufficient to shrink the heap or an unmap is needed.
7472 * sysdeps/generic/malloc-sysdep.h: New file. Define
7473 new function check_may_shrink_heap.
7474 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7475 new function check_may_shrink_heap.
7477 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7479 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7482 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7484 * catgets/test-gencat.sh: Add "set -e".
7485 * elf/tst-pathopt.sh: Likewise.
7486 * grp/tst_fgetgrent.sh: Likewise.
7487 * iconvdata/run-iconv-test.sh: Likewise.
7488 * intl/tst-gettext.sh: Likewise.
7489 * intl/tst-gettext2.sh: Likewise.
7490 * intl/tst-gettext4.sh: Likewise.
7491 * intl/tst-gettext6.sh: Likewise.
7492 * intl/tst-translit.sh: Likewise.
7493 * io/ftwtest-sh: Likewise.
7494 * libio/test-freopen.sh: Likewise.
7495 * malloc/tst-mtrace.sh: Likewise.
7496 * posix/globtest.sh: Likewise.
7497 * posix/tst-getconf.sh: Likewise.
7498 * posix/wordexp-tst.sh: Likewise.
7499 * stdio-common/tst-printf.sh: Likewise.
7500 * stdio-common/tst-unbputc.sh: Likewise.
7501 * stdlib/tst-fmtmsg.sh: Likewise.
7502 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7503 * catgets/Makefile: Do not specify -e option when running
7504 testsuite shell scripts.
7505 * elf/Makefile: Likewise.
7506 * grp/Makefile: Likewise.
7507 * iconvdata/Makefile: Likewise.
7508 * intl/Makefile: Likewise.
7509 * io/Makefile: Likewise.
7510 * libio/Makefile: Likewise.
7511 * malloc/Makefile: Likewise.
7512 * posix/Makefile: Likewise.
7513 * stdio-common/Makefile: Likewise.
7514 * stdlib/Makefile: Likewise.
7515 * sysdeps/x86_64/Makefile: Likewise.
7517 * io/ftwtest-sh: Add copyright header.
7518 * posix/globtest.sh: Likewise.
7519 * posix/tst-getconf.sh: Likewise.
7520 * posix/wordexp-tst.sh: Likewise.
7521 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7523 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7526 * Makeconfig (+link): Defined as $(+link-static) if
7527 $(build-shared) isn't yes.
7528 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7530 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7532 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7535 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7536 new chunk size with MALLOC_ALIGN_MASK.
7538 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7541 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7543 (__printf_fphex): Determine rounding using get_rounding_mode and
7545 * stdio-common/tst-printf-round.c (struct hex_test): New
7547 (hex_tests): New variable.
7548 (test_hex_in_one_mode): New function.
7549 (do_test): Also run tests for hex float output.
7551 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7553 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7554 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7555 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7556 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7557 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7558 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7559 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7560 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7562 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7564 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7565 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7566 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7567 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7569 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7572 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7574 * elf/tst-rtld-load-self.sh: New test.
7575 * elf/Makefile: Run it.
7577 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7579 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7580 (tst-writev-ENV): Remove.
7581 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7583 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7585 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7587 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7589 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7591 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7593 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7594 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7595 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7598 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7601 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7602 * config.make.in (have-cpp-asm-debuginfo): Removed.
7603 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7604 * configure: Regenerated.
7606 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7609 * stdio-common/printf_fp.c: Include <stdbool.h> and
7611 (___printf_fp): Determine rounding using get_rounding_mode and
7613 * stdio-common/tst-printf-round.c: New file.
7614 * stdio-common/Makefile (tests): Add tst-printf-round.
7615 (link-libm): New variable.
7616 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7618 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7621 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7622 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7624 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7627 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7629 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7630 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7631 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7632 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7634 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7637 * include/rounding-mode.h: New file.
7638 * sysdeps/generic/get-rounding-mode.h: Likewise.
7639 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7640 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7641 (MAX_VALUE): New macro.
7642 (MIN_VALUE): Likewise.
7643 (overflow_value): New function.
7644 (underflow_value): Likewise.
7645 (round_and_return): Use overflow_value and underflow_value to
7646 determine return values in overflow and underflow cases. Use
7647 round_away to determine rounding depending on rounding mode.
7648 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7649 determine return values in overflow and underflow cases.
7650 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7651 (struct test_results): New structure.
7652 (struct test): Use struct test_results to store expected results
7653 for all rounding modes.
7654 (TEST): Include expected results for all rounding modes.
7655 (test_in_one_mode): New function.
7656 (do_test): Use test_in_one_mode to compute and check results.
7657 Check results for all rounding modes.
7658 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7661 2012-12-09 Allan McRae <allan@archlinux.org>
7663 * sysdeps/i386/fpu/libm-test-ulps: Update
7665 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7667 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7668 (_G_int32_t): Likewise.
7669 (_G_uint16_t): Likewise.
7670 (_G_uint32_t): Likewise.
7671 (_G_HAVE_BOOL): Likewise.
7672 (_G_HAVE_ATEXIT): Likewise.
7673 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7674 (_G_HAVE_IO_FILE_OPEN): Likewise.
7675 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7676 (_G_int32_t): Likewise.
7677 (_G_uint16_t): Likewise.
7678 (_G_uint32_t): Likewise.
7679 (_G_HAVE_BOOL): Likewise.
7680 (_G_HAVE_ATEXIT): Likewise.
7681 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7682 (_G_HAVE_IO_FILE_OPEN): Likewise.
7683 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7684 (_G_int32_t): Likewise.
7685 (_G_uint16_t): Likewise.
7686 (_G_uint32_t): Likewise.
7687 (_G_HAVE_BOOL): Likewise.
7688 (_G_HAVE_ATEXIT): Likewise.
7689 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7690 (_G_HAVE_IO_FILE_OPEN): Likewise.
7692 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7694 * csu/libc-tls.c: Update copyright years.
7696 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7698 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7699 [!_G_USING_THUNKS]: Remove conditional code.
7700 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7701 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7703 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7704 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7705 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7706 (_G_VTABLE_LABEL_PREFIX): Likewise.
7707 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7708 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7709 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7710 (_G_VTABLE_LABEL_PREFIX): Likewise.
7711 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7712 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7713 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7714 (_G_VTABLE_LABEL_PREFIX): Likewise.
7715 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7717 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7719 * libio/Makefile: Include ../Makeconfig before tests.
7720 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7721 only if $(build-shared) is yes.
7723 * iconv/gconv_db.c: Update copyright years.
7725 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7727 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7728 unwind info if defined PIC. Fix special cases description.
7729 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7731 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7733 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7735 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7737 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7739 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7742 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7743 (LDLIBS-tst-chk4): This.
7744 (LDFLAGS-tst-chk5): Renamed to ...
7745 (LDLIBS-tst-chk5): This.
7746 (LDFLAGS-tst-chk6): Renamed to ...
7747 (LDLIBS-tst-chk6): This.
7748 (LDFLAGS-tst-lfschk4): Renamed to ...
7749 (LDLIBS-tst-lfschk4): This.
7750 (LDFLAGS-tst-lfschk5): Renamed to ...
7751 (LDLIBS-tst-lfschk5): This.
7752 (LDFLAGS-tst-lfschk6): Renamed to ...
7753 (LDLIBS-tst-lfschk6): This.
7755 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7756 on $(common-objpfx)soversions.mk.
7758 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7761 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7764 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7766 * malloc/arena.c (arena_get_retry): New function that gets
7767 another arena for the caller to try its request on.
7768 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7769 current arena cannot fulfill the request.
7770 (__libc_memalign): Likewise.
7771 (__libc_memalign): Likewise.
7772 (__libc_pvalloc): Likewise.
7773 (__libc_calloc): Likewise.
7775 2012-09-05 John Tobey <john.tobey@gmail.com>
7778 * manual/arith.texi (Operations on Complex): Fix description
7781 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7784 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7788 * manual/memory.texi (Memory): Make order of menu items match
7791 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7793 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7794 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7795 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7797 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7799 * csu/libc-tls.c (static_dtv): Renamed to ...
7800 (_dl_static_dtv): This. Make it global.
7801 (_dl_initial_dtv): Removed.
7802 (__libc_setup_tls): Updated.
7803 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7804 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7807 2012-09-06 Petr Machata <pmachata@redhat.com>
7809 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7810 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7811 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7812 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7814 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7817 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7818 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7821 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7824 * Makeconfig (link-static-before-libc): Replace $(+prector)
7826 (link-static-after-libc): Replace $(+postctor) with
7828 (link-bounded): Replace $(+prector)/$(+postctor) with
7829 $(+prectorT)/$(+postctorT).
7830 (+prectorT): New macro.
7831 (+postctorT): Likewise.
7833 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7835 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7836 (round_str): Handle values above the maximum for IBM long double
7838 * stdlib/tst-strtod-round.c (tests): Regenerated.
7840 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7842 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7844 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7845 zarch_nohighgprs around the zarch optimized routines.
7846 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7847 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7848 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7851 2012-09-05 David S. Miller <davem@davemloft.net>
7853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7855 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7856 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7857 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7858 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7861 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7863 * malloc/arena.c: Fold copyright years.
7864 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7866 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7868 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7870 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7872 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7874 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7876 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7877 change internal state upon failure.
7879 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7881 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7882 * malloc/memusage.c (mmap): Likewise.
7883 (mmap64, mremap): Likewise. Adjust name in comment.
7885 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7887 * libio/fileops.c: Fix typos in comments.
7888 * libio/oldfileops.c: Likewise.
7889 * libio/wfileops.c: Likewise.
7891 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7894 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7895 (tst-malloc-usable-ENV): Set environment for test case.
7896 * malloc/hooks.c (malloc_check_get_size): New function to get
7898 * malloc/malloc.c (musable): Use malloc_check_get_size.
7899 * malloc/tst-malloc-usable.c: New test case.
7901 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7903 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7905 2012-09-05 Allan McRae <allan@archlinux.org>
7908 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7909 determine header location.
7910 * configure: Regenerated.
7912 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7914 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7916 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7917 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7921 2012-09-04 David S. Miller <davem@davemloft.net>
7923 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7924 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7925 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7927 2012-09-04 Florian Weimer <fweimer@redhat.com>
7929 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7932 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7934 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7937 * libio/iogetdelim.c: Include <limits.h>.
7938 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7939 + len + 1 would overflow.
7941 2012-09-03 Andreas Jaeger <aj@suse.de>
7943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7944 * sysdeps/i386/fpu/libm-test-ulps: Update.
7946 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7948 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7949 Add s_sinf-sse2, s_conf-sse2.
7951 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7952 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7953 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7954 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7956 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7957 for using routine as __sinf_ia32.
7958 Use macro for function declaration and weak_alias.
7959 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7960 for using routine as __cosf_ia32.
7961 Use macro for function declaration and weak_alias.
7963 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7964 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7966 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7967 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7970 * math/libm-test.inc (cos_test): Add more test cases.
7971 (sin_test): Likewise.
7972 (sincos_test): Likewise.
7974 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7976 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7977 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7979 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7981 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7984 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7985 first element of the GOT.
7986 (elf_machine_load_address): Return the difference between
7987 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7989 2012-09-01 Allan McRae <allan@archlinux.org>
7992 * configure.in (AWK): Require gawk version 3.0 or later.
7993 * configure: Regenerated.
7995 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7997 * sysdeps/unix/sysv/linux/kernel-features.h
7998 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7999 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8000 [__NR_clock_getres]: Make code unconditional.
8001 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8002 (clock_getcpuclockid): Remove code left unreachable by removal of
8004 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8006 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8007 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8008 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8009 Make code unconditional.
8010 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8011 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8012 * sysdeps/unix/sysv/linux/clock_settime.c
8013 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8015 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8016 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8018 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8021 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8022 scripts/test-installation.pl.
8024 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8025 and $ld_so_version if it is set.
8027 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8030 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8031 failure if reading from procfs failed.
8032 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8034 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8036 * sysdeps/unix/sysv/linux/kernel-features.h
8037 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8038 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8039 Remove conditional code.
8040 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8041 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8042 Remove conditional code.
8043 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8044 * sysdeps/unix/sysv/linux/i386/fxstat.c
8045 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8046 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8047 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8048 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8049 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8050 * sysdeps/unix/sysv/linux/i386/lxstat.c
8051 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8052 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8053 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8054 Remove conditional code.
8055 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8056 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8057 Remove conditional code.
8058 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8059 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8060 <kernel-features.h>.
8061 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8063 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8064 Remove conditional code.
8065 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8066 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8069 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8072 * NEWS: Add fixed bug number.
8074 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8077 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8078 underflowing exponent in case of negative sign.
8079 * stdlib/tst-strtod-round-data: Add more tests.
8080 * stdlib/tst-strtod-round.c (tests): Regenerated.
8083 * stdlib/strtod_l.c (NDIG): Remove.
8084 (HEXNDIG): Likewise.
8085 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8086 smallest representable value.
8087 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8088 lie within an exact representation of 1/2 ulp of the result.
8089 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8091 (TENS_P9_IDX): Define unconditionally.
8092 (TENS_P9_SIZE): Likewise.
8093 (TENS_P10_IDX): Likewise.
8094 (TENS_P10_SIZE): Likewise.
8095 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8096 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8097 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8098 entries for 10^2^13 and 10^2^14.
8099 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8100 (TENS_P13_IDX): Define.
8101 (TENS_P13_SIZE): Likewise.
8102 (TENS_P14_IDX): Likewise.
8103 (TENS_P14_SIZE): Likewise.
8104 (_fpioconst_pow10): Change array size to
8105 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8107 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8108 1024]: Add entries for 10^2^13 and 10^2^14.
8109 [LAST_POW10 > _LAST_POW10]: Remove #error.
8110 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8111 (_fpioconst_pow10): Change array size to
8112 FPIOCONST_POW10_ARRAY_SIZE.
8113 * stdlib/gen-fpioconst.c: New file.
8114 * stdlib/gen-tst-strtod-round.c: Likewise.
8115 * stdlib/tst-strtod-round-data: Likewise.
8116 * stdlib/tst-strtod-round.c: Likewise.
8117 * stdlib/Makefile (tests): Add tst-strtod-round.
8120 * stdlib/strtod_l.c: Include <stdint.h>.
8121 (NDEBUG): Do not define.
8122 (round_and_return): Change EXPONENT parameter to type intmax_t.
8123 Rearrange calculations to avoid internal overflow possibilities.
8124 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8125 Rearrange calculations to avoid internal overflow possibilities.
8126 Assert that number fits inside MPNSIZE limbs.
8127 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8128 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8129 calculations and add assertions to avoid internal overflow
8130 possibilities. Add casts to avoid signed/unsigned operations.
8131 * stdlib/tst-strtod-overflow.c: New file.
8132 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8134 2012-08-25 Marek Polacek <polacek@redhat.com>
8136 * time/time.h: Fix some typos in comments.
8138 2012-08-23 Roland McGrath <roland@hack.frob.com>
8140 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8141 * posix/tst-rfc3484-2.c: Likewise.
8142 * posix/tst-rfc3484-3.c: Likewise.
8144 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8146 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8147 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8149 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8151 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8152 #include of fxstatat64.c.
8154 2012-08-22 Roland McGrath <roland@hack.frob.com>
8156 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8157 * shadow/getspent_r.c: Likewise.
8158 * shadow/getspnam.c: Likewise.
8159 * shadow/getspnam_r.c: Likewise.
8160 * gshadow/getsgent.c: Likewise.
8161 * gshadow/getsgent_r.c: Likewise.
8162 * gshadow/getsgnam.c: Likewise.
8163 * gshadow/getsgnam_r.c: Likewise.
8164 * inet/getnetbyad.c: Likewise.
8165 * inet/getnetbyad_r.c: Likewise.
8166 * inet/getnetbynm.c: Likewise.
8167 * inet/getnetbynm_r.c: Likewise.
8168 * inet/getnetent.c: Likewise.
8169 * inet/getnetent_r.c: Likewise.
8170 * inet/getproto.c: Likewise.
8171 * inet/getproto_r.c: Likewise.
8172 * inet/getprtent.c: Likewise.
8173 * inet/getprtent_r.c: Likewise.
8174 * inet/getprtname.c: Likewise.
8175 * inet/getprtname_r.c: Likewise.
8176 * inet/getrpcbyname.c: Likewise.
8177 * inet/getrpcbyname_r.c: Likewise.
8178 * inet/getrpcbynumber.c: Likewise.
8179 * inet/getrpcbynumber_r.c: Likewise.
8180 * inet/getrpcent.c: Likewise.
8181 * inet/getrpcent_r.c: Likewise.
8182 * inet/getaliasent.c: Likewise.
8183 * inet/getaliasent_r.c: Likewise.
8184 * inet/getaliasname.c: Likewise.
8185 * inet/getaliasname_r.c: Likewise.
8186 * nscd/getgrgid_r.c: Likewise.
8187 * nscd/getgrnam_r.c: Likewise.
8188 * nscd/gethstbyad_r.c: Likewise.
8189 * nscd/gethstbynm3_r.c: Likewise.
8190 * nscd/getpwnam_r.c: Likewise.
8191 * nscd/getpwuid_r.c: Likewise.
8192 * nscd/getsrvbynm_r.c: Likewise.
8193 * nscd/getsrvbypt_r.c: Likewise.
8194 * nscd/gai.c: Likewise.
8196 * configure.in (build_nscd): New substituted variable, set
8197 by --disable-build-nscd and defaults to $use_nscd.
8198 * configure: Regenerated.
8199 * config.make.in (build-nscd): New substituted variable.
8200 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8201 Change conditional to require [$(build-nscd) = yes] as well.
8202 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8205 * configure.in (use_nscd): New substituted variable, set by
8206 --disable-nscd. If enabled, define USE_NSCD.
8207 * configure: Regenerated.
8208 * config.h.in: Add USE_NSCD.
8209 * config.make.in (use-nscd): New substituted variable.
8210 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8211 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8212 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8213 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8214 (CFLAGS-getgrnam_r.c): Likewise.
8215 (CFLAGS-initgroups.c): Likewise.
8216 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8217 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8219 * inet/getnetgrent_r.c
8220 (nscd_setnetgrent): New function, broken out of ...
8221 (setnetgrent): ... here. Call it.
8222 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8223 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8224 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8225 * nscd/Makefile (routines, aux): Move definitions after include of
8226 Makeconfig. Conditionalize on [$(use-nscd) != no].
8227 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8228 Conditionalize on [USE_NSCD].
8229 (is_nscd, nscd_init_cb): Likewise.
8230 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8231 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8232 * nss/nss_db/db-init.c: Likewise.
8233 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8235 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8236 (make_request): Use it.
8237 (cache_valid_p): New function.
8238 (__check_pf): Use it.
8239 * NEWS: Add item for --disable-nscd.
8241 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8243 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8244 to support sed >= 4.2.1-20-ga9bf076.
8245 * configure: Regenerated.
8247 2012-08-22 Roland McGrath <roland@hack.frob.com>
8249 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8250 Conditionalize whole body on [IREL].
8252 2012-08-22 Jeff Law <law@redhat.com>
8255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8256 if the family is PF_UNSPEC.
8258 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8260 * Makerules (lib-version): Rename from V.
8261 (install-lib-nosubdir): Change V to lib-version.
8263 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8266 * powerpc32/power6/wcschr.c: New file.
8267 * powerpc32/power6/wcscpy.c: New file.
8268 * powerpc32/power6/wcsrchr.c: New file.
8269 * powerpc64/power6/wcschr.c: New file.
8270 * powerpc64/power6/wcscpy.c: New file.
8271 * powerpc64/power6/wcsrchr.c: New file.
8273 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8275 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8276 (two_way_short_needle): Use it.
8277 * string/strstr.c (AVAILABLE1_USES_J): Define.
8278 * string/strcasestr.c: Likewise.
8280 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8282 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8285 * NEWS: Add an entry.
8286 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8287 define their defaults.
8288 (two_way_short_needle): Detect end-of-string on-the-fly.
8289 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8290 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8291 * string/bug-strcasestr1.c: New test.
8292 * string/Makefile: Run it.
8294 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8297 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8298 the first character.
8300 2012-08-21 Roland McGrath <roland@hack.frob.com>
8302 * csu/elf-init.c (__libc_csu_irel): Function removed.
8303 * csu/libc-start.c (apply_irel): New function.
8304 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8306 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8308 * sysdeps/unix/sysv/linux/kernel-features.h
8309 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8310 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8311 <kernel-features.h>.
8312 [__NR_fadvise64_64]: Make code unconditional.
8313 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8314 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8315 !__NR_fadvise64_64)]: Likewise.
8316 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8317 !__NR_fadvise64_64))]: Likewise.
8318 [__NR_fadvise64]: Make code unconditional.
8319 [!__NR_fadvise64]: Remove conditional code.
8320 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8321 <kernel-features.h>.
8322 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8324 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8327 not include <kernel-features.h>.
8328 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8330 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8332 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8333 include <kernel-features.h>.
8334 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8336 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8339 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8341 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8342 slight instruction rearrangements per scrollpipe analysis.
8343 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8345 2012-08-20 Roland McGrath <roland@hack.frob.com>
8347 * manual/syslog.texi (syslog; vsyslog, closelog):
8348 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8349 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8351 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8352 DSOCAPS to match condition on defining it.
8354 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8356 * sysdeps/unix/sysv/linux/kernel-features.h
8357 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8359 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8360 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8362 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8363 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8365 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8366 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8368 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8369 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8371 * sysdeps/unix/sysv/linux/kernel-features.h
8372 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8373 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8375 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8376 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8377 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8378 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8379 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8380 Make code unconditional.
8381 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8382 (__mmap64) [!__NR_mmap2]: Likewise.
8383 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8384 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8385 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8386 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8387 [__NR_mmap2]: Make code unconditional.
8388 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8389 (__mmap64) [!__NR_mmap2]: Likewise.
8391 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8393 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8395 2012-08-18 Andreas Jaeger <aj@suse.de>
8397 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8399 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8401 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8402 * include/unistd.h (__have_sock_cloexec): Likewise.
8403 (__have_pipe2): Likewise.
8404 (__have_dup3): Likewise.
8406 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8409 * include/unistd.h (__have_pipe2): Change define into an extern int.
8410 (__have_dup3): Likewise.
8411 * socket/have_sock_cloexec.c: Include fcntl.h.
8412 (__have_pipe2): New variable.
8413 (__have_dup3): Likewise.
8415 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8417 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8419 2012-08-17 Marek Polacek <polacek@redhat.com>
8421 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8422 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8424 2012-08-17 Roland McGrath <roland@hack.frob.com>
8426 * configure.in: Add AC_SUBST for sysheaders.
8427 * configure: Regenerated.
8428 * config.make.in (sysheaders): New substituted variable.
8430 * sysdeps/unix/mkfifo.c: Moved ...
8431 * sysdeps/posix/mkfifo.c: ... here.
8432 * sysdeps/unix/mkfifoat.c: Moved ...
8433 * sysdeps/posix/mkfifoat.c: ... here.
8435 * sysdeps/unix/utime.c: Moved ...
8436 * sysdeps/posix/utime.c: ... here.
8438 * sysdeps/unix/time.c: Moved ...
8439 * sysdeps/posix/time.c: ... here.
8440 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8441 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8443 * sysdeps/unix/nice.c: Moved ...
8444 * sysdeps/posix/nice.c: ... here.
8446 * sysdeps/unix/alarm.c: Moved ...
8447 * sysdeps/posix/alarm.c: ... here.
8449 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8451 2012-08-17 Jeff Law <law@redhat.com>
8453 * intl/Makefile (codeset_mo): New variable.
8454 ($(codeset_mo)): New target.
8455 (tst-codeset.out): Depend on that. Remove explicit rule.
8456 (tst-gettext3.out, tst-gettext5.out): Likewise.
8457 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8458 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8459 * intl/tst-codeset.sh: Remove.
8460 * intl/tst-gettext3.sh: Likewise.
8461 * intl/tst-gettext5.sh: Likewise.
8463 2012-08-17 Roland McGrath <roland@hack.frob.com>
8465 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8466 * sysdeps/unix/syscalls.list: ... here.
8468 * sysdeps/posix/getaddrinfo.c
8469 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8470 (gaiconf_init, gaiconf_reload): Use them.
8472 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8473 Define using time_t rather than struct timespec.
8475 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8476 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8478 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8480 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8481 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8484 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8485 __libc_cleanup_push argument.
8487 * bits/param.h: New file.
8488 * misc/sys/param.h: New file.
8489 * include/sys/param.h: New file.
8490 * misc/Makefile (headers): Add bits/param.h.
8491 * sysdeps/generic/sys/param.h: File removed.
8492 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8493 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8494 * sysdeps/mach/hurd/bits/param.h: New file.
8495 * sysdeps/mach/hurd/sys/param.h: File removed.
8497 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8500 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8502 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8503 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8506 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8507 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8508 rather than -D_IO_MTSAFE_IO conditionally.
8509 * stdio-common/Makefile (CPPFLAGS): Likewise.
8510 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8511 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8512 Use $(libio-mtsafe).
8513 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8515 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8516 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8517 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8518 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8519 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8520 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8521 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8522 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8523 (CFLAGS-fread_u_chk.c): Likewise.
8524 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8525 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8526 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8527 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8528 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8529 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8530 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8531 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8532 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8534 * libio/Makefile: Test [$(libc-reentrant) = yes]
8535 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8538 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8539 * sysdeps/pthread/configure: File removed.
8540 * sysdeps/pthread/Makeconfig: New file.
8541 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8542 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8544 2012-08-16 Gary Benson <gbenson@redhat.com>
8546 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8547 unmapping the first object in a namespace.
8549 2012-08-16 Roland McGrath <roland@hack.frob.com>
8551 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8552 (__internal_setnetgrent): ... this. Add internal_function to
8553 definition. Add libc_hidden_def.
8554 (setnetgrent): Update caller.
8555 (internal_endnetgrent): Renamed to ...
8556 (__internal_endnetgrent): ... this. Add internal_function to
8557 definition. Add libc_hidden_def.
8558 (endnetgrent): Update caller.
8559 (internal_getnetgrent_r): Renamed to ...
8560 (__internal_getnetgrent_r): ... this. Add internal_function to
8561 definition. Add libc_hidden_def.
8562 (__getnetgrent_r): Update caller.
8563 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8565 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8567 * stdlib/longlong.h: Update from GCC.
8569 2012-08-16 Roland McGrath <roland@hack.frob.com>
8571 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8572 on _QL, which is set by umul_ppmm but never used.
8573 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8574 variables, which are set by GMP macros but never used.
8575 * stdio-common/_itowa.c (_itowa): Likewise.
8576 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8577 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8579 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8581 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8582 struct La_sh_regs is not constant.
8583 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8584 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8585 and struct La_sparc64_regs are not constant.
8587 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8589 * sysdeps/unix/sysv/linux/kernel-features.h
8590 (__ASSUME_POSIX_TIMERS): Remove.
8591 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8592 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8593 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8594 Make code unconditional.
8595 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8596 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8597 Make code unconditional.
8598 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8599 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8600 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8601 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8602 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8603 Make code unconditional.
8604 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8605 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8606 (__libc_missing_posix_timers): Remove.
8608 2012-08-15 Roland McGrath <roland@hack.frob.com>
8610 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8611 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8613 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8615 * elf/dl-sym.c: Include <stdlib.h>.
8617 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8618 constants, which avoids warnings in 32-bit builds.
8620 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8621 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8623 * misc/lseek.c: File moved to ...
8624 * io/lseek.c: ... here.
8626 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8628 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8629 shifting LEN more than 31 bits at once.
8631 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8634 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8635 segmentation fault for a case of two empty input strings.
8636 * string/test-strncasecmp.c (check1): Renamed to...
8638 (bz14195): Add new testcase for two empty input strings and N > 0.
8639 (test_main): Call new testcase, adapt for renamed function.
8641 2012-08-15 Andreas Jaeger <aj@suse.de>
8644 * crypt/md5test2.c: New test, based on test supplied by Serge
8645 Belyshev <belyshev@depni.sinp.msu.ru>.
8646 * crypt/Makefile (xtests): Add md5test-giant..
8647 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8649 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8652 * crypt/md5.c (md5_process_block): Don't assume the buffer
8653 length is less than 2**32.
8654 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8655 length is less than 2**64.
8657 2012-08-15 Roland McGrath <roland@hack.frob.com>
8659 * string/str-two-way.h: Include <sys/param.h>.
8660 (MAX): Macro removed.
8662 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8663 Move #define and #undef of memmove to just before and after
8664 including <string.h>.
8666 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8667 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8668 and after including <string.h>. Move declarations of
8669 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8670 to before #include "string/memmove.c".
8672 * include/dirent.h: Declare __getdirentries.
8674 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8675 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8677 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8679 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8680 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8681 * sysdeps/i386/configure: Regenerated.
8682 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8683 STABS_CURRENT_FILE, and STABS_FUN.
8684 (END): Remove call to STABS_FUN_END.
8685 (STABS_CURRENT_FILE1): Delete.
8686 (STABS_CURRENT_FILE): Likewise.
8687 (STABS_FUN): Likewise.
8688 (STABS_FUN_END): Likewise.
8689 (STABS_FUN2): Likewise.
8690 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8691 * sysdeps/x86_64/configure: Regenerated.
8693 2012-08-14 Roland McGrath <roland@hack.frob.com>
8695 * elf/dl-open.c: Include <atomic.h>.
8696 * elf/dl-lookup.c: Likewise.
8698 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8700 * sysdeps/unix/sysv/linux/kernel-features.h
8701 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8702 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8704 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8706 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8707 condition on __ASSUME_CLONE_THREAD_FLAGS.
8709 2012-08-14 Andreas Jaeger <aj@suse.de>
8711 * sysdeps/i386/fpu/libm-test-ulps: Update.
8713 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8715 * include/atomic.h (atomic_exchange_and_add): Split into ...
8716 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8719 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8723 2012-08-13 Jeff Law <law@redhat.com>
8725 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8726 null byte in the output string.
8728 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8730 * sysdeps/unix/sysv/linux/kernel-features.h
8731 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8732 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8733 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8734 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8735 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8736 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8737 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8739 2012-08-09 Jeff Law <law@redhat.com>
8742 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8743 When avoid_arena is set, don't retry in the that arena. Pick the
8744 next one, whatever it might be.
8745 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8746 (arena_lock): Pass in new parameter to arena_get2.
8747 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8749 (__libc_malloc): Unify retrying after main arena failure with
8750 __libc_memalign version.
8751 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8753 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8756 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8757 to __redirect_strstr.
8758 (__strstr_sse42): Use typeof __redirect_strstr.
8759 (__strstr_ia32): Likewise.
8760 (__libc_strstr): New prototype.
8761 (strstr): Renamed to ...
8762 (__libc_strstr): This.
8763 (strstr): New strong alias of __libc_strstr.
8764 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8765 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8768 (__libc_time): New prototype.
8769 (time_ifunc): Replace time with __libc_time.
8770 (time): New strong alias and hidden definition of __libc_time.
8771 (__GI_time): Remove strong alias.
8772 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8774 (memmove): Redefined to __redirect_memmove.
8775 (__memmove_sse2): Use typeof __redirect_memmove.
8776 (__memmove_ssse3): Likewise.
8777 (__memmove_ssse3_back): Likewise.
8778 (__libc_memmove): New prototype.
8779 (memmove): Renamed to ...
8780 (__libc_memmove): This.
8781 (memmove): New strong alias of __libc_memmove.
8783 2012-08-08 Mark Salter <msalter@redhat.com>
8786 (R_MN10300_TLS_GD): Define.
8787 (R_MN10300_TLS_LD): Likewise.
8788 (R_MN10300_TLS_LDO): Likewise.
8789 (R_MN10300_TLS_GOTIE): Likewise.
8790 (R_MN10300_TLS_IE): Likewise.
8791 (R_MN10300_TLS_LE): Likewise.
8792 (R_MN10300_TLS_DTPMOD): Likewise.
8793 (R_MN10300_TLS_DTPOFF): Likewise.
8794 (R_MN10300_TLS_TPOFF): Likewise.
8795 (R_MN10300_SYM_DIFF): Likewise.
8796 (R_MN10300_ALIGN): Likewise.
8797 (R_MN10300_NUM): Update.
8799 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8801 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8804 2012-08-08 Roland McGrath <roland@hack.frob.com>
8806 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8808 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8809 sysdeps/unix -> sysdeps/posix move.
8810 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8812 2012-08-07 Allan McRae <allan@archlinux.org>
8815 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8816 (SUNOS_CPP): Likewise.
8817 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8819 (open_input): Call CPP using execvp.
8821 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8823 * sysdeps/unix/sysv/linux/kernel-features.h
8824 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8825 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8826 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8827 (__ASSUME_WAITID_SYSCALL): Likewise.
8828 * sysdeps/unix/sysv/linux/dl-execstack.c
8829 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8831 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8833 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8834 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8835 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8837 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8839 [__ASSUME_WAITID_SYSCALL]: Likewise.
8840 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8842 2012-08-07 Roland McGrath <roland@hack.frob.com>
8844 * sysdeps/unix/closedir.c: Renamed to ...
8845 * sysdeps/posix/closedir.c: ... here.
8846 * sysdeps/unix/dirfd.c: Renamed to ...
8847 * sysdeps/posix/dirfd.c: ... here.
8848 * sysdeps/unix/dirstream.h: Renamed to ...
8849 * sysdeps/posix/dirstream.h: ... here.
8850 * sysdeps/unix/fdopendir.c: Renamed to ...
8851 * sysdeps/posix/fdopendir.c: ... here.
8852 * sysdeps/unix/opendir.c: Renamed to ...
8853 * sysdeps/posix/opendir.c: ... here.
8854 * sysdeps/unix/readdir.c: Renamed to ...
8855 * sysdeps/posix/readdir.c: ... here.
8856 * sysdeps/unix/readdir_r.c: Renamed to ...
8857 * sysdeps/posix/readdir_r.c: ... here.
8858 * sysdeps/unix/rewinddir.c: Renamed to ...
8859 * sysdeps/posix/rewinddir.c: ... here.
8860 * sysdeps/unix/seekdir.c: Renamed to ...
8861 * sysdeps/posix/seekdir.c: ... here.
8862 * sysdeps/unix/telldir.c: Renamed to ...
8863 * sysdeps/posix/telldir.c: ... here.
8864 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8865 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8866 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8867 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8869 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8870 * bits/fcntl.h: ... here.
8872 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8874 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8875 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8876 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8877 (struct flock): Move l_start, l_len to the beginning.
8878 Use __pid_t for l_pid.
8879 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8880 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8881 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8882 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8883 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8884 [__USE_LARGEFILE64] (struct flock64): New type.
8885 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8887 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8888 * bits/dirent.h: ... here.
8890 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8891 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8893 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8895 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8896 Change from 2.6.0 to 2.6.16.
8897 * sysdeps/unix/sysv/linux/configure: Regenerated.
8898 * sysdeps/unix/sysv/linux/kernel-features.h
8899 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8900 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8902 (__ASSUME_UTIMES): Likewise.
8903 (__ASSUME_CLONE_STOPPED): Remove.
8904 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8905 architectures, not kernel version.
8906 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8907 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8908 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8909 (__ASSUME_WAITID_SYSCALL): Likewise.
8910 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8911 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8912 * README: State 2.6.16 as minimum Linux kernel version. Do not
8913 refer to older versions.
8915 2012-08-06 Roland McGrath <roland@hack.frob.com>
8917 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8918 Define alphasort64 as an alias.
8919 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8920 Define versionsort64 as an alias.
8921 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8922 Define scandir64 as an alias.
8923 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8924 Define scandirat64 as an alias.
8925 * dirent/alphasort64.c (alphasort64):
8926 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8927 * dirent/versionsort64.c: Likewise.
8928 * dirent/scandir64.c: Likewise.
8929 * dirent/scandirat64.c: Likewise.
8930 * sysdeps/wordsize-64/alphasort.c: File removed.
8931 * sysdeps/wordsize-64/alphasort64.c: File removed.
8932 * sysdeps/wordsize-64/scandir.c: File removed.
8933 * sysdeps/wordsize-64/scandir64.c: File removed.
8934 * sysdeps/wordsize-64/scandirat.c: File removed.
8935 * sysdeps/wordsize-64/scandirat64.c: File removed.
8936 * sysdeps/wordsize-64/versionsort.c: File removed.
8937 * sysdeps/wordsize-64/versionsort64.c: File removed.
8938 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8939 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8940 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8941 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8942 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8943 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8944 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8945 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8947 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8948 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8949 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8950 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8951 [defined __arch64__ || defined __sparcv9]
8952 (__INO_T_MATCHES_INO64_T): New macro.
8953 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8954 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8955 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8956 * sysdeps/unix/sysv/linux/bits/dirent.h
8957 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8958 (_DIRENT_MATCHES_DIRENT64): New macro.
8960 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8961 Define lockf64 as an alias.
8962 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8963 Define fseeko64 as an alias.
8964 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8965 Define ftello64 as an alias.
8966 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8967 Define _IO_fgetpos64 and fgetpos64 as aliases.
8968 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8969 Define _IO_fsetpos64 and fsetpos64 as aliases.
8970 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8971 Conditionalize body on this.
8972 * libio/fseeko64.c: Likewise.
8973 * libio/ftello64.c: Likewise.
8974 * libio/iofgetpos64.c: Likewise.
8975 * libio/iofsetpos64.c: Likewise.
8976 * sysdeps/wordsize-64/lockf.c: File removed.
8977 * sysdeps/wordsize-64/lockf64.c: File removed.
8978 * sysdeps/wordsize-64/fseeko.c: File removed.
8979 * sysdeps/wordsize-64/fseeko64.c: File removed.
8980 * sysdeps/wordsize-64/ftello.c: File removed.
8981 * sysdeps/wordsize-64/ftello64.c: File removed.
8982 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8983 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8984 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8985 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8986 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8987 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8988 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8989 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8990 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8991 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8993 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8994 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8995 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8997 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8998 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8999 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9001 [defined __arch64__ || defined __sparcv9]
9002 (__OFF_T_MATCHES_OFF64_T): New macro.
9003 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9004 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9005 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9006 (__OFF_T_MATCHES_OFF64_T): New macro.
9008 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9010 * stdlib/secure-getenv.c (__secure_getenv): Replace
9011 GLIBC_2_16 with GLIBC_2_17.
9013 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9015 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9016 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9018 2012-08-03 David S. Miller <davem@davemloft.net>
9020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9022 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9024 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9026 (__ASSUME_CORRECT_SI_PID): Likewise.
9027 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9028 (__ASSUME_TMPFS_NAME): Likewise.
9029 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9030 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9031 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9032 (HAVE_AUX_SECURE): Make definition unconditional.
9033 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9034 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9036 2012-08-03 Roland McGrath <roland@hack.frob.com>
9038 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9039 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9040 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9041 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9042 __eloop_threshold instead of SYMLOOP_MAX.
9044 * sysdeps/generic/eloop-threshold.h: New file.
9045 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9047 * elf/chroot_canon.c (chroot_canon): Likewise.
9049 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9052 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9053 Change to 2.6.0 everywhere.
9054 * sysdeps/unix/sysv/linux/configure: Regenerated.
9055 * sysdeps/unix/sysv/linux/kernel-features.h
9056 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9057 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9059 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9060 (__ASSUME_FUTEX_REQUEUE): Remove.
9061 (__ASSUME_STATFS64): Define unconditionally.
9062 (__ASSUME_AT_SECURE): Likewise.
9063 (__ASSUME_CORRECT_SI_PID): Likewise.
9064 (__ASSUME_TGKILL): Define without depending on kernel version for
9066 (__ASSUME_UTIMES): Likewise.
9067 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9069 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9070 (__ASSUME_TMPFS_NAME): Likewise.
9071 * README: Update reference to Linux kernel versions.
9073 2012-08-02 Marek Polacek <polacek@redhat.com>
9076 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9077 libc_cv_asm_type_prefix with %.
9078 * configure: Regenerated.
9079 * include/libc-symbols.h: Remove comment about
9080 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9081 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9082 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9083 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9084 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9085 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9086 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9087 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9088 * elf/tst-unique2mod1.c: Likewise.
9089 * elf/tst-unique1mod2.c: Likewise.
9090 * elf/tst-unique1mod1.c: Likewise.
9091 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9092 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9093 Replace ASM_TYPE_DIRECTIVE with .type.
9094 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9095 * sysdeps/i386/sysdep.h: Likewise.
9096 * sysdeps/x86_64/sysdep.h: Likewise.
9097 * sysdeps/sh/sysdep.h: Likewise.
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9099 Do not define ASM_TYPE_DIRECTIVE.
9100 * sysdeps/powerpc/sysdep.h: Likewise.
9101 * sysdeps/powerpc/powerpc32/sysdep.h:
9102 Replace ASM_TYPE_DIRECTIVE with .type.
9103 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9104 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9105 * sysdeps/i386/fpu/e_powf.S: Likewise.
9106 * sysdeps/i386/fpu/e_expl.S: Likewise.
9107 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9108 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9109 * sysdeps/i386/fpu/e_pow.S: Likewise.
9110 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9111 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9112 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9113 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9114 * sysdeps/i386/fpu/e_log2.S: Likewise.
9115 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9116 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9117 * sysdeps/i386/fpu/e_powl.S: Likewise.
9118 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9119 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9120 * sysdeps/i386/fpu/e_logl.S: Likewise.
9121 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9122 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9123 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9124 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9125 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9126 * sysdeps/i386/fpu/e_log.S: Likewise.
9127 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9128 * sysdeps/i386/fpu/e_logf.S: Likewise.
9129 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9130 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9131 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9132 * sysdeps/i386/fpu/e_log10.S: Likewise.
9133 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9134 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9135 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9136 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9137 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9138 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9139 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9140 * sysdeps/i386/i686/strtok.S: Likewise.
9141 * sysdeps/i386/i386-mcount.S: Likewise.
9142 * sysdeps/i386/strtok.S: Likewise.
9143 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9144 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9145 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9146 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9147 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9148 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9149 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9150 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9151 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9152 * sysdeps/x86_64/_mcount.S: Likewise.
9153 * sysdeps/x86_64/strtok.S: Likewise.
9154 * sysdeps/sh/_mcount.S: Likewise.
9156 2012-08-01 Roland McGrath <roland@hack.frob.com>
9158 * libio/iofopen.c: Include <fcntl.h>.
9159 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9160 (_IO_fopen64, fopen64): Define as aliases.
9161 * libio/iofopen64.c: Include <fcntl.h>.
9162 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9163 Conditionalize body on this.
9164 * sysdeps/wordsize-64/iofopen.c: File removed.
9165 * sysdeps/wordsize-64/iofopen64.c: File removed.
9167 2012-08-01 Marek Polacek <polacek@redhat.com>
9169 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9170 Use dlfcn directly instead of a variable.
9171 (binfmt-subdir): Do not define.
9174 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9176 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9177 Remove all definitions.
9178 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9179 <kernel-features.h>.
9180 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9181 (miss_F_GETOWN_EX): Remove all definitions.
9182 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9184 [!__ASSUME_FCNTL64]: Remove conditional code.
9185 [__ASSUME_FCNTL64]: Make code unconditional.
9186 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9187 <kernel-features.h>.
9188 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9189 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9190 (lockf64) [__NR_fcntl64]: Make code unconditional.
9191 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9193 * sysdeps/unix/sysv/linux/kernel-features.h
9194 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9195 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9196 Make code unconditional.
9197 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9198 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9200 [__NR_vfork]: Make code unconditional.
9201 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9202 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9204 [__NR_vfork]: Make code unconditional.
9205 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9206 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9208 2012-08-01 Roland McGrath <roland@hack.frob.com>
9210 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9211 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9213 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9214 Define mkstemp64 as an alias.
9215 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9216 Define mkstemps64 as an alias.
9217 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9218 Define mkostemp64 as an alias.
9219 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9220 Define mkostemps64 as an alias.
9221 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9222 Conditionalize body on this.
9223 * misc/mkostemp64.c: Likewise.
9224 * misc/mkostemps64.c: Likewise.
9225 * misc/mkstemps64.c: Likewise.
9226 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9227 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9228 * sysdeps/wordsize-64/mkostemp.c: File removed.
9229 * sysdeps/wordsize-64/mkstemp.c: File removed.
9230 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9231 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9232 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9233 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9236 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9237 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9238 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9239 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9241 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9242 compat_symbol macros from <shlib-compat.h> rather than the underlying
9243 default_symbol_version and symbol_version macros, so that DEFAULT
9244 lines in shlib-versions are respected.
9245 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9247 2012-08-01 Florian Weimer <fweimer@redhat.com>
9249 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9250 Declare with warn_unused_result.
9251 (setgid, setregid, setegid, setresgid): Likewise.
9252 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9254 * WUR-REPORT: Remove set*id functions.
9256 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9258 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9260 2012-07-31 Roland McGrath <roland@hack.frob.com>
9262 * include/sys/socket.h (__libc_accept, __libc_accept4):
9263 Add attribute_hidden.
9264 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9266 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9268 * inet/getnetgrent_r.c (setup): Likewise.
9270 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9272 2012-07-31 David S. Miller <davem@davemloft.net>
9274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9276 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9279 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9280 value between 1.0 and 2.0 and smaller part has absolute value less
9282 * math/s_clog10.c (__clog10): Likewise.
9283 * math/s_clog10f.c (__clog10f): Likewise.
9284 * math/s_clog10l.c (__clog10l): Likewise.
9285 * math/s_clogf.c (__clogf): Likewise.
9286 * math/s_clogl.c (__clogl): Likewise.
9287 * math/libm-test.inc (clog_test): Add more tests.
9288 (clog10_test): Likewise.
9289 * sysdeps/i386/fpu/libm-test-ulps: Update.
9290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9292 2012-07-31 Florian Weimer <fweimer@redhat.com>
9294 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9295 Exit with zero in case no suitable GID is found, and write a
9296 message to standard error.
9298 2012-07-30 Roland McGrath <roland@hack.frob.com>
9300 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9302 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9303 (MAXPATHLEN): Removed.
9304 (NOGROUP, NODEV): New macros.
9305 (setbit, clrbit, isset, isclr): New macros.
9306 (howmany, roundup, powerof2): New macros.
9307 (DEV_BSIZE): New macro.
9309 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9310 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9312 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9313 definition on [!__NO_LONG_DOUBLE_MATH].
9315 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9316 PTR_MANGLE and PTR_DEMANGLE.
9318 * socket/accept4.c (accept4): Rename to __libc_accept4.
9319 Define accept4 as a weak alias.
9321 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9322 on [_DIRENT_HAVE_D_TYPE].
9323 * io/ftw.c (ftw_dir): Likewise.
9325 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9327 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9329 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9330 Use the BSD numbers rather than the arbitrary ones we had.
9331 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9332 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9333 (SIGXCPU, SIGXFSZ): New macros.
9336 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9337 initializer on [_LIBC_REENTRANT].
9339 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9340 definitions inside [_POSIX_MAPPED_FILES].
9342 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9344 * dirent/opendir.c: Include <fcntl.h>.
9346 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9347 (__libc_getspecific): Likewise.
9348 (__libc_key_create): Likewise.
9350 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9351 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9352 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9353 (tmpfile64): Define as alias.
9354 * sysdeps/wordsize-64/tmpfile.c: File removed.
9355 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9356 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9357 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9359 * stdio-common/vfscanf.c: Include <stdbool.h>.
9360 * nss/makedb.c: Likewise.
9361 * stdio-common/_i18n_number.h: Likewise.
9362 * argp/argp-help.c: Likewise.
9363 * posix/wordexp.c: Likewise.
9364 * sysdeps/posix/spawni.c: Likewise.
9365 * nss/nss_files/files-initgroups.c: Likewise.
9366 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9367 * nss/nss_files/files-initgroups.c: Likewise.
9368 * nss/nss_db/db-netgrp.c: Likewise.
9369 * nss/nss_db/db-initgroups.c: Likewise.
9370 * io/fchmodat.c: Include <sys/stat.h>.
9372 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9373 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9375 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9378 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9379 Add multiple inclusion protection.
9381 2012-07-27 David S. Miller <davem@davemloft.net>
9383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9385 2012-07-27 Gary Benson <gbenson@redhat.com>
9388 * elf/rtld.c: Include <stap-probe.h>.
9389 (dl_main): Added static probes "init_start" and "init_complete".
9390 * elf/dl-load.c: Include <stap-probe.h>.
9391 (lose): Take new parameter "nsid".
9392 Added static probe "map_failed".
9393 (_dl_map_object_from_fd): Pass namespace id to lose.
9394 Added static probe "map_start".
9395 (open_verify): Pass namespace id to lose.
9396 * elf/dl-open.c: Include <stap-probe.h>.
9397 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9398 and "reloc_complete".
9399 * elf/dl-close.c: Include <stap-probe.h>.
9400 (_dl_close_worker): Added static probes "unmap_start" and
9402 * elf/rtld-debugger-interface.txt: New file documenting the above.
9404 2012-07-26 Roland McGrath <roland@hack.frob.com>
9406 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9407 rather than a string variable.
9408 * sunrpc/rpc_main.c (h_output): Likewise.
9409 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9411 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9413 * inet/check_native.c: New file.
9415 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9418 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9419 if larger part has absolute value 1.0.
9420 * math/s_clog10.c (__clog10): Likewise.
9421 * math/s_clog10f.c (__clog10f): Likewise.
9422 * math/s_clog10l.c (__clog10l): Likewise.
9423 * math/s_clogf.c (__clogf): Likewise.
9424 * math/s_clogl.c (__clogl): Likewise.
9425 * math/libm-test.inc (clog_test): Add more tests.
9426 (clog10_test): Likewise.
9427 * sysdeps/i386/fpu/libm-test-ulps: Update.
9428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9430 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9431 (pltexit): Likewise.
9432 (La_regs): Likewise.
9433 (La_retval): Likewise.
9434 (int_retval): Likewise.
9435 Update #error for removed macros to refer only to definitions in
9437 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9439 (pltexit): Likewise.
9440 (La_regs): Likewise.
9441 (La_retval): Likewise.
9442 (int_retval): Likewise.
9443 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9445 (pltexit): Likewise.
9446 (La_regs): Likewise.
9447 (La_retval): Likewise.
9448 (int_retval): Likewise.
9449 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9451 (pltexit): Likewise.
9452 (La_regs): Likewise.
9453 (La_retval): Likewise.
9454 (int_retval): Likewise.
9455 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9457 (pltexit): Likewise.
9458 (La_regs): Likewise.
9459 (La_retval): Likewise.
9460 (int_retval): Likewise.
9461 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9463 (pltexit): Likewise.
9464 (La_regs): Likewise.
9465 (La_retval): Likewise.
9466 (int_retval): Likewise.
9467 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9469 (pltexit): Likewise.
9470 (La_regs): Likewise.
9471 (La_retval): Likewise.
9472 (int_retval): Likewise.
9473 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9474 macro definitions in tst-audit.h.
9475 * sysdeps/i386/tst-audit.h: New file.
9476 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9477 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9478 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9479 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9480 * sysdeps/sh/tst-audit.h: Likewise.
9481 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9482 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9483 * sysdeps/x86_64/tst-audit.h: Likewise.
9485 2012-07-26 Andreas Jaeger <aj@suse.de>
9487 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9490 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9491 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9492 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9494 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9495 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9496 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9498 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9501 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9503 (si_call_addr, si_syscall, si_arch): Define new macro.
9504 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9506 (si_call_addr, si_syscall, si_arch): Define new marcro.
9507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9509 (si_call_addr, si_syscall, si_arch): Define new macro.
9510 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9512 (si_call_addr, si_syscall, si_arch): Define new macro.
9514 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9517 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9518 Change to 2.4.21 where previously 2.4.1.
9519 * sysdeps/unix/sysv/linux/configure: Regenerated.
9520 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9521 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9522 Linux kernel version.
9523 (__ASSUME_STD_AUXV): Remove.
9524 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9526 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9527 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9528 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9529 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9530 (__ASSUME_NETLINK_SUPPORT): Likewise.
9531 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9532 (__no_netlink_support): Remove conditional definition.
9533 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9535 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9536 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9537 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9538 (if_nameindex_ioctl): Remove.
9539 (if_nameindex_netlink): Do not handle __no_netlink_support.
9540 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9542 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9543 Remove conditional code.
9544 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9546 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9548 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9549 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9550 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9552 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9553 [!__ASSUME_STD_AUXV]: Remove conditional code.
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9555 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9556 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9558 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9559 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9561 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9563 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9564 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9566 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9568 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9571 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9574 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9576 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9578 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9580 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9583 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9585 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9588 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9590 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9592 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9594 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9597 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9599 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9601 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9603 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9606 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9608 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9609 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9610 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9611 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9612 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9613 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9614 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9615 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9616 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9617 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9618 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9619 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9620 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9621 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9622 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9623 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9624 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9626 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9628 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9629 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9630 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9632 2012-07-25 Florian Weimer <fweimer@redhat.com>
9634 * Versions.def: Add GLIBC_2.17.
9635 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9636 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9637 Introduce __libc_secure_getenv.
9638 * stdlib/Versions (2.17): Add secure_getenv
9639 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9640 * stdlib/secure-getenv.c: Rename __secure_getenv to
9641 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9642 symbol __secure_getenv for GLIBC_2.0.
9643 * stdlib/tst-secure-getenv.c: New.
9644 * stdlib/Makefile (tests): Add testcase.
9645 * manual/startup.texi (Environment Access): Document
9647 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9648 __libc_secure_getenv.
9649 * inet/ruserpass.c (ruserpass): Likewise.
9650 * malloc/mtrace.c (mtrace): Likewise.
9651 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9652 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9653 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9654 * sysdeps/posix/tempname.c: Likewise. Evaluate
9656 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9657 __secure_getenv to __libc_secure_getenv.
9658 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9665 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9671 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9673 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9674 (struct La_i86_retval): Likewise.
9675 (struct La_x86_64_regs): Likewise.
9676 (struct La_x86_64_retval): Likewise.
9677 (struct La_x32_regs): Likewise.
9678 (struct La_x32_retval): Likewise.
9679 (struct La_ppc32_regs): Likewise.
9680 (struct La_ppc32_retval): Likewise.
9681 (struct La_ppc64_regs): Likewise.
9682 (struct La_ppc64_retval): Likewise.
9683 (struct La_sh_regs): Likewise.
9684 (struct La_sh_retval): Likewise.
9685 (struct La_s390_32_regs): Likewise.
9686 (struct La_s390_32_retval): Likewise.
9687 (struct La_s390_64_regs): Likewise.
9688 (struct La_s390_64_retval): Likewise.
9689 (struct La_sparc32_regs): Likewise.
9690 (struct La_sparc32_retval): Likewise.
9691 (struct La_sparc64_regs): Likewise.
9692 (struct La_sparc64_retval): Likewise.
9693 (struct audit_ifaces): Remove architecture-specific pltenter and
9695 * sysdeps/i386/ldsodefs.h: New file.
9696 * sysdeps/powerpc/ldsodefs.h: Likewise.
9697 * sysdeps/s390/ldsodefs.h: Likewise.
9698 * sysdeps/sh/ldsodefs.h: Likewise.
9699 * sysdeps/sparc/ldsodefs.h: Likewise.
9700 * sysdeps/x86_64/ldsodefs.h: Likewise.
9702 2012-07-25 Marek Polacek <polacek@redhat.com>
9705 * math/libm-test.inc (yn_test): Add another test.
9706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9707 to ERANGE when the result is +-Inf.
9708 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9709 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9710 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9711 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9713 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9715 * conform/data/time.h-data (NULL): Use macro-constant. Require
9717 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9719 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9721 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9723 * configure.in <sysdeps resolving>: Correct printing
9725 * configure: Regenerate.
9727 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9729 * math/w_ilogb.c: Include <limits.h>.
9730 * math/w_ilogbl.c: Likewise.
9732 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9734 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9735 va_copy. Document allowing for unavailable va_copy only as
9736 pre-C99 compatibility.
9737 * manual/string.texi (Copying and Concatenation): Use va_copy
9738 instead of __va_copy in concat example.
9740 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9742 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9743 (__sendto): Use create_address_port. Initialize APORT and deallocate
9746 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9747 with O_NOLINK passed to __file_name_lookup.
9749 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9750 with O_NOLINK passed to __file_name_lookup.
9752 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9753 negative N or less than NGIDS.
9755 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9756 type to string_t. Set ERANGE as errno and return it if NAME is not big
9757 enough. Use memcpy instead of strncpy.
9759 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9761 * elf/Makefile (check-data): Remove.
9762 (localplt.data): New vpath directive.
9763 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9764 instead of $(check-data).
9765 * scripts/data/localplt-generic.data: Move to ...
9766 * sysdeps/generic/localplt.data: ... here.
9767 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9768 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9769 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9772 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9775 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9778 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9781 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9784 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9788 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9790 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9791 PPC32 and PPC64 files.
9792 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9793 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9795 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9797 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9798 __makecontext_ret to ...
9799 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9800 ... here and call exit if uc_link is NULL. New file.
9801 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9802 __makecontext_ret.S.
9803 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9804 __makecontext_ret to ...
9805 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9806 ... here and call exit if uc_link is NULL. New file.
9807 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9808 __makecontext_ret.S.
9810 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9812 * elf/elf.h (R_390_IRELATIVE): New definition.
9813 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9814 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9815 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9816 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9817 (elf_machine_lazy_rel): Likewise.
9818 * sysdeps/s390/dl-irel.h: New file.
9819 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9820 * sysdeps/s390/s390-64/memset.S: New asm code.
9821 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9822 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9823 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9824 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9825 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9826 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9827 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9828 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9829 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9830 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9831 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9832 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9833 * sysdeps/s390/s390-32/memset.S: New asm code.
9834 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9836 2012-07-17 Marek Polacek <polacek@redhat.com>
9839 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9840 * sysdeps/s390/s390-64/configure.in: Likewise.
9841 * sysdeps/sparc/configure.in: Likewise.
9842 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9843 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9844 * sysdeps/i386/configure.in: Likewise.
9845 * sysdeps/x86_64/configure.in: Likewise.
9846 * sysdeps/sh/configure.in: Likewise.
9847 * sysdeps/s390/s390-32/configure: Regenerated.
9848 * sysdeps/s390/s390-64/configure: Likewise.
9849 * sysdeps/x86_64/configure: Likewise.
9850 * sysdeps/sh/configure: Likewise.
9851 * sysdeps/powerpc/powerpc64/configure: Likewise.
9852 * sysdeps/powerpc/powerpc32/configure: Likewise.
9853 * sysdeps/sparc/configure: Likwise.
9854 * sysdeps/i386/configure: Likewise.
9856 * elf/dl-open.c: Comment fixes.
9858 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9860 * Makefile [CXX] (check-data): Remove.
9861 [CXX] (c++-types.data): New vpath directive.
9862 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9863 vpath. Do not allow for C++ type data being missing.
9864 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9865 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9866 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9867 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9868 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9869 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9870 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9873 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9876 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9879 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9882 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9885 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9888 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9891 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9894 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9895 definitions to architecture-specific files.
9899 * sysdeps/i386/tls-macros.h: New file.
9900 * sysdeps/powerpc/tls-macros.h: Likewise.
9901 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9902 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9903 * sysdeps/sh/tls-macros.h: Likewise.
9904 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9905 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9906 * sysdeps/x86_64/tls-macros.h: Likewise.
9908 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9910 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9911 zero value for regular exit case.
9913 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9914 (__start_context): Preserve zero value for regular exit case.
9916 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9917 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9919 * manual/setjmp.texi (setcontext): Clarify normal process
9920 termination when uc_link is the null pointer.
9921 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9924 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9926 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9927 preprocessor. Test for each exception mask separately.
9929 2012-07-16 Andreas Jaeger <aj@suse.de>
9931 * po/ru.po: Update from translation team.
9933 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9935 * conform/data/string.h-data (NULL): Use macro-constant. Require
9937 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9938 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9939 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9940 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9943 2012-07-13 Andreas Jaeger <aj@suse.de>
9945 * po/fr.po: Update from translation team.
9947 2012-07-12 Marek Polacek <polacek@redhat.com>
9950 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9951 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9954 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9957 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9958 Change to 2.4.1 where previously 2.4.0.
9959 * sysdeps/unix/sysv/linux/configure: Regenerated.
9960 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9961 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9963 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9964 (__ASSUME_AT_CLKTCK): Remove.
9965 (__ASSUME_AT_PAGESIZE): Likewise.
9966 (__ASSUME_AT_XID): Likewise.
9967 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9968 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9969 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9971 (HAVE_AUX_PAGESIZE): Likewise.
9972 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9973 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9974 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9976 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9980 the temporary buffer used to invoke __gethostbyname2_r,
9981 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9982 host_data / struct gaih_addrtuple.
9983 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9984 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9985 header file nss/nsswitch.h.
9986 * nss/nsswitch.h (global scope): Add definition of implementation
9987 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9988 resolv/nss_dns/dns-host.c).
9990 2012-07-11 Andreas Jaeger <aj@suse.de>
9992 * po/fr.po: Update from translation team.
9994 * po/sv.po: Update from translation team
9995 * po/fr.po: Another update from translation team.
9997 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9999 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10000 for subnormals or multiply small sinh result by itself.
10001 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10004 2012-07-11 David S. Miller <davem@davemloft.net>
10006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10008 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10011 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10012 (INTERNAL_MARK): Shift it here.
10014 2012-07-10 Marek Polacek <polacek@redhat.com>
10017 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10018 libc_cv_asm_global_directive with .globl.
10019 * configure: Regenerated.
10020 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10022 * sysdeps/i386/configure: Regenerated.
10023 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10025 * sysdeps/x86_64/configure: Regenerated.
10026 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10027 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10028 * elf/tst-unique2mod2.c: Likewise.
10029 * elf/tst-unique2mod1.c: Likewise.
10030 * elf/tst-unique1mod2.c: Likewise.
10031 * elf/tst-unique1mod1.c: Likewise.
10032 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10033 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10034 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10035 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10036 * sysdeps/mach/sysdep.h: Likewise.
10037 * sysdeps/i386/sysdep.h: Likewise.
10038 * sysdeps/i386/i386-mcount.S: Likewise.
10039 * sysdeps/x86_64/_mcount.S: Likewise.
10040 * sysdeps/x86_64/sysdep.h: Likewise.
10041 * sysdeps/sh/_mcount.S: Likewise.
10042 * sysdeps/sh/sysdep.h: Likewise.
10043 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10044 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10045 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10046 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10047 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10048 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10049 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10050 * locale/localeinfo.h: Likewise.
10051 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10052 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10054 2012-07-09 Roland McGrath <roland@hack.frob.com>
10057 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10059 * manual/message.texi (The Uniforum approach): Likewise.
10060 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10061 (glibc iconv Implementation): Likewise.
10063 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10066 * math/s_clog.c (__clog): Avoid scaling a value down where that
10067 could result in underflow.
10068 * math/s_clog10.c (__clog10): Likewise.
10069 * math/s_clog10f.c (__clog10f): Likewise.
10070 * math/s_clog10l.c (__clog10l): Likewise.
10071 * math/s_clogf.c (__clogf): Likewise.
10072 * math/s_clogl.c (__clogl): Likewise.
10073 * math/libm-test.inc (clog_test): Add more tests.
10074 (clog10_test): Likewise.
10075 * sysdeps/i386/fpu/libm-test-ulps: Update.
10076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10078 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10081 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10082 by 7 not 8 to examine high bit of fractional part.
10085 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10086 for call to __mcount_internal.
10087 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10088 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10089 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10091 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10094 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10095 approximation for values within 0x1p-13f of an odd multiple of
10097 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10098 exception. Add more tests.
10099 * sysdeps/i386/fpu/libm-test-ulps: Update.
10102 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10103 inputs and return -1 for them. Do not check for +Inf in case not
10104 reachable for +Inf.
10105 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10106 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10107 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10108 and return -1 for them. Do not check for +Inf in case not
10109 reachable for +Inf.
10110 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10112 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10113 and return -1 for them. Do not check for +Inf in case not
10114 reachable for +Inf.
10115 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10116 spurious underflow.
10117 * sysdeps/i386/fpu/libm-test-ulps: Update.
10118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10120 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10122 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10124 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10128 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10129 could result in spurious underflow. Scale down values above
10130 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10131 * math/s_csqrtf.c (__csqrtf): Likewise.
10132 * math/s_csqrtl.c (__csqrtl): Likewise.
10133 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10134 spurious underflow.
10135 * sysdeps/i386/fpu/libm-test-ulps: Update.
10136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10138 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10140 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10142 * catgets/xopen-msg.awk: New file.
10143 * catgets/xopen-msg.sed: Removed.
10145 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10147 * intl/po2test.awk: New file.
10148 * intl/po2test.sed: Removed.
10150 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10153 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10154 or multiply small sinh result by itself.
10155 * math/s_ctanf.c (__ctanf): Likewise.
10156 * math/s_ctanh.c (__ctanh): Likewise.
10157 * math/s_ctanhf.c (__ctanhf): Likewise.
10158 * math/s_ctanhl.c (__ctanhl): Likewise.
10159 * math/s_ctanl.c (__ctanl): Likewise.
10160 * math/libm-test.inc (ctan_test_tonearest): New function.
10161 (ctan_test_towardzero): Likewise.
10162 (ctan_test_downward): Likewise.
10163 (ctan_test_upward): Likewise.
10164 (ctanh_test_tonearest): Likewise.
10165 (ctanh_test_towardzero): Likewise.
10166 (ctanh_test_downward): Likewise.
10167 (ctanh_test_upward): Likewise.
10168 (main): Call these new functions.
10169 * sysdeps/i386/fpu/libm-test-ulps: Update.
10170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10172 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10174 * .gitignore: Delete /ports entry.
10176 2012-07-03 Andreas Jaeger <aj@suse.de>
10178 * po/bg.po: Update from translation team.
10179 * po/cs.po: Likewise.
10180 * po/de.po: Likewise.
10181 * po/hr.po: Likewise.
10182 * po/nl.pl: Likewise.
10183 * po/pl.po: Likewise.
10184 * po/vi.po: Likewise.
10186 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10188 * Makeconfig [!+link] (+link-before-libc): New variable.
10189 [!+link] (+link-after-libc): Likewise.
10190 [!+link] (+link-tests): Likewise.
10191 [!+link] (+link): Define in terms of $(+link-before-libc) and
10192 $(+link-after-libc).
10193 [!+link-static] (+link-static-before-libc): New variable.
10194 [!+link-static] (+link-static-after-libc): Likewise.
10195 [!+link-static] (+link-static-tests): Likewise.
10196 [!+link-static] (+link-static): Define in terms of
10197 $(+link-static-before-libc) and $(+link-static-after-libc).
10198 [build-shared] (link-libc-before-gnulib): New variable.
10199 [build-shared] (link-libc-tests): Likewise.
10200 [build-shared] (link-libc): Define in terms of
10201 $(link-libc-before-gnulib).
10202 [!build-shared] (link-libc-tests): New variable.
10203 (link-libc-static-tests): New variable.
10204 [!gnulib] (gnulib-arch): New variable.
10205 [!gnulib] (gnulib-tests): Likewise.
10206 [!gnulib] (static-gnulib-arch): Likewise.
10207 [!gnulib] (static-gnulib-tests): Likewise.
10208 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10209 Define with "=" instead of ":=".
10210 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10211 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10212 * Rules (binaries-all-notests): New variable.
10213 (binaries-all-tests): Likewise.
10214 (binaries-static-notests): Likewise.
10215 (binaries-static-tests): Likewise.
10216 (binaries-all): Define using $(binaries-all-notests) and
10217 $(binaries-all-tests).
10218 (binaries-static): Define using $(binaries-static-notests) and
10219 $(binaries-static-tests).
10220 (binaries-shared-tests): New variable.
10221 (binaries-shared-notests): Likewise.
10222 (binaries-shared): Remove variable.
10223 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10224 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10225 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10226 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10227 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10228 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10229 * elf/Makefile (sln-modules): New variable.
10230 (extra-objs): Add $(sln-modules:=.o).
10231 (ldconfig-modules): Add static-stubs.
10232 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10233 * elf/static-stubs.c: New file.
10236 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10237 by 7 not 8 to examine high bit of fractional part. Use volatile
10238 variables when splitting into final array of floats if
10239 __FLT_EVAL_METHOD__ != 0.
10240 * math/libm-test.inc (cos_test): Add another test.
10241 (sin_test): Likewise.
10242 * sysdeps/i386/fpu/libm-test-ulps: Update.
10245 * math/libm-test.inc (cosh_test): Add more tests.
10247 * version.h (RELEASE): Set to "development".
10248 (VERSION): Set to "2.16.90".
10250 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10252 * NEWS: Update copyright. Remove last-updated date.
10253 Mention math library bug fixes and timezone data changes.
10254 * README: Mention GNU/Hurd, x32, and HPPA support status.
10256 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10258 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10260 2012-06-27 Andreas Jaeger <aj@suse.de>
10262 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10264 2012-06-25 Andreas Jaeger <aj@suse.de>
10266 * sysdeps/s390/fpu/libm-test-ulps: Update.
10268 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10269 Thomas Schwinge <thomas@codesourcery.com>
10271 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10272 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10273 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10276 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10278 * sysdeps/mach/start.c: Remove file.
10279 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10280 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10281 * sysdeps/sh/init-first.c: Likewise.
10283 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10284 registers for frame unwinding purposes, add CFI directives.
10285 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10286 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10287 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10290 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10291 __fortify_fail returning.
10292 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10294 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10295 sysdeps/sh/____longjmp_chk.S.
10296 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10297 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10298 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10299 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10301 * sysdeps/sh/abort-instr.h: New file.
10302 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10303 process in case exit returns.
10305 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10306 initialize the GOT register before use.
10308 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10309 calculation of ARGC > 4.
10311 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10312 meaningful names to some local labels.
10314 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10315 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10317 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10318 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10319 (__arch_compare_and_exchange_val_16_acq): Likewise.
10320 (__arch_compare_and_exchange_val_32_acq): Likewise.
10321 (atomic_exchange_and_add): Fix gUSA sequence.
10322 (atomic_add): Likewise.
10323 (atomic_add_negative): Likewise.
10324 (atomic_add_zero): Likewise.
10325 (atomic_bit_test_set): Likewise.
10327 2012-06-22 Andreas Schwab <schwab@redhat.com>
10330 * include/link.h (struct link_map): Add l_free_initfini.
10331 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10333 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10334 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10335 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10338 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10340 * configure.in: Use AC_LANG_SOURCE.
10341 * configure: Regenerate.
10343 2012-06-22 Roland McGrath <roland@hack.frob.com>
10345 * configure.in (libc_cv_localstatedir): New substituted variable.
10346 * configure: Regenerated.
10347 * config.make.in (localstatedir): New variable, substituted from
10348 libc_cv_localstatedir.
10349 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10350 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10351 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10352 * sysdeps/gnu/configure: Regenerated.
10354 2012-06-21 Jeff Law <law@redhat.com>
10357 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10358 free. Simplify list management for _LIBC case.
10360 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10363 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10364 Clear sign bit of 64-bit integer value before comparing against
10367 * sysdeps/mach/configure: Regenerated.
10369 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10372 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10374 2012-06-21 Jeff Law <law@redhat.com>
10377 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10378 uint16_t for elements in the "seen" array to avoid char overflows.
10379 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10380 * elf/dl-open.c (dl_open_worker): Likewise.
10382 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10384 * scripts/list-sources.sh: Scan PORTS for translations.
10385 * po/libc.pot: Regenerated.
10387 2012-06-21 Andreas Jaeger <aj@suse.de>
10390 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10392 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10393 * bits/byteswap-16.h (__bswap_16): Likewise.
10394 * bits/byteswap.h (__bswap_constant_16): Likewise.
10396 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10399 * sysdeps/i386/fpu_control.h: Removed.
10400 * sysdeps/x86_64/fpu_control.h: Moved to ...
10401 * sysdeps/x86/fpu_control.h: Here.
10403 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10404 (_FPU_SETCW): Likewise.
10406 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10409 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10410 * sysdeps/x86/fpu/bits/mathinline.h: This.
10411 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10415 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10416 functions if __x86_64__ is defined.
10418 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10420 * string/endian.h: Add !__ASSEMBLER__ condition for including
10421 conversion interfaces.
10423 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10427 of ABS(x) in calculating zero to negative powers other than odd
10429 * math/libm-test.inc (pow_test): Add more tests.
10431 2012-06-15 Andreas Jaeger <aj@suse.de>
10433 * manual/contrib.texi (Contributors): Update entry of Liubov
10434 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10437 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10439 * string/string.h: Add __wur to GNU version of strerror_r.
10441 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10444 * string/Makefile (tests): Add tst-strtok_r.
10445 * string/tst-strtok_r.c: New file.
10446 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10447 RAX_LP/RDX_LP on SAVE_PTR.
10449 2012-06-14 Roland McGrath <roland@hack.frob.com>
10451 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10453 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10455 * libm_test.inc (csqrt_test): Allow more spurious underflow
10457 (j0_test): Likewise.
10458 (j1_test): Likewise.
10459 (y0_test): Likewise.
10460 (y1_test): Likewise.
10462 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10464 * po/Makefile (libc.pot): Use UTF-8 charset.
10466 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10469 Suppress sign-conversion warning from FD_SET.
10470 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10471 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10472 not unsigned long int.
10473 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10475 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10479 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10480 __extern_always_inline instead of __extern_inline.
10481 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10482 (__signbit): Likewise.
10483 (__signbitl): Support C++ namespace.
10484 (lrintf): New inline function.
10486 (llrintf): Likewise.
10487 (llrint): Likewise.
10497 (floorf): Likewise.
10498 (nearbyint): Likewise.
10499 (nearbyintf): Likewise.
10501 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10503 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10504 non-default versions.
10506 2012-06-11 Roland McGrath <roland@hack.frob.com>
10509 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10511 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10513 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10514 (FE_UPWARD, FE_DOWNWARD): Don't define.
10515 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10516 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10518 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10520 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10521 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10523 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10525 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10527 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10528 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10530 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10533 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10534 * sysdeps/i386/fpu/Implies: New file.
10535 * sysdeps/x86_64/fpu/Implies: Likewise.
10536 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10537 * sysdeps/x86/fpu/bits/fenv.h: This.
10539 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10542 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10545 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10546 character 0xffff that matches the last element of the
10549 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10551 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10554 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10557 values higher than 25.6283.
10559 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10561 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10562 subnormal exponent extraction and add some __builtin_expect.
10563 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10564 Fix for subnormal mantissa calculation.
10566 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10568 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10569 cpu2 is -1 and errno is not ENOSYS.
10571 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10574 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10575 * sysdeps/x86/bits/string.h: This.
10576 * sysdeps/x86_64/bits/string.h: Removed.
10578 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10579 if not compiling for x86-64, but compiling for >= i486.
10581 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10582 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10584 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10585 New macro from Linux kernel 3.4.0.
10586 (FP_XSTATE_MAGIC2): Likewise.
10587 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10588 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10589 (struct _fpx_sw_bytes): New struct.
10590 (struct _xsave_hdr): Likewise.
10591 (struct _ymmh_state): Likewise.
10592 (struct _xstate): Likewise.
10594 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10595 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10596 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10597 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10598 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10599 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10601 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10602 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10603 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10604 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10605 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10606 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10608 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10611 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10612 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10613 (sysdep_headers): Include sys/platform/ppc.h.
10614 * sysdeps/powerpc/test-gettimebase.c: Test for
10615 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10616 * manual/Makefile (appendices): Include platform.texi.
10617 * manual/contrib.texi (Contributors): Update @node pointers.
10618 * manual/maint.texi (Maintenance): Likewise.
10619 (Platform): New node.
10620 * manual/platform.texi: New file. Document the new features.
10622 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10623 Jakub Jelinek <jakub@redhat.com>
10626 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10627 where __builtin_expect is unavailable.
10629 2012-06-03 David S. Miller <davem@davemloft.net>
10631 * stdlib/longlong.h: Updated from GCC.
10633 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10636 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10637 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10640 (GLIBC_2.16): Likewise.
10642 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10644 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10646 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10649 (default-abi): New variable.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10651 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10653 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10655 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10657 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10660 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10661 definition. Document in comment.
10663 2012-06-01 David S. Miller <davem@davemloft.net>
10665 * stdlib/longlong.h: Updated from GCC.
10667 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10670 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10671 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10672 sys/debugreg.h sys/io.h here.
10673 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10674 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10676 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10677 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10678 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10679 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10680 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10681 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10683 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10684 Define only if __x86_64__ is defined.
10686 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10689 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10690 Use int64_t for variable i.
10691 * math/libm-test.inc (fmod_test): Add more tests.
10693 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10694 z computation is not scheduled after fetestexcept.
10695 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10696 Use math_force_eval instead of asm to ensure calculation scheduled
10697 before exception test.
10698 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10699 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10701 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10704 computation is not scheduled after fetestexcept.
10706 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10709 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10710 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10712 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10714 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10715 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10717 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10720 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10722 (__WCHAR_MIN): Support __WORDSIZE == 64.
10723 (__WCHAR_MAX): Likewise.
10725 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10726 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10730 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10733 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10734 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10736 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10737 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10739 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10740 Defined to 1 if __x86_64__ isn't defined.
10741 (_STAT_VER_LINUX_OLD): New.
10742 (st_atime): Remove duplicate.
10743 (st_mtime): Likewise.
10744 (st_ctime): Likewise.
10746 2012-05-31 David S. Miller <davem@davemloft.net>
10748 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10751 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10753 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10757 * elf/dl-reloc.c: Include <_itoa.h>.
10758 (_dl_reloc_bad_type): Remove use of INTUSE.
10759 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10760 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10761 * stdio-common/psiginfo.c (psiginfo): Likewise.
10762 * stdio-common/psignal.c (psignal): Likewise.
10763 * string/strsignal.c (strsignal): Likewise.
10764 * include/signal.h (_sys_siglist): Declare hidden proto.
10765 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10766 INTVARDEF with libc_hidden_data_def.
10767 * stdio-common/itoa-udigits.c: Likewise.
10768 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10769 (_itoa_lower_digits_internal): Remove declaration.
10770 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10771 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10772 (_sys_sigabbrev_internal): Remove aliases.
10773 (_sys_siglist): Define hidden alias.
10775 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10780 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10783 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10784 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10786 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10787 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10788 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10789 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10791 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10793 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10794 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10795 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10797 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10805 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10806 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10807 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10809 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10810 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10811 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10812 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10813 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10814 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10816 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10817 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10819 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10820 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10822 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10824 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10826 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10827 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10829 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10831 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10832 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10833 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10835 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10837 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10839 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10841 * math/math.h (M_El): Use two more decimal places.
10842 (M_LOG2El): Likewise.
10843 (M_LOG10El): Likewise.
10844 (M_LN2l): Likewise.
10845 (M_LN10l): Likewise.
10847 (M_PI_2l): Likewise.
10848 (M_PI_4l): Likewise.
10849 (M_1_PIl): Likewise.
10850 (M_2_PIl): Likewise.
10851 (M_2_SQRTPIl): Likewise.
10852 (M_SQRT2l): Likewise.
10853 (M_SQRT1_2l): Likewise.
10855 2012-05-31 David S. Miller <davem@davemloft.net>
10857 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10858 values between float registers.
10859 * sysdeps/sparc/sparc64/memset.S: Likewise.
10860 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10862 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10864 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10865 -D_FORTIFY_SOURCE=1.
10866 (CPPFLAGS-tst-longjmp_chk.c): Define.
10867 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10868 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10869 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10870 CFLAGS-tst-wchar-h.c.
10872 2012-05-31 Marek Polacek <polacek@redhat.com>
10875 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10876 __endmntent_internal): Remove declaration.
10877 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10878 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10879 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10881 2012-05-30 David S. Miller <davem@davemloft.net>
10883 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10884 (___Q_simulate_exceptions): Use real FP ops rather than writing
10886 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10889 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10892 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10893 * sysdeps/x86/bits/xtitypes.h: This.
10895 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10896 * sysdeps/x86/bits/wordsize.h: This.
10898 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10899 * sysdeps/x86/bits/huge_vall.h: This.
10901 * sysdeps/i386/bits/select.h: Removed.
10902 * sysdeps/x86_64/bits/select.h: Renamed to ...
10903 * sysdeps/x86/bits/select.h: This.
10905 * sysdeps/i386/bits/setjmp.h: Removed.
10906 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10907 * sysdeps/x86/bits/setjmp.h: This.
10909 * sysdeps/i386/bits/mathdef.h: Removed.
10910 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10911 * sysdeps/x86/bits/mathdef.h: This.
10913 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10916 * include/sys/socket.h (__connect_internal)
10917 (__libc_sa_len_internal): Remove declaration.
10918 (__connect, __libc_sa_len): Declare hidden_proto.
10919 (SA_LEN): Remove use of INTUSE.
10920 * socket/connect.c: Add libc_hidden_def.
10921 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10922 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10923 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10925 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10926 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10927 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10928 of adding _internal alias.
10930 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10933 * sysdeps/i386/bits/link.h: Removed.
10934 * sysdeps/i386/bits/linkmap.h: Likewise.
10935 * sysdeps/x86_64/bits/link.h: Renamed to ...
10936 * sysdeps/x86/bits/link.h: This.
10937 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10938 * sysdeps/x86/bits/linkmap.h: This.
10940 * sysdeps/i386/bits/endian.h: Removed.
10941 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10942 * sysdeps/x86/bits/endian.h: This.
10944 * sysdeps/i386/bits/byteswap.h: Removed.
10945 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10946 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10947 * sysdeps/x86/bits/byteswap.h: This.
10948 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10949 * sysdeps/x86/bits/byteswap-16.h: This.
10950 * sysdeps/i386/Implies: Add x86.
10951 * sysdeps/x86_64/Implies: Likewise.
10953 2012-05-30 David S. Miller <davem@davemloft.net>
10955 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10956 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10957 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10958 (FP_TRAPPING_EXCEPTIONS): Define.
10959 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10960 (FP_TRAPPING_EXCEPTIONS): Define.
10961 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10962 subnormals only when inexact has been signalled or underflow
10963 exceptions are enabled.
10964 (_FP_PACK_CANONICAL): Likewise.
10966 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10969 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10970 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10972 2012-05-30 Richard Henderson <rth@twiddle.net>
10974 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10975 with #ifndef NOT_IN_libc.
10977 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10978 marked to avoid plt entry.
10980 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10983 * Makeconfig (default-abi): New macro.
10984 (abi-includes): Likewise.
10985 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10986 $(abi-$(default-abi)-lib-soname) for soname if defined.
10987 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10989 * Makefile (installed-stubs): Likewise.
10990 * include/stubs-biarch.h: Removed.
10991 * scripts/lib-names.awk: Only handle one library at a time.
10992 * scripts/soversions.awk: Remove WORDSIZE support.
10993 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10995 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10997 (syscall-list-default-condition): Likewise.
10998 (syscall-list-default-condition): Likewise.
10999 (syscall-list-includes): Likewise.
11000 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11001 syscall-list-* with abi-*. Handle undefined abi-variants.
11002 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11003 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11004 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11005 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11006 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11007 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11009 (syscall-list-32-options): Likewise.
11010 (syscall-list-32-condition): Likewise.
11011 (syscall-list-64-options): Likewise.
11012 (syscall-list-64-condition): Likewise.
11013 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11015 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11018 (abi-64-ld-soname): New macro.
11019 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11020 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11023 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11024 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11026 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11028 * sysdeps/unix/sysv/linux/kernel-features.h
11029 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11030 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11031 include <kernel-features.h>.
11032 [!__NR_ftruncate64]: Remove conditional code.
11033 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11034 [__NR_ftruncate64]: Make code unconditional.
11035 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11036 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11037 include <kernel-features.h>.
11038 [!__NR_ftruncate64]: Remove conditional code.
11039 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11040 [__NR_ftruncate64]: Make code unconditional.
11041 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11043 include <kernel-features.h>.
11044 [!__NR_ftruncate64]: Remove conditional code.
11045 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11046 [__NR_ftruncate64]: Make code unconditional.
11047 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11049 include <kernel-features.h>.
11050 [!__NR_ftruncate64]: Remove conditional code.
11051 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11052 [__NR_ftruncate64]: Make code unconditional.
11053 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11055 * configure.in (libc_cv_fpie): Weaken to a compile test using
11056 LIBC_TRY_CC_OPTION.
11057 * configure: Regenerated.
11059 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11074 2012-05-27 David S. Miller <davem@davemloft.net>
11076 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11078 (__Q_simulate_exceptions): Return void. Change to simulate
11079 exceptions by writing into the %fsr.
11080 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11081 (__Qp_handle_exceptions): Likewise.
11083 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11084 __Qp_handle_exceptions.
11085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11086 __Qp_handle_exceptions.
11087 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11088 as unused and give dummy FP_RND_NEAREST initializer.
11089 (FP_INHIBIT_RESULTS): Define.
11090 (___Q_simulate_exceptions): Update declaration.
11091 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11093 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11094 as unused and give dummy FP_RND_NEAREST initializer.
11095 (__Qp_handle_exceptions): Update declaration.
11096 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11099 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11101 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11102 the temporary FPU control word.
11103 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11104 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11105 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11106 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11107 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11108 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11109 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11110 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11111 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11112 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11113 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11115 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11117 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11120 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11122 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11123 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11124 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11125 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11127 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11128 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11131 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11133 * po/h.po: Update from translation team.
11135 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11137 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11139 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11140 handling of denormals.
11141 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11142 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11143 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11144 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11145 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11146 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11150 2012-05-26 Marek Polacek <polacek@redhat.com>
11153 * math/libm-test.inc (fma_test): Don't always expect underflow
11156 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11159 * elf/tst-execstack.c: Include stackinfo.h.
11160 (do_test): Adjust test case to ensure that pthread_getattr_np
11161 behaviour remains the same after marking stack executable.
11163 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11165 * sysdeps/unix/sysv/linux/kernel-features.h
11166 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11167 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11169 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11170 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11171 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11173 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11174 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11176 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11178 * configure.in: Define the default includes to being none.
11179 * configure: Regenerated.
11181 2012-05-25 Roland McGrath <roland@hack.frob.com>
11183 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11184 * sysdeps/x86_64/setjmp.S: Likewise.
11185 * sysdeps/i386/bsd-setjmp.S: Likewise.
11186 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11187 * sysdeps/i386/setjmp.S: Likewise.
11188 * sysdeps/i386/__longjmp.S: Likewise.
11189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11190 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11192 * include/stap-probe.h: New file.
11193 * configure.in: Handle --enable-systemtap.
11194 * configure: Regenerated.
11195 * config.h.in (USE_STAP_PROBE): New #undef.
11196 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11197 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11198 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11200 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11203 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11204 to 2.4.0 where earlier.
11205 * sysdeps/unix/sysv/linux/configure: Regenerated.
11206 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11207 <kernel-features.h>.
11208 [__ASSUME_32BITUIDS]: Make code unconditional.
11209 [!__ASSUME_32BITUIDS]: Remove conditional code.
11210 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11211 <kernel-features.h>.
11212 [__ASSUME_32BITUIDS]: Make code unconditional.
11213 [!__ASSUME_32BITUIDS]: Remove conditional code.
11214 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11215 [__ASSUME_32BITUIDS]: Make code unconditional.
11216 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11217 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11218 <kernel-features.h>.
11219 [__ASSUME_32BITUIDS]: Make code unconditional.
11220 [!__ASSUME_32BITUIDS]: Remove conditional code.
11221 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
11230 <kernel-features.h>.
11231 [__ASSUME_32BITUIDS]: Make code unconditional.
11232 [!__ASSUME_32BITUIDS]: Remove conditional code.
11233 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11234 <kernel-features.h>.
11235 [__ASSUME_32BITUIDS]: Make code unconditional.
11236 [!__ASSUME_32BITUIDS]: Remove conditional code.
11237 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11238 <kernel-features.h>.
11239 [__ASSUME_32BITUIDS]: Make code unconditional.
11240 [!__ASSUME_32BITUIDS]: Remove conditional code.
11241 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11242 <kernel-features.h>.
11243 [__ASSUME_32BITUIDS]: Make code unconditional.
11244 [!__ASSUME_32BITUIDS]: Remove conditional code.
11245 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11246 <kernel-features.h>.
11247 [__ASSUME_32BITUIDS]: Make code unconditional.
11248 [!__ASSUME_32BITUIDS]: Remove conditional code.
11249 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11250 <kernel-features.h>.
11251 [__ASSUME_32BITUIDS]: Make code unconditional.
11252 [!__ASSUME_32BITUIDS]: Remove conditional code.
11253 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11254 <kernel-features.h>.
11255 [__ASSUME_32BITUIDS]: Make code unconditional.
11256 [!__ASSUME_32BITUIDS]: Remove conditional code.
11257 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11258 <kernel-features.h>.
11259 [__NR_setresgid] (__setresgid): Do not declare.
11260 [__ASSUME_32BITUIDS]: Make code unconditional.
11261 [!__ASSUME_32BITUIDS]: Remove conditional code.
11262 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11263 <kernel-features.h>.
11264 [__NR_setresuid] (__setresuid): Do not declare.
11265 [__ASSUME_32BITUIDS]: Make code unconditional.
11266 [!__ASSUME_32BITUIDS]: Remove conditional code.
11267 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11268 <kernel-features.h>.
11269 [__ASSUME_32BITUIDS]: Make code unconditional.
11270 [!__ASSUME_32BITUIDS]: Remove conditional code.
11271 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11272 <kernel-features.h>.
11273 [__ASSUME_32BITUIDS]: Make code unconditional.
11274 [!__ASSUME_32BITUIDS]: Remove conditional code.
11275 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11276 <kernel-features.h>.
11277 [__ASSUME_32BITUIDS]: Make code unconditional.
11278 [!__ASSUME_32BITUIDS]: Remove conditional code.
11279 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11280 <kernel-features.h>.
11281 [__ASSUME_32BITUIDS]: Make code unconditional.
11282 [!__ASSUME_32BITUIDS]: Remove conditional code.
11283 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11284 <kernel-features.h>.
11285 [__ASSUME_32BITUIDS]: Make code unconditional.
11286 [!__ASSUME_32BITUIDS]: Remove conditional code.
11287 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11288 <kernel-features.h>.
11289 [__ASSUME_32BITUIDS]: Make code unconditional.
11290 [!__ASSUME_32BITUIDS]: Remove conditional code.
11291 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11292 <kernel-features.h>.
11293 [__ASSUME_32BITUIDS]: Make code unconditional.
11294 [!__ASSUME_32BITUIDS]: Remove conditional code.
11295 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11296 <kernel-features.h>.
11297 [__ASSUME_32BITUIDS]: Make code unconditional.
11298 [!__ASSUME_32BITUIDS]: Remove conditional code.
11299 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11300 <kernel-features.h>.
11301 [__ASSUME_32BITUIDS]: Make code unconditional.
11302 [!__ASSUME_32BITUIDS]: Remove conditional code.
11303 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11304 <kernel-features.h>.
11305 [__ASSUME_32BITUIDS]: Make code unconditional.
11306 [!__ASSUME_32BITUIDS]: Remove conditional code.
11307 * sysdeps/unix/sysv/linux/kernel-features.h
11308 (__ASSUME_SETRESUID_SYSCALL): Remove.
11309 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11310 (__ASSUME_32BITUIDS): Likewise.
11311 (__ASSUME_LDT_WORKS): Likewise.
11312 (__ASSUME_O_DIRECTORY): Likewise.
11313 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11314 architecture but not kernel version.
11315 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11316 (__ASSUME_MMAP2_SYSCALL): Likewise.
11317 (__ASSUME_STAT64_SYSCALL): Likewise.
11318 (__ASSUME_IPC64): Likewise.
11319 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11320 <kernel-features.h>.
11321 [__ASSUME_32BITUIDS]: Make code unconditional.
11322 [!__ASSUME_32BITUIDS]: Remove conditional code.
11323 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11324 <kernel-features.h>.
11325 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11326 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11327 132096]: Remove conditional code.
11328 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11329 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11330 <kernel-features.h>.
11331 [__ASSUME_32BITUIDS]: Make code unconditional.
11332 [!__ASSUME_32BITUIDS]: Remove conditional code.
11333 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11334 <kernel-features.h>.
11335 [__ASSUME_32BITUIDS]: Make code unconditional.
11336 [!__ASSUME_32BITUIDS]: Remove conditional code.
11337 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11338 <kernel-features.h>.
11339 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11341 (__setresgid): Do not declare.
11342 [__ASSUME_32BITUIDS]: Make code unconditional.
11343 [!__ASSUME_32BITUIDS]: Remove conditional code.
11344 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11345 <kernel-features.h>.
11346 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11348 (__setresuid): Do not declare.
11349 [__ASSUME_32BITUIDS]: Make code unconditional.
11350 [!__ASSUME_32BITUIDS]: Remove conditional code.
11351 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11352 <kernel-features.h>.
11353 [__ASSUME_32BITUIDS]: Make code unconditional.
11354 [!__ASSUME_32BITUIDS]: Remove conditional code.
11355 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11356 <kernel-features.h>.
11357 [__ASSUME_32BITUIDS]: Make code unconditional.
11358 [!__ASSUME_32BITUIDS]: Remove conditional code.
11360 2012-05-25 Richard Henderson <rth@twiddle.net>
11362 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11363 dl_hwcap to ifunc resolver.
11364 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11366 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11367 dl_hwcap to ifunc resolver.
11368 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11370 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11373 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11374 for |x| <= 2**-26, not 2**-57.
11375 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11378 2012-05-24 Jeff Law <law@redhat.com>
11380 * stdio-common/Makefile (tests): Add bug25.
11381 * stdio-common/bug25.c: New test.
11383 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11386 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11387 multiple of MALLOC_ALIGNMENT in size.
11388 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11390 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11392 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11394 (FILENAME_MAX): Use macro-int-constant.
11395 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11396 (_IOFBF): Use macro-int-constant.
11397 (_IOLBF): Likewise.
11398 (_IONBF): Likewise.
11399 (SEEK_CUR): Likewise.
11400 (SEEK_END): Likewise.
11401 (SEEK_SET): Likewise.
11402 (TMP_MAX): Likewise.
11403 (EOF): Use macro-int-constant. Require < 0.
11404 (NULL): Use macro-constant. Require == 0.
11405 (stdin): Require type to be FILE *.
11406 (stdout): Likewise.
11407 (stderr): Likewise.
11408 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11409 macro-int-constant.
11410 (EXIT_SUCCESS): Likewise.
11411 (NULL): Use macro-constant. Require == 0.
11412 (RAND_MAX): Use macro-int-constant.
11413 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11414 [C99-based standards] (strtof): Require function.
11415 [C99-based standards] (strtold): Likewise.
11416 [C99-based standards] (strtoll): Likewise.
11417 [C99-based standards] (strtoull): Likewise.
11418 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11419 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11420 [ISO || ISO99 || ISO11] (math.h): Likewise.
11421 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11422 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11423 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11425 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11428 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11429 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11430 * intl/dgettext.c (DCGETTEXT): Likewise.
11431 * intl/gettext.c (DCGETTEXT): Likewise.
11432 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11433 * posix/regex_internal.h (gettext): Likewise.
11434 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11435 Remove declaration.
11436 * include/argz.h (__argz_count_internal)
11437 (__argz_stringify_internal): Remove declaration.
11438 (__argz_count, __argz_stringify): Declare hidden proto.
11439 * intl/dcgettext.c: Remove use of INTDEF.
11440 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11441 * string/argz-stringify.c: Likewise.
11442 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11443 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11444 Declare hidden proto.
11445 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11446 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11447 Declare hidden proto.
11448 * include/stdio.h (__asprintf_internal): Don't declare.
11449 (__asprintf): Don't define as macro. Declare hidden proto.
11450 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11451 (__fsetlocking): Declare hidden proto.
11452 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11453 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11455 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11456 (_IO_setlinebuf): Remove use of INTUSE.
11457 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11458 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11459 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11460 Remove declaration.
11461 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11462 (_IO_do_flush): Remove use of INTUSE.
11463 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11464 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11465 (_IO_adjust_column, _IO_least_wmarker)
11466 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11467 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11468 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11469 (_IO_default_doallocate, _IO_wdefault_doallocate)
11470 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11471 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11472 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11473 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11474 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11475 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11476 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11477 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11478 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11479 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11480 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11481 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11482 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11484 (_IO_flush_all_internal, _IO_adjust_column_internal)
11485 (_IO_default_uflow_internal, _IO_default_finish_internal)
11486 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11487 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11488 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11489 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11490 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11491 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11492 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11493 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11494 (_IO_file_close_internal, _IO_file_close_it_internal)
11495 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11496 (_IO_file_init_internal, _IO_file_attach_internal)
11497 (_IO_file_fopen_internal, _IO_file_read_internal)
11498 (_IO_file_sync_internal, _IO_file_seek_internal)
11499 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11500 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11501 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11502 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11503 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11504 (_IO_list_all_internal, _IO_link_in_internal)
11505 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11506 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11507 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11508 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11509 (_IO_do_write_internal, _IO_padn_internal)
11510 (_IO_getline_info_internal, _IO_getline_internal)
11511 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11512 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11513 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11514 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11515 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11516 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11517 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11518 with libc_hidden_ver, remove use of INTUSE.
11519 * libio/genops.c: Likewise.
11520 * libio/freopen.c: Likewise.
11521 * libio/freopen64.c: Likewise.
11522 * libio/iofclose.c: Likewise.
11523 * libio/iofdopen.c: Likewise.
11524 * libio/iofflush.c: Likewise.
11525 * libio/iofflush_u.c: Likewise.
11526 * libio/iofgets.c: Likewise.
11527 * libio/iofgets_u.c: Likewise.
11528 * libio/iofopen.c: Likewise.
11529 * libio/iofopncook.c: Likewise.
11530 * libio/iofread.c: Likewise.
11531 * libio/iofread_u.c: Likewise.
11532 * libio/ioftell.c: Likewise.
11533 * libio/iofwrite.c: Likewise.
11534 * libio/iogetline.c: Likewise.
11535 * libio/iogets.c: Likewise.
11536 * libio/iogetwline.c: Likewise.
11537 * libio/iopadn.c: Likewise.
11538 * libio/iopopen.c: Likewise.
11539 * libio/ioseekoff.c: Likewise.
11540 * libio/ioseekpos.c: Likewise.
11541 * libio/iosetbuffer.c: Likewise.
11542 * libio/iosetvbuf.c: Likewise.
11543 * libio/ioungetc.c: Likewise.
11544 * libio/ioungetwc.c: Likewise.
11545 * libio/iovdprintf.c: Likewise.
11546 * libio/iovsprintf.c: Likewise.
11547 * libio/iovsscanf.c: Likewise.
11548 * libio/memstream.c: Likewise.
11549 * libio/obprintf.c: Likewise.
11550 * libio/oldfileops.c: Likewise.
11551 * libio/oldiofclose.c: Likewise.
11552 * libio/oldiofdopen.c: Likewise.
11553 * libio/oldiofopen.c: Likewise.
11554 * libio/oldiopopen.c: Likewise.
11555 * libio/oldstdfiles.c: Likewise.
11556 * libio/putc.c: Likewise.
11557 * libio/setbuf.c: Likewise.
11558 * libio/setlinebuf.c: Likewise.
11559 * libio/stdfiles.c: Likewise.
11560 * libio/strops.c: Likewise.
11561 * libio/vasprintf.c: Likewise.
11562 * libio/vscanf.c: Likewise.
11563 * libio/vsnprintf.c: Likewise.
11564 * libio/vswprintf.c: Likewise.
11565 * libio/wfiledoalloc.c: Likewise.
11566 * libio/wfileops.c: Likewise.
11567 * libio/wgenops.c: Likewise.
11568 * libio/wmemstream.c: Likewise.
11569 * libio/wstrops.c: Likewise.
11570 * libio/__fpurge.c: Likewise.
11571 * libio/__fsetlocking.c: Likewise.
11572 * assert/assert.c: Likewise.
11573 * debug/fgets_chk.c: Likewise.
11574 * debug/fgets_u_chk.c: Likewise.
11575 * debug/fread_chk.c: Likewise.
11576 * debug/fread_u_chk.c: Likewise.
11577 * debug/gets_chk.c: Likewise.
11578 * debug/obprintf_chk.c: Likewise.
11579 * debug/vasprintf_chk.c: Likewise.
11580 * debug/vdprintf_chk.c: Likewise.
11581 * debug/vsnprintf_chk.c: Likewise.
11582 * debug/vsprintf_chk.c: Likewise.
11583 * malloc/mtrace.c: Likewise.
11584 * misc/error.c: Likewise.
11585 * misc/syslog.c: Likewise.
11586 * stdio-common/asprintf.c: Likewise.
11587 * stdio-common/fxprintf.c: Likewise.
11588 * stdio-common/getw.c: Likewise.
11589 * stdio-common/isoc99_fscanf.c: Likewise.
11590 * stdio-common/isoc99_scanf.c: Likewise.
11591 * stdio-common/isoc99_vfscanf.c: Likewise.
11592 * stdio-common/isoc99_vscanf.c: Likewise.
11593 * stdio-common/isoc99_vsscanf.c: Likewise.
11594 * stdio-common/printf-prs.c: Likewise.
11595 * stdio-common/printf_fp.c: Likewise.
11596 * stdio-common/printf_fphex.c: Likewise.
11597 * stdio-common/printf_size.c: Likewise.
11598 * stdio-common/putw.c: Likewise.
11599 * stdio-common/scanf.c: Likewise.
11600 * stdio-common/sprintf.c: Likewise.
11601 * stdio-common/tmpfile.c: Likewise.
11602 * stdio-common/vfprintf.c: Likewise.
11603 * stdio-common/vfscanf.c: Likewise.
11604 * stdlib/strfmon_l.c: Likewise.
11605 * sunrpc/openchild.c: Likewise.
11606 * sunrpc/xdr_stdio.c: Likewise.
11607 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11608 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11610 2012-05-24 Roland McGrath <roland@hack.frob.com>
11612 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11614 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11615 in the third column, to generate for the shared library an IFUNC
11616 that uses _dl_vdso_vsym.
11617 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11618 * Makeconfig (object-suffixes-noshared): New variable.
11620 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11621 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11622 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11623 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11626 * include/sys/time.h (__gettimeofday): Remove macro.
11627 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11628 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11630 (__gettimeofday): Add libc_hidden_def.
11631 (gettimeofday): Add libc_hidden_weak.
11632 * sysdeps/mach/gettimeofday.c: Likewise.
11633 * sysdeps/posix/gettimeofday.c: Likewise.
11634 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11635 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11636 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11637 (__gettimeofday_internal): Remove strong_alias.
11638 (__gettimeofday): Add libc_hidden_def.
11639 (gettimeofday): Add libc_hidden_weak.
11640 * sysdeps/unix/syscalls.list (gettimeofday):
11641 Remove __gettimeofday_internal alias.
11643 2012-05-24 Daniel Jacobowitz <drow@false.org>
11644 H.J. Lu <hongjiu.lu@intel.com>
11647 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11648 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11649 (largebin_index_32_big): New.
11650 (largebin_index): Use it for 16-byte alignment.
11651 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11652 correction with front_misalign.
11654 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11682 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11683 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11685 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11689 * math/libm-test.inc (exp_test): Add test from bug 14036.
11690 (pow_test): Add test from bug 10846.
11692 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11694 (special_function): Do not include flags in test name.
11695 (parse_args): Likewise.
11696 * sysdeps/i386/fpu/libm-test-ulps: Update.
11697 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11698 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11699 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11702 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11704 * math/libm-test.inc ("Philosophy"): Update comment about
11706 (UNDERFLOW_EXCEPTION): New macro.
11707 (UNDERFLOW_EXCEPTION_OK): Likewise.
11708 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11709 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11710 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11711 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11712 (INVALID_EXCEPTION_OK): Update value.
11713 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11714 (OVERFLOW_EXCEPTION_OK): Likewise.
11715 (IGNORE_ZERO_INF_SIGN): Likewise.
11716 (test_exceptions): Handle underflow exceptions.
11717 (acos_test): Update for underflow exception expectations.
11718 (cexp_test): Likewise.
11719 (clog_test): Likewise.
11720 (clog10_test): Likewise.
11721 (csqrt_test): Likewise.
11722 (ctan_test): Likewise.
11723 (ctanh_test): Likewise.
11724 (exp_test): Likewise.
11725 (exp10_test): Likewise.
11726 (exp2_test): Likewise.
11727 (expm1_test): Likewise.
11728 (fma_test): Likewise.
11729 (j0_test): Likewise.
11730 (jn_test): Likewise.
11731 (nexttoward_test): Likewise.
11732 (pow_test): Likewise.
11733 (scalbn_test): Likewise.
11734 (scalbln_test): Likewise.
11735 (tan_test): Likewise.
11736 (y1_test): Likewise.
11737 * sysdeps/i386/fpu/libm-test-ulps: Update.
11738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11740 2012-05-23 David S. Miller <davem@davemloft.net>
11742 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11743 (__libc_sigaction): Remove unused local variables.
11745 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11747 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11749 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11751 mktime: avoid signed integer overflow
11752 * time/mktime.c (__mktime_internal): Do not mishandle the case
11753 where diff == INT_MIN.
11755 mktime: simplify computation of average
11756 * time/mktime.c (ranged_convert): Use new time_t_avg function
11757 instead of rolling our own (probably-slower) code.
11759 mktime: do not assume signed right shift propagates sign bit
11760 * time/mktime.c (isdst_differ): New static function.
11761 (__mktime_internal): No need to normalize tm_isdst now.
11762 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11765 mktime: merge another wrapv change from gnulib
11766 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11767 from some compilers.
11769 mktime: remove incorrect attempt at unusual arithmetics
11770 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11771 The code didn't really work on such machines anyway.
11772 (TYPE_MINIMUM): Assume two's complement.
11773 (twos_complement_arithmetic): Verify that long_int and time_t
11774 are two's complement (or unsigned, in the latter case).
11776 mktime: check signed shifts on long_int and time_t, too
11777 * time/mktime.c (SHR): Check that shifts work as desired
11778 on the types long_int and time_t too, as SHR is used on
11781 mktime: do not assume 'long' is wide enough
11782 * time/mktime.c (verify): Move decl up.
11783 (long_int): New type.
11784 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11785 to remove assumption in the code that 'long' is wide enough to
11786 store year values. This assumption is not true on x32 and on
11787 some non-glibc platforms.
11789 mktime: merge wrapv change from gnulib
11790 * time/mktime.c (WRAPV): New macro.
11791 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11792 (guess_time_tm, __mktime_internal): Do not assume that signed
11793 integer overflow wraps around; modern compilers generate code
11794 where this assumption is no longer valid.
11796 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11798 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11799 Replace "jmp L(pseudo_end)" with "ret".
11800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11803 2012-05-23 Andreas Jaeger <aj@suse.de>
11805 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11806 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11808 2012-05-23 Andreas Jaeger <aj@suse.de>
11809 Maximilian Attems <max@stro.at>
11811 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11814 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11816 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11817 code so that pseudo_end is just ret and the stack pointer is
11818 correct also for static library in error case.
11820 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11822 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11823 move to syscalls.list.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11829 * manual/install.texi (Running make install): Do not mention Linux
11830 kernel version for which pt_chown is not needed.
11831 (Linux): Do not mention problems with nscd with 2.0 kernels.
11832 * INSTALL: Regenerated.
11834 2012-05-23 Andreas Jaeger <aj@suse.de>
11836 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11837 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11839 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11840 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11841 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11842 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11843 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11844 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11845 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11846 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11848 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11849 * sysdeps/unix/sysv/linux/bits/in.h
11850 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11852 2012-05-22 Roland McGrath <roland@hack.frob.com>
11854 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11855 (PREPARE_VERSION): Just use assert instead, it will be elided
11856 under [NDEBUG] anyway.
11858 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11860 * sysdeps/unix/sysv/linux/Makefile: Include
11861 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11862 (sysdep_routines): Remove sysctl.
11863 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11864 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11865 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11866 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11867 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11869 2012-05-22 Andreas Jaeger <aj@suse.de>
11871 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11872 that pseudo_end is just ret and the stack pointer is correct also
11873 for static library in error case.
11875 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11878 * nss/nsswitch.c (defconfig_entries): New variable.
11879 (__nss_database_lookup): Don't leak defconfig entries.
11880 (nss_parse_service_list): Don't leak on error paths.
11881 (free_database_entries): New function.
11882 (free_defconfig): New function.
11883 (free_mem): Move common code to free_database_entries.
11885 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11887 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11889 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11891 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11892 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11895 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11896 (INTERNAL_SYSCALL_TYPES): Likewise.
11897 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11898 (LOAD_REGS_TYPES_[1-6]): Likewise.
11899 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11900 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11902 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11904 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11905 copysignl for GLIBC_2_0.
11906 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11907 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11909 logbl for GLIBC_2_0.
11910 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11911 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11913 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11916 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11918 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11921 * time/mktime.c: Update copyright years.
11923 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11925 mktime: merge comment-quoting-style change from gnulib
11926 * time/mktime.c: Quote 'like this' in comments.
11927 The GNU coding standards suggest that we no longer quote `like this',
11928 as "`" and "'" are typically rendered asymmetrically nowadays.
11929 The typical gnulib style is to quote 'like this' when quoting
11930 code, and "like this" when quoting English.
11932 * time/mktime.c (compile-command): Add "-I.".
11934 mktime: merge mktime-internal.h change from gnulib
11935 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11937 mktime: merge time_r change from gnulib
11938 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11940 mktime: merge DEBUG change from gnulib
11941 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11942 case system <time.h> has a #define.
11944 mktime: merge <sys/types.h> change from gnulib
11945 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11946 since <time.t> is now guaranteed to define time_t.
11948 mktime: merge HAVE_CONFIG_H change from gnulib
11949 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11951 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11956 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11958 (struct rusage): Use anonymous union to pad each field to
11961 2012-05-21 David S. Miller <davem@davemloft.net>
11963 * Makefules (o-iterator): Remove .s cases.
11964 (compile-command.s): Delete.
11965 (COMPILE.s): Delete.
11966 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11968 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11970 * configure.in (libc_cv_predef_stack_protector): Only consider
11971 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11972 * configure: Regenerated.
11974 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11977 New macro. Use R*LP on int and pointer.
11978 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11979 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11980 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11981 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11983 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11984 [__WORDSIZE_TIME64_COMPAT32] instead of
11985 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11986 (struct utmp): Likewise.
11987 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11988 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11990 (__WORDSIZE_TIME64_COMPAT32): This.
11991 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11992 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11993 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11994 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11995 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11996 (__WORDSIZE_TIME64_COMPAT32): New macro.
11998 2012-05-21 Andreas Jaeger <aj@suse.de>
12000 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12001 only if [SHARED]. Add prototype for __wcschr_ia32.
12003 2012-05-21 Roland McGrath <roland@hack.frob.com>
12005 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12006 of %rbp unmolested in the jmp_buf while mangling the low bits.
12007 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12008 unmolested high bits of %rbp while demangling the low bits.
12009 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12011 2012-05-21 Andreas Jaeger <aj@suse.de>
12013 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12014 * sunrpc/svc_simple.c: Use it for registerrpc.
12015 * sunrpc/xcrypt.c: Use it for passwd2des.
12017 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12019 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12021 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12022 Don't define if [__SYSCALL_WORDSIZE != 32].
12023 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12026 2012-05-21 Bruno Haible <bruno@clisp.org>
12027 Andreas Jaeger <aj@suse.de>
12029 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12030 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12031 inptr and inend for must_buffer_ch.
12032 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12033 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12034 * stdio-common/Makefile (tests): Remove bug15.
12035 (bug15-ENV): Remove macro.
12036 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12039 2012-05-19 Andreas Jaeger <aj@suse.de>
12040 Roland McGrath <roland@hack.frob.com>
12042 * manual/contrib.texi: Completely rewritten. It contains now an
12043 alphabetical list of contributors and their contributions.
12045 2012-05-21 Richard Henderson <rth@twiddle.net>
12047 * misc/getauxval.c (__getauxval): Use unsigned long int.
12048 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12049 (getauxval): Use unsigned long int.
12051 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12053 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12055 2012-05-21 Roland McGrath <roland@hack.frob.com>
12057 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12058 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12059 __alignof__ (long double).
12061 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12065 2012-05-20 Richard Henderson <rth@twiddle.net>
12067 * misc/getauxval.c: New file.
12068 * misc/sys/auxv.h: New file.
12069 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12070 (routines): Add getauxval.
12071 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12072 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12073 * elf/dl-sysdep.c (_dl_auxv): Remove.
12074 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12075 * elf/dl-support.c (_dl_auxv): New variable.
12076 (_dl_aux_init): Initialize it.
12077 * manual/startup.texi (Auxiliary Vector): New node.
12078 * sysdeps/generic/bits/hwcap.h: New file.
12079 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12080 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12081 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12082 * sysdeps/sparc/sysdep.h: ... here. Include it.
12083 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12084 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12090 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12096 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12100 2012-05-19 David S. Miller <davem@davemloft.net>
12102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12104 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12107 * math/s_ccosh.c: Include <float.h>
12108 (__ccosh): Avoid internal overflow calculating sinh and cosh
12109 values before multiplying by sin and cos values.
12110 * math/s_ccoshf.c: Likewise.
12111 * math/s_ccoshl.c: Likewise.
12112 * math/s_csin.c: Likewise.
12113 * math/s_csinf.c: Likewise.
12114 * math/s_csinl.c: Likewise.
12115 * math/s_csinh.c: Likewise.
12116 * math/s_csinhf.c: Likewise.
12117 * math/s_csinhl.c: Likewise.
12118 * math/libm-test.inc (ccos_test): Add more tests.
12119 (ccosh_test): Likewise.
12120 (csin_test): Likewise.
12121 (csinh_test): Likewise.
12122 * sysdeps/i386/fpu/libm-test-ulps: Update.
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12125 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12127 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12128 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12130 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12132 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12134 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12135 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12136 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12137 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12138 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12139 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12140 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12141 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12142 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12143 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12144 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12145 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12146 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12147 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12148 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12149 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12150 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12151 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12152 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12153 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12154 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12155 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12156 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12157 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12158 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12159 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12160 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12161 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12162 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12163 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12164 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12166 2012-05-18 Andreas Jaeger <aj@suse.de>
12168 * csu/.gitignore: Delete.
12170 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12172 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12173 (timex): Use __syscall_slong_t.
12175 2012-05-18 Andreas Jaeger <aj@suse.de>
12176 Carlos O'Donell <carlos_odonell@mentor.com>
12178 * manual/install.texi (Configuring and compiling): Update
12179 description about files modified in the source directory.
12180 * INSTALL: Regenerated.
12182 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12184 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12185 value. Use "or" to set return value to -1.
12186 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12187 negate return value.
12189 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12191 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12192 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12193 failure if the compiler has Graphite support disabled.
12194 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12196 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12197 CFLAGS-memmove.c): Likewise.
12198 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12201 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12203 * sysdeps/x86_64/x32/_itoa.h: New file.
12205 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12206 getdents system call only if kernel and user dirents have the
12207 same d_ino and d_off.
12209 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12210 LLONG_MAX != LONG_MAX.
12211 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12212 (_fitoa_word): Likewise.
12214 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12216 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12217 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12218 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12220 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12221 include <bits/wordsize.h>. Check __x86_64__ instead of
12223 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12224 if __x86_64__ is defined. Use anonymous union on fpstate.
12226 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12229 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12231 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12232 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12233 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12234 Refer to _rtld_local_ro instead of _rtld_global_ro.
12235 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12237 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12239 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12241 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12242 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12243 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12245 * sysdeps/powerpc/powerpc32/dl-machine.c
12246 (__elf_machine_runtime_setup) [PROF]: Don't reference
12249 2012-05-18 Andreas Jaeger <aj@suse.de>
12251 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12252 function only available for GCCs before 3.4 since GCC 3.4
12253 introduced a builtin.
12255 (llrintf): Likewise.
12256 (llrint): Likewise.
12263 (nearbyint): Likewise.
12264 (nearbyintf): Likewise.
12268 (floorf): Likewise.
12270 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12272 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12273 on both fields and cast pointer to __syscall_ulong_t.
12275 * bits/types.h (__fsword_t): New type.
12276 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12277 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12279 (__FSWORD_T_TYPE): Likewise.
12280 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12281 (__FSWORD_T_TYPE): Likewise.
12282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12283 (__FSWORD_T_TYPE): Likewise.
12284 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12285 (__FSWORD_T_TYPE): Likewise.
12286 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12287 __SWORD_TYPE with __fsword_t.
12288 (statfs64): Likewise.
12290 2012-05-17 David S. Miller <davem@davemloft.net>
12292 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12294 2012-05-17 Andreas Jaeger <aj@suse.de>
12296 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12299 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12301 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12303 2012-05-17 Andreas Jaeger <aj@suse.de>
12305 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12308 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12310 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12312 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12314 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12315 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12317 2012-05-17 Andreas Jaeger <aj@suse.de>
12318 Carlos O'Donell <carlos_odonell@mentor.com>
12321 * sysdeps/x86_64/multiarch/init-arch.h
12322 (bit_YMM_Usable): Rename to...
12323 (bit_AVX_Usable): ... this.
12324 (bit_FMA4_Usable): New macro.
12325 (bit_XMM_state): New macro.
12326 (bit_YMM_state): New macro.
12327 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12328 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12329 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12330 (CPUID_OSXSAVE): New macro.
12331 (CPUID_AVX): New macro.
12332 (CPUID_FMA4): New macro.
12333 (index_YMM_Usable): Rename to...
12334 (index_AVX_Usable): ... this.
12335 (HAS_AVX): Use HAS_ARCH_FEATURE.
12336 (HAS_FMA4): Likewise.
12337 (HAS_YMM_USABLE): Remove.
12338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12339 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12341 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12342 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12343 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12344 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12345 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12347 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12349 * math/libm-test.c: Support platforms without multiple rounding modes.
12350 * math/bug-nextafter.c: Support platforms without FP exceptions.
12351 * math/bug-nexttoward.c: Likewise.
12352 * math/test-fenv.c: Likewise.
12353 * math/test-misc.c: Likewise.
12354 * stdlib/bug-getcontext.c: Likewise.
12356 2012-05-17 Andreas Jaeger <aj@suse.de>
12358 * manual/examples/search.c (critter_cmp): Change signature to
12360 * manual/string.texi (Collation Functions): Likewise.
12362 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12364 * bits/types.h: Fold copyright years.
12365 * bits/typesizes.h: Likewise.
12366 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12367 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12370 * time/time.h: Likewise.
12372 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12375 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12376 in instead of returning them. Return void.
12377 (__libc_mallinfo): Accumulate over all arenas.
12378 (__malloc_stats): Adjust for change in int_mallinfo interface.
12380 2012-05-16 Roland McGrath <roland@hack.frob.com>
12383 * configure.in (NM): Add AC_CHECK_TOOL for it.
12384 (libc_extra_cflags): New substituted variable.
12385 Check for -fstack-protector being used implicitly.
12386 * configure: Regenerated.
12387 * config.make.in (config-extra-cflags): New variable,
12388 gets @libc_extra_cflags@.
12389 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12392 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12393 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12394 * configure: Regenerated.
12395 * config.make.in (CPPUNDEFS): New substituted variable.
12396 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12397 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12398 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12400 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12402 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12403 (mq_attr): Use __syscall_slong_t.
12405 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12407 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12408 Check __x86_64__ instead of __WORDSIZE.
12409 (_STAT_VER_LINUX): Likewise.
12410 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12411 __syscall_ulong_t and __syscall_slong_t.
12412 (stat64): Likewise.
12414 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12416 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12418 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12420 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12422 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12424 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12427 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12428 include <bits/wordsize.h>. Check __x86_64__ instead of
12430 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12432 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12434 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12435 include <bits/wordsize.h>. Check __x86_64__ instead of
12437 (user_regs_struct): Use "__extension__ unsigned long long"
12438 instead of "unsigned long" if __x86_64__ is defined.
12439 (user): Likewise. Pad after pointer field if __ILP32__ is
12442 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12444 * configure.in (makeinfo): Require version 4.5 or later. Allow
12446 * configure: Regenerated.
12447 * manual/install.texi (texinfo): Increase version requirement to
12449 * INSTALL: Regenerated.
12451 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12453 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12455 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12457 * sysdeps/x86_64/x32/ffs.c: New file.
12459 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12461 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12462 defined. Use __syscall_ulong_t.
12463 (shminfo): Use __syscall_ulong_t.
12464 (shm_info): Likewise.
12466 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12469 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12471 (msgqnum_t): Use __syscall_ulong_t.
12472 (msglen_t): Likewise.
12473 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12476 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12477 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12479 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12481 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12482 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12484 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12487 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12488 include <bits/wordsize.h>. Check __x86_64__ instead of
12491 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12492 "unsigned long long int" if __x86_64__ is defined.
12493 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12495 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12496 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12497 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12499 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12501 (GET_PC): Cast to uintptr_t first.
12502 (GET_FRAME): Likewise.
12503 (GET_STACK): Likewise.
12505 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12506 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12507 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12508 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12509 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12510 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12511 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12512 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12513 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12514 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12515 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12516 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12517 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12518 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12519 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12520 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12521 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12522 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12523 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12525 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12528 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12529 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12530 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12531 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12532 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12533 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12535 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12537 * Makerules (+depfiles): Also collect depfiles from .oS in
12539 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12540 .oS, $(libnldbl-routines)).
12542 * Makerules (native-compile-mkdep-flags): Define.
12543 * sunrpc/Makefile (extra-objs): Add $(addprefix
12544 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12545 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12546 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12547 calling $(make-target-directory).
12549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12551 * bits/types.h (__snseconds_t): Removed.
12552 * time/time.h (struct timespec): Replace __snseconds_t with
12554 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12555 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12558 (__SNSECONDS_T_TYPE): Likewise.
12559 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12560 (__SNSECONDS_T_TYPE): Likewise.
12561 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12562 (__SNSECONDS_T_TYPE): Likewise.
12564 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12566 * sysdeps/mach/hurd/bits/typesizes.h
12567 (__SYSCALL_SLONG_TYPE): New macro.
12568 (__SYSCALL_ULONG_TYPE): Likewise.
12570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12572 * bits/types.h (__syscall_slong_t): New type.
12573 (__syscall_ulong_t): Likewise.
12575 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12576 (__SYSCALL_ULONG_TYPE): Likewise.
12577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12578 (__SYSCALL_SLONG_TYPE): Likewise.
12579 (__SYSCALL_ULONG_TYPE): Likewise.
12580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12581 (__SYSCALL_SLONG_TYPE): Likewise.
12582 (__SYSCALL_ULONG_TYPE): Likewise.
12583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12584 (__SYSCALL_SLONG_TYPE): Likewise.
12585 (__SYSCALL_ULONG_TYPE): Likewise.
12587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12589 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12590 Add sigaltstack-offsets.sym.
12591 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12592 <sigaltstack-offsets.h>.
12593 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12594 longjmp_msg pointer.
12595 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12596 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12598 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12600 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12602 * elf/stackguard-macros.h: Remove file.
12603 * sysdeps/generic/stackguard-macros.h: New file.
12604 * sysdeps/i386/stackguard-macros.h: Likewise.
12605 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12606 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12607 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12608 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12609 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12610 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12611 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12612 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12613 <elf/stackguard-macros.h>.
12616 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12617 __aligned__ in attribute.
12618 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12619 (gregset_t): Likewise.
12621 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12623 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12624 * sysdeps/x86_64/64/Implies-after: Here. New file.
12625 * sysdeps/x86_64/x32/Implies-after: New file.
12627 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12629 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12630 and access return value for _dl_profile_fixup. Use R10_LP to
12633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12635 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12639 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12640 * sysdeps/x86_64/x32/sysdep.h: New file.
12642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12644 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12645 * sysdeps/x86_64/setjmp.S: Likewise.
12647 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12649 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12650 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12651 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12652 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12653 remove unused global constant.
12655 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12657 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12658 include of <not-cancel.h>.
12660 2012-05-15 Roland McGrath <roland@hack.frob.com>
12662 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12664 2012-05-15 Jeff Law <law@redhat.com>
12665 Andreas Jaeger <aj@suse.de>
12668 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12670 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12671 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12672 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12673 code changing __hst_map_handle.map.
12675 2012-05-15 Roland McGrath <roland@hack.frob.com>
12677 * configure.in (sysnames): Look for Implies-before and Implies-after
12679 * configure: Regenerated.
12681 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12683 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12684 8-byte data alignment with LP_SIZE alignment.
12686 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12688 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12693 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12697 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12698 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12699 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12701 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12705 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12706 (stackinfo_sub_sp): Likewise.
12708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12715 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12718 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12723 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12725 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12729 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12730 into R11_LP and load __x86_64_shared_cache_size_half into
12733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12735 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12738 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12740 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12744 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12746 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12747 powerpc32/power7/fpu/s_logb.c via #include.
12748 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12749 powerpc32/power7/fpu/s_logbf.c via #include.
12750 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12751 powerpc32/power7/fpu/s_logbl.c via #include.
12753 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12755 * README.libm: Remove file.
12757 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12759 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12760 count for x32. Use R*_LP and omit operand-size suffix.
12762 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12764 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12765 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12766 * sysdeps/x86_64/x32/shlib-versions: New file.
12768 2012-05-14 Roland McGrath <roland@hack.frob.com>
12770 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12771 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12772 Use _dl_fatal_printf instead.
12774 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12776 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12777 set if not set by the user. Do not allow for being unset.
12778 * sysdeps/unix/sysv/linux/configure: Regenerated.
12780 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12782 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12783 the `q' suffix from lea and replace .quad with ASM_ADDR.
12785 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12788 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12790 (PTR_DEMANGLE): Likewise.
12792 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12794 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12796 (ASM_ADDR): Likewise.
12797 (RAX_LP): Likewise.
12798 (RBP_LP): Likewise.
12799 (RBX_LP): Likewise.
12800 (RCX_LP): Likewise.
12801 (RDI_LP): Likewise.
12802 (RSI_LP): Likewise.
12803 (RSP_LP): Likewise.
12806 (R10_LP): Likewise.
12807 (R10_LP): Likewise.
12808 (R11_LP): Likewise.
12809 (R12_LP): Likewise.
12810 (R13_LP): Likewise.
12811 (R14_LP): Likewise.
12812 (R15_LP): Likewise.
12814 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12816 * sysdeps/x86_64/x32/dl-machine.h: New file.
12818 2012-05-14 Andreas Jaeger <aj@suse.de>
12820 * manual/Makefile (subdir): Remove export of subdir.
12821 (all): Remove target.
12822 (.PHONY): Remove all from list.
12823 (mkinstalldirs): Remove.
12824 (.PHONY): Remove installdirs from list.
12825 ($(inst_infodir)/libc.info): Use make-target-directory.
12826 (installdirs): Remove.
12827 (subdir_%): Remove.
12828 (glibc-targets): Remove.
12831 ($(objpfx)stubs ../po/manual.pot): Remove.
12832 ($(objpfx)stamp%): Remove.
12833 (make-target-directory): Remove.
12834 (subdir_install): Remove.
12835 (routines): Remove.
12842 * manual/.gitignore: Remove, it's not needed anymore.
12843 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12845 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12847 (texis): Renamed to $(objpfx)texis.
12848 (texis-path): New, contains path to generated files.
12849 (chapters.%): Use texis-path for complete path, add extra argument
12851 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12852 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12853 (summary,texi, stamp-summary): Use complete path of
12854 files. Generate files in build dir.
12855 (dir-add.texi): Build in build dir.
12856 (libm-err.texi,stamp-libm-err): Likewise.
12857 (version.texi, stamp-version): Likewise.
12858 (.%c.texi): Likewise.
12859 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12860 (mostlyclean): Remove target.
12861 (realclean): Remove target.
12862 (generated): Add new variable with contents from mostlyclean and
12863 realclean, remove entries duplicated in common-mostlyclean, add
12864 stamp-libm-err and stamp-version.
12865 (generated-dirs): Add libc directory.
12866 ($(inst_infodir)/libc.info): Install files from build dir.
12868 * manual/install.texi (Configuring and compiling): Adjust since
12869 the info files are not part of the tar ball anymore.
12871 2012-05-14 Andreas Jaeger <aj@suse.de>
12873 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12876 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12879 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12880 to 2.2.0 where earlier.
12881 * sysdeps/unix/sysv/linux/configure: Regenerated.
12882 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12883 Remove conditional code.
12884 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12885 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12886 Remove conditional code.
12887 [!__NR_lchown]: Likewise.
12888 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12889 [__NR_lchown]: Likewise.
12890 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12891 comment referencing __ASSUME_LCHOWN_SYSCALL.
12892 * sysdeps/unix/sysv/linux/i386/sigaction.c
12893 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12894 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12895 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12896 Remove conditional code.
12897 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12898 (__protocol_available): Remove #if 0 code.
12899 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12901 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12902 * sysdeps/unix/sysv/linux/kernel-features.h
12903 (__ASSUME_GETCWD_SYSCALL): Don't define.
12904 (__ASSUME_REALTIME_SIGNALS): Likewise.
12905 (__ASSUME_PREAD_SYSCALL): Likewise.
12906 (__ASSUME_PWRITE_SYSCALL): Likewise.
12907 (__ASSUME_POLL_SYSCALL): Likewise.
12908 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12909 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12911 (__ASSUME_SIOCGIFNAME): Don't define.
12912 (__ASSUME_MSG_NOSIGNAL): Likewise.
12913 (__ASSUME_SENDFILE): Define unconditionally.
12914 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12915 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12917 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12918 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12919 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12920 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12921 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12922 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12923 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12925 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12926 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12928 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12931 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12932 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12934 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12937 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12938 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12940 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12943 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12944 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12946 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12947 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12948 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12949 Remove conditional code.
12950 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12951 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12952 Remove conditional code.
12953 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12954 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12955 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12956 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12957 Remove conditional code.
12958 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12959 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12960 Remove conditional code.
12961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12962 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12963 Remove conditional code.
12964 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12965 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12966 Remove conditional code.
12967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12968 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12969 Remove conditional code.
12970 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12971 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12972 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12974 * sysdeps/unix/sysv/linux/sigaction.c
12975 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12976 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12977 * sysdeps/unix/sysv/linux/sigpending.c
12978 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12979 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12980 * sysdeps/unix/sysv/linux/sigprocmask.c
12981 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12982 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12983 * sysdeps/unix/sysv/linux/sigsuspend.c
12984 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12985 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12986 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12987 (__libc_missing_rt_sigs): Remove.
12988 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12989 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12990 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12991 Remove conditional code.
12992 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12993 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12995 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12996 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12997 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12998 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13000 2012-05-14 Andreas Jaeger <aj@suse.de>
13002 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13003 it's not used in glibc.
13004 (__coshm1): Likewise.
13005 (__acosh1p): Likewise.
13008 * manual/string.texi (Copying and Concatenation): Add missing
13009 variable in concat example.
13010 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13012 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13015 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13016 __builtin_clzl with __builtin_clzll.
13018 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13021 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13024 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13026 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13027 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13028 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13029 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13031 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13033 * NEWS: Update ia64 info.
13035 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13037 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13040 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13042 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13043 * sysdeps/unix/syscalls.list (dup3): Likewise.
13044 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13045 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13047 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13049 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13050 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13052 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13054 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13056 (TLS_IE): Use mov/add instead of movq/addq to load thread
13058 (TLS_GD_PREFIX): New.
13061 2012-05-11 David S. Miller <davem@davemloft.net>
13063 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13064 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13065 (_FPU_SETCW): Likewise.
13067 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13069 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13070 is 32-byte aligned.
13072 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13075 * iconvdata/gb18030.c: Update tables.
13076 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13077 characters specially.
13078 (BODY for TO_LOOP): Add encoding of missing ranges.
13080 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13083 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13084 * sysdeps/mach/hurd/dup3.c: Likewise.
13085 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13086 * sysdeps/powerpc/memmove.c:: Likewise.
13088 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13091 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13093 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13095 * elf/elf.h (R_X86_64_RELATIVE64): New.
13096 (R_X86_64_NUM): Updated.
13097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13098 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13099 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13100 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13101 tst-quad1pie tst-quad2pie
13102 (modules-names): Add tst-quadmod1 tst-quadmod2.
13103 ($(objpfx)tst-quad1): New dependency.
13104 ($(objpfx)tst-quad2): Likewise.
13105 ($(objpfx)tst-quad1pie): Likewise.
13106 ($(objpfx)tst-quad2pie): Likewise.
13107 * sysdeps/x86_64/tst-quad1.c: New file.
13108 * sysdeps/x86_64/tst-quad1pie.c: New file.
13109 * sysdeps/x86_64/tst-quad2.c: Likewise.
13110 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13111 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13112 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13113 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13114 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13116 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13118 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13119 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13120 * streams/stropts.h (t_scalar_t): Define type.
13122 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13123 (_PATH_PRESERVE): Set to "/var/lib".
13124 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13126 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13129 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13130 if __dir_mkfile succeeded.
13132 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13133 checking for _hurd_dtablesize. Unlock it right after having
13134 finished _hurd_dtable allocation.
13136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13138 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13139 * sysdeps/mach/hurd/configure: Regenerated.
13140 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13141 special-casing to...
13142 * sysdeps/gnu/configure.in: ... this new file.
13143 * sysdeps/unix/sysv/linux/configure: Regenerated.
13144 * sysdeps/gnu/configure: New generated file.
13146 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13147 for Linux: use nsec instead of usec, as well as:
13148 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13149 members of type struct timespec.
13150 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13152 (struct stat64): Likewise.
13153 (_STATBUF_ST_NSEC): New macro.
13154 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13156 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13157 __strtoul_internal rather than strtoul.
13159 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13161 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13164 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13166 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13167 which preserves existing values.
13168 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13170 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13172 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13173 TIMEOUT values. Return EINVAL for NFDS values either negative or
13174 greater than FD_SETSIZE.
13176 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13178 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13179 allocated, call __vm_protect to finish enabling the existing space, and
13180 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13181 allocate the remainder.
13183 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13185 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13186 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13188 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13190 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13191 sysdeps/mach/hurd/readlink.c.
13193 * posix/tst-sysconf.c (posix_options): Only use
13194 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13195 _POSIX_SYNCHRONIZED_IO when they are defined
13196 * sysdeps/mach/hurd/bits/posix_opt.h:
13197 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13198 (_XOPEN_REALTIME): Undefine macro.
13199 (_XOPEN_REALTIME_THREADS): Undefine macro.
13200 (_XOPEN_SHM): Undefine macro.
13201 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13203 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13205 (_POSIX_ASYNC_IO): Undefine macro.
13206 (_POSIX_PRIORITIZED_IO): Undefine macro.
13207 (_POSIX_SPIN_LOCKS): Define macro to -1.
13209 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13210 SA_NODEFER, SA_RESETHAND.
13211 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13212 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13217 * elf/Makefile (pldd-modules): Define unconditionally.
13219 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13221 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13223 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13225 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13226 Return ENOENT when name is empty.
13227 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13229 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13231 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13233 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13235 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13237 Fix mlock in all cases except non-readable pages.
13238 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13239 instead of VM_PROT_ALL as parameter to __vm_wire function.
13241 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13242 (__mkdir): When path is `/', just fail with EEXIST.
13243 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13245 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13247 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13248 <sys/uio.h> (for writev).
13249 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13250 and <sys/param.h> (for MIN).
13252 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13254 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13255 REQUESTED_TIME. Properly set the remaining time and return EINTR
13258 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13260 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13261 Depend on against $(link-rpcuserlibs).
13263 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13265 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13266 (__libc_stack_end): Do not use attribute_relro.
13267 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13268 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13269 to libthread-provided value.
13270 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13273 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13276 * bits/libc-lock.h (__libc_once_get): New macro.
13277 * sysdeps/mach/bits/libc-lock.h: Likewise.
13278 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13279 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13280 instead of using implementation details.
13282 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13283 * libio/freopen.c: Likewise.
13284 * libio/freopen64.c: Likewise.
13285 * misc/syslog.c: Likewise.
13286 * nscd/connections.c: Likewise.
13287 * nscd/netgroupcache.c: Likewise.
13288 * sysdeps/posix/getcwd.c: Likewise.
13290 2012-05-10 Roland McGrath <roland@hack.frob.com>
13292 * math/w_ilogbf.c: Add #include <limits.h>.
13294 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13296 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13297 path instead of returning without unlocking.
13299 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13300 immediate-write ioctls.
13301 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13303 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13305 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13306 __builtin_frame_address instead of making assumptions about the
13307 location of the return address relative to DATA. Force early load of
13308 the return address.
13309 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13310 __builtin_frame_address.
13313 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13314 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13315 implement dup3 and do some further code clean-ups.
13316 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13317 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13321 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13323 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13324 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13325 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13326 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13327 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13330 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13331 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13332 when handler == SIG_ERR, not when handler != SIG_ERR.
13334 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13336 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13337 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13340 accept4 for GNU Hurd.
13341 * include/sys/socket.h (__libc_accept4): New prototype.
13342 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13343 to implement __libc_accept4.
13344 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13346 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13348 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13349 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13350 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13351 signal-defines.sym.
13353 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13355 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13357 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13359 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13360 assertion on O_CLOEXEC flag.
13361 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13362 * hurd/intern-fd.c: Likewise.
13363 * hurd/port2fd.c: Likewise.
13365 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13368 * bits/in.h (IPV6_PKTINFO): Define new macro.
13369 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13371 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13376 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13377 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13378 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13379 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13380 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13381 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13382 * math/libm-test.inc (logb_test) : Additional logb tests.
13384 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13385 Andreas Jaeger <aj@suse.de>
13387 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13388 * configure: Regenerated.
13389 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13390 * config.make.in (link-obsolete-rpc): New substituted variable.
13391 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13392 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13393 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13394 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13395 so that libc.a contains the symbols.
13396 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13397 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13398 * sunrpc/auth_none.c: Likewise.
13399 * sunrpc/auth_unix.c: Likewise.
13400 * sunrpc/authdes_prot.c: Likewise.
13401 * sunrpc/authuxprot.c: Likewise.
13402 * sunrpc/clnt_gen.c: Likewise.
13403 * sunrpc/clnt_perr.c: Likewise.
13404 * sunrpc/clnt_raw.c: Likewise.
13405 * sunrpc/clnt_simp.c: Likewise.
13406 * sunrpc/clnt_tcp.c: Likewise.
13407 * sunrpc/clnt_udp.c: Likewise.
13408 * sunrpc/clnt_unix.c: Likewise.
13409 * sunrpc/des_crypt.c: Likewise.
13410 * sunrpc/des_soft.c: Likewise.
13411 * sunrpc/get_myaddr.c: Likewise.
13412 * sunrpc/key_call.c: Likewise.
13413 * sunrpc/key_prot.c: Likewise.
13414 * sunrpc/netname.c: Likewise.
13415 * sunrpc/pm_getmaps.c: Likewise.
13416 * sunrpc/pm_getport.c: Likewise.
13417 * sunrpc/pmap_clnt.c: Likewise.
13418 * sunrpc/pmap_prot.c: Likewise.
13419 * sunrpc/pmap_prot2.c: Likewise.
13420 * sunrpc/pmap_rmt.c: Likewise.
13421 * sunrpc/publickey.c: Likewise.
13422 * sunrpc/rpc_cmsg.c: Likewise.
13423 * sunrpc/rpc_common.c: Likewise.
13424 * sunrpc/rpc_dtable.c: Likewise.
13425 * sunrpc/rpc_prot.c: Likewise.
13426 * sunrpc/rpc_thread.c: Likewise.
13427 * sunrpc/rtime.c: Likewise.
13428 * sunrpc/svc.c: Likewise.
13429 * sunrpc/svc_auth.c: Likewise.
13430 * sunrpc/svc_raw.c: Likewise.
13431 * sunrpc/svc_run.c: Likewise.
13432 * sunrpc/svc_tcp.c: Likewise.
13433 * sunrpc/svc_udp.c: Likewise.
13434 * sunrpc/svc_unix.c: Likewise.
13435 * sunrpc/svcauth_des.c: Likewise.
13436 * sunrpc/xcrypt.c: Likewise.
13437 * sunrpc/xdr.c: Likewise.
13438 * sunrpc/xdr_array.c: Likewise.
13439 * sunrpc/xdr_float.c: Likewise.
13440 * sunrpc/xdr_intXX_t.c: Likewise.
13441 * sunrpc/xdr_mem.c: Likewise.
13442 * sunrpc/xdr_rec.c: Likewise.
13443 * sunrpc/xdr_ref.c: Likewise.
13444 * sunrpc/xdr_sizeof.c: Likewise.
13445 * sunrpc/xdr_stdio.c: Likewise.
13447 2012-05-10 Roland McGrath <roland@hack.frob.com>
13449 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13450 change. Update copyright years.
13452 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13454 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13456 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13457 Joseph Myers <joseph@codesourcery.com>
13458 Paul Pluzhnikov <ppluzhnikov@google.com>
13461 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13463 [cross-compiling] (extra-libs): Likewise.
13464 [cross-compiling] (extra-libs-others): Likewise.
13465 [cross-compiling] (librpcsvc-routines): Likewise.
13466 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13467 [cross-compiling] (omit-deps): Likewise.
13468 (sunrpc-CPPFLAGS): New variable.
13469 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13470 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13471 (cross-rpcgen-objs): New variable.
13472 (extra-objs): Append $(cross-rpcgen-objs).
13473 ($(cross-rpcgen-objs)): New rule.
13474 ($(objpfx)cross-rpcgen): Likewise.
13475 (rpcgen-cmd): Define to use $(built-program-file). Expand
13477 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13478 ($(objpfx)x%.stmp): Likewise.
13479 * sunrpc/proto.h [IS_IN_build] (_): Define.
13480 [IS_IN_build] (_libc_intl_domainname): Likewise.
13482 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13484 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13485 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13486 and R_X86_64_TPOFF64.
13488 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13490 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13491 sysdeps/unix/sysv/syscalls.list.
13494 * sysdeps/unix/sysv/syscalls.list: Remove file.
13496 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13499 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13500 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13501 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13502 (__LC_IDENTIFICATION): Make these macros useful in #if
13503 expressions, as required by C99.
13505 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13507 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13508 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13511 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13513 * stdlib/longlong.h: Updated from GCC.
13515 2012-05-09 Andreas Jaeger <aj@suse.de>
13517 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13518 default is first entry.
13519 (run_mode): Set type.
13520 (main): Remove informal message about syslog.
13521 (options): Fix typo.
13524 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13527 (llrintf): Likewise.
13528 (llrint): Likewise.
13531 (nearbyint): Likewise.
13532 (nearbyintf): Likewise.
13534 2012-05-09 Andreas Jaeger <aj@suse.de>
13535 Pedro Alves <palves@redhat.com>
13537 * nscd/nscd.c (run_mode): Use enum.
13538 (main): Cleanup coding style issue.
13540 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13541 Andreas Jaeger <aj@suse.de>
13543 * nscd/nscd.c (go_background): Replaced with...
13544 (run_mode): ... this.
13545 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13546 (options): Add -F --foreground.
13547 (main): Implement it.
13548 (parse_opt): Parse it.
13550 2012-05-09 Andreas Jaeger <aj@suse.de>
13553 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13554 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13555 -Wconversion warning.
13556 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13559 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13561 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13563 (LC_ALL): Use macro-int-constant.
13564 (LC_COLLATE): Likewise.
13565 (LC_CTYPE): Likewise.
13566 (LC_MESSAGES): Likewise.
13567 (LC_MONETARY): Likewise.
13568 (LC_NUMERIC): Likewise.
13569 (LC_TIME): Likewise.
13570 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13571 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13572 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13573 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13575 [C99-based standards] (float_t): Expect type.
13576 [C99-based standards] (double_t): Expect type.
13577 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13579 [C99-based standards] (HUGE_VALL): Likewise.
13580 [C99-based standards] (INFINITY): Likewise.
13581 [C99-based standards] (NAN): Likewise.
13582 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13583 [C99-based standards] (FP_NAN): Likewise.
13584 [C99-based standards] (FP_NORMAL): Likewise.
13585 [C99-based standards] (FP_SUBNORMAL): Likewise.
13586 [C99-based standards] (FP_ZERO): Likewise.
13587 [C99-based standards] (FP_FAST_FMA): Use
13588 optional-macro-int-constant. Specify type. Require == 1.
13589 [C99-based standards] (FP_FAST_FMAF): Likewise.
13590 [C99-based standards] (FP_FAST_FMAL): Likewise.
13591 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13592 [C99-based standards] (FP_ILOGBNAN): Likewise.
13593 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13595 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13596 [C99-based standards] (math_errhandling): Specify type.
13597 [ISO99 || ISO11] (signgam): Do not allow.
13598 [non-C99-based standards] (copysignf): Do not allow.
13599 [non-C99-based standards] (exp2f): Likewise.
13600 [non-C99-based standards] (log2f): Likewise.
13601 [non-C99-based standards] (modff): Allow.
13602 [non-C99-based standards] (erff): Do not allow.
13603 [non-C99-based standards] (erfcf): Likewise.
13604 [non-C99-based standards] (gammaf): Likewise.
13605 [non-C99-based standards] (hypotf): Likewise.
13606 [non-C99-based standards] (j0f): Likewise.
13607 [non-C99-based standards] (j1f): Likewise.
13608 [non-C99-based standards] (jnf): Likewise.
13609 [non-C99-based standards] (lgammaf): Likewise.
13610 [non-C99-based standards] (tgammaf): Likewise.
13611 [non-C99-based standards] (y0f): Likewise.
13612 [non-C99-based standards] (y1f): Likewise.
13613 [non-C99-based standards] (ynf): Likewise.
13614 [non-C99-based standards] (isnanf): Likewise.
13615 [non-C99-based standards] (acoshf): Likewise.
13616 [non-C99-based standards] (asinhf): Likewise.
13617 [non-C99-based standards] (atanhf): Likewise.
13618 [non-C99-based standards] (cbrtf): Likewise.
13619 [non-C99-based standards] (expm1f): Likewise.
13620 [non-C99-based standards] (ilogbf): Likewise.
13621 [non-C99-based standards] (log1pf): Likewise.
13622 [non-C99-based standards] (logbf): Likewise.
13623 [non-C99-based standards] (nextafterf): Likewise.
13624 [non-C99-based standards] (remainderf): Likewise.
13625 [non-C99-based standards] (rintf): Likewise.
13626 [non-C99-based standards] (scalbf): Likewise.
13627 [non-C99-based standards] (copysignl): Likewise.
13628 [non-C99-based standards] (exp2l): Likewise.
13629 [non-C99-based standards] (log2l): Likewise.
13630 [non-C99-based standards] (modfl): Allow.
13631 [non-C99-based standards] (erfl): Do not allow.
13632 [non-C99-based standards] (erfcl): Likewise.
13633 [non-C99-based standards] (gammal): Likewise.
13634 [non-C99-based standards] (hypotl): Likewise.
13635 [non-C99-based standards] (j0l): Likewise.
13636 [non-C99-based standards] (j1l): Likewise.
13637 [non-C99-based standards] (jnl): Likewise.
13638 [non-C99-based standards] (lgammal): Likewise.
13639 [non-C99-based standards] (tgammal): Likewise.
13640 [non-C99-based standards] (y0l): Likewise.
13641 [non-C99-based standards] (y1l): Likewise.
13642 [non-C99-based standards] (ynl): Likewise.
13643 [non-C99-based standards] (isnanl): Likewise.
13644 [non-C99-based standards] (acoshl): Likewise.
13645 [non-C99-based standards] (asinhl): Likewise.
13646 [non-C99-based standards] (atanhl): Likewise.
13647 [non-C99-based standards] (cbrtl): Likewise.
13648 [non-C99-based standards] (expm1l): Likewise.
13649 [non-C99-based standards] (ilogbl): Likewise.
13650 [non-C99-based standards] (log1pl): Likewise.
13651 [non-C99-based standards] (logbl): Likewise.
13652 [non-C99-based standards] (nextafterl): Likewise.
13653 [non-C99-based standards] (remainderl): Likewise.
13654 [non-C99-based standards] (rintl): Likewise.
13655 [non-C99-based standards] (scalbl): Likewise.
13656 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13657 [non-C99-based standards] (FP_*): Do not allow.
13658 [C99-based standards] (FP_*): Change to
13659 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13660 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13662 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13663 (SIG_ERR): Likewise.
13664 [X/Open-based standards] (SIG_HOLD): Likewise.
13665 (SIG_IGN): Likewise.
13666 (SIGABRT): Use macro-int-constant. Specify type. Require
13668 (SIGFPE): Likewise.
13669 (SIGILL): Likewise.
13670 (SIGINT): Likewise.
13671 (SIGSEGV): Likewise.
13672 (SIGTER): Likewise.
13673 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13674 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13675 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13676 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13677 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13678 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13679 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13680 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13681 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13682 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13683 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13684 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13685 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13686 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13687 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13688 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13689 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13690 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13691 [X/Open-based standards] (SIGTRAP): Likewise.
13692 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13693 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13694 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13695 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13696 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13699 2012-05-08 Ian Wienand <ianw@vmware.com>
13702 * time/tzset.c (__tzset_parse_tz): Update default rules for
13703 daylight time changes in the Energy Policy Act of 2005.
13705 2012-05-09 Andreas Jaeger <aj@suse.de>
13708 * elf/ldconfig.c (parse_conf): Change string to make clear that
13709 ldconfig only issued a warning if ld.so.conf does not exist.
13711 2012-05-08 David S. Miller <davem@davemloft.net>
13713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13714 movxtod instead of popping the value on the stack.
13716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13718 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13720 * config.h.in: Add HAVE_ARM_PCS_VFP.
13722 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13725 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13726 checking but the checks are disabled for any reason.
13728 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13730 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13731 and ELF64_R_TYPE with ELFW(R_TYPE).
13733 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13735 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13736 (ulimit): Likewise.
13738 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13739 (settimeofday): Likewise.
13741 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13743 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13744 a struct th_u2 inside the union, and move tu_block/tu_code into
13745 a new th_u3 union of tu_block/tu_code inside of that. Move
13746 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13747 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13748 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13749 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13750 (th_stuff): Change to th_u1.tu_stuff.
13752 (th_msg): Change to th_u1.th_u2.tu_data.
13754 2012-05-07 David S. Miller <davem@davemloft.net>
13756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13759 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13760 (SETUP_PIC_REG): Use it.
13761 (SETUP_PIC_REG_LEAF): Use it.
13763 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13767 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13769 (EXPL_FINITE): Likewise.
13770 (FLDLOG): Likewise.
13771 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13772 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13774 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13776 (EXPL_FINITE): Likewise.
13777 (FLDLOG): Likewise.
13778 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13779 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13781 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13782 test of -max_value argument for long double.
13783 * sysdeps/i386/fpu/libm-test-ulps: Update.
13784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13786 2012-05-06 David S. Miller <davem@davemloft.net>
13788 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13789 quad soft-float symbols whose references which are compiler
13791 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13793 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13797 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13799 (EXPL_FINITE): Likewise.
13800 (FLDLOG): Likewise.
13803 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13804 Adjust comments for base varying.
13805 (__expl_finite): Change alias to EXPL_FINITE.
13806 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13808 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13809 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13811 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13812 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13826 * math/libm-test.inc (check_float_internal): Correct ulp
13827 calculation for subnormal expected results.
13829 2012-05-06 Andreas Jaeger <aj@suse.de>
13831 * Makeconfig (+math-flags): New, set to -frounding-math.
13832 (+cflags): Add +math-flags so that all of glibc gets compiled with
13835 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13837 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13839 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13845 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13846 (__ieee754_expl): Allow for and saturate large arguments.
13847 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13848 (u_threshold): Likewise.
13849 (__exp): Call __ieee754_exp before checking for overflow and
13851 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13852 (u_threshold): Likewise.
13853 (__expf): Call __ieee754_expf before checking for overflow and
13855 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13856 (u_threshold): Likewise.
13857 (__expl): Call __ieee754_expl before checking for overflow and
13859 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13860 (__ieee754_expl): Allow for and saturate large arguments.
13861 * math/libm-test.inc (exp_test): Add another test. Do not allow
13862 missing overflow exception on overflow.
13863 (expm1_test): Do not allow missing overflow exception on overflow.
13865 * sysdeps/i386/fpu/e_expl.c: Move to ...
13866 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13867 rather than using inline asm.
13868 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13869 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13870 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13872 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13875 (signal): Likewise.
13879 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13881 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13882 sysdeps/unix/common/syscalls.list.
13883 (fchmod): Likewise.
13884 (fchown): Likewise.
13885 (ftruncate): Likewise.
13886 (getrusage): Likewise.
13887 (gettimeofday): Likewise.
13888 (setpgid): Likewise.
13889 (setregid): Likewise.
13890 (setreuid): Likewise.
13891 (sigaction): Likewise.
13892 (truncate): Likewise.
13893 (vhangup): Likewise.
13894 * sysdeps/unix/common/syscalls.list: Remove file.
13895 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13896 * sysdeps/unix/sysv/linux/Implies: Likewise.
13898 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13900 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13902 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13906 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13909 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13912 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13915 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13918 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13921 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13924 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13928 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13932 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13935 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13939 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13943 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13945 * sysdeps/unix/common/bits/dirent.h: Remove file.
13946 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13948 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13949 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13950 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13951 * sysdeps/unix/bsd/isatty.c: Likewise.
13952 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13953 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13954 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13956 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13959 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13960 long double comparison inaccuracies.
13961 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13964 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13966 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13967 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13969 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13972 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13973 nonzero digits before rounding a hex value.
13974 * stdlib/tst-strtod.c (tests): Add another test.
13976 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13978 * sysdeps/s390/fpu/libm-test-ulps: Update.
13980 2012-05-03 Andreas Jaeger <aj@suse.de>
13982 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13983 does not get optimized out.
13984 (malloc_opt_barrier): New.
13986 2012-05-03 Andreas Jaeger <aj@suse.de>
13987 Roland McGrath <roland@hack.frob.com>
13989 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13990 intermediate file deletion.
13991 (generated): Add .symlist files.
13993 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13996 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13997 Redirect under this condition.
13998 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13999 [__USE_GNU] (__dprintf_chk): Not under this condition.
14000 [__USE_GNU] (__vdprintf_chk): Likewise.
14001 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14002 under this condition.
14003 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14004 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14005 [__USE_XOPEN2K8] (vdprintf): Likewise.
14006 [__USE_GNU] (__dprintf_chk): Not under this condition.
14007 [__USE_GNU] (__vdprintf_chk): Likewise.
14008 [__USE_GNU] (dprintf): Likewise.
14009 [__USE_GNU] (vdprintf): Likewise.
14011 2012-05-03 Roland McGrath <roland@hack.frob.com>
14013 * elf/Makefile (common-generated): Set this instead of generated for
14014 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14015 $(all-built-dso)-derived lists.
14017 2012-05-03 Andreas Jaeger <aj@suse.de>
14019 * sysdeps/i386/fpu/libm-test-ulps: Update.
14022 * FAQ.in: Likewise.
14023 * scripts/gen-FAQ.pl: Likewise.
14024 * manual/install.texi (Installation): Point to online location of
14026 * Makefile (files-for-dist): Remove FAQ.
14029 2012-05-02 Allan McRae <allan@archlinux.org>
14031 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14032 (LDFLAGS-reldepmod5.so): Likewise.
14033 (LDFLAGS-reldep6mod1.so): Likewise.
14034 (LDFLAGS-reldep6mod4.so): Likewise.
14035 (LDFLAGS-reldep8mod3.so): Likewise.
14036 (LDFLAGS-unload4mod1.so): Likewise.
14037 (LDFLAGS-unload4mod2.so): Likewise.
14038 (LDFLAGS-tst-initorder): Likewise.
14039 (LDFLAGS-tst-initordera2.so): Likewise.
14040 (LDFLAGS-tst-initordera3.so): Likewise.
14041 (LDFLAGS-tst-initordera4.so): Likewise.
14042 (LDFLAGS-tst-initorderb2.so): Likewise.
14043 (LDFLAGS-noload): Likewise.
14044 (LDFLAGS-next): Likewise.
14045 (LDFLAGS-order2mod1.so): Likewise.
14046 (LDFLAGS-order2mod2.so): Likewise.
14047 (LDFLAGS-tst-initorder2): Likewise.
14048 (LDFLAGS-tst-initorder2a.so): Likewise.
14049 (LDFLAGS-tst-initorder2b.so): Likewise.
14050 (LDFLAGS-tst-initorder2c.so): Likewise.
14051 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14053 2012-05-02 David S. Miller <davem@davemloft.net>
14055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14057 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14060 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14062 2012-05-02 Andreas Jaeger <aj@suse.de>
14064 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14065 since we manipulate rounding mode.
14066 (CPPFLAGS-test-idouble.c): Likewise.
14067 (CPPFLAGS-test-ifloat.c): Likewise.
14068 (CFLAGS-test-ldouble.c): Likewise.
14069 (CFLAGS-test-double.c): Likewise.
14070 (CFLAGS-test-float.c): Likewise.
14071 (CFLAGS-test-misc.c): Likewise.
14072 (CFLAGS-test-test-fenv.c): Likewise.
14074 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14078 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14079 comparisons to determine direction to adjust input.
14081 2012-05-01 Roland McGrath <roland@hack.frob.com>
14083 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14084 output to the target.
14086 * scripts/localplt.awk: New file.
14087 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14088 (check-localplt-CFLAGS): Variable removed.
14089 ($(all-built-dso:=.jmprel)): New static pattern rule.
14090 (generated): Add those targets.
14091 (localplt-built-dso): New variable.
14092 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14094 * elf/check-localplt.c: File removed.
14096 * scripts/check-execstack.awk: New file.
14097 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14098 (check-execstack-CFLAGS): Variable removed.
14099 ($(objpfx)check-execstack.h): Target removed.
14100 ($(objpfx)execstack-default): New target.
14101 (generated): Add that instead of check-execstack.h.
14102 ($(all-built-dso:=.phdr)): New static pattern rule.
14103 (generated): Add those targets.
14104 * elf/check-execstack.c: File removed.
14106 * scripts/check-textrel.awk: New file.
14107 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14108 (check-textrel-CFLAGS): Variable removed.
14109 (all-built-dso): Use := to define.o
14110 ($(all-built-dso:=.dyn)): New static pattern rule.
14111 (generated): Add those targets.
14112 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14113 * config.make.in (READELF): New substituted variable.
14114 * elf/check-textrel.c: File removed.
14116 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14118 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14120 * conform/data/ctype.h-data [C99-based standards] (isblank):
14122 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14123 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14124 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14125 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14126 Specify type. Require positive value.
14127 (EILSEQ): Likewise.
14128 (ERANGE): Likewise.
14129 [ISO || POSIX] (EILSEQ): Do not expect.
14130 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14131 Specify type. Require positive value.
14132 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14133 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14134 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14135 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14136 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14137 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14138 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14139 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14140 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14141 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14142 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14143 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14144 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14145 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14146 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14147 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14148 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14149 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14150 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14151 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14152 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14153 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14154 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14155 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14156 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14157 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14158 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14159 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14160 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14161 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14162 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14163 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14164 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14165 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14166 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14167 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14168 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14169 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14170 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14171 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14172 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14173 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14174 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14175 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14176 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14177 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14178 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14179 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14180 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14181 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14182 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14183 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14184 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14185 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14186 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14187 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14188 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14189 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14190 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14191 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14192 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14193 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14194 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14195 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14196 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14197 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14198 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14199 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14200 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14201 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14202 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14203 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14204 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14205 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14206 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14207 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14208 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14210 (FLT_ROUNDS): Expect as macro, not constant.
14211 (FLT_MANT_DIG): Use macro-int-constant.
14212 (DBL_MANT_DIG): Likewise.
14213 (LDBL_MANT_DIG): Likewise.
14214 (FLT_DIG): Likewise.
14215 (DBL_DIG): Likewise.
14216 (LDBL_DIG): Likewise.
14217 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14218 (DBL_MIN_EXP): Likewise.
14219 (LDBL_MIN_EXP): Likewise.
14220 (FLT_MAX_EXP): Use macro-int-constant.
14221 (DBL_MAX_EXP): Likewise.
14222 (LDBL_MAX_EXP): Likewise.
14223 (FLT_MAX_10_EXP): Likewise.
14224 (DBL_MAX_10_EXP): Likewise.
14225 (LDBL_MAX_10_EXP): Likewise.
14226 (FLT_MAX): Use macro-constant.
14227 (DBL_MAX): Likewise.
14228 (LDBL_MAX): Likewise.
14229 (FLT_EPSILON): Use macro-constant. Give upper bound.
14230 (DBL_EPSILON): Likewise.
14231 (LDBL_EPSILON): Likewise.
14232 (FLT_MIN): Likewise.
14233 (DBL_MIN): Likewise.
14234 (LDBL_MIN): Likewise.
14235 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14236 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14237 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14238 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14239 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14240 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14241 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14242 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14243 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14244 [ISO11] (FLT_TRUE_MIN): Likewise.
14245 [ISO11] (LDBL_TRUE_MIN): Likewise.
14246 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14247 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14248 (SCHAR_MIN): Use macro-int-constant. Specify type.
14249 (SCHAR_MAX): Likewise.
14250 (UCHAR_MAX): Likewise.
14251 (CHAR_MIN): Likewise.
14252 (CHAR_MAX): Likewise.
14253 (MB_LEN_MAX): Use macro-int-constant.
14254 (SHRT_MIN): Use macro-int-constant. Specify type.
14255 (SHRT_MAX): Likewise.
14256 (USHRT_MAX): Likewise.
14257 (INT_MAX): Likewise.
14258 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14260 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14262 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14264 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14265 bound negative. Suffix upper bound with "L".
14266 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14268 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14270 [C99-based standards] (LLONG_MAX): Likewise.
14271 [C99-based standards] (ULLONG_MAX): Likewise.
14272 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14274 [ISO11] (max_align_t): Require type.
14275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14277 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14278 from $CFLAGS, without defining away __attribute__ calls.
14279 (checknamespace): Use $CFLAGS_namespace.
14281 * conform/conformtest.pl (@keywords): Only include C99 keywords
14282 for standards based on C99 or C11.
14284 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14286 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14289 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14290 usability of symbols in #if.
14292 * conform/conformtest.pl: If macro or constant types start
14293 "promoted:", expect the symbol to be of the following type
14294 promoted by the integer promotions.
14296 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14297 in one place. Also handle "macro-constant".
14299 * conform/conformtest.pl: Only accept expected macro values with
14300 "==". Parse all "macro" lines in one place.
14301 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14303 * conform/conformtest.pl: Handle braced types on "constant" lines
14304 instead of handling "typed-constant".
14305 * conform/data/signal.h-data: Use "constant" instead of
14308 * conform/conformtest.pl: Handle "optional-" at start of lines in
14309 one place rather than duplicating several cases. Handle each
14310 format of "macro" line with initial "optional-".
14312 * conform/conformtest.pl: Only accept expected constant or
14313 optional-constant values with "==". Parse all "constant" lines in
14314 one place. Parse all "optional-constant" lines in one place.
14315 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14316 * conform/data/fmtmsg.h-data: Likewise.
14317 * conform/data/netinet/in.h-data: Likewise.
14318 * conform/data/tar.h-data: Likewise.
14319 * conform/data/limits.h-data: Use "==" form on "constant" and
14320 "optional-constant" lines.
14322 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14323 Use -std=c99 for XOPEN2K.
14324 (@knownproblems): Remove.
14325 (newtoken): Don't check %isknown.
14327 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14328 Do not expect macro.
14329 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14330 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14331 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14332 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14333 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14334 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14335 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14336 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14337 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14338 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14339 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14340 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14341 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14342 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14343 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14344 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14345 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14346 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14347 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14348 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14349 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14350 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14351 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14352 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14353 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14354 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14355 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14356 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14357 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14358 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14359 [XPG3] (acosh): Likewise.
14360 [XPG3] (asinh): Likewise.
14361 [XPG3] (atanh): Likewise.
14362 [XPG3] (cbrt): Likewise.
14363 [XPG3] (expm1): Likewise.
14364 [XPG3] (ilogb): Likewise.
14365 [XPG3] (log1p): Likewise.
14366 [XPG3] (logb): Likewise.
14367 [XPG3] (nextafter): Likewise.
14368 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14369 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14370 [XPG3] (remainder): Likewise.
14371 [XPG3] (rint): Likewise.
14372 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14373 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14374 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14375 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14376 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14377 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14378 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14379 [UNIX98 || XOPEN2K] (scalb): Expect.
14380 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14381 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14382 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14383 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14384 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14385 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14386 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14387 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14388 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14389 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14390 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14391 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14392 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14393 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14394 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14395 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14396 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14397 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14398 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14399 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14400 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14401 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14402 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14403 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14404 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14405 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14406 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14407 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14408 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14409 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14410 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14411 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14412 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14413 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14414 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14415 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14416 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14417 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14418 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14419 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14420 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14421 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14422 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14423 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14424 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14425 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14426 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14427 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14428 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14429 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14430 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14431 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14432 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14433 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14434 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14435 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14436 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14437 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14438 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14439 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14440 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14441 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14442 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14443 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14444 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14445 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14446 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14447 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14448 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14449 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14450 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14451 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14452 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14453 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14454 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14455 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14456 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14457 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14458 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14459 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14460 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14461 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14462 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14463 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14464 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14465 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14466 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14467 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14468 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14469 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14470 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14471 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14472 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14473 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14474 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14475 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14476 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14477 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14478 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14479 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14480 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14481 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14482 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14483 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14484 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14485 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14486 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14487 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14488 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14489 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14490 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14491 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14492 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14493 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14494 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14495 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14496 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14497 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14498 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14499 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14500 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14501 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14502 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14503 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14504 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14505 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14506 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14507 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14508 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14509 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14510 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14511 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14512 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14513 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14514 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14515 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14516 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14518 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14519 _XOPEN_SOURCE_EXTENDED for XPG4.
14521 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14523 * Makeconfig (localtime): Remove variable.
14524 (inst_localtime-file): Likewise.
14526 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14547 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14551 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14552 comparisons to determine direction to adjust input.
14553 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14554 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14555 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14557 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14559 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14561 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14562 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14564 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14566 * math/libm-test.inc (nexttoward_test): Add more tests.
14568 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14571 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14572 in version GLIBC_2.1, not GLIBC_2.0.
14573 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14576 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14579 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14581 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14582 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14583 * math/libm-test.inc (acos_test): Add more tests.
14584 (asin_test): Likewise.
14585 * sysdeps/i386/fpu/libm-test-ulps: Update.
14586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14589 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14591 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14592 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14593 * math/libm-test.inc (acos_test_tonearest): New function.
14594 (acos_test_towardzero): Likewise.
14595 (acos_test_downward): Likewise.
14596 (acos_test_upward): Likewise.
14597 (asin_test_tonearest): Likewise.
14598 (asin_test_towardzero): Likewise.
14599 (asin_test_downward): Likewise.
14600 (asin_test_upward): Likewise.
14601 (main): Call the new functions.
14602 * sysdeps/i386/fpu/libm-test-ulps: Update.
14603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14607 * math/e_exp10.c: Include <float.h>.
14608 (__ieee754_exp10): Handle underflow here rather than multiplying
14609 large negative argument by M_LN10.
14610 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14612 * math/e_exp10l.c: Include <float.h>.
14613 (__ieee754_exp10l): Handle underflow here rather than multiplying
14614 large negative argument by M_LN10l.
14615 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14616 spurious overflow exception on underflow.
14618 2012-04-29 Marek Polacek <polacek@redhat.com>
14620 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14621 (__fortify_function): New macro.
14622 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14623 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14624 __extern_always_inline.
14625 * libio/bits/stdio2.h: Likewise.
14626 * libio/bits/stdio.h: Likewise.
14627 * string/string.h: Likewise.
14628 * string/bits/string3.h: Likewise.
14629 * include/stdio.h: Likewise.
14630 * stdlib/bits/stdlib.h: Likewise.
14631 * stdlib/stdlib.h: Likewise.
14632 * rt/bits/mqueue2.h: Likewise.
14633 * rt/mqueue.h: Likewise.
14634 * posix/bits/unistd.h: Likewise.
14635 * posix/unistd.h: Likewise.
14636 * io/bits/poll2.h: Likewise.
14637 * io/bits/fcntl2.h: Likewise.
14638 * io/fcntl.h: Likewise.
14639 * io/sys/poll.h: Likewise.
14640 * misc/bits/syslog.h: Likewise.
14641 * misc/bits/syslog-ldbl.h: Likewise.
14642 * misc/sys/syslog.h: Likewise.
14643 * socket/bits/socket2.h: Likewise.
14644 * socket/sys/socket.h: Likewise.
14645 * debug/tst-chk1.c: Likewise.
14646 * wcsmbs/bits/wchar2.h: Likewise.
14647 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14648 * wcsmbs/wchar.h: Likewise.
14650 2012-04-29 Andreas Jaeger <aj@suse.de>
14652 * Makerules (tests): Remove enable-check-abi protection.
14653 (check-abi-warn): Remove.
14654 (check-abi-%): Remove check-abi-warn usage.
14656 * configure.in: Remove check-abi configure option.
14657 * configure: Regenerated.
14658 * config.make.in (enable-check-abi): Remove.
14660 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14663 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14664 double functions to double *_finite functions.
14667 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14668 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14670 * stdio-common/Makefile (tests): Add tst-sprintf3.
14671 * stdio-common/tst-sprintf3.c: New file.
14673 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14674 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14676 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14678 * conform/conformtest.pl: Remove duplicate typed-constant
14681 2012-04-28 David S. Miller <davem@davemloft.net>
14683 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14684 (check-abi-%): Remove AWK script prerequisite and explicit
14686 (check-abi): Rewrite to just diff the symlist with the abilist.
14687 (config-tls, config-abi-config): Delete, no longer used.
14688 (update-abi-%): Remove AWK script and explicit abilist directory.
14689 (update-abi): Rewrite to simply compare and conditionally copy the
14690 symlist and the sysdep abilist file. Remove update-abi-config
14692 * abilist/ld.abilist: Remove.
14693 * abilist/libBrokenLocale.abilist: Remove.
14694 * abilist/libanl.abilist: Remove.
14695 * abilist/libcrypt.abilist: Remove.
14696 * abilist/libdl.abilist: Remove.
14697 * abilist/librt.abilist: Remove.
14698 * abilist/libthread_db.abilist: Remove.
14699 * abilist/libutil.abilist: Remove.
14700 * scripts/extract-abilist.awk: Remove.
14701 * scripts/merge-abilist.awk: Remove.
14702 * sysdeps/generic/libcidn.abilist: New file.
14703 * sysdeps/generic/libnss_compat.abilist: New file.
14704 * sysdeps/generic/libnss_db.abilist: New file.
14705 * sysdeps/generic/libnss_dns.abilist: New file.
14706 * sysdeps/generic/libnss_files.abilist: New file.
14707 * sysdeps/generic/libnss_hesiod.abilist: New file.
14708 * sysdeps/generic/libnss_nis.abilist: New file.
14709 * sysdeps/generic/libnss_nisplus.abilist: New file.
14710 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14711 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14712 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14714 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14715 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14716 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14717 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14718 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14719 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14720 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14721 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14722 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14724 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14725 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14726 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14727 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14729 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14730 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14731 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14732 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14733 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14734 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14736 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14737 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14738 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14740 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14843 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14844 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14845 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14847 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14848 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14849 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14850 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14851 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14852 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14853 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14854 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14855 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14856 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14908 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14910 * conform/conformtest.pl: Fix typo in handling typed-constant from
14913 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14915 * README: Cut down references to pre-2.6 Linux kernels and
14916 Linuxthreads. Update lists of configurations in libc and ports
14917 and sort alphabetically. Say "or newer" with Linux kernel version
14920 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14922 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14925 * math/libm-test.inc (logb_test_downward): New test to expose
14926 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14929 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14932 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14934 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14935 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14937 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14939 * sysdeps/unix/i386/brk.S: Remove file.
14940 * sysdeps/unix/i386/dl-brk.S: Likewise.
14941 * sysdeps/unix/i386/pipe.S: Likewise.
14942 * sysdeps/unix/i386/sigreturn.S: Likewise.
14943 * sysdeps/unix/i386/syscall.S: Likewise.
14944 * sysdeps/unix/i386/vfork.S: Likewise.
14945 * sysdeps/unix/i386/wait.S: Likewise.
14947 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14948 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14950 * configure.in (arm*-none*): Do not allow without
14951 --enable-hacker-mode.
14952 (netbsd*): Remove case setting base_os.
14953 (386bsd*): Likewise.
14954 (freebsd*): Likewise.
14957 (sunos*): Likewise.
14958 (ultrix*): Likewise.
14959 (newsos*): Likewise.
14960 (dynix*): Likewise.
14966 (minix*): Likewise.
14967 (irix4*): Likewise.
14968 (irix6*): Likewise.
14969 (solaris[2-9]*): Likewise.
14971 * configure: Regenerated.
14973 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14976 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14977 overflow or cancellation in calculating denominator.
14978 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14980 down expression to avoid unexpected rounding in newer GCCs.
14981 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14983 2012-04-26 David S. Miller <davem@davemloft.net>
14985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14986 long-double compat symbols.
14987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15001 2012-04-25 David S. Miller <davem@davemloft.net>
15003 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15004 HWCAP_* values only after the memory barriers have been defined.
15005 (atomic_full_barrier): Define.
15006 (atomic_read_barrier): Define.
15007 (atomic_write_barrier): Define.
15009 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15011 * shlib-versions: Add libgcc_s version information.
15012 * sysdeps/generic/libgcc_s.h: Remove.
15013 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15015 * sysdeps/gnu/unwind-resume.c: Likewise.
15016 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15018 2012-04-25 David S. Miller <davem@davemloft.net>
15020 * sysdeps/unix/sparc/brk.S: Delete.
15021 * sysdeps/unix/sparc/dl-brk.S: Delete.
15022 * sysdeps/unix/sparc/pipe.S: Delete.
15023 * sysdeps/unix/sparc/sysdep.S: Delete.
15024 * sysdeps/unix/sparc/sysdep.h: Delete.
15025 * sysdeps/unix/sparc/vfork.S: Delete.
15026 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15027 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15028 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15029 ret_ERRVAL, r0, r1, MOVE): Define.
15030 (JUMPTARGET): Remove.
15031 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15032 sysdeps/unix/sparc/sysdep.h
15033 (ENTRY, END): Remove.
15034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15036 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15038 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15039 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15042 * timezone/README: Update upstream location and email address for
15044 * timezone/zdump.c: Update from tzcode 2012b.
15045 * timezone/zic.c: Likewise.
15047 * configure.in (libc_cv_as_needed): Remove test.
15048 * configure: Regenerated.
15049 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15050 conditional definition.
15051 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15052 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15053 * config.make.in (have-as-needed): Remove variable.
15055 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15056 Paul Pluzhnikov <ppluzhnikov@google.com>
15058 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15061 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15063 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15064 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15065 * sysdeps/sh/strlen.S: Likewise.
15067 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15069 * sysdeps/unix/fork.S: Remove file.
15070 * sysdeps/unix/i386/fork.S: Likewise.
15071 * sysdeps/unix/sparc/fork.S: Likewise.
15073 * sysdeps/unix/system.c: Remove file.
15074 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15076 * sysdeps/unix/getegid.S: Remove file.
15077 * sysdeps/unix/geteuid.S: Likewise.
15079 2012-04-24 Roland McGrath <roland@hack.frob.com>
15081 * scripts/check-localplt.awk: New file.
15082 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15084 * scripts/data/localplt-generic.data: Add a comment.
15086 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15087 NODE when __dir_mkfile failed.
15088 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15089 Reported by Ludovic Courtès <ludo@gnu.org>.
15091 2012-04-24 Andreas Jaeger <aj@suse.de>
15093 * Makerules (common-clean): Also remove gen-as-const-headers
15096 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15098 * Makerules (native-compile): Do not change working directory for
15099 build. Use $(OUTPUT_OPTION) in command.
15100 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15102 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15105 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15106 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15107 * math/libm-test.inc (floor_test): Add more tests.
15108 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15110 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15112 * sysdeps/unix/getdents.c: Remove file.
15113 * sysdeps/unix/sysv/getdents.c: Likewise.
15114 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15116 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15117 sysdeps/unix/mman/syscalls.list.
15119 (mprotect): Likewise.
15121 (munmap): Likewise.
15122 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15123 * sysdeps/unix/mman/syscalls.list: Remove.
15124 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15126 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15127 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15128 * configure: Regenerated.
15129 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15130 $(libgcc_s_suffix).
15131 * config.make.in (libgcc_s_suffix): Remove variable.
15133 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15135 * sysdeps/unix/sysv/gethostname.c: Move to ...
15136 * sysdeps/posix/gethostname.c: ... here.
15138 * sysdeps/unix/execve.S: Remove file.
15140 * sysdeps/unix/_exit.S: Remove file.
15142 2012-04-23 Andreas Jaeger <aj@suse.de>
15145 * manual/Makefile: Remove make dist support, there's no
15146 need for a stand-alone documentation tar ball.
15147 (TEXI2DVI): Define always, it's not in Makeconfig.
15150 (edition): Removed.
15151 (glibc-doc-$(edition).tar): Removed
15155 (ETAGS): Remove, it's in Makeconfig.
15156 (move-if-change): Remove, it's in Makeconfig.
15158 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15161 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15162 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15163 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15164 (strtod_l, strtof_l, strtold_l): Remove __wur.
15165 It is not necessarily an error to ignore strtol's return value.
15166 One can reliably look at the stored endptr to decide whether
15167 the number had valid syntax.
15169 2012-04-21 Andreas Jaeger <aj@suse.de>
15172 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15174 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15176 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15177 * sysdeps/unix/sysv/Versions: Remove file.
15179 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15184 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15187 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15188 version from __vm86.
15190 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15192 * sysdeps/unix/common/lxstat.c: Remove file.
15193 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15195 * sysdeps/unix/sysv/Makefile: Remove file.
15197 * sysdeps/unix/sysv/direct.h: Remove file.
15199 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15200 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15201 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15202 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15203 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15204 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15205 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15207 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15209 * sysdeps/unix/xmknod.c: Remove file.
15210 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15212 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15214 * sysdeps/unix/sysv/i386/time.S: Remove file.
15216 * sysdeps/unix/fxstat.c: Remove file.
15217 * sysdeps/unix/xstat.c: Likewise.
15218 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15220 * sysdeps/unix/sysv/sigaction.c: Remove file.
15222 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15223 (sysdep_headers): Remove variable.
15224 [termio.h not in sysdep_headers] (generated): Likewise.
15225 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15226 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15227 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15228 * sysdeps/unix/sysv/tcflow.c: Likewise.
15229 * sysdeps/unix/sysv/tcflush.c: Likewise.
15230 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15231 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15232 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15233 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15234 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15236 * sysdeps/unix/siglist.c: Remove file.
15238 * sysdeps/unix/getppid.S: Remove file.
15240 * sysdeps/unix/mkdir.c: Remove file.
15241 * sysdeps/unix/rmdir.c: Likewise.
15243 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15245 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15247 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15248 errlist-compat value.
15250 2012-04-18 David S. Miller <davem@davemloft.net>
15252 * sysdeps/generic/memcopy.h (reg_char): Delete.
15253 * debug/strcat_chk.c: Use char, not reg_char.
15254 * debug/strcpy_chk.c: Likewise.
15255 * debug/strncat_chk.c: Likewise.
15256 * debug/strncpy_chk.c: Likewise.
15257 * string/memchr.c: Likewise.
15258 * string/memrchr.c: Likewise.
15259 * string/rawmemchr.c: Likewise.
15260 * string/strcat.c: Likewise.
15261 * string/strchr.c: Likewise.
15262 * string/strchrnul.c: Likewise.
15263 * string/strcmp.c: Likewise.
15264 * string/strcpy.c: Likewise.
15265 * string/strncat.c: Likewise.
15266 * string/strncmp.c: Likewise.
15267 * string/strncpy.c: Likewise.
15269 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15271 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15272 __builtin_memcopy is called when src and dest ranges are known to not
15275 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15277 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15278 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15279 fwd_align_merge macro call.
15280 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15281 bwd_align_merge macro call.
15282 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15284 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15286 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15287 bwd_align_merge macros.
15288 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15289 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15290 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15292 2012-04-18 David S. Miller <davem@davemloft.net>
15294 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15296 2012-04-18 Andreas Jaeger <aj@suse.de>
15299 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15300 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15301 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15303 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15304 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15305 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15307 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15308 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15309 Adjust for changed ldbl-128 files.
15311 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15312 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15313 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15315 2012-04-17 David S. Miller <davem@davemloft.net>
15317 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15319 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15321 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15322 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15323 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15324 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15325 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15326 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15328 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15331 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15332 * math/libm-test.inc: Add ilogb errno and exception tests.
15333 * math/w_ilogb.c: New file: ilogb wrapper.
15334 * math/w_ilogbf.c: New file: ilogbf wrapper.
15335 * math/w_ilogbl.c: New file: ilogbl wrapper.
15336 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15337 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15338 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15339 exception being thrown with 0.0 as argument.
15340 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15341 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15342 exception being thrown with 0.0 as argument.
15343 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15344 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15345 exception being thrown with 0.0 as argument.
15346 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15347 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15348 exception being thrown with 0.0 as argument.
15349 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15350 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15351 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15352 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15353 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15354 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15355 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15356 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15357 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15359 2012-04-17 Petr Baudis <pasky@ucw.cz>
15361 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15364 2012-04-16 Marek Polacek <polacek@redhat.com>
15366 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15368 2012-04-16 Marek Polacek <polacek@redhat.com>
15370 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15371 operands of fdivp instruction.
15373 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15375 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15376 * elf/tst-auditmod3b.c: Likewise.
15377 * elf/tst-auditmod4b.c: Likewise.
15378 * elf/tst-auditmod5b.c: Likewise.
15379 * elf/tst-auditmod6b.c: Likewise.
15380 * elf/tst-auditmod6c.c: Likewise.
15381 * elf/tst-auditmod7b.c: Likewise.
15382 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15383 * sysdeps/x86_64/preconfigure.in: Likewise.
15384 * sysdeps/x86_64/preconfigure: Regenerated.
15386 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15388 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15391 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15394 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15396 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15399 * locale/iso-639.def: Fix gl language name. Spotted by
15402 2012-04-12 Roland McGrath <roland@hack.frob.com>
15405 * libio/libio.h (__io_write_fn): Update comment.
15407 2012-04-12 Petr Baudis <pasky@ucw.cz>
15410 * stdio.texi (Hook Functions): The user provided writer function
15411 is not allowed to return -1.
15413 2012-04-11 David S. Miller <davem@davemloft.net>
15415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15417 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15419 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15420 Add a leading slash to rtkaio.
15422 2012-04-11 Jim Meyering <meyering@redhat.com>
15425 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15426 It is not necessarily an error to ignore fwrite's return
15427 value. One can reliably use ferror to test for errors after
15430 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15432 * bits/types.h (__snseconds_t): New type.
15433 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15435 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15437 (__SNSECONDS_T_TYPE): Likewise.
15438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15439 (__SNSECONDS_T_TYPE): Likewise.
15440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15441 (__SNSECONDS_T_TYPE): Likewise.
15443 2012-04-10 Andreas Jaeger <aj@suse.de>
15446 * manual/time.texi (Processor Time): Return type of times is
15447 elapsed real time since an arbitrary point in the past.
15448 (CPU Time): Move CLK_TCK from here...
15449 (Processor Time): ...to here. Correct description.
15450 * manual/conf.texi (Constants for Sysconf): Correct description of
15453 2012-04-10 David S. Miller <davem@davemloft.net>
15456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15457 where the is a gap between DT_REL(A) and DT_JMPREL.
15459 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15461 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15462 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15463 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15465 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15467 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15468 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15469 (dl_main): Handle --inhibit-cache.
15470 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15472 * elf/dl-load.c (_dl_map_object): Use it.
15473 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15475 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15478 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15479 (__ieee754_powl): Saturate large exponents rather than testing for
15480 overflow of y*log2(x).
15481 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15482 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15486 * math/s_ctan.c: Include <float.h>.
15487 (__ctan): Avoid internal overflow or cancellation in calculating
15489 * math/s_ctanf.c: Likewise.
15490 * math/s_ctanl.c: Likewise.
15491 * math/s_ctanh.c: Likewise.
15492 * math/s_ctanhf.c: Likewise.
15493 * math/s_ctanhl.c: Likewise.
15494 * math/libm-test.inc (ctan_test): Add more tests.
15495 (ctanh_test): Likewise.
15496 * sysdeps/i386/fpu/libm-test-ulps: Update.
15497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15499 2012-04-09 Andreas Jaeger <aj@suse.de>
15502 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15503 is an optional BSD extension.
15506 * manual/stdio.texi (Opening Streams): Document additional fopen
15509 2012-04-09 Roland McGrath <roland@hack.frob.com>
15511 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15512 %eax without telling the compiler.
15514 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15517 * manual/install.texi: Use sourceware.org.
15519 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15522 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15523 (__ieee754_pow): Generate overflow and underflow using huge*huge
15524 and tiny*tiny rather than just returning constant infinity or zero
15525 for large exponents.
15526 * math/libm-test.inc (pow_test): Require overflow exceptions for
15527 applicable cases of large exponents.
15530 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15531 (__ieee754_pow): Use iterative multiplication algorithm only for
15532 integer exponents with absolute value below 1024. Check for odd
15533 integer exponents when using algorithm for real exponents.
15534 * math/libm-test.inc (pow_test): Add more tests.
15535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15537 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15540 * math/libm-test.inc (exp_test): Do not allow overflow exception
15543 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15546 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15547 instead of __kernel_standard_f.
15549 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15551 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15552 * sysdeps/x86_64/memset_chk.S: Likewise.
15554 2012-04-08 Andreas Jaeger <aj@suse.de>
15557 * manual/startup.texi (Environment Access): Describe return value
15558 for putenv and setenv.
15561 * manual/filesys.texi (Directory Entries): Add description for
15565 * manual/filesys.texi (Directory Entries): Clarify that it's file
15566 system not operating system in the description of DT_UNKNOWN.
15569 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15571 2012-04-08 Stephen Compall <s11@member.fsf.org>
15574 * manual/llio.texi (Opening and Closing Files): Add cross
15575 reference to explain mode argument.
15577 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15579 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15580 * sysdeps/x86_64/memset_chk.S: Likewise.
15582 2012-04-07 David S. Miller <davem@davemloft.net>
15584 * elf/elf.h (R_SPARC_WDISP10): Define.
15585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15587 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15588 R_SPARC_SIZE64 and R_SPARC_H34.
15590 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15592 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15593 conditions and remove no longer applicable assertion.
15595 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15597 * bits/byteswap.h: Include <features.h>.
15598 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15599 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15601 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15603 * bits/byteswap.h (__bswap_16): Removed.
15604 Include <bits/byteswap-16.h> to get __bswap_16.
15605 * sysdeps/i386/bits/byteswap.h: Likewise.
15606 * sysdeps/s390/bits/byteswap.h: Likewise.
15607 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15608 * bits/byteswap-16.h: New file.
15609 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15610 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15611 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15612 * string/Makefile (headers): Add bits/byteswap-16.h.
15614 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15617 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15619 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15620 * nss/tst-nss-static.c: New.
15622 2012-04-06 Robert Millan <rmh@gnu.org>
15625 * manual/llio.texi (File Position Primitive): lseek
15626 refers to WHENCE when it really means OFFSET.
15628 2012-04-06 Andreas Jaeger <aj@suse.de>
15630 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15631 strncmp declarations.
15633 * abilist/libc.abilist: Add __poll and __ppoll.
15635 2012-04-05 David S. Miller <davem@davemloft.net>
15637 * scripts/check-local-headers.sh: Accept a host triplet in the
15638 path matched by the exclude regexp.
15640 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15642 * sysdeps/powerpc/powerpc32/dl-machine.h
15643 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15644 * sysdeps/s390/s390-32/dl-machine.h
15645 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15646 * sysdeps/sparc/sparc32/dl-machine.h
15647 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15648 * sysdeps/sparc/sparc64/dl-machine.h
15649 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15651 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15653 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15654 undefined symbol errors.
15656 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15659 2012-04-05 Michael Matz <matz@suse.de>
15662 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15664 2012-04-05 Andreas Jaeger <aj@suse.de>
15667 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15670 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15672 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15673 which ROUND is no valid rounding mode.
15675 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15677 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15679 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15681 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15683 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15684 an exception using FPU order intentionally.
15686 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15688 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15689 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15690 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15691 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15693 2012-04-05 Simon Josefsson <simon@josefsson.org>
15696 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15697 EINVAL when BUFLEN is too smal.
15699 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15702 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15703 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15705 2012-04-03 Andreas Jaeger <aj@suse.de>
15708 * manual/setjmp.texi (System V contexts): Fix sentence.
15711 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15712 New macro for this case.
15713 [!__GNUC__] (__bswap_64): New inline function for this case.
15714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15715 * bits/byteswap.h: Likewise.
15716 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15717 ull, guard with __GLIBC_HAVE_LONG_LONG.
15719 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15720 __GLIBC_HAVE_LONG_LONG.
15722 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15723 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15725 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15728 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15729 inptr and inend, rather than using last_ch.
15731 2012-04-02 David S. Miller <davem@davemloft.net>
15733 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15734 * stdio-common/printf-parse.h (read_int): Change return type to
15735 'int', return -1 on INT_MAX overflow.
15736 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15737 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15738 overflows INT_MAX. Check for overflow of in-format-string precision
15739 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15740 SIZE_MAX not INT_MAX for integer overflow test.
15741 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15742 skip the construct in the format string but do not record anything.
15743 * stdio-common/bug22.c: Adjust to test both width/prevision
15744 INT_MAX overflow as well as total length INT_MAX overflow. Check
15745 explicitly for proper errno values.
15747 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15749 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15751 * string/test-strcmp.c [! WIDE]: Likewise.
15752 * time/tst-mktime2.c: Likewise for INT_MAX.
15753 * string/test-string.h: #include <sys/param.h> for MIN.
15755 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15756 * sysdeps/i386/init-first.c (init): Likewise.
15757 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15758 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15759 * sysdeps/sh/init-first.c (init): Likewise.
15761 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15763 * po/ru.po: Update from translation team.
15764 * po/vi.po: Likewise.
15766 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15768 * resolv/nss_dns/dns-host.c: Merge copyright years.
15770 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15772 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15773 Optimize memcpy with prefetch if
15774 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15775 src, dst pointers have unequal 16 byte alignments.
15777 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15780 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15781 from a CNAME entry and return the minimum ttl for the query.
15782 (gaih_getanswer_slice): Likewise.
15784 2012-03-30 Jeff Law <law@redhat.com>
15786 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15788 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15789 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15791 * resolv/nss_dns/dns-host.c: Update copyright year.
15793 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15795 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15796 requests to save a system call. Fix check that all bytes are sent.
15798 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15799 comments for sendmmsg.
15801 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15804 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15805 with only 1 character between 0x0041 and 0x01b0.
15806 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15807 * wcsmbs/tst-mbsnrtowcs.c: New file.
15809 2012-03-29 David S. Miller <davem@davemloft.net>
15811 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15812 small copies by hand.
15814 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15817 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15818 _nss_compat_initgroups_dyn): Fall back to malloc/free
15819 for large group memberships.
15821 2012-03-28 David S. Miller <davem@davemloft.net>
15823 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15824 that branches into memcpy.
15825 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15826 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15828 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15831 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15832 implementation too.
15833 * sysdeps/sparc/mempcpy.S: New file.
15835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15836 the IFUNC routine in the libc case.
15837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15839 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15840 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15841 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15842 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15843 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15844 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15845 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15846 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15848 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15849 loop to 256 bytes instead of 64 bytes and fix test signedness.
15851 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15852 * sysdeps/sparc/sparc32/Makefile: rather than here...
15853 * sysdeps/sparc/sparc64/Makefile: and here.
15855 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15857 * malloc/mallocbug.c: Avoid warnings about unused variables.
15859 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15862 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15863 in the right place. Discard and retry query if response is
15864 larger than input buffer size.
15866 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15871 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15872 x for large integer exponent.
15873 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15874 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15875 sign of result as needed afterwards.
15876 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15877 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15878 result for underflowing pow the same as for overflow.
15879 (__kernel_standard_l): Handle powl overflow and underflow here
15880 rather than calling __kernel_standard.
15881 * math/libm-test.inc (pow_test): Add more tests.
15896 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15897 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15898 (__kernel_standard_l): New function.
15899 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15901 * math/w_acosl.c (__acosl): Likewise.
15902 * math/w_asinl.c (__asinl): Likewise.
15903 * math/w_atan2l.c (__atan2l): Likewise.
15904 * math/w_atanhl.c (__atanhl): Likewise.
15905 * math/w_coshl.c (__coshl): Likewise.
15906 * math/w_exp10l.c (__exp10l): Likewise.
15907 * math/w_exp2l.c (__exp2l): Likewise.
15908 * math/w_fmodl.c (__fmodl): Likewise.
15909 * math/w_hypotl.c (__hypotl): Likewise.
15910 * math/w_j0l.c (__j0l, __y0l): Likewise.
15911 * math/w_j1l.c (__j1l, __y1l): Likewise.
15912 * math/w_jnl.c (__jnl, __ynl): Likewise.
15913 * math/w_lgammal.c (__lgammal): Likewise.
15914 * math/w_log10l.c (__log10l): Likewise.
15915 * math/w_log2l.c (__log2l): Likewise.
15916 * math/w_logl.c (__logl): Likewise.
15917 * math/w_powl.c (__powl): Likewise.
15918 * math/w_remainderl.c (__remainderl): Likewise.
15919 * math/w_scalbl.c (sysv_scalbl): Likewise.
15920 * math/w_sinhl.c (__sinhl): Likewise.
15921 * math/w_sqrtl.c (__sqrtl): Likewise.
15922 * math/w_tgammal.c (__tgammal): Likewise.
15923 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15924 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15925 * math/libm-test.inc (acos_test): Add more tests.
15926 (acosh_test): Likewise.
15927 (asin_test): Likewise.
15928 (atanh_test): Likewise.
15929 (exp_test): Likewise.
15930 (exp10_test): Likewise.
15931 (exp2_test): Likewise.
15932 (expm1_test): Likewise.
15933 (lgamma_test): Likewise.
15934 (log_test): Likewise.
15935 (log10_test): Likewise.
15936 (log1p_test): Likewise.
15937 (log2_test): Likewise.
15938 (pow_test): Do not allow some spurious overflow exceptions.
15939 (sqrt_test): Add more tests.
15940 (tgamma_test): Likewise.
15941 (y0_test): Likewise.
15942 (y1_test): Likewise.
15943 (yn_test): Likewise.
15945 2012-03-27 Anton Blanchard <anton@samba.org>
15947 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15950 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15953 2012-03-27 David S. Miller <davem@davemloft.net>
15955 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15957 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15958 have-as-vis3 check.
15960 2012-03-27 Andreas Jaeger <aj@suse.de>
15962 * sysdeps/x86_64/elf/configure.in: Moved to ...
15963 * sysdeps/x86_64/configure.in: ... here.
15964 * sysdeps/x86_64/elf/start.S: Moved to ...
15965 * sysdeps/x86_64/start.S: ... here.
15966 * sysdeps/x86_64/elf/configure: Delete.
15968 * sysdeps/x86_64/configure.in: Merge contents from
15969 sysdeps/i386/configure.in (without i686 check).
15971 * sysdeps/i386/elf/Versions: Merge into ...
15972 * sysdeps/i386/Versions: ... this.
15973 * sysdeps/i386/elf/Versions: Delete file.
15974 * sysdeps/i386/elf/start.S: Moved to ...
15975 * sysdeps/i386/start.S: ...here.
15976 * sysdeps/i386/elf/configure.in: Merge into...
15977 * sysdeps/i386/configure.in: ...here.
15978 * sysdeps/i386/elf/configure.in: Delete file.
15979 * sysdeps/i386/elf/configure: Delete file.
15981 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15982 * debug/backtracesyms.c: ... here.
15983 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15984 * debug/backtracesymsfd.c: ... here.
15985 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15986 * sysdeps/generic/ifunc-sel.h: ... here.
15988 * sysdeps/unix/i386/start.c: Delete file.
15989 * sysdeps/unix/sparc/start.c: Delete file.
15990 * sysdeps/unix/start.c: Delete file.
15992 * sysdeps/sh/elf/configure.in: Moved to ...
15993 * sysdeps/sh/configure.in: ... here.
15994 * sysdeps/sh/elf/start.S: Moved to ...
15995 * sysdeps/sh/start.S: ... here.
15996 * sysdeps/sh/elf/configure: Delete file.
15998 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15999 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16000 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16001 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16002 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16003 * sysdeps/powerpc/powerpc64/start.S: here.
16004 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16005 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16006 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16007 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16008 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16010 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16011 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16012 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16013 * sysdeps/powerpc/powerpc32/start.S: ... here.
16014 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16015 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16016 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16018 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16019 * sysdeps/powerpc/ifunc-sel.h: ... here.
16020 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16021 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16023 * sysdeps/sparc/elf/configure.in: Moved to ...
16024 * sysdeps/sparc/configure.in: ... here.
16025 * sysdeps/sparc/elf/configure: Delete file.
16026 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16027 * sysdeps/sparc/sparc32/start.S: ... here.
16028 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16029 * sysdeps/sparc/sparc64/start.S: ... here.
16030 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16031 * sysdeps/sparc/sparc32/Makefile: ... this.
16032 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16033 * sysdeps/sparc/sparc64/Makefile: ... this.
16035 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16036 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16037 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16038 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16039 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16040 * sysdeps/s390/s390-32/setjmp.S: ... here.
16041 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16042 * sysdeps/s390/s390-32/configure.in: ... here.
16043 * sysdeps/s390/s390-32/elf/configure: Delete file.
16044 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16045 * sysdeps/s390/s390-32/start.S: ... here.
16047 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16048 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16049 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16050 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16051 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16052 * sysdeps/s390/s390-64/setjmp.S: ... here.
16053 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16054 * sysdeps/s390/s390-64/configure.in: ... here
16055 * sysdeps/s390/s390-64/elf/configure: Delete file.
16056 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16057 * sysdeps/s390/s390-64/start.S: ... here.
16058 * sysdeps/s390/s390-64/elf/configure: Delete.
16060 * configure.in: Remove support for elf directories in sysdeps.
16062 * configure: Regenerated.
16063 * sysdeps/i386/configure: Regenerated.
16064 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16065 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16066 * sysdeps/s390/s390-32/configure: Regenerated.
16067 * sysdeps/s390/s390-64/configure: Regenerated.
16068 * sysdeps/sh/configure: Regenerated.
16069 * sysdeps/sparc/configure: Regenerated.
16070 * sysdeps/x86_64/configure: Regenerated.
16072 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16077 denormal result into account.
16079 2012-03-25 Roland McGrath <roland@hack.frob.com>
16081 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16082 Reported by Allan McRae <allan@archlinux.org>.
16084 2012-03-23 Jeff Law <law@redhat.com>
16086 * nss/getnssent.c (__nss_getent): Fix typo.
16088 2012-03-23 David S. Miller <davem@davemloft.net>
16090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16092 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16094 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16095 to pad to uint64_t for each field.
16096 (dl_tls_index): Replace unsigned long with uint64_t.
16098 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16099 Paul Pluzhnikov <ppluzhnikov@google.com>
16102 * grp/Makefile (otherlibs): Don't set it.
16103 * inet/Makefile (otherlibs): Likewise.
16104 * login/Makefile (otherlibs): Likewise.
16105 * nscd/Makefile (otherlibs): Likewise.
16106 * posix/Makefile (otherlibs): Likewise.
16107 * pwd/Makefile (otherlibs): Likewise.
16108 * rt/Makefile (otherlibs): Likewise.
16109 * sunrpc/Makefile (otherlibs): Likewise.
16110 * nss/Makefile (otherlibs): Likewise.
16111 Add libnss_files to routines and static-only-routines.
16112 ($(objpfx)getent): Remove rule.
16113 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16114 static-only-routines.
16116 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16119 * math/s_cexp.c: Include <float.h>.
16120 (__cexp): Handle exp result overflowing not necessarily
16121 overflowing both real and imaginary parts of result.
16122 * math/s_cexpf.c: Likewise.
16123 * math/s_cexpl.c: Likewise.
16124 * math/libm-test.inc (cexp_test): Add more tests.
16125 * sysdeps/i386/fpu/libm-test-ulps: Update.
16126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16128 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16130 * include/link.h (ELFW): New macro.
16131 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16132 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16134 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16136 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16139 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16141 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16143 (struct La_x32_retval): Likewise.
16145 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16147 * sysdeps/x86_64/preconfigure.in: New file.
16148 * sysdeps/x86_64/preconfigure: New generated file.
16150 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16153 * math/e_exp2l.c: Include <float.h>.
16154 (__ieee754_exp2l): Handle overflow and underflow cases
16155 separately. Only pass fractional part of argument to
16157 * math/libm-test.inc (exp2_test): Add more tests.
16159 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16160 negating x to take absolute value.
16161 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16163 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16164 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16166 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16167 computing low part if x was negated.
16168 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16170 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16172 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16173 la_x32_gnu_pltexit.
16174 (pltexit): Cast int_retval to ptrdiff_t.
16175 * elf/tst-auditmod3b.c: Likewise.
16176 * elf/tst-auditmod4b.c: Likewise.
16177 * elf/tst-auditmod5b.c: Likewise.
16178 * elf/tst-auditmod6b.c: Likewise.
16179 * elf/tst-auditmod6c.c: Likewise.
16180 * elf/tst-auditmod7b.c: Likewise.
16182 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16183 and x32_gnu_pltexit.
16185 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16186 __ELF_NATIVE_CLASS.
16187 (La_x32_regs): New macro.
16188 (La_x32_retval): Likewise.
16189 (la_x32_gnu_pltenter): New function prototype.
16190 (la_x32_gnu_pltexit): Likewise.
16192 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16194 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16199 * configure.in (libc_cv_cc_nofma): Check for option to disable
16200 generation of FMA instructions.
16201 * configure: Regenerate.
16202 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16203 * sysdeps/ieee754/dbl-64/Makefile: New file.
16204 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16205 Remove brandred-fma4.
16206 (CFLAGS-brandred-fma4.c): Remove.
16207 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16208 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16210 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16213 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16215 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16216 LLONG_MAX != LONG_MAX.
16217 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16218 (_fitoa_word): Likewise.
16219 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16220 LLONG_MAX != LONG_MAX.
16221 * stdio-common/_itowa.h: Include <_itoa.h>.
16222 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16223 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16224 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16225 only if not defined.
16226 (_ITOA_WORD_TYPE): Likewise.
16227 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16228 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16230 2012-03-21 David S. Miller <davem@davemloft.net>
16232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16234 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16236 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16237 of x86_64 when setting libc_cv_slibdir, libdir and
16239 * sysdeps/unix/sysv/linux/configure: Regenerated.
16241 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16243 * manual/lang.texi (Old Varargs): Remove section.
16244 (How Variadic): Update menu.
16245 (va_start): Do not mention varargs.h.
16247 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16248 Joseph Myers <joseph@codesourcery.com>
16250 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16252 * configure: Regenerated.
16254 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16256 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16257 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16260 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16263 * Makefile (files-for-dist): Remove NOTES.
16264 (NOTES): Remove rule.
16265 * README: Don't refer to NOTES.
16266 * manual/creature.texi: Don't include macros.texi.
16267 * manual/intro.texi (creature.texi): Remove comment referring to
16270 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16271 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16272 * configure: Regenerated.
16273 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16274 LIBC_TRY_CC_OPTION.
16275 (libc_cv_as_i686): Likewise.
16276 (libc_cv_cc_avx): Likewise.
16277 (libc_cv_cc_sse2avx): Likewise.
16278 (libc_cv_cc_fma4): Likewise.
16279 (libc_cv_cc_novzeroupper): Likewise.
16280 * sysdeps/i386/configure: Regenerated.
16283 * sysdeps/i386/fpu/s_cexp.S: Remove.
16284 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16285 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16286 * math/libm-test.inc (cexp_test): Add more tests.
16287 * sysdeps/i386/fpu/libm-test-ulps: Update.
16288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16290 2012-03-21 Allan McRae <allan@archlinux.org>
16292 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16294 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16297 * math/w_exp2.c: Do not include <float.h>.
16298 (o_threshold, u_threshold): Remove.
16299 (__exp2): Calculate result before checking finiteness and calling
16301 * math/w_exp2f.c: Likewise.
16302 * math/w_exp2l.c: Likewise.
16303 * math/libm-test.inc (exp2_test): Require overflow exception for
16307 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16308 range of signed 64-bit integers before using fistpll. Remove
16309 checks for whether integers fit in mantissa bits.
16310 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16311 the range of signed 32-bit integers before using fistpl. Remove
16312 checks for whether integers fit in mantissa bits.
16313 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16314 (__ieee754_powl): Test for y outside the range of signed 64-bit
16315 integers before using fistpll. Reduce 64-bit values to 63-bit
16317 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16318 divide-by-zero is raised for zero to large negative powers.
16319 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16320 (__ieee754_powl): Test for y outside the range of signed 64-bit
16321 integers before using fistpll. Reduce 64-bit values to 63-bit
16323 * math/libm-test.inc (pow_test): Add more tests.
16325 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16327 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16328 <stdio-common/_itoa.h>.
16329 * debug/segfault.c: Likewise.
16330 * elf/dl-cache.c: Likewise.
16331 * elf/dl-minimal.c: Likewise.
16332 * elf/dl-misc.c: Likewise.
16333 * elf/dl-sysdep.c: Likewise.
16334 * elf/dl-version.c: Likewise.
16335 * elf/rtld.c: Likewise.
16336 * hurd/hurdsock.c: Likewise.
16337 * hurd/lookup-retry.c: Likewise.
16338 * malloc/malloc.c: Likewise.
16339 * malloc/mtrace.c: Likewise.
16340 * nscd/nscd_getgr_r.c: Likewise.
16341 * nscd/nscd_getpw_r.c: Likewise.
16342 * nscd/nscd_getserv_r.c: Likewise.
16343 * posix/getopt_init.c: Likewise.
16344 * posix/wordexp.c: Likewise.
16345 * stdio-common/_itoa.c: Likewise.
16346 * stdio-common/printf_fphex.c: Likewise.
16347 * stdio-common/vfprintf.c: Likewise.
16348 * string/_strerror.c: Likewise.
16349 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16350 * sysdeps/i386/i686/hp-timing.h: Likewise.
16351 * sysdeps/mach/_strerror.c: Likewise.
16352 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16353 * sysdeps/mach/hurd/sethostid.c: Likewise.
16354 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16355 * sysdeps/mach/xpg-strerror.c: Likewise.
16356 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16357 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16358 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16359 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16360 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16361 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16362 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16363 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16364 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16365 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16366 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16367 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16368 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16369 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16370 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16371 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16372 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16373 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16374 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16375 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16376 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16378 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16380 * stdio-common/_itoa.h: Moved to ...
16381 * sysdeps/generic/_itoa.h: Here.
16383 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16385 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16386 instead of "_itoa.h" and "_itowa.h".
16387 * stdio-common/vfprintf.: Likewise.
16389 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16391 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16393 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16394 (__signbit): Likwise.
16395 (llrintf): Likwise.
16398 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16400 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16403 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16405 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16406 OVERFLOW_EXCEPTION_OK.
16407 * math/libm-test.inc ("Philosophy"): Update comment about
16409 (OVERFLOW_EXCEPTION): Define.
16410 (OVERFLOW_EXCEPTION_OK): Likewise.
16411 (INVALID_EXCEPTION_OK): Renumber.
16412 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16413 (IGNORE_ZERO_INF_SIGN): Likewise.
16414 (test_exceptions): Handle FE_OVERFLOW.
16415 (exp10_test): Expect overflow exceptions.
16416 (exp2_test): Likewise.
16417 (expm1_test): Likewise.
16418 (nextafter_test): Likewise.
16419 (pow_test): Likewise.
16420 (scalbn_test): Likewise.
16421 (scalbln_test): Likewise.
16423 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16425 * sysdeps/x86_64/bits/atomic.h
16426 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16428 (atomic_exchange_acq): Likewise.
16429 (__arch_exchange_and_add_body): Likewise.
16430 (__arch_add_body): Likewise.
16431 (atomic_add_negative): Likewise.
16432 (atomic_add_zero): Likewise.
16434 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16436 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16437 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16439 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16441 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16442 Check __x86_64__ instead of __WORDSIZE.
16444 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16446 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16448 2012-03-19 David S. Miller <davem@davemloft.net>
16450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16452 * sysdeps/sparc/fpu/fenv_private.h: New file.
16453 * sysdeps/sparc/fpu/math_private.h: Use it.
16454 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16456 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16457 (libc_feholdexcept_setroundl): Remove.
16458 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16460 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16461 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16463 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16465 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16466 int64_t instead of long int.
16467 (INSERT_WORDS64): Likwise.
16469 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16471 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16472 _Unwind_GetCFA return to _Unwind_Ptr first.
16474 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16477 * math/s_clog.c: Include <float.h>.
16478 (__clog): Scale large or subnormal inputs.
16479 * math/s_clogf.c: Likewise.
16480 * math/s_clogl.c: Likewise.
16481 * math/s_clog10.c: Include <float.h>.
16482 (M_LOG10_2): Define.
16483 (__clog10): Scale large or subnormal inputs.
16484 * math/s_clog10f.c: Likewise.
16485 * math/s_clog10l.c: Likewise.
16486 * math/libm-test.inc (clog_test): Add more tests.
16487 (clog10_test): Likewise.
16488 * sysdeps/i386/fpu/libm-test-ulps: Update.
16489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16492 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16494 * math/libm-test.inc (atan2_test): Add another test.
16496 * Makerules (common-objdir-compile): Remove.
16497 * sysdeps/unix/Makefile (config-generated): Do not add
16498 $(unix-generated) to variable.
16499 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16500 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16502 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16504 [generic bits/local_lim.h] (before-compile): Do not append to
16506 [generic bits/local_lim.h] (common-generated): Likewise.
16507 [generic sys/param.h] (before-compile): Do not append to variable.
16508 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16509 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16510 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16511 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16513 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16514 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16515 [generic sys/param.h] ($(addprefix
16516 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16517 [generic sys/param.h] (common-generated): Do not append to
16519 [generic sys/param.h] (sysdep_headers): Likewise.
16520 [generic bits/errno.h] (before-compile): Do not append to
16522 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16524 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16525 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16526 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16527 [generic bits/errno.h] (common-generated): Do not append to
16529 [generic bits/ioctls.h] (before-compile): Do not append to
16531 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16533 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16534 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16535 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16537 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16538 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16539 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16540 [generic bits/ioctls.h] (common-generated): Do not append to
16542 [generic sys/syscall.h] (syscall.h): Remove variable.
16543 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16545 [generic sys/syscall.h] (before-compile): Do not append to
16547 [generic sys/syscall.h] (common-generated): Likewise.
16548 * sysdeps/unix/errnos-tmpl.c: Remove file.
16549 * sysdeps/unix/errnos.awk: Likewise.
16550 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16551 * sysdeps/unix/ioctls.awk: Likewise.
16552 * sysdeps/unix/mk-local_lim.c: Likewise.
16553 * sysdeps/unix/snarf-ioctls: Likewise.
16555 2012-03-19 Richard Henderson <rth@twiddle.net>
16557 * sysdeps/i386/fpu/fenv_private.h: New file.
16558 * sysdeps/i386/fpu/math_private.h: Use it.
16559 (math_opt_barrier, math_force_eval): Remove.
16560 (libc_feholdexcept_setround_53bit): Remove.
16561 (libc_feupdateenv_53bit): Remove.
16562 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16563 (math_opt_barrier, math_force_eval): Remove.
16564 (libc_feholdexcept): Remove.
16565 (libc_feholdexcept_setround): Remove.
16566 (libc_fetestexcept, libc_fesetenv): Remove.
16567 (libc_feupdateenv_test): Remove.
16568 (libc_feupdateenv, libc_feholdsetround): Remove.
16569 (libc_feresetround): Remove.
16571 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16572 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16574 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16575 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16576 (libc_feupdateenv_testl): New.
16577 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16578 (libc_feupdateenv_testf): New.
16579 (libc_feupdateenv): Use libc_feupdateenv_test.
16580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16581 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16583 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16584 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16585 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16586 (libc_feresetround_noex): New.
16587 (libc_feresetround_noexf): New.
16588 (libc_feresetround_noexl): New.
16589 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16590 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16591 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16592 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16597 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16598 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16599 SET_RESTORE_ROUND_NOEX.
16600 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16601 SET_RESTORE_ROUND_NOEXF.
16602 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16603 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16604 (libc_feholdsetroundf): New.
16605 (libc_feresetround, libc_feresetroundf): New.
16607 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16608 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16609 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16611 * sysdeps/generic/math_private.h: Include <fenv.h>.
16612 (default_libc_feholdexcept): New.
16613 (default_libc_feholdexcept_setround): New.
16614 (default_libc_fesetenv, default_libc_feupdateenv): New.
16615 (libc_feholdexcept): Only define if undefined.
16616 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16617 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16618 (libc_feholdexcept_setroundl): Likewise.
16619 (libc_feholdexcept_setround_53bit): Likewise.
16620 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16621 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16622 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16623 (libc_feupdateenv_53bit): Likewise.
16624 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16625 (libc_feholdexcept): Convert from macro to inline function.
16626 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16627 (libc_fesetenv, libc_feupdateenv): Likewise.
16629 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16630 not previously defined.
16631 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16632 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16633 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16634 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16635 * sysdeps/ieee754/flt-32/math_private.h: New file.
16636 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16637 math_private.h below SET_FLOAT_WORD.
16638 (__isnan, __isinf_ns, __finite): Remove.
16639 (__isnanf, __isinf_nsf, __finitef): Remove.
16641 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16645 2012-03-17 David S. Miller <davem@davemloft.net>
16648 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16651 2012-03-16 David S. Miller <davem@davemloft.net>
16653 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16657 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16659 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16660 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16661 sysdep_routines when subdir is sysvipc.
16662 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16663 __getshmlba helper.
16665 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16667 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16669 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16672 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16674 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16675 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16676 (__lround): Renamed to ...
16677 (__llround): This. Replace long int with long long int.
16678 Define lround functions as aliases of llround functions.
16679 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16681 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16683 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16684 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16685 adresses to uintptr_t. Replace "long int" and "unsigned long
16686 int" with "greg_t" on va_arg.
16688 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16690 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16691 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16693 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16694 Move e_machine check before EI_CLASS check. Handle x32
16695 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16696 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16697 SKIP_EM_IA_64 and include
16698 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16700 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16701 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16702 (add_system_dir): New macro.
16704 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16705 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16707 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16718 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16720 * math/w_j0f.c (j0f): Likewise.
16722 * math/w_j0l.c (__j0l): Likewise.
16724 * math/w_j1.c (j1): Likewise.
16726 * math/w_j1f.c (j1f): Likewise.
16728 * math/w_j1l.c (__j1l): Likewise.
16730 * math/w_jn.c (jn): Likewise.
16732 * math/w_jnf.c (jnf): Likewise.
16734 * math/w_jnl.c (__jnl): Likewise.
16736 * math/libm-test.inc (j0_test): Add more tests.
16737 (j1_test): Likewise.
16738 (jn_test): Likewise. Add trailing semicolon to existing test.
16739 (y0_test): Likewise.
16740 (y1_test): Likewise.
16741 * sysdeps/i386/fpu/libm-test-ulps: Update.
16742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16746 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16747 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16748 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16749 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16750 (__tanl): Set errno for infinite argument.
16751 * sysdeps/i386/fpu/mptan.c: Remove.
16752 * sysdeps/i386/fpu/s_tan.S: Likewise.
16753 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16754 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16755 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16756 * math/libm-test.inc (tan_test): Add more tests and enable more
16757 tests for double and long double.
16758 * sysdeps/i386/fpu/libm-test-ulps: Update.
16759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16761 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16763 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16764 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16766 2012-03-16 Roland McGrath <roland@hack.frob.com>
16768 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16769 * configure.in: Use it for both main tree and add-ons.
16770 * configure: Regenerated.
16772 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16774 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16776 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16778 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16782 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16783 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16788 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16789 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16790 != 0 for prec == 2.
16791 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16792 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16793 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16794 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16795 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16796 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16797 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16798 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16799 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16800 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16801 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16802 * math/libm-test.inc (cos_test): Add more tests and enable more
16803 tests for long double.
16804 (sin_test): Likewise.
16805 (sincos_test): Likewise.
16806 * sysdeps/i386/fpu/libm-test-ulps: Update.
16807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16809 2012-03-16 David S. Miller <davem@davemloft.net>
16811 * sysdeps/sparc/fpu/math_private.h: New file.
16813 2012-03-15 David S. Miller <davem@davemloft.net>
16815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16829 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16830 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16832 * sysdeps/sparc/sparc-ifunc.h: New file.
16833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16878 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16880 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16884 2012-03-15 Andreas Jaeger <aj@suse.de>
16887 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16888 ieee754/flt-32 implementation for sin, cos and sincos.
16889 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16890 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16891 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16892 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16893 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16894 ieee754/flt-32 implementation for tan.
16896 * math/libm-test.inc (cos_test): Enable some large input tests for
16898 (sin_test): Likewise.
16899 (sincos_test): Likewise.
16900 (tan_test): Add tests for large input.
16902 * sysdeps/i386/fpu/libm-test-ulps: Update.
16904 2012-03-15 Andreas Jaeger <aj@suse.de>
16907 * math/libm-test.inc (cos_test): Add more test cases.
16908 (sin_test): Likewise.
16909 (sincos_test): Likewise.
16911 2012-03-15 Andreas Jaeger <aj@suse.de>
16914 * math/libm-test.inc (cos_test): Add a test case for large input
16916 (sin_test): Likewise.
16917 (sincos_test): Likewise.
16919 2012-03-15 Andreas Jaeger <aj@suse.de>,
16920 Joseph Myers <joseph@codesourcery.com>
16923 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16924 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16925 * sysdeps/i386/fpu/branred.c: Likewise.
16926 * sysdeps/i386/fpu/dosincos.c: Likewise.
16927 * sysdeps/i386/fpu/mpa.c: Likewise.
16928 * sysdeps/i386/fpu/s_cos.S: Likewise.
16929 * sysdeps/i386/fpu/s_sin.S: Likewise.
16930 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16931 * sysdeps/i386/fpu/sincos32.c: Likewise.
16933 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16935 (libc_feupdateenv_53bit): Define.
16936 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16938 (libc_feupdateenv_53bit): Define.
16940 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16941 53 bit (without extend i386 double precision).
16943 * math/libm-test.inc (sincos_test): Add tests for large input.
16947 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16949 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16953 2012-03-15 David S. Miller <davem@davemloft.net>
16955 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16956 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16957 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16958 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16983 fmin/fmax sysdep routines.
16984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16986 2012-03-14 David S. Miller <davem@davemloft.net>
16988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16995 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17009 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17010 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17012 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17014 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17015 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17060 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17065 * sysdeps/sparc/configure.in: New file.
17066 * sysdeps/sparc/configure: Generate.
17067 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17068 * configure: Regenerate.
17069 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17070 * config.make.in (have-as-vis3): New.
17071 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17072 available use -Av9d instead of -Av9a.
17073 * sysdeps/sparc/sparc64/Makefile: Likewise.
17074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17086 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17087 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17089 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17090 fzeros/fnegs to load 0x80000000 into a float register instead of
17092 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17094 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17098 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17099 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17100 ($(inst_includedir)/bits/syscall.h): Remove rule.
17101 ($(objpfx)bits/syscall.d): Include instead of
17102 $(objpfx)syscall-list.d.
17103 (generated): Change syscall-list.h and syscall-list.d to
17104 bits/syscall.h and bits/syscall.d.
17106 2012-03-14 Roland McGrath <roland@hack.frob.com>
17109 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17111 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17114 * math/s_csqrt.c: Include <float.h>.
17115 (__csqrt): Scale large or subnormal inputs.
17116 * math/s_csqrtf.c: Likewise.
17117 * math/s_csqrtl.c: Likewise.
17118 * math/libm-test.inc (csqrt_test): Add more tests.
17119 * sysdeps/i386/fpu/libm-test-ulps: Update.
17120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17123 * math/libm-test.inc (hypot_test): Add more tests.
17125 2012-03-13 David S. Miller <davem@davemloft.net>
17128 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17129 double-precision for the calculation instead of scaling.
17131 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17133 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17134 manipulate bits before adding and subtracting TWO52[sx].
17135 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17136 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17138 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17140 2012-03-13 David S. Miller <davem@davemloft.net>
17142 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17143 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17145 rtld-global-offsets.h
17146 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17148 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17151 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17153 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17154 'err' in the ifdef scope in which it is actually used.
17156 * nss/nss_db/db-init.c: Include string.h
17158 2012-03-12 David S. Miller <davem@davemloft.net>
17160 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17161 masking out of the most significant byte of random value used.
17162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17163 Fix coding style in previous change.
17165 * sysdeps/unix/sysv/linux/kernel-features.h
17166 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17167 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17169 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17172 2012-03-11 David S. Miller <davem@davemloft.net>
17174 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17175 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17177 for 'resultvar' otherwise things get truncated on 64-bit.
17179 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17180 Fix masking out of the most significant byte of random value used.
17182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17184 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17188 2012-03-09 David S. Miller <davem@davemloft.net>
17190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17191 variables with appropriate CPP guards.
17192 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17193 frame pointer, not the stack pointer. Correct layout comments. Fix test
17194 on resulting framesize and the management of the outregs buffer for pltexit.
17195 Preserve floating point return values across _dl_call_pltexit call.
17196 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17197 framesize and the management of the outregs buffer for pltexit.
17198 Preserve floating point return values across _dl_call_pltexit
17200 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17201 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17202 (print_exit): Fix format string for return register value.
17204 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17206 * sunrpc/Makefile (others): Add rpcgen.
17207 ($(objpfx)rpcgen): Remove special build rule and dependency on
17209 * sunrpc/rpcgen.c: New file.
17211 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17214 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17215 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17216 * sysdeps/i386/crti.S: Likewise.
17217 * sysdeps/i386/crtn.S: Likewise.
17218 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17219 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17220 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17221 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17222 * sysdeps/sh/crti.S: Likewise.
17223 * sysdeps/sh/crtn.S: Likewise.
17224 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17227 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17229 * locale/programs/locfile-kw.gperf: Likewise.
17230 * locale/programs/charmap-kw.h: Regenerated.
17231 * locale/programs/locfile-kw.h: Likewise.
17234 * intl/plural.y: Replace FSF snail mail address with URL.
17235 * intl/plural.c: Regenerated.
17237 2012-03-09 Richard Henderson <rth@twiddle.net>
17239 * include/math_private.h: Remove file.
17240 * math/math_private.h: Move file ...
17241 * sysdeps/generic/math_private.h: ... here.
17243 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17244 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17245 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17247 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17248 and <math_private.h>.
17249 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17250 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17251 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17252 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17253 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17254 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17255 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17257 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17258 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17260 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17261 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17263 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17264 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17266 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17267 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17268 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17270 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17271 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17273 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17274 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17275 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17276 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17279 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17280 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17281 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17283 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17284 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17285 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17286 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17287 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17289 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17290 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17291 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17292 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17293 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17294 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17295 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17296 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17297 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17298 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17299 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17300 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17301 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17302 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17303 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17304 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17305 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17306 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17307 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17308 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17309 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17310 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17312 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17313 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17314 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17315 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17316 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17318 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17319 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17335 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17337 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17338 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17339 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17340 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17341 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17342 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17343 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17344 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17345 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17346 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17348 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17349 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17350 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17351 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17352 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17353 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17354 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17355 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17356 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17357 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17358 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17359 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17360 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17361 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17362 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17363 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17364 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17365 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17366 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17367 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17368 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17369 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17370 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17371 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17372 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17373 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17374 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17375 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17376 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17377 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17378 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17379 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17380 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17381 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17382 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17383 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17384 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17385 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17386 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17387 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17388 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17389 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17390 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17391 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17392 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17393 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17394 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17395 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17396 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17397 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17398 * sysdeps/ieee754/k_standard.c: Likewise.
17399 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17400 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17402 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17403 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17404 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17405 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17406 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17407 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17408 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17409 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17412 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17413 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17414 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17415 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17416 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17421 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17422 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17423 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17442 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17445 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17502 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17504 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17513 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17514 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17518 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17519 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17521 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17526 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17531 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17535 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17539 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17541 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17542 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17543 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17547 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17548 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17549 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17551 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17552 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17553 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17554 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17555 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17556 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17557 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17558 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17559 * sysdeps/ieee754/s_lib_version.c: Likewise.
17560 * sysdeps/ieee754/s_matherr.c: Likewise.
17561 * sysdeps/ieee754/s_signgam.c: Likewise.
17562 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17563 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17564 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17565 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17566 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17567 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17568 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17569 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17570 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17571 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17572 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17573 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17574 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17575 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17576 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17577 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17578 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17579 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17580 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17584 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17586 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17587 * sunrpc/rpc_main.c: Likewise.
17588 * sunrpc/rpc_svcout.c: Likewise.
17590 2012-03-09 David S. Miller <davem@davemloft.net>
17592 * include/math_private.h: New file.
17594 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17596 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17597 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17598 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17599 from <bits/socket_type.h>.
17600 (enum __socket_type): Don't define here.
17601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17603 bits/socket_type.h.
17606 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17607 checking __USE_GNU.
17609 * Makerules ($(inst_includedir)/%.h): New rule.
17610 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17611 (install-others): Remove variable setting.
17612 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17614 2012-03-08 Richard Henderson <rth@twiddle.net>
17616 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17617 from macro to inline function; merge with the
17618 !__LIBC_INTERNAL_MATH_INLINES version.
17619 (__ieee754_sqrtf): Likewise.
17621 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17622 to inline function.
17623 (__rintf, __floor, __floorf): Likewise.
17625 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17626 macro to inline function.
17627 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17629 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17630 not <math/math_private.h>.
17632 2012-03-08 David S. Miller <davem@davemloft.net>
17634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17636 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17638 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17640 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17642 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17643 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17645 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17647 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17648 be defined individually, they must be defined as a block. Define
17649 S for printing a string instead of hidint the different by using a
17650 macro for adding the 'l'.
17651 * stdio-common/tst-fphex-wide.c: Adjust.
17653 2012-03-07 Marek Polacek <polacek@redhat.com>
17655 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17657 2012-03-08 Marek Polacek <polacek@redhat.com>
17660 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17661 * stdio-common/tst-fphex.c: Define a few macros to make the
17662 test reusable. Use them.
17663 * stdio-common/tst-fphex-wide.c: New file.
17665 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17668 * manual/macros.texi (gnusystems): New macro.
17669 (nongnusystems): Likewise.
17670 (gnulinuxhurdsystems): Likewise.
17671 (gnuhurdsystems): Likewise..
17672 (gnulinuxsystems): Likewise.
17673 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17674 variants of the GNU system, not "GNU system".
17675 * manual/conf.texi: Likewise.
17676 * manual/errno.texi: Likewise. Update example of errno macro
17678 * manual/filesys.texi: Likewise.
17679 (getumask): Document as specific to GNU/Hurd.
17680 * manual/install.texi: Likewise. Reword some references to
17682 * manual/intro.texi: Likewise.
17683 * manual/io.texi: Likewise.
17684 (File Name Portability): Detail which constraints are inapplicable
17685 to all GNU systems and which are only inapplicable to GNU/Hurd.
17686 * manual/job.texi: Likewise.
17687 * manual/llio.texi: Likewise.
17688 (O_NOCTTY): Document as present on GNU/Linux.
17689 * manual/maint.texi: Likewise.
17690 * manual/memory.texi: Likewise.
17691 * manual/pattern.texi: Likewise.
17692 * manual/pipe.texi: Likewise.
17693 * manual/process.texi: Likewise.
17694 * manual/resource.texi: Likewise.
17695 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17697 * manual/setjmp.texi: Likewise.
17698 * manual/signal.texi: Likewise.
17699 * manual/startup.texi: Likewise.
17700 * manual/stdio.texi: Likewise.
17701 * manual/terminal.texi: Likewise.
17702 (ONLCR): Document as POSIX.
17703 (OXTABS): Document availability on GNU/Linux as XTABS.
17704 (ONOEOT): Document availability separately from other bits.
17705 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17706 * manual/time.texi: Likewise.
17707 * manual/users.texi: Likewise.
17708 * INSTALL: Regenerated.
17709 * sysdeps/gnu/errlist.c: Regenerated.
17711 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17712 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17713 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17715 * configure: Regenerated.
17717 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17719 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17720 default includes instead of AC_HEADER_CHECK.
17721 * sysdeps/i386/configure: Regenerated.
17724 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17725 * math/s_cacoshf.c (__cacoshf): Likewise.
17726 * math/s_cacoshl.c (__cacoshl): Likewise.
17727 * math/s_casinh.c (__casinh): Set signs of result from argument.
17728 * math/s_casinhf.c (__casinhf): Likewise.
17729 * math/s_casinhl.c (__casinhl): Likewise.
17730 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17731 (casinh_test): Add more tests.
17732 * sysdeps/i386/fpu/libm-test-ulps: Update.
17733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17735 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17737 * po/zh_TW.po: Update from translation team.
17739 * login/Makefile (distribute): Remove variable.
17740 * catgets/Makefile: Likewise.
17741 * mach/Makefile: Likewise.
17742 * malloc/Makefile: Likewise.
17743 * misc/Makefile: Likewise.
17744 * iconv/Makefile: Likewise.
17745 * nscd/Makefile: Likewise.
17746 * hurd/Makefile: Likewise.
17747 * manual/Makefile: Likewise.
17748 * locale/Makefile: Likewise.
17749 * intl/Makefile: Likewise.
17750 * conform/Makefile: Likewise.
17751 * nss/Makefile: Likewise.
17752 * time/Makefile: Likewise.
17753 * soft-fp/Makefile: Likewise.
17754 * dirent/Makefile: Likewise.
17755 * gmon/Makefile: Likewise.
17756 * po/Makefile: Likewise.
17757 * rt/Makefile: Likewise.
17758 * socket/Makefile: Likewise.
17759 * math/Makefile: Likewise.
17760 * signal/Makefile: Likewise.
17761 * debug/Makefile: Likewise.
17762 * elf/Makefile: Likewise.
17763 * timezone/Makefile: Likewise.
17764 * stdlib/Makefile: Likewise.
17765 * iconvdata/Makefile: Likewise.
17766 * sunrpc/Makefile: Likewise.
17767 * io/Makefile: Likewise.
17768 * argp/Makefile: Likewise.
17769 * inet/Makefile: Likewise.
17770 * hesiod/Makefile: Likewise.
17771 * grp/Makefile: Likewise.
17772 * csu/Makefile: Likewise.
17773 * wctype/Makefile: Likewise.
17774 * crypt/Makefile: Likewise.
17775 * libio/Makefile: Likewise.
17776 * string/Makefile: Likewise.
17777 * nis/Makefile: Likewise.
17778 * resolv/Makefile: Likewise.
17779 * stdio-common/Makefile: Likewise.
17780 * wcsmbs/Makefile: Likewise.
17781 * dlfcn/Makefile: Likewise.
17782 * posix/Makefile: Likewise.
17785 * timezone/Makefile: Don't install timezone files, just the programs
17788 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17790 * nss/databases.def: Add missing gshadow entry.
17792 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17794 2012-03-06 Marek Polacek <polacek@redhat.com>
17797 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17798 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17799 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17800 * stdio-common/tst-long-dbl-fphex.c: New file.
17802 2012-03-06 David S. Miller <davem@davemloft.net>
17804 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17805 (set_obp_int): New function.
17806 (get_obp_int): New function.
17807 (__get_clockfreq_via_dev_openprom): Likewise.
17808 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17809 Avoid unused variable warnings on 'val' and use builtin_expect.
17810 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17812 (INLINE_CLONE_SYSCALL): Likewise.
17814 2012-03-05 David S. Miller <davem@davemloft.net>
17816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17818 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17822 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17823 only for |x| >= 40.
17824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17826 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17828 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17829 Replace gettimeofday with __vdso_gettimeofday.
17831 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17832 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17833 __vdso_clock_gettime and __vdso_getcpu.
17835 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17836 time with __vdso_time.
17838 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17840 * manual/lang.texi (size_t): Note types to which size_t may be
17841 equivalent with the GNU C Library, but do not describe when
17842 differences between them are significant.
17844 2012-03-05 Andreas Jaeger <aj@suse.de>
17846 * sysdeps/i386/fpu/libm-test-ulps: Update.
17848 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17851 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17852 (__ieee754_pow): Save and restore rounding mode and use
17853 round-to-nearest for main computations.
17854 * math/libm-test.inc (pow_test_tonearest): New function.
17855 (pow_test_towardzero): Likewise.
17856 (pow_test_downward): Likewise.
17857 (pow_test_upward): Likewise.
17858 (main): Call the new functions.
17859 * sysdeps/i386/fpu/libm-test-ulps: Update.
17860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17863 * math/libm-test.inc (cosh_test_tonearest): New function.
17864 (cosh_test_towardzero): Likewise.
17865 (cosh_test_downward): Likewise.
17866 (cosh_test_upward): Likewise.
17867 (sinh_test_tonearest): Likewise.
17868 (sinh_test_towardzero): Likewise.
17869 (sinh_test_downward): Likewise.
17870 (sinh_test_upward): Likewise.
17871 (main): Call the new functions.
17872 * sysdeps/i386/fpu/libm-test-ulps: Update.
17873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17875 2012-03-05 Tom de Vries <tom@codesourcery.com>
17877 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17878 default stack guard is set in last bytes.
17879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17881 2012-03-05 Kees Cook <keescook@chromium.org>
17883 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17886 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17887 possibly allocate from heap instead of stack.
17888 * stdio-common/bug-vfprintf-nargs.c: New file.
17889 * stdio-common/Makefile (tests): Add nargs overflow test.
17891 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17895 2012-03-03 Marek Polacek <polacek@redhat.com>
17897 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17898 * math/math_private.h: Likewise.
17899 * stdlib/tst-strtod.c: Likewise.
17900 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17901 * sysdeps/x86_64/bits/atomic.h: Likewise.
17903 2012-03-02 David S. Miller <davem@davemloft.net>
17905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17909 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17910 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17911 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17912 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17914 2012-03-02 Roland McGrath <roland@hack.frob.com>
17917 * manual/examples/README: New file, says the example source files
17918 can be used under GPL>=2.
17919 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17920 line containing just "*/".
17921 * manual/examples/add.c: Add copyright header (GPL>=2).
17922 * manual/examples/argp-ex1.c: Likewise.
17923 * manual/examples/argp-ex2.c: Likewise.
17924 * manual/examples/argp-ex3.c: Likewise.
17925 * manual/examples/argp-ex4.c: Likewise.
17926 * manual/examples/atexit.c: Likewise.
17927 * manual/examples/db.c: Likewise.
17928 * manual/examples/dir.c: Likewise.
17929 * manual/examples/dir2.c: Likewise.
17930 * manual/examples/execinfo.c: Likewise.
17931 * manual/examples/filecli.c: Likewise.
17932 * manual/examples/filesrv.c: Likewise.
17933 * manual/examples/fmtmsgexpl.c: Likewise.
17934 * manual/examples/genpass.c: Likewise.
17935 * manual/examples/inetcli.c: Likewise.
17936 * manual/examples/inetsrv.c: Likewise.
17937 * manual/examples/isockad.c: Likewise.
17938 * manual/examples/longopt.c: Likewise.
17939 * manual/examples/memopen.c: Likewise.
17940 * manual/examples/memstrm.c: Likewise.
17941 * manual/examples/mkfsock.c: Likewise.
17942 * manual/examples/mkisock.c: Likewise.
17943 * manual/examples/mygetpass.c: Likewise.
17944 * manual/examples/pipe.c: Likewise.
17945 * manual/examples/popen.c: Likewise.
17946 * manual/examples/rprintf.c: Likewise.
17947 * manual/examples/search.c: Likewise.
17948 * manual/examples/select.c: Likewise.
17949 * manual/examples/setjmp.c: Likewise.
17950 * manual/examples/sigh1.c: Likewise.
17951 * manual/examples/sigusr.c: Likewise.
17952 * manual/examples/stpcpy.c: Likewise.
17953 * manual/examples/strdupa.c: Likewise.
17954 * manual/examples/strftim.c: Likewise.
17955 * manual/examples/strncat.c: Likewise.
17956 * manual/examples/subopt.c: Likewise.
17957 * manual/examples/swapcontext.c: Likewise.
17958 * manual/examples/termios.c: Likewise.
17959 * manual/examples/testopt.c: Likewise.
17960 * manual/examples/testpass.c: Likewise.
17961 * manual/examples/timeval_subtract.c: Likewise.
17964 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17966 * manual/timeval_subtract.c.texi: ... here, new file.
17968 2012-03-02 David S. Miller <davem@davemloft.net>
17970 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17972 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17975 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17976 (__sin): Save and restore rounding mode and use round-to-nearest
17977 for all computations.
17978 (__cos): Save and restore rounding mode and use round-to-nearest
17979 for all computations.
17980 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17982 (tan): Save and restore rounding mode and use round-to-nearest for
17984 * math/libm-test.inc (cos_test_tonearest): New function.
17985 (cos_test_towardzero): Likewise.
17986 (cos_test_downward): Likewise.
17987 (cos_test_upward): Likewise.
17988 (sin_test_tonearest): Likewise.
17989 (sin_test_towardzero): Likewise.
17990 (sin_test_downward): Likewise.
17991 (sin_test_upward): Likewise.
17992 (tan_test_tonearest): Likewise.
17993 (tan_test_towardzero): Likewise.
17994 (tan_test_downward): Likewise.
17995 (tan_test_upward): Likewise.
17996 (main): Call the new functions.
17997 * sysdeps/i386/fpu/libm-test-ulps: Update.
17998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18001 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18002 small n, then large n, before computing and testing k+n.
18003 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18004 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18008 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18009 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18010 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18011 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18014 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18015 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18016 * math/libm-test.inc (scalbn_test): Add more tests.
18017 (scalbln_test): Likewise.
18019 * manual/filesys.texi (mode_t): Describe constraints on size and
18020 signedness, not exact equivalence to a particular type.
18022 (ino64_t): Likewise.
18024 (nlink_t): Likewise.
18025 (blkcnt_t): Likewise.
18026 (blkcnt64_t): Likewise.
18027 * manual/llio.texi (off_t): Likewise.
18030 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18031 (__ieee754_exp): Save and restore rounding mode and use
18032 round-to-nearest for all computations.
18033 * math/libm-test.inc (exp_test_tonearest): New function.
18034 (exp_test_towardzero): Likewise.
18035 (exp_test_downward): Likewise.
18036 (exp_test_upward): Likewise.
18037 (main): Call the new functions.
18038 * sysdeps/i386/fpu/libm-test-ulps: Update.
18039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18041 2012-03-01 Chris Demetriou <cgd@google.com>
18043 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18044 have predictable order.
18046 2012-03-01 David S. Miller <davem@davemloft.net>
18048 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18050 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18051 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18052 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18053 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18055 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18056 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18057 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18059 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18060 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18061 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18062 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18063 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18067 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18068 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18069 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18071 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18072 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18073 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18074 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18075 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18076 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18077 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18078 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18079 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18080 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18081 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18084 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18085 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18087 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18088 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18089 * sysdeps/sparc/elf/configure: Regenerated.
18091 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18093 * configure.in (AS, LD): Require binutils 2.20 or later.
18094 * configure: Regenerated.
18095 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18096 as required minimum version.
18097 * INSTALL: Regenerated.
18101 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18102 before squaring exponent.
18103 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18104 bottom long double and 27 bits of top long double before squaring
18106 * math/libm-test.inc (erfc_test): Add more tests.
18107 * sysdeps/i386/fpu/libm-test-ulps: Update.
18108 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18111 2012-03-01 Kai Tietz <ktietz@redhat.com>
18113 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18114 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18115 containing bit-fields.
18116 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18117 * soft-fp/single.h (_FP_UNION_S): Likewise.
18118 * soft-fp/double.h (_FP_UNION_D): Likewise.
18120 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18123 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18124 not include ../strcmp.S.
18125 [USE_AS_STRNCASECMP_L]: Likewise.
18126 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18127 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18128 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18129 (__strncasecmp_l_ia32): Define as alias to
18130 __strncasecmp_l_nonascii.
18133 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18134 * sysdeps/i386/fpu/libm-test-ulps: Update.
18135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18137 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18140 2012-02-29 Jeff Law <law@redhat.com>
18142 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18143 out of bounds read.
18145 2012-02-29 Marek Polacek <polacek@redhat.com>
18148 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18149 * elf/Makefile: Add rules to run tst-unused-dep.out.
18151 2012-02-28 David S. Miller <davem@davemloft.net>
18153 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18154 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18155 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18156 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18157 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18158 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18160 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18162 * math/libm-test.inc (llround_test): Move one test from
18163 lround_test. Use TEST_f_L in moved test.
18164 (lround_test): Move misplaced test to llround_test. Add testcase
18167 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18169 * sysdeps/x86_64/fpu/e_expf.S: New file.
18170 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18172 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18175 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18176 of remain_len that may cause incomplete multi-byte character and
18178 * posix/bug-regex33.c: New file.
18179 * posix/Makefile (tests): Add bug-regex33.
18181 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18183 * manual/macros.texi: New file.
18184 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18185 * manual/libc.texinfo: Include macros.texi.
18186 * manual/creatute.texi: Likewise.
18187 * manual/install.texi: Likewise.
18188 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18189 @glibcadj{} in references to the GNU C Library.
18190 * manual/charset.texi: Likewise.
18191 * manual/conf.texi: Likewise.
18192 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18193 when not using those macros.
18194 * manual/creature.texi: Likewise.
18195 * manual/crypt.texi: Likewise.
18196 * manual/errno.texi: Likewise.
18197 * manual/filesys.texi: Likewise.
18198 * manual/header.texi: Likewise.
18199 * manual/install.texi: Likewise.
18200 * manual/intro.texi: Likewise.
18201 * manual/io.texi: Likewise.
18202 * manual/job.texi: Likewise.
18203 * manual/lang.texi: Likewise.
18204 * manual/libc.texiinfo: Likewise.
18205 * manual/llio.texi: Likewise.
18206 * manual/locale.texi: Likewise.
18207 * manual/maint.texi: Likewise.
18208 * manual/math.texi: Likewise.
18209 * manual/memory.texi: Likewise.
18210 * manual/message.texi: Likewise.
18211 * manual/nss.texi: Likewise.
18212 * manual/pattern.texi: Likewise.
18213 * manual/process.texi: Likewise.
18214 * manual/resource.texi: Likewise.
18215 * manual/search.texi: Likewise.
18216 * manual/setjmp.texi: Likewise.
18217 * manual/signal.texi: Likewise.
18218 * manual/socket.texi: Likewise.
18219 * manual/startup.texi: Likewise.
18220 * manual/stdio.texi: Likewise.
18221 * manual/string.texi: Likewise.
18222 * manual/sysinfo.texi: Likewise.
18223 * manual/syslog.texi: Likewise.
18224 * manual/terminal.texi: Likewise.
18225 * manual/time.texi: Likewise.
18226 * manual/users.texi: Likewise.
18227 * INSTALL: Regenerated.
18228 * NOTES: Regenerated.
18229 * sysdeps/gnu/errlist.c: Regenerated.
18231 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18233 * include/dirent.h: Include <dirstream.h> before
18236 2012-02-28 David S. Miller <davem@davemloft.net>
18238 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18239 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18240 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18241 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18243 2012-02-27 David S. Miller <davem@davemloft.net>
18245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18247 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18248 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18251 frame pointer instead of stack pointer relative arg slot.
18252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18253 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18254 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18256 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18259 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18261 2012-02-27 David S. Miller <davem@davemloft.net>
18263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18267 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18268 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18269 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18270 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18272 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18274 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18275 later. Allow versions 5-9.
18276 * configure: Regenerated.
18277 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18278 required minimum version and 4.6 as recommended version. Do not
18279 mention bugs in GCC 2.7 and 2.8.
18280 * INSTALL: Regenerated.
18282 2012-02-27 David S. Miller <davem@davemloft.net>
18284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18288 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18289 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18290 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18291 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18294 manipulate bits before adding and subtracting TWO112[sx].
18295 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18297 2012-02-27 Roland McGrath <roland@hack.frob.com>
18300 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18301 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18302 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18303 being in POSIX, because they are in 1003.1-2008.
18305 * rt/tst-aio.c: Include <fcntl.h>.
18306 * rt/tst-aio7.c: Likewise.
18307 * rt/tst-aio64.c: Likewise.
18309 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18311 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18313 * manual/install.texi (--with-headers): Describe headers as
18314 interface headers, not private headers.
18315 (Specific advice for GNU/Linux systems): Describe use of headers
18316 from "make headers_install", not private headers from older
18318 * INSTALL: Regenerated.
18319 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18321 * sysdeps/unix/sysv/linux/configure: Regenerated.
18323 * manual/llio.texi (fclean): Remove documentation.
18325 * manual/Makefile (libc-texi-generated): New variable. Include
18327 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18328 $(libc-texi-generated), not duplicated list of files.
18329 (version.texi, stamp-version): New rules.
18330 (realclean): Remove $(libc-texi-generated), not individual files
18331 from that list. Do not remove dir-add.texinfo.
18332 * manual/libc.texinfo: Comment out uses of edition numbers and
18333 references to printed manual. Remove last-updated dates.
18334 (EDITION): Comment out.
18336 (VERSION, UPDATED): Remove.
18337 (version.texi): Include.
18339 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18341 * sysdeps/posix/spawni.c: Include <signal.h>.
18342 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18343 * sysdeps/pthread/aio_fsync.c: Likewise.
18345 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18347 * conform/Makefile (tests): Run only when not cross-compiling and
18348 when fast-check is not defined.
18350 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18351 * conform/data/limits.h-data: Fixes for POSIX2008.
18352 * conform/run-conformtest.sh: Run all tests.
18353 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18355 * include/bits/dlfcn.h: Likewise.
18356 * include/langinfo.h: Likewise.
18357 * include/monetary.h: Likewise.
18358 * include/sys/poll.h: Likewise.
18360 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18362 * posix/spawn.h: Define __need_sigset_t.
18363 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18364 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18365 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18366 to get sigevent_t only.
18367 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18368 only for __USE_GNU.
18369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18370 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18371 process_vm_writev only for __USE_GNU.
18372 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18374 * conform/Makefile: For now ignore errors from run-conformtest.
18375 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18376 POSIX to avoid namespace pollution. Don't prepend headers.
18377 * conform/data/aio.h-data: Fixes for POSIX testing.
18378 * conform/data/fcntl.h-data: Likewise.
18379 * conform/data/glob.h-data: Likewise.
18380 * conform/data/grp.h-data: Likewise.
18381 * conform/data/pthread.h-data: Likewise.
18382 * conform/data/pwd.h-data: Likewise.
18383 * conform/data/signal.h-data: Likewise.
18384 * conform/data/spawn.h-data: Likewise.
18385 * conform/data/stdio.h-data: Likewise.
18386 * conform/data/stdlib.h-data: Likewise.
18387 * conform/data/stropts.h-data: Likewise.
18388 * conform/data/sys/mman.h-data: Likewise.
18389 * conform/data/sys/stat.h-data: Likewise.
18390 * conform/data/sys/types.h-data: Likewise.
18391 * conform/data/sys/wait.h-data: Likewise.
18392 * conform/data/time.h-data: Likewise.
18393 * conform/data/unistd.h-data: Likewise.
18394 * conform/data/utime.h-data: Likewise.
18396 * io/sys/stat.h: fchmod was always in POSIX.
18397 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18398 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18399 * rt/aio.h: Define __need_timespec before including <time.h>.
18400 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18401 struct. Add forward declaration of pthread_attr_t and use it in
18403 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18404 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18405 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18406 always remove CLK_TCK definition.
18408 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18410 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18412 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18414 * conform/run-conformtest.sh: New file.
18415 * conform/Makefile: Run run-conformtest for tests.
18416 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18419 * conform/data/uchar.h-data: New file.
18420 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18421 * conform/data/arpa/inet.h-data: Likewise.
18422 * conform/data/assert.h-data: Likewise.
18423 * conform/data/complex.h-data: Likewise.
18424 * conform/data/cpio.h-data: Likewise.
18425 * conform/data/ctype.h-data: Likewise.
18426 * conform/data/dirent.h-data: Likewise.
18427 * conform/data/dlfcn.h-data: Likewise.
18428 * conform/data/errno.h-data: Likewise.
18429 * conform/data/fcntl.h-data: Likewise.
18430 * conform/data/float.h-data: Likewise.
18431 * conform/data/fmtmsg.h-data: Likewise.
18432 * conform/data/fnmatch.h-data: Likewise.
18433 * conform/data/ftw.h-data: Likewise.
18434 * conform/data/glob.h-data: Likewise.
18435 * conform/data/grp.h-data: Likewise.
18436 * conform/data/iconv.h-data: Likewise.
18437 * conform/data/inttypes.h-data: Likewise.
18438 * conform/data/langinfo.h-data: Likewise.
18439 * conform/data/libgen.h-data: Likewise.
18440 * conform/data/limits.h-data: Likewise.
18441 * conform/data/locale.h-data: Likewise.
18442 * conform/data/math.h-data: Likewise.
18443 * conform/data/monetary.h-data: Likewise.
18444 * conform/data/mqueue.h-data: Likewise.
18445 * conform/data/ndbm.h-data: Likewise.
18446 * conform/data/net/if.h-data: Likewise.
18447 * conform/data/netdb.h-data: Likewise.
18448 * conform/data/netinet/in.h-data: Likewise.
18449 * conform/data/nl_types.h-data: Likewise.
18450 * conform/data/poll.h-data: Likewise.
18451 * conform/data/pthread.h-data: Likewise.
18452 * conform/data/pwd.h-data: Likewise.
18453 * conform/data/regex.h-data: Likewise.
18454 * conform/data/sched.h-data: Likewise.
18455 * conform/data/search.h-data: Likewise.
18456 * conform/data/semaphore.h-data: Likewise.
18457 * conform/data/setjmp.h-data: Likewise.
18458 * conform/data/signal.h-data: Likewise.
18459 * conform/data/spawn.h-data: Likewise.
18460 * conform/data/stdarg.h-data: Likewise.
18461 * conform/data/stdio.h-data: Likewise.
18462 * conform/data/stdlib.h-data: Likewise.
18463 * conform/data/string.h-data: Likewise.
18464 * conform/data/strings.h-data: Likewise.
18465 * conform/data/stropts.h-data: Likewise.
18466 * conform/data/sys/ipc.h-data: Likewise.
18467 * conform/data/sys/mman.h-data: Likewise.
18468 * conform/data/sys/msg.h-data: Likewise.
18469 * conform/data/sys/resource.h-data: Likewise.
18470 * conform/data/sys/select.h-data: Likewise.
18471 * conform/data/sys/sem.h-data: Likewise.
18472 * conform/data/sys/shm.h-data: Likewise.
18473 * conform/data/sys/socket.h-data: Likewise.
18474 * conform/data/sys/stat.h-data: Likewise.
18475 * conform/data/sys/statvfs.h-data: Likewise.
18476 * conform/data/sys/time.h-data: Likewise.
18477 * conform/data/sys/timeb.h-data: Likewise.
18478 * conform/data/sys/times.h-data: Likewise.
18479 * conform/data/sys/types.h-data: Likewise.
18480 * conform/data/sys/uio.h-data: Likewise.
18481 * conform/data/sys/un.h-data: Likewise.
18482 * conform/data/sys/utsname.h-data: Likewise.
18483 * conform/data/sys/wait.h-data: Likewise.
18484 * conform/data/syslog.h-data: Likewise.
18485 * conform/data/tar.h-data: Likewise.
18486 * conform/data/termios.h-data: Likewise.
18487 * conform/data/utime.h-data: Likewise.
18488 * conform/data/utmpx.h-data: Likewise.
18489 * conform/data/varargs.h-data: Likewise.
18490 * conform/data/wchar.h-data: Likewise.
18491 * conform/data/wctype.h-data: Likewise.
18492 * conform/data/wordexp.h-data: Likewise.
18494 * include/stropts.h: New file.
18495 * include/uchar.h: New file.
18496 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18497 * include/assert.h: Likewise.
18498 * include/ctype.h: Likewise.
18499 * include/dirent.h: Likewise.
18500 * include/dlfcn.h: Likewise.
18501 * include/fcntl.h: Likewise.
18502 * include/fnmatch.h: Likewise.
18503 * include/glob.h: Likewise.
18504 * include/grp.h: Likewise.
18505 * include/libio.h: Likewise.
18506 * include/locale.h: Likewise.
18507 * include/math.h: Likewise.
18508 * include/net/if.h: Likewise.
18509 * include/netdb.h: Likewise.
18510 * include/netinet/in.h: Likewise.
18511 * include/pthread.h: Likewise.
18512 * include/pwd.h: Likewise.
18513 * include/regex.h: Likewise.
18514 * include/sched.h: Likewise.
18515 * include/search.h: Likewise.
18516 * include/setjmp.h: Likewise.
18517 * include/signal.h: Likewise.
18518 * include/stdio.h: Likewise.
18519 * include/stdlib.h: Likewise.
18520 * include/string.h: Likewise.
18521 * include/sys/cdefs.h: Likewise.
18522 * include/sys/mman.h: Likewise.
18523 * include/sys/msg.h: Likewise.
18524 * include/sys/resource.h: Likewise.
18525 * include/sys/select.h: Likewise.
18526 * include/sys/socket.h: Likewise.
18527 * include/sys/stat.h: Likewise.
18528 * include/sys/statvfs.h: Likewise.
18529 * include/sys/time.h: Likewise.
18530 * include/sys/times.h: Likewise.
18531 * include/sys/uio.h: Likewise.
18532 * include/sys/utsname.h: Likewise.
18533 * include/sys/wait.h: Likewise.
18534 * include/termios.h: Likewise.
18535 * include/time.h: Likewise.
18536 * include/ulimit.h: Likewise.
18537 * include/unistd.h: Likewise.
18538 * include/utime.h: Likewise.
18539 * include/wchar.h: Likewise.
18540 * include/wctype.h: Likewise.
18541 * include/wordexp.h: Likewise.
18543 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18545 * time/time.h: TIME_UTC must be a macro.
18546 Make timespec_get available for ISO C11 only as well.
18548 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18550 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18551 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18553 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18555 * configure.in: Use -o not -a in test for unsupported multi-arch.
18557 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18559 * manual/texinfo.tex: Update to version 2012-01-19.16.
18561 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18563 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18565 2012-02-24 Roland McGrath <roland@hack.frob.com>
18568 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18569 * manual/fdl-1.3.texi: New file.
18570 * manual/fdl-1.1.texi: File removed.
18573 * manual/libc.texinfo (FDL_VERSION): New @set.
18574 Use it for mention of FDL in cover text.
18575 (Documentation License): Use it in @include file name.
18577 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18578 Roland McGrath <roland@hack.frob.com>
18581 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18582 not LONG_LONG_MAX and LONG_LONG_MIN.
18583 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18584 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18586 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18588 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18592 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18593 manipulate bits before adding and subtracting TWO23[sx].
18594 * math/libm-test.inc (nearbyint_test): Add more tests.
18596 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18599 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18600 bits before adding and subtracting TWO23[sx].
18601 * math/libm-test.inc (rint_test): Add more tests.
18602 (rint_test_tonearest): Likewise.
18603 (rint_test_towardzero): Likewise.
18604 (rint_test_downward): Likewise.
18605 (rint_test_upward: Likewise.
18607 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18610 * include/stdc-predef.h: New file. Extracted from features.h.
18611 * include/features.h: Include stdc-predef.h.
18612 * Makefile (headers): Add stdc-predef.h.
18613 * CONFORMANCE (Compiler limitations): Update.
18615 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18617 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18619 2012-02-21 David S. Miller <davem@davemloft.net>
18621 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18622 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18624 2012-02-20 David S. Miller <davem@davemloft.net>
18626 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18627 using a normal save/restore sequence, rather than allocating a
18628 dummy stack frame just to store a frame pointer and restore.
18629 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18631 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18633 * manual/install.texi: Fix stray word in line-wrapped comment.
18635 2012-02-20 David S. Miller <davem@davemloft.net>
18637 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18638 both binutils and gcc support GOTDATA.
18640 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18641 "rd %pc" in the PIC register setup sequences.
18643 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18644 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18645 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18646 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18647 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18649 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18650 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18652 (SYSCALL_ERROR_HANDLER): Likewise.
18653 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18654 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18655 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18656 (SYSCALL_ERROR_HANDLER): Likewise.
18658 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18659 (HAVE_GCC_GOTDATA): New.
18660 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18661 relocation support in both binutils and gcc.
18662 * sysdeps/sparc/elf/configure: Regenerate.
18664 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18665 * sysdeps/sparc/sparc32/elf/configure: Delete.
18666 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18667 * sysdeps/sparc/sparc64/elf/configure: Delete.
18668 * sysdeps/sparc/elf/configure.in: New file.
18669 * sysdeps/sparc/elf/configure: Generate.
18671 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18672 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18673 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18674 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18675 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18677 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18679 * manual/install.texi: Do not mention specific glibc version
18681 * manual/libc.texinfo (VERSION, UPDATED): Update.
18682 (@copying): Use @copyright{} and range of years.
18684 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18687 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18688 [crti.S not in sysdirs] (generated): Do not append.
18689 [crti.S not in sysdirs] (omit-deps): Likewise.
18690 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18691 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18692 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18693 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18694 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18696 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18697 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18698 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18699 * csu/defs.awk: Remove file.
18700 * sysdeps/generic/initfini.c: Likewise.
18701 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18703 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18706 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18708 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18709 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18710 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18712 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18713 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18715 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18716 (__EPOLL_PACKED): Define to empty if not defined by
18718 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18722 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18724 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18725 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18726 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18727 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18729 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18733 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18735 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18737 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18738 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18742 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18744 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18745 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18747 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18749 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18750 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18752 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18754 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18757 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18759 * math/w_acos.c: Use non-signaling floating-point comparisons.
18760 * math/w_acosf.c: Likewise.
18761 * math/w_acosh.c: Likewise.
18762 * math/w_acoshf.c: Likewise.
18763 * math/w_acoshl.c: Likewise.
18764 * math/w_acosl.c: Likewise.
18765 * math/w_asin.c: Likewise.
18766 * math/w_asinf.c: Likewise.
18767 * math/w_asinl.c: Likewise.
18768 * math/w_atanh.c: Likewise.
18769 * math/w_atanhf.c: Likewise.
18770 * math/w_atanhl.c: Likewise.
18771 * math/w_exp2.c: Likewise.
18772 * math/w_exp2f.c: Likewise.
18773 * math/w_exp2l.c: Likewise.
18774 * math/w_j0.c: Likewise.
18775 * math/w_j0f.c: Likewise.
18776 * math/w_j0l.c: Likewise.
18777 * math/w_j1.c: Likewise.
18778 * math/w_j1f.c: Likewise.
18779 * math/w_j1l.c: Likewise.
18780 * math/w_jn.c: Likewise.
18781 * math/w_jnf.c: Likewise.
18782 * math/w_log.c: Likewise.
18783 * math/w_log10.c: Likewise.
18784 * math/w_log10f.c: Likewise.
18785 * math/w_log10l.c: Likewise.
18786 * math/w_log2.c: Likewise.
18787 * math/w_log2f.c: Likewise.
18788 * math/w_log2l.c: Likewise.
18789 * math/w_logf.c: Likewise.
18790 * math/w_logl.c: Likewise.
18791 * math/w_sqrt.c: Likewise.
18792 * math/w_sqrtf.c: Likewise.
18793 * math/w_sqrtl.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18796 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18797 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18798 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18800 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18803 * manual/string.texi (strnlen): Use correct parameter name in
18804 equivalent expression.
18806 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18809 * manual/users.texi (seteuid): Consistently use neweuid for
18812 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18815 * manual/nss.texi (Services in the NSS configuration): Correct
18816 list of services in example configuration file.
18818 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18821 * manual/arith.texi: Remove statements about negative zero
18822 behaving identically to zero.
18824 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18827 * manual/install.texi: Do not document upgrading from libc5.
18829 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18832 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18834 2012-02-18 David S. Miller <davem@davemloft.net>
18836 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18837 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18838 %o7 across the call.
18839 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18842 SETUP_PIC_REG_LEAF.
18843 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18844 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18845 * sysdeps/sparc/crtn.S: Likewise.
18847 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18849 * aout/Makefile: Remove.
18851 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18854 * manual/examples/argp-ex1.c (main): Format definition in GNU
18856 * manual/examples/argp-ex2.c (main): Likewise.
18857 * manual/examples/argp-ex3.c (main): Likewise.
18858 * manual/examples/argp-ex4.c (main): Likewise.
18859 * manual/examples/longopt.c (main): Use new-style prototype
18861 * manual/examples/strncat.c (main): Specify return type and use
18862 (void) for arguments.
18863 * manual/examples/subopt.c (main): Use char **argv argument.
18865 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18868 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18871 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18874 * manual/string.texi (strchr): Change when strchrnul is
18877 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18880 * manual/locale.texi (setlocale): Document LOCPATH.
18882 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18885 * manual/process.texi (execle): Move @dots{} before last argument.
18887 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18890 * manual/charset.texi (Generic Charset Conversion): Fix typo
18891 (LC_TYPE -> LC_CTYPE).
18893 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18896 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18897 (scalbnf): Likewise.
18898 (scalbnl): Likewise.
18899 (scalbln): Likewise.
18900 (scalblnf): Likewise.
18901 (scalblnl): Likewise.
18902 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18903 (vwarnx): Likewise.
18906 * manual/filesys.texi (telldir): Use braces around return type.
18907 * manual/llio.texi (mmap): Add space after comma.
18908 (mmap64): Likewise.
18909 * manual/math.texi (jn): Use @var{} on parameter names.
18915 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18917 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18919 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18920 (sched_get_priority_max): Likewise.
18921 * manual/signal.texi (sigvec): Add space after comma.
18922 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18924 (if_indextoname): Likewise.
18925 (if_freenameindex): Likewise.
18926 (sendto): Use ',' instead of '.' in prototype.
18927 * manual/startup.texi (syscall): Use @dots{} instead of literal
18929 * manual/stdio.texi (__fpending): Separate initial words of
18930 paragraph from @deftypefun line.
18931 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18933 (vsyslog): Use @var{} on parameter names.
18934 * manual/terminal.texi (stty): Use @var{} on parameter names.
18935 * manual/users.texi (getutmp): Use @var{} on parameter names.
18936 (getutmpx): Likewise.
18938 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18941 * manual/stdio.texi (fopen): Fix typos in description of
18944 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18947 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18948 get clock_id definition.
18950 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18953 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18954 (madvise): Cast every argument to void on its own.
18956 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18959 * manual/startup.texi (Exit Status): Fix typo.
18961 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18964 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18965 * manual/examples/argp-ex2.c: Likewise.
18966 * manual/examples/argp-ex3.c: Likewise.
18968 2012-02-16 Richard Henderson <rth@redhat.com>
18970 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18971 * sysdeps/s390/s390-32/initfini.c: Remove.
18972 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18973 * sysdeps/s390/s390-64/initfini.c: Remove.
18975 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18977 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18978 compiler output for sysdeps/generic/initfini.c.
18979 * sysdeps/sh/elf/initfini.c: Remove file.
18981 2012-02-16 David S. Miller <davem@davemloft.net>
18984 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18986 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18987 * sysdeps/sparc/crti.S: New file.
18988 * sysdeps/sparc/crtn.S: New file.
18989 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18990 * sysdeps/sparc/sparc64/Makefile: Likewise.
18992 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18995 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18997 2012-02-15 Roland McGrath <roland@hack.frob.com>
19000 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19002 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19003 (write, read, close): Likewise.
19004 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19006 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19008 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19009 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19010 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19011 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19013 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19017 2012-02-14 Marek Polacek <polacek@redhat.com>
19019 * sysdeps/x86_64/crti.S: New file.
19020 * sysdeps/x86_64/crtn.S: New file.
19021 * sysdeps/x86_64/elf/initfini.c: Remove file.
19023 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19025 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19026 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19027 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19028 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19030 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19034 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19036 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19037 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19038 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19039 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19041 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19045 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19047 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19048 __feraiseexcept instead of feraiseexcept.
19050 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19051 nanosleep invocations.
19052 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19053 strings, and add error checking for a nanosleep invocations.
19055 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19057 Replace FSF snail mail address with URLs, as per GNU coding standards.
19058 Most of the snail mail addresses were wrong anyway, and omitting
19059 them makes the source code easier to maintain. Almost all of the
19060 changes are to license notices and to locale LC_IDENTIFICATION
19061 addresses, except for this one:
19062 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19063 not its snail mail address.
19065 2012-02-09 Richard Henderson <rth@twiddle.net>
19067 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19068 of kernel-features.h.
19070 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19072 2012-02-08 Marek Polacek <polacek@redhat.com>
19074 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19075 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19076 * sysdeps/gnu/_G_config.h: Likewise.
19077 * sysdeps/generic/_G_config.h: Likewise.
19079 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19081 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19085 * sysdeps/powerpc/powerpc32/crti.S: New file.
19086 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19087 * sysdeps/powerpc/powerpc64/crti.S: New file.
19088 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19090 * Makeconfig (have-initfini): Don't set.
19091 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19092 * configure.in (nopic_initfini): Don't substitute.
19093 * config.h.in (HAVE_INITFINI): Don't #undef.
19094 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19095 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19097 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19099 Support crti.S and crtn.S provided directly by architectures.
19100 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19101 [crti.S in sysdirs] (omit-deps): Likewise.
19102 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19103 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19104 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19105 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19106 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19107 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19108 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19109 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19110 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19111 compiler output for sysdeps/generic/initfini.c.
19112 * sysdeps/i386/elf/Makefile: Remove file.
19113 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19115 2012-02-07 Marek Polacek <polacek@redhat.com>
19117 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19118 * sysdeps/gnu/_G_config.h: Likewise.
19119 * sysdeps/mach/hurd/_G_config.h: Likewise.
19121 2012-02-07 Marek Polacek <polacek@redhat.com>
19123 * math/Makefile (tests): Add tst-CMPLX2.
19124 * math/tst-CMPLX2.c: New file.
19126 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19128 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19130 * math/libm-test.inc (jn_test): Add missing L suffix.
19132 2012-02-06 Marek Polacek <polacek@redhat.com>
19134 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19135 * sysdeps/i386/fpu/e_powf.S: Likewise.
19136 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19137 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19138 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19139 * sysdeps/i386/fpu/e_pow.S: Likewise.
19140 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19141 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19142 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19143 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19144 * sysdeps/i386/fpu/e_log2.S: Likewise.
19145 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19146 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19147 * sysdeps/i386/fpu/e_powl.S: Likewise.
19148 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19149 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19150 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19151 * sysdeps/i386/fpu/e_logl.S: Likewise.
19152 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19153 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19154 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19155 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19156 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19157 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19158 * sysdeps/i386/fpu/e_log.S: Likewise.
19159 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19160 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19161 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19162 * sysdeps/i386/fpu/e_logf.S: Likewise.
19163 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19164 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19165 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19166 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19167 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19168 * sysdeps/i386/fpu/e_log10.S: Likewise.
19169 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19170 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19171 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19172 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19173 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19174 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19175 * sysdeps/i386/asm-syntax.h: Likewise.
19176 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19177 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19178 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19179 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19180 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19181 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19182 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19183 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19184 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19185 * sysdeps/powerpc/sysdep.h: Likewise.
19186 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19187 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19189 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19192 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19194 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19196 * sysdeps/i386/sysdep.h: Include <features.h>.
19197 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19200 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19202 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19204 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19207 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19209 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19210 (SETUP_PIC_REG): Use GET_PC_THUNK.
19211 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19214 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19216 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19217 for non-PIC compilation.
19218 (SETUP_PIC_REG): Add .p2align directive.
19219 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19220 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19221 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19222 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19223 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19224 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19225 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19226 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19227 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19228 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19229 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19230 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19231 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19232 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19233 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19234 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19235 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19236 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19237 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19238 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19239 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19240 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19241 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19242 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19243 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19245 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19246 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19247 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19248 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19249 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19250 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19251 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19252 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19253 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19254 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19255 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19256 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19257 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19258 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19259 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19261 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19263 * math/tst-CMPLX.c: Include <stdio.h>.
19265 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19267 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19269 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19270 * sysdeps/sparc/bits/mathdef.h: Likewise.
19272 2012-01-31 Marek Polacek <polacek@redhat.com>
19274 * libio/libio.h: Don't define _PARAMS.
19275 * locale/programs/config.h: Don't define PARAMS.
19276 * stdlib/strtol_l.c: Likewise.
19277 (__strtol_l): Remove PARAMS from the prototype.
19279 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19281 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19282 names. Just use the correct names. Remove unnecessary wrapper
19284 * malloc/arena.c: Likewise.
19285 * malloc/hooks.c: Likewise.
19287 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19288 ARENA_TEST says not to. Simplify test for creation of a new arena.
19289 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19291 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19293 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19295 (update_get_addr): New function.
19296 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19297 GET_ADDR_MODULE parameter.
19299 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19301 * crypt/cert.c: Remove __STDC__ conditionals.
19302 * crypt/crypt-entry.c: Likewise.
19303 * crypt/crypt_util.c: Likewise.
19304 * libio/filedoalloc.c: Likewise.
19305 * libio/fileops.c: Likewise.
19306 * libio/genops.c: Likewise.
19307 * libio/iofclose.c: Likewise.
19308 * libio/iofdopen.c: Likewise.
19309 * libio/iofopen.c: Likewise.
19310 * libio/iofopen64.c: Likewise.
19311 * libio/iogetdelim.c: Likewise.
19312 * libio/iopopen.c: Likewise.
19313 * libio/obprintf.c: Likewise.
19314 * libio/oldfileops.c: Likewise.
19315 * libio/oldiofclose.c: Likewise.
19316 * libio/oldiofdopen.c: Likewise.
19317 * libio/oldiofopen.c: Likewise.
19318 * libio/oldiopopen.c: Likewise.
19319 * libio/wfiledoalloc.c: Likewise.
19320 * libio/wgenops.c: Likewise.
19321 * locale/programs/xmalloc.c: Likewise.
19322 * misc/syslog.c: Likewise.
19323 * stdio-common/xbug.c: Likewise.
19324 * string/memchr.c: Likewise.
19325 * string/memcmp.c: Likewise.
19326 * string/memrchr.c: Likewise.
19327 * string/rawmemchr.c: Likewise.
19328 * sysdeps/posix/getcwd.c: Likewise.
19329 * time/strftime_l.c: Likewise.
19331 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19333 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19334 * config.make.in (config-cflags-sse2avx): Define.
19335 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19338 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19340 * scripts/config.guess: Update from upstream config git repository.
19341 * scripts/config.sub: Likewise.
19343 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19345 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19347 (R_TILEPRO_*, R_TILEGX_*): New macros.
19349 * scripts/firstversions.awk: Fix bug in version range handling.
19351 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19353 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19355 * include/sys/epoll.h: New file.
19356 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19359 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19361 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19362 Avoid unnecessary __WORDSIZE == 64 test.
19363 (fmaxf): Use VEX format if possible.
19368 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19369 * math/math_private.h: Remove libc_fegetround* and
19371 * sysdeps/i386/configure.in: Check for -msse2avx.
19372 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19373 also if SSE2AVX is defined.
19374 Remove libc_fegetround* and libc_fesetround*.
19375 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19376 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19377 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19379 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19380 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19381 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19382 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19383 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19385 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19387 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19389 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19391 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19393 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19396 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19398 * Makeconfig (libm): Define.
19399 * elf/Makefile: Add rules to build and run tst-relsort1.
19400 * elf/tst-relsort1.c: New file.
19401 * elf/tst-relsort1mod1.c: New file.
19402 * elf/tst-relsort1mod2.c: New file.
19404 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19406 * math/s_ldexp.c: Remove __STDC__ conditionals.
19407 * math/s_ldexpf.c: Likewise.
19408 * math/s_ldexpl.c: Likewise.
19409 * math/s_nextafter.c: Likewise.
19410 * math/s_nexttowardf.c: Likewise.
19411 * math/s_significand.c: Likewise.
19412 * math/s_significandf.c: Likewise.
19413 * math/s_significandl.c: Likewise.
19414 * math/w_jnl.c: Likewise.
19415 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19416 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19417 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19418 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19419 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19431 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19432 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19434 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19435 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19436 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19437 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19438 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19439 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19440 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19441 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19442 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19443 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19444 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19445 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19446 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19447 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19448 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19449 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19450 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19451 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19452 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19453 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19454 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19455 * sysdeps/ieee754/k_standard.c: Likewise.
19456 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19457 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19458 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19459 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19460 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19469 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19470 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19471 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19474 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19475 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19476 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19477 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19479 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19480 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19481 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19482 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19483 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19485 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19486 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19487 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19488 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19489 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19490 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19491 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19492 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19496 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19497 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19499 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19505 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19510 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19511 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19512 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19517 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19518 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19522 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19523 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19525 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19527 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19530 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19531 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19535 * sysdeps/ieee754/s_matherr.c: Likewise.
19536 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19537 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19538 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19539 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19541 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19543 * crypt/md5.h: Remove __STDC__ conditionals.
19544 * libio/libioP.h: Likewise.
19545 * locale/programs/config.h: Likewise.
19546 * sysdeps/generic/sysdep.h: Likewise.
19547 * sysdeps/i386/asm-syntax.h: Likewise.
19548 * sysdeps/s390/asm-syntax.h: Likewise.
19549 * sysdeps/unix/sysdep.h: Likewise.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19553 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19555 * libio/libio.h: Remove __STDC__ conditionals.
19556 * malloc/obstack.h: Likewise.
19557 * math/complex.h: Likewise.
19558 * math/math.h: Likewise.
19559 * sysdeps/generic/_G_config.h: Likewise.
19560 * sysdeps/gnu/_G_config.h: Likewise.
19561 * sysdeps/mach/hurd/_G_config.h: Likewise.
19562 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19563 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19564 * sysdeps/sparc/bits/mathdef.h: Likewise.
19566 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19569 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19570 Clean up HAS_* macros.
19571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19572 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19574 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19576 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19577 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19578 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19579 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19580 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19582 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19584 * elf/tst-unique3.cc (gets): Remove declaration.
19585 * elf/tst-unique3lib.cc (gets): Likewise.
19586 * elf/tst-unique3lib2.cc (gets): Likewise.
19587 * elf/tst-unique4.cc (gets): Likewise.
19589 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19591 * include/stdio.h: Add C++ protection. Add gets declarations and
19593 * debug/tst-chk1.c: Don't declare gets here.
19594 * stdio-common/tst-gets.c: Likewise.
19596 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19598 * posix/glob: Remove directory.
19600 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19602 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19604 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19606 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19607 of the non-standard EPFNOSUPPORT.
19609 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19611 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19612 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19613 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19615 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19617 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19619 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19621 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19623 * nscd/grpcache.c (cache_addgr): Likewise.
19624 * nscd/hstcache.c (cache_addhst): Likewise.
19625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19626 * nscd/pwdcache.c (cache_addpw): Likewise.
19627 * nscd/servicescache.c (cache_addserv): Likewise.
19629 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19631 * malloc/malloc.c: Various cleanups.
19632 * malloc/hooks.c: Likewise.
19634 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19635 * stdlib/bug-fmtmsg1.c: New file.
19637 * stdlib/fmtmsg.c (init): Add missing unlock.
19638 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19640 2012-01-12 Marek Polacek <polacek@redhat.com>
19642 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19645 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19647 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19648 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19649 macro to ensure uniqueness of label name.
19650 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19651 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19653 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19655 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19657 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19658 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19659 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19662 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19664 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19666 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19667 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19668 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19670 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19672 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19673 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19674 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19675 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19677 * math/bits/math-finite.h: Add ldexp support.
19679 2012-01-10 Marek Polacek <polacek@redhat.com>
19681 * locale/programs/localedef.h (show_archive_content): Add noreturn
19684 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19686 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19688 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19690 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19692 * io/Makefile (headers): Add bits/poll2.h.
19694 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19697 typo #include statement.
19699 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19701 * include/sys/cdefs.h: Define __attribute_alloc_size.
19702 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19703 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19704 * elf/pldd.c: Likewise.
19705 * iconv/iconv_charmap.c: Likewise.
19706 * iconv/iconvconfig.c: Likewise.
19707 * iconv/strtab.c: Likewise.
19708 * locale/programs/locale.c: Likewise.
19709 * locale/programs/localedef.h: Likewise.
19710 * locale/programs/simple-hash.c: Likewise.
19711 * nscd/nscd.h: Likewise.
19712 * nss/makedb.c: Likewise.
19713 * sysdeps/generic/ldconfig.h: Likewise.
19714 * locale/programs/localedef.c: Remove xmalloc prototype.
19715 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19717 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19719 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19722 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19724 * math/Makefile (tests): Add tst-CMPLX.
19725 * math/tst-CMPLX.c: New file.
19727 * math/complex.h (CMPLXL): Fix typo.
19729 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19730 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19732 * debug/tst-chk1.c: Add poll and ppoll tests.
19733 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19734 * include/sys/poll.h: Add hidden proto for ppoll.
19735 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19736 * sysdeps/mach/hurd/ppoll.c: Likewise.
19737 * io/ppoll.c: Likewise.
19738 * debug/poll_chk.c: New file.
19739 * debug/ppoll_chk.c: New file.
19740 * include/bits/poll2.h: New file.
19741 * io/bits/poll2.h: New file.
19744 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19746 * configure.in: static is always set to yes. Remove.
19747 * config.make.in: Don't set build-static.
19748 * Makeconfig: Remove use of build-static.
19749 * dlfcn/Makefile: Likewise.
19750 * elf/Makefile: Likewise.
19751 * math/Makefile: Likewise.
19752 * misc/Makefile: Likewise.
19753 * nptl/Makefile: Likewise.
19754 * sysdeps/mach/hurd/Makefile: Likewise.
19756 * configure.in: PWD_P is not used anymore.
19757 * config.make.in: Remove PWD_P entry.
19759 * configure.in: Remove last remnants of RANLIB.
19760 No need to check for signed size_t anymore.
19761 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19763 Remove __builtin_expect test because we require at least gcc 3.4.
19764 * aclocal.m4: Likewise.
19766 * wcsmbs/mbrtoc16.c: Implement using towc function.
19767 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19768 * wcsmbs/wcsmbsload.c: Likewise.
19769 * iconv/gconv_simple.c: Likewise.
19770 * iconv/gconv_int.h: Likewise.
19771 * iconv/gconv_builtin.h: Likewise.
19772 * iconv/iconv_prog.c: Remove CHAR16 handling.
19774 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19776 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19778 * configure.in: Remove --with-elf and --enable-bounded options.
19779 Dont set base_machine for ia64. More non-ELF conditions removed.
19780 Remove testing and setting of leading underscore information.
19781 * config.make.in (build-bounded): Set to no.
19782 * config.h.in: Remove NO_UNDERSCORES entry.
19783 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19785 * csu/start.c: Remove !NO_UNDERSCORE code.
19786 * locale/localeinfo.h: Likewise.
19787 * sysdeps/generic/machine-gmon.h: Likewise.
19788 * sysdeps/generic/sysdep.h: Likewise.
19789 * sysdeps/i386/sysdep.h: Likewise.
19790 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19791 * sysdeps/mach/sysdep.h: Likewise.
19792 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19793 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19794 * sysdeps/sh/sysdep.h: Likewise.
19795 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19796 * sysdeps/unix/i386/sysdep.S: Likewise.
19797 * sysdeps/unix/sparc/start.c: Likewise.
19798 * sysdeps/unix/sparc/sysdep.S: Likewise.
19799 * sysdeps/unix/sparc/sysdep.h: Likewise.
19800 * sysdeps/unix/start.c: Likewise.
19801 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19802 * sysdeps/x86_64/sysdep.h: Likewise.
19804 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19807 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19809 * argp/argp-fmtstream.h: Use const instead __const.
19810 * argp/argp.h: Likewise.
19811 * assert/assert.h: Likewise.
19812 * bits/fenv.h: Likewise.
19813 * bits/sched.h: Likewise.
19814 * bits/sigset.h: Likewise.
19815 * bits/sigthread.h: Likewise.
19816 * catgets/nl_types.h: Likewise.
19817 * conform/data/pthread.h-data: Likewise.
19818 * crypt/crypt-private.h: Likewise.
19819 * crypt/crypt.h: Likewise.
19820 * crypt/crypt_util.c: Likewise.
19821 * ctype/ctype.h: Likewise.
19822 * debug/execinfo.h: Likewise.
19823 * debug/mbsnrtowcs_chk.c: Likewise.
19824 * debug/mbsrtowcs_chk.c: Likewise.
19825 * debug/wcsnrtombs_chk.c: Likewise.
19826 * debug/wcsrtombs_chk.c: Likewise.
19827 * debug/wcstombs_chk.c: Likewise.
19828 * dirent/dirent.h: Likewise.
19829 * dlfcn/dlfcn.h: Likewise.
19830 * elf/neededtest4.c: Likewise.
19831 * grp/grp.h: Likewise.
19832 * gshadow/gshadow.h: Likewise.
19833 * iconv/gconv.h: Likewise.
19834 * iconv/gconv_int.h: Likewise.
19835 * iconv/gconv_simple.c: Likewise.
19836 * iconv/iconv.h: Likewise.
19837 * iconv/loop.c: Likewise.
19838 * iconv/skeleton.c: Likewise.
19839 * include/aio.h: Likewise.
19840 * include/aliases.h: Likewise.
19841 * include/argz.h: Likewise.
19842 * include/arpa/inet.h: Likewise.
19843 * include/assert.h: Likewise.
19844 * include/dirent.h: Likewise.
19845 * include/dlfcn.h: Likewise.
19846 * include/execinfo.h: Likewise.
19847 * include/fcntl.h: Likewise.
19848 * include/fenv.h: Likewise.
19849 * include/glob.h: Likewise.
19850 * include/grp.h: Likewise.
19851 * include/libintl.h: Likewise.
19852 * include/mntent.h: Likewise.
19853 * include/netdb.h: Likewise.
19854 * include/pwd.h: Likewise.
19855 * include/rpc/netdb.h: Likewise.
19856 * include/sched.h: Likewise.
19857 * include/search.h: Likewise.
19858 * include/shadow.h: Likewise.
19859 * include/signal.h: Likewise.
19860 * include/stdio.h: Likewise.
19861 * include/stdlib.h: Likewise.
19862 * include/string.h: Likewise.
19863 * include/sys/socket.h: Likewise.
19864 * include/sys/stat.h: Likewise.
19865 * include/sys/statfs.h: Likewise.
19866 * include/sys/statvfs.h: Likewise.
19867 * include/sys/syslog.h: Likewise.
19868 * include/sys/time.h: Likewise.
19869 * include/sys/uio.h: Likewise.
19870 * include/time.h: Likewise.
19871 * include/unistd.h: Likewise.
19872 * include/utmp.h: Likewise.
19873 * include/wchar.h: Likewise.
19874 * include/wctype.h: Likewise.
19875 * inet/aliases.h: Likewise.
19876 * inet/arpa/inet.h: Likewise.
19877 * inet/netinet/ether.h: Likewise.
19878 * inet/netinet/in.h: Likewise.
19879 * intl/libintl.h: Likewise.
19880 * io/bits/fcntl2.h: Likewise.
19881 * io/fcntl.h: Likewise.
19882 * io/ftw.h: Likewise.
19883 * io/sys/poll.h: Likewise.
19884 * io/sys/stat.h: Likewise.
19885 * io/sys/statfs.h: Likewise.
19886 * io/sys/statvfs.h: Likewise.
19887 * io/utime.h: Likewise.
19888 * libio/bits/stdio.h: Likewise.
19889 * libio/bits/stdio2.h: Likewise.
19890 * libio/libio.h: Likewise.
19891 * libio/libioP.h: Likewise.
19892 * libio/stdio.h: Likewise.
19893 * locale/lc-ctype.c: Likewise.
19894 * locale/locale.h: Likewise.
19895 * login/utmp.h: Likewise.
19896 * malloc/arena.c: Likewise.
19897 * malloc/malloc.c: Likewise.
19898 * malloc/malloc.h: Likewise.
19899 * malloc/mcheck.c: Likewise.
19900 * malloc/mtrace.c: Likewise.
19901 * math/bits/mathcalls.h: Likewise.
19902 * math/fenv.h: Likewise.
19903 * math/math_private.h: Likewise.
19904 * misc/bits/error.h: Likewise.
19905 * misc/bits/syslog.h: Likewise.
19906 * misc/err.h: Likewise.
19907 * misc/error.h: Likewise.
19908 * misc/fstab.h: Likewise.
19909 * misc/mntent.h: Likewise.
19910 * misc/regexp.h: Likewise.
19911 * misc/search.h: Likewise.
19912 * misc/sgtty.h: Likewise.
19913 * misc/sys/mman.h: Likewise.
19914 * misc/sys/syslog.h: Likewise.
19915 * misc/sys/uio.h: Likewise.
19916 * misc/sys/xattr.h: Likewise.
19917 * misc/ttyent.h: Likewise.
19918 * nis/rpcsvc/ypclnt.h: Likewise.
19919 * nss/nss.h: Likewise.
19920 * posix/bits/unistd.h: Likewise.
19921 * posix/fnmatch.h: Likewise.
19922 * posix/glob.h: Likewise.
19923 * posix/sched.h: Likewise.
19924 * posix/spawn.h: Likewise.
19925 * posix/sys/wait.h: Likewise.
19926 * posix/unistd.h: Likewise.
19927 * posix/wordexp.h: Likewise.
19928 * pwd/pwd.h: Likewise.
19929 * resolv/netdb.h: Likewise.
19930 * resource/sys/resource.h: Likewise.
19931 * rt/aio.h: Likewise.
19932 * rt/bits/mqueue2.h: Likewise.
19933 * rt/mqueue.h: Likewise.
19934 * shadow/shadow.h: Likewise.
19935 * signal/signal.h: Likewise.
19936 * socket/send.c: Likewise.
19937 * socket/sendto.c: Likewise.
19938 * socket/sys/socket.h: Likewise.
19939 * stdio-common/printf.h: Likewise.
19940 * stdlib/bits/stdlib.h: Likewise.
19941 * stdlib/fmtmsg.h: Likewise.
19942 * stdlib/monetary.h: Likewise.
19943 * stdlib/stdlib.h: Likewise.
19944 * stdlib/ucontext.h: Likewise.
19945 * streams/stropts.h: Likewise.
19946 * string/argz.h: Likewise.
19947 * string/bits/string2.h: Likewise.
19948 * string/string.h: Likewise.
19949 * string/strings.h: Likewise.
19950 * sunrpc/rpc/auth.h: Likewise.
19951 * sunrpc/rpc/auth_des.h: Likewise.
19952 * sunrpc/rpc/clnt.h: Likewise.
19953 * sunrpc/rpc/netdb.h: Likewise.
19954 * sunrpc/rpc/pmap_clnt.h: Likewise.
19955 * sunrpc/rpc/xdr.h: Likewise.
19956 * sysdeps/generic/inttypes.h: Likewise.
19957 * sysdeps/generic/net/if.h: Likewise.
19958 * sysdeps/generic/sys/swap.h: Likewise.
19959 * sysdeps/gnu/net/if.h: Likewise.
19960 * sysdeps/gnu/utmpx.h: Likewise.
19961 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19962 * sysdeps/i386/i486/bits/string.h: Likewise.
19963 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19964 * sysdeps/s390/bits/string.h: Likewise.
19965 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19966 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19967 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19968 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19969 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19970 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19971 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19972 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19973 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19974 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19975 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19976 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19977 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19978 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19979 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19980 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19981 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19982 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19983 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19984 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19985 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19986 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19987 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19988 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19989 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19990 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19991 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19992 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19993 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19994 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19995 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19996 * sysvipc/sys/ipc.h: Likewise.
19997 * sysvipc/sys/msg.h: Likewise.
19998 * sysvipc/sys/sem.h: Likewise.
19999 * sysvipc/sys/shm.h: Likewise.
20000 * termios/termios.h: Likewise.
20001 * time/sys/time.h: Likewise.
20002 * time/time.h: Likewise.
20003 * wcsmbs/bits/wchar2.h: Likewise.
20004 * wcsmbs/uchar.h: Likewise.
20005 * wcsmbs/wchar.h: Likewise.
20006 * wctype/wctype.h: Likewise.
20009 * Makeconfig: Remove all but ELF support including AIX support.
20010 * Makerules: Likewise.
20011 * config.h.in: Likewise.
20012 * config.make.in: Likewise.
20013 * configure: Likewise.
20014 * configure.in: Likewise.
20015 * csu/Makefile: Likewise.
20016 * csu/version.c: Likewise.
20017 * debug/Makefile: Likewise.
20018 * dlfcn/Makefile: Likewise.
20019 * elf/Makefile: Likewise.
20020 * extra-lib.mk: Likewise.
20021 * iconv/Makefile: Likewise.
20022 * include/libc-symbols.h: Likewise.
20023 * include/shlib-compat.h: Likewise.
20024 * resolv/Makefile: Likewise.
20025 * resolv/res_libc.c: Likewise.
20026 * rt/Makefile: Likewise.
20027 * sysdeps/i386/asm-syntax.h: Likewise.
20028 * sysdeps/i386/sysdep.h: Likewise.
20029 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20030 * sysdeps/mach/sysdep.h: Likewise.
20031 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20032 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20033 * sysdeps/s390/asm-syntax.h: Likewise.
20034 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20035 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20036 * sysdeps/sh/sysdep.h: Likewise.
20037 * sysdeps/unix/sparc/sysdep.h: Likewise.
20038 * sysdeps/wordsize-32/divdi3.c: Likewise.
20039 * sysdeps/x86_64/sysdep.h: Likewise.
20041 * argp/Versions: Remove _argp_unlock_xxx.
20044 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20045 * abilist/libBrokenLocale.abilist: Likewise.
20046 * abilist/libanl.abilist: Likewise.
20047 * abilist/libc.abilist: Likewise.
20048 * abilist/libcrypt.abilist: Likewise.
20049 * abilist/libdl.abilist: Likewise.
20050 * abilist/libm.abilist: Likewise.
20051 * abilist/libnsl.abilist: Likewise.
20052 * abilist/libpthread.abilist: Likewise.
20053 * abilist/libresolv.abilist: Likewise.
20054 * abilist/librt.abilist: Likewise.
20055 * abilist/libthread_db.abilist: Likewise.
20056 * abilist/libutil.abilist: Likewise.
20057 * abilist/libnss_db.abilist: New file.
20059 * scripts/abilist.awk: Add support for indirect functions.
20061 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20063 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20065 * shlib-versions: Remove entries for ports architectures.
20067 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20069 * elf/stackguard-macros.h: Remove support for IA-64.
20070 * elf/tst-auditmod1.c: Likewise.
20071 * sysdeps/generic/ldsodefs.h: Likewise.
20073 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20074 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20078 * configure.in: Remove --enable-omitfp support.
20080 * config.make.in: Likewise.
20081 * Makeconfig: Likewise.
20082 * manual/install.texi: Likewise.
20084 In case anyone cares, the IA-64 architecture could move to ports.
20085 * sysdeps/ia64/*: Removed.
20086 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20087 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20090 * configure.in: Remove entries for unsupported architectures.
20093 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20094 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20096 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20097 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20098 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20099 fall back to using wcrtomb.
20100 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20101 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20103 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20104 * wcsmbs/tst-c16c32-1.c: New file.
20106 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20109 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20111 * elf/tst-unique3.cc: Add explicit declaration of gets.
20112 * elf/tst-unique3lib.cc: Likewise.
20113 * elf/tst-unique3lib2.cc: Likewise.
20114 * elf/tst-unique4.cc: Likewise.
20116 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20118 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20121 * assert/assert.h (static_assert): Don't define for C++.
20122 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20123 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20125 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20127 * iconv/loop.c (single loop): Fix assertion in storing of
20130 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20132 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20134 * posix/getconf.c: Update copyright year.
20135 * nss/getent.c: Likewise.
20136 * nss/makedb.c: Likewise.
20137 * iconv/iconvconfig.c: Likewise.
20138 * iconv/iconv_prog.c: Likewise.
20139 * elf/ldconfig.c: Likewise.
20140 * elf/pldd.c: Likewise.
20141 * elf/sotruss.ksh: Likewise.
20142 * catgets/gencat.c: Likewise.
20143 * csu/version.c: Likewise.
20144 * elf/ldd.bash.in: Likewise.
20145 * elf/sprof.c (print_version): Likewise.
20146 * locale/programs/locale.c: Likewise.
20147 * locale/programs/localedef.c: Likewise.
20148 * login/programs/pt_chown.c: Likewise.
20149 * nscd/nscd.c (print_version): Likewise.
20150 * debug/xtrace.sh: Likewise.
20151 * malloc/memusage.sh: Likewise.
20152 * malloc/mtrace.pl: Likewise.
20153 * debug/catchsegv.sh: Likewise.
20155 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20157 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20160 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20163 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20164 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20166 * iconv/gconv_int.h: Likewise.
20167 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20168 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20169 from libc for GLIBC_2.16.
20170 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20171 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20172 * wcsmbs/uchar.h: Really define mbstate_t.
20173 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20174 * wcsmbs/c16rtomb.c: New file.
20175 * wcsmbs/mbrtoc16.c: New file.
20176 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20177 for C/POSIX locale.
20178 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20179 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20181 * wcsmbs/wchar.h: Add missing __restrict.
20183 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20186 * time/Makefile (routines): Add timespec_get.
20187 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20188 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20189 timespec for ISO C11.
20190 * time/timespec_get.c: New file.
20191 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20192 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20195 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20196 * stdlib/stdlib.h: Declare aligned_alloc.
20197 * Versions.def: Add GLIBC_2.16 for libc.
20198 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20201 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20204 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20208 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20211 * assert/assert.h (static_assert): Define.
20213 * version.h: Update for 2.16 development version.
20216 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20219 * version.h (RELEASE): Bump for 2.15 release.
20220 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20222 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20223 Patch by Marek Polacek <mpolacek@redhat.com>.
20225 * bits/byteswap.h: Protect long long constants with __extension__.
20226 * sysdeps/i386/bits/byteswap.h: Likewise.
20227 * sysdeps/ia64/bits/byteswap.h: Likewise.
20228 * sysdeps/s390/bits/byteswap.h: Likewise.
20229 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20231 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20234 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20235 destination buffer.
20236 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20238 2011-12-23 Marek Polacek <polacek@redhat.com>
20240 * elf/dl-addr.c (determine_info): Add inline keyword.
20241 * elf/tst-auditmod4b.c (check_avx): Likewise.
20242 * elf/tst-auditmod6b.c (check_avx): Likewise.
20243 * elf/tst-auditmod6c.c (check_avx): Likewise.
20244 * elf/tst-auditmod7b.c (check_avx): Likewise.
20246 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20248 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20251 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20254 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20255 processing for last bytes.
20257 2011-08-06 Bruno Haible <bruno@clisp.org>
20260 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20261 U+0385, not to U+1FEE.
20264 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20265 entry for U+00A5 U+0301.
20267 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20270 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20271 buffer for the output is too small.
20273 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20277 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20278 SSE flags if possible.
20280 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20283 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20284 processing for last bytes.
20286 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20288 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20289 (syscall-list-default-options, syscall-list-default-condition)
20290 (syscall-list-includes): Define.
20291 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20292 list of ABIs and options and #if conditions for each ABI. Do not
20293 handle common syscalls between ABIs specially.
20294 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20296 (syscall-list-variants, syscall-list-32bit-options)
20297 (syscall-list-32bit-condition, syscall-list-64bit-options)
20298 (syscall-list-64bit-condition): Define.
20299 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20300 (syscall-list-variants, syscall-list-32bit-options)
20301 (syscall-list-32bit-condition, syscall-list-64bit-options)
20302 (syscall-list-64bit-condition): Define.
20303 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20305 (syscall-list-variants, syscall-list-32bit-options)
20306 (syscall-list-32bit-condition, syscall-list-64bit-options)
20307 (syscall-list-64bit-condition): Define.
20308 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20310 (syscall-list-variants, syscall-list-32bit-options)
20311 (syscall-list-32bit-condition, syscall-list-64bit-options)
20312 (syscall-list-64bit-condition): Define.
20314 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20316 * locale/iso-639.def: Add brx entry.
20319 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20320 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20322 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20323 __feraiseexcept_renamed.
20325 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20328 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20329 EPOLLET with unsigned values.
20330 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20331 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20333 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20334 to large cancellation.
20335 * math/s_cacoshf.c: Likewise.
20336 * math/s_cacoshl.c: Likewise.
20338 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20342 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20343 * math/s_cacoshf.c: Likewise.
20344 * math/s_cacoshl.c: Likewise.
20346 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20349 * iconv/gconv.h: Define __GCONV_SWAP.
20350 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20351 * iconvdata/utf-16.c: Likewise.
20352 * iconvdata/utf-32.c: Likewise.
20354 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20357 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20358 numerator after shifting it by one limb.
20360 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20362 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20363 under [__USE_EXTERN_INLINES].
20365 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20368 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20370 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20372 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20373 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20375 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20376 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20377 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20378 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20379 for strncasecmp/strncasecmp_l compilation.
20380 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20381 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20383 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20386 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20389 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20392 * time/tzfile.c (__tzfile_read): Check values from file header.
20394 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20396 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20397 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20398 * powerpc/powerpc32/dl-start.S: Likewise.
20399 * powerpc/powerpc32/elf/start.S: Likewise.
20400 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20401 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20402 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20403 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20404 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20405 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20406 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20407 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20408 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20409 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20410 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20411 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20412 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20413 * powerpc/powerpc32/memset.S: Likewise.
20414 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20415 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20416 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20417 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20418 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20419 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20420 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20421 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20422 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20423 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20424 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20425 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20426 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20428 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20430 * math/libm-test.inc: Added more nearbyint tests.
20431 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20432 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20433 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20434 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20436 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20438 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20441 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20443 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20444 Add wcscpy-ssse3 wcscpy-c.
20445 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20446 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20447 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20448 * sysdeps/x86_64/wcschr.S: New file.
20449 * sysdeps/x86_64/wcsrchr.S: New file.
20450 * string/test-strcmp.c: Remove checking of wcscmp function for
20452 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20453 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20454 wcsrchr-sse2 wcsrchr-c.
20455 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20456 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20457 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20458 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20459 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20460 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20461 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20462 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20463 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20464 * wcsmbc/wcschr.c (WCSCHR): New macro.
20466 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20468 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20469 * wcsmbs/test-wcsrchr.c: New file.
20470 * string/test-strrchr.c: Add wcsrchr support.
20472 * wcsmbs/test-wcscpy.c: New file.
20473 * string/test-strcpy.c: Add wcscpy support.
20476 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20478 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20481 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20484 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20486 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20488 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20489 Minor optimizations.
20491 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20492 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20493 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20495 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20497 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20498 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20499 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20500 for gcc to avoid warnings.
20501 * inet/Makefile (tests): Add tst-checks.
20502 * inet/tst-checks.c: New file.
20504 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20507 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20510 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20511 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20513 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20515 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20517 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20520 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20522 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20524 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20525 conditional on GCC version.
20526 (__arch_compare_and_exchange_val_8_acq)
20527 (__arch_compare_and_exchange_val_16_acq)
20528 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20529 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20530 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20532 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20534 * sysdeps/sh/backtrace.c: New file.
20536 2011-12-02 Andreas Schwab <schwab@redhat.com>
20538 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20541 2011-12-01 Andreas Schwab <schwab@redhat.com>
20543 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20544 falling back to utime.
20546 2011-11-30 Andreas Schwab <schwab@redhat.com>
20548 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20549 expectations for float.
20551 2011-11-29 Andreas Schwab <schwab@redhat.com>
20553 * locale/weight.h (findidx): Add parameter len.
20554 * locale/weightwc.h (findidx): Likewise.
20555 * posix/fnmatch_loop.c (FCT): Adjust caller.
20556 * posix/regcomp.c (build_equiv_class): Likewise.
20557 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20558 * posix/regexec.c (check_node_accept_bytes): Likewise.
20559 * string/strcoll_l.c (STRCOLL): Likewise.
20560 * string/strxfrm_l.c (STRXFRM): Likewise.
20562 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20564 * Makefile.in: Remove CVSOPT handling.
20565 * configure.in: Remove use of AC_REVISION.
20566 * iconvdata/Makefile (distribute): No need to filter out CVS.
20567 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20570 2011-11-16 Andreas Schwab <schwab@redhat.com>
20572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20573 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20574 [USE_AS_STRNCASECMP_L]: Likewise.
20575 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20576 NO_TLS_DIRECT_SEG_REFS.
20577 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20578 Fix argument offsets for non-PIC.
20579 [USE_AS_STRNCASECMP_L]: Likewise.
20580 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20581 NO_TLS_DIRECT_SEG_REFS.
20583 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20585 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20587 * locale/loadlocale.c (_nl_load_locale): Likewise.
20589 2011-11-15 Andreas Schwab <schwab@redhat.com>
20591 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20592 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20593 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20594 (SYSCALL_GETTIME): Set errno on error.
20596 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20597 count references to noai6ai_cached.
20599 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20601 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20603 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20604 FD_CLOEXEC for /proc/self/maps.
20606 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20607 FD_CLOEXEC for /proc/meminfo.
20609 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20612 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20613 FD_CLOEXEC for given file.
20615 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20617 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20618 FD_CLOEXEC for /etc/hosts.
20619 (_gethtent): Likewise.
20621 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20623 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20624 cancellation and set FD_CLOEXEC for /etc/netgroup.
20626 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20627 reading /etc/publickey.
20629 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20630 allow cancellation when reading /etc/group.
20632 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20634 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20636 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20637 when using data file.
20639 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20641 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20642 (write_nis_obj): Use "c" and "e" in fopen.
20644 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20646 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20648 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20650 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20652 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20655 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20657 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20659 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20661 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20662 file parsing and set FD_CLOEXEC.
20664 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20666 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20668 2011-11-14 Andreas Schwab <schwab@redhat.com>
20670 * malloc/arena.c (arena_get2): Don't call reused_arena when
20671 _int_new_arena failed.
20673 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20675 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20676 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20677 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20678 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20679 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20680 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20681 to compile strcasecmp and strncasecmp.
20682 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20683 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20685 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20687 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20689 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20690 locale-defines.sym to gen-as-const-headers.
20691 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20692 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20693 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20694 to compile strcasecmp and strncasecmp.
20695 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20696 strcasecmp_l and strncasecmp_l.
20697 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20698 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20699 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20700 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20701 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20702 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20703 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20704 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20705 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20706 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20707 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20709 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20711 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20712 result of SYSDEP_GETTIME_CPU to retval.
20713 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20714 parameter list to macro. Remove trailing semicolon. Adjust users.
20716 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20719 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20721 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20723 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20724 from unused variable.
20726 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20728 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20731 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20734 * sunrpc/rpc_prot.c (rejected): Fix case value.
20736 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20737 unsigned long long int to avoid warnings in shift.
20739 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20741 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20744 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20745 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20746 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20748 * nis/nis_table.c (nis_list): Use variable of correct type for
20749 result of __follow_path call.
20751 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20753 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20754 of math functions ceil, trunc, floor, round, and sqrt, when
20755 avaliable on the platform.
20756 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20758 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20759 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20760 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20762 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20764 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20765 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20767 2011-11-11 Roland McGrath <roland@hack.frob.com>
20769 * include/unistd.h: Fix __readlink return type.
20770 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20772 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20774 * stdlib/ucontext.h: Undo last change for makecontext.
20776 2011-11-11 Andreas Schwab <schwab@redhat.com>
20778 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20780 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20781 * setjmp/setjmp.h: Mark functions as non-leaf.
20782 * setjmp/bits/setjmp2.h: Likewise.
20783 * stdlib/ucontext.h: Likewise.
20785 2011-11-10 Andreas Schwab <schwab@redhat.com>
20787 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20788 (reused_arena): Don't check arena limit.
20789 (arena_get2): Atomically check arena limit.
20791 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20793 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20794 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20796 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20799 2011-11-07 Andreas Schwab <schwab@redhat.com>
20801 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20802 handler when locking.
20804 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20805 Fix size of allocated buffer.
20807 2011-11-04 Andreas Schwab <schwab@redhat.com>
20810 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20811 declarations for long double functions.
20812 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20814 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20816 2011-11-03 Andreas Schwab <schwab@redhat.com>
20818 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20821 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20824 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20826 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20828 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20830 * include/alloca.h (stackinfo_alloca_round): Define.
20831 (extend_alloca): Use it.
20832 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20833 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20836 * scripts/check-local-headers.sh: Ignore libaudit.h.
20838 * nscd/Makefile (extra-objs): Make recursively expanded.
20840 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20842 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20843 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20845 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20846 * posix/tst-rfc3484-2.c: Likewise.
20847 * posix/tst-rfc3484-3.c: Likewise.
20849 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20851 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20853 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20854 process_vm_writev from libc using GLIBC_2.15 version.
20856 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20858 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20860 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20863 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20866 * nss/getent.c (initgroups_keys): Show error message in case no group
20869 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20870 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20871 __bump_nl_timestamp.
20872 * nscd/connections (nscd_init): When host database is served open
20873 netlink socket and request notification about configuration changes.
20874 (main_loop_poll): Track netlink file descriptor and bump timestamp
20875 in case data becomes available.
20876 (main_loop_epoll): Likewise.
20877 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20878 (database_pers_head): Add extra_data fileds.
20879 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20880 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20881 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20883 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20884 in6ai data, call __free_in6ai.
20885 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20886 Add -DHAVE_NETLINK.
20887 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20888 interface information. Reuse previous data if netlink timestamp
20890 (__bump_nl_timestamp): New function.
20891 (__free_in6ai): New function.
20893 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20895 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20896 close_not_cancel_no_status here.
20897 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20899 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20902 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20905 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20906 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20907 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20909 2011-07-03 Andreas Jaeger <aj@suse.de>
20912 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20913 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20914 * math/libm-test.inc (sin_test): Add test case.
20916 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20919 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20920 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20922 * elf/chroot_canon.c (chroot_canon): Cleanups.
20924 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20927 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20928 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20930 * string/test-strchr.c: Make usable for strchrnul testing.
20931 * string/test-strchrnul.c: New file.
20932 * string/Makefile (strop-tests): Add strchrnul.
20934 * po/it.po: Update from translation team.
20935 * po/es.po: Likewise.
20937 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20939 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20940 the three constants needed as parameters. Drop the others.
20941 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20942 __m128i_strloadu_tolower.
20943 Create and initialize variable zero and use it in all the places
20944 where _mm_setzero_si128 was used.
20946 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20947 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20948 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20949 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20951 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20952 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20953 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20954 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20955 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20956 __mpranred, __mptan.
20957 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20958 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20959 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20960 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20961 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20962 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20963 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20964 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20965 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20967 2011-10-28 Andreas Schwab <schwab@redhat.com>
20969 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20970 redefine if SHARED.
20971 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20974 wide char related routines to wcsmbs subdir.
20976 2011-10-27 Andreas Schwab <schwab@redhat.com>
20979 * misc/sys/cdefs.h (__THROWNL): Define.
20980 * posix/unistd.h: Use __THREADNL instead of __THREAD
20981 for memory synchronization functions.
20983 2011-10-26 Roland McGrath <roland@hack.frob.com>
20986 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20988 * manual/stdio.texi (Obstack Streams): Node removed.
20990 2011-10-26 Andreas Schwab <schwab@redhat.com>
20992 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20993 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20994 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20996 * math/math_private.h (math_force_eval): Allow non-addressable
20998 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21000 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21002 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21003 file is not needed.
21005 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21007 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21008 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21009 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21010 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21011 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21012 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21014 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21015 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21016 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21017 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21018 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21019 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21020 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21021 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21022 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21023 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21024 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21025 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21026 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21027 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21028 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21029 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21030 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21031 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21032 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21034 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21035 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21037 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21038 place. Use VEX encoding when compiling for AVX.
21040 2011-10-25 Andreas Schwab <schwab@redhat.com>
21042 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21043 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21045 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21047 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21049 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21050 useless if() expression.
21051 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21055 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21056 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21057 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21058 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21059 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21060 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21061 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21063 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21064 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21065 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21066 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21067 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21069 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21071 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21073 2011-10-25 Andreas Schwab <schwab@redhat.com>
21075 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21077 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21079 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21081 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21082 .text section. Avoid duplicate constants.
21083 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21085 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21093 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21094 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21095 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21096 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21097 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21098 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21100 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21101 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21102 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21106 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21107 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21108 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21109 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21110 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21111 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21112 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21113 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21114 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21115 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21116 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21117 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21118 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21119 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21120 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21121 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21122 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21123 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21124 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21125 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21126 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21127 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21129 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21131 * sysdeps/x86_64/dla.h: Move to ...
21132 * sysdeps/x86_64/fpu/dla.h: ...here.
21133 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21134 situations. Use __builtin_fma only for gcc 4.6 and up.
21136 * config.make.in: Add have-mfma4 entry.
21137 * configure.in: Substitute libc_cv_cc_fma4.
21138 * math/Makefile (dbl-only-routines): Add sincostab.
21139 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21140 Use __sincostab not sincos.
21141 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21143 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21148 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21149 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21150 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21151 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21153 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21154 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21156 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21157 define aliases when function name is a macro.
21158 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21159 sysdeps/ieee754/dbl-64/sincos.tbl.
21160 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21161 fma4-enabled routines.
21162 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21163 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21164 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21165 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21166 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21167 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21168 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21169 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21170 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21171 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21172 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21173 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21174 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21175 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21176 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21177 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21178 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21179 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21180 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21181 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21182 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21183 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21184 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21185 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21186 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21187 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21188 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21189 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21190 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21191 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21193 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21204 2011-10-24 Andreas Schwab <schwab@redhat.com>
21206 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21208 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21212 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21214 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21216 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21217 Remove unused variable magic_bits.
21218 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21220 * string/strnlen.c: Define and use STRNLEN macro.
21221 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21222 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21223 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21224 * wcsmbs/wcslen.c: Define and use WCSLEN.
21225 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21226 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21227 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21228 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21229 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21230 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21231 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21233 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21236 strnlen-sse2-no-bsf.
21237 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21238 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21239 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21240 Add strnlen support.
21241 (USE_AS_STRNLEN): New macro.
21242 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21243 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21244 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21245 * sysdeps/x86_64/wcslen.S: New file.
21247 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21249 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21250 XMM-moves are used for copying on small sizes.
21252 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21254 * wcsmbs/Makefile (strop-tests): Add wcschr.
21255 * wcsmbs/test-wcschr.c: New file.
21256 * string/test-strchr.c: Update.
21257 Add wcschr support.
21260 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21262 * wcsmbs/Makefile (strop-tests): Add wcslen.
21263 * wcsmbs/test-wcslen.c: New file.
21264 * string/test-strlen.c: Update.
21265 Add wcslen support.
21268 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21270 * po/it.po: Update from translation team.
21272 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21274 * sysdeps/x86_64/wcscmp.S: Update.
21275 Fix wrong comparison semantics.
21276 wcscmp shall use signed comparison not unsigned.
21277 Don't use substraction to avoid overflow bug.
21278 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21279 * wcsmbc/wcscmp.c: Likewise.
21280 * string/test-strcmp.c: Likewise.
21281 Add new tests to check cases with negative values.
21283 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21285 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21286 * sysdeps/x86_64/dla.h: ...here. New file.
21287 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21289 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21292 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21293 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21294 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21295 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21297 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21299 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21300 __ynl_finite aliases.
21302 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21306 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21308 [DLA_FMA] (EMULV): Use DLA_FMA.
21309 [DLA_FMA] (MUL12): Use EMULV.
21310 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21311 that are not needed.
21312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21320 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21322 * math/s_nan.c: Undef __nan.
21323 * math/s_nanf.c: Undef __nanf.
21324 * math/s_nanl.c: Undef __nanl.
21325 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21328 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21330 * math/s_catan.c: Add branch predictions.
21331 * math/s_catanf.c: Likewise.
21332 * math/s_catanh.c: Likewise.
21333 * math/s_catanhf.c: Likewise.
21334 * math/s_catanhl.c: Likewise.
21335 * math/s_catanl.c: Likewise.
21336 * math/s_cexp.c: Likewise.
21337 * math/s_cexpf.c: Likewise.
21338 * math/s_cexpl.c: Likewise.
21339 * math/s_clog.c: Likewise.
21340 * math/s_clog10.c: Likewise.
21341 * math/s_clog10f.c: Likewise.
21342 * math/s_clog10l.c: Likewise.
21343 * math/s_clogf.c: Likewise.
21344 * math/s_clogl.c: Likewise.
21345 * math/s_csqrt.c: Likewise.
21346 * math/s_csqrtf.c: Likewise.
21347 * math/s_csqrtl.c: Likewise.
21348 * math/s_ctanf.c: Likewise.
21349 * math/s_ctanh.c: Likewise.
21350 * math/s_ctanhf.c: Likewise.
21351 * math/s_ctanhl.c: Likewise.
21352 * math/s_ctanl.c: Likewise.
21354 * math/math_private.h: Define __nan, __nanf, __nanl.
21355 * math/s_cacosh.c: Include <math_private.h>.
21356 * math/s_cacoshl.c: Likewise.
21357 * math/s_casinh.c: Likewise.
21358 * math/s_casinhf.c: Likewise.
21359 * math/s_casinhl.c: Likewise.
21360 * math/s_ccos.c: Rely entire on ccosh.
21361 * math/s_ccosf.c: Rely entire on ccoshf.
21362 * math/s_ccosl.c: Rely entirely on ccoshl.
21363 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21364 Remove tests for FE_INVALID.
21365 * math/s_ccoshf.c: Likewise.
21366 * math/s_ccoshl.c: Likewise.
21367 * math/s_csin.c: Likewise.
21368 * math/s_csinf.c: Likewise.
21369 * math/s_csinh.c Likewise.
21370 * math/s_csinhf.c: Likewise.
21371 * math/s_csinhl.c: Likewise.
21372 * math/s_csinl.c: Likewise.
21373 * math/s_ctan.c: Likewise.
21374 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21375 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21376 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21378 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21381 compilation problems.
21383 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21386 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21388 * sysdeps/i386/configure.in: Test for -mfma4 option.
21389 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21390 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21391 COMMON_CPUID_INDEX_80000001.
21392 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21393 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21394 use it if FMA3 is not supported.
21395 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21397 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21398 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21400 2011-10-20 Andreas Schwab <schwab@redhat.com>
21403 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21404 it would create a cycle with a link time dependency.
21406 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21408 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21410 * string/Makefile (strop-tests): Add rawmemchr.
21411 * string/test-rawmemchr.c: New file.
21413 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21414 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21415 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21416 when compiling str{,n}casecmp and when AVX is available. Hook up
21417 new optimized code in initializers.
21419 2011-10-19 Andreas Schwab <schwab@redhat.com>
21421 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21422 __feraiseexcept instead of feraiseexcept.
21424 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21426 * math/math_private.h: Define defaults for libc_fetestexcept and
21428 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21429 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21430 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21431 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21432 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21433 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21434 libc_fetestexcept and libc_feupdateenv.
21436 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21437 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21438 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21439 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21440 libc_feholdexcept_setround.
21442 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21443 Add s_nearbyint-c and s_nearbyintf-c.
21444 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21445 nearbyintf inlines.
21446 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21447 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21448 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21449 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21451 * math/math_private.h: Define defaults for libc_fegetround,
21452 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21453 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21454 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21455 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21456 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21457 standard functions.
21458 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21459 Remove comments and hacks for old compiler versions.
21460 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21461 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21462 libc_feholdexceptl.
21464 2011-10-18 Andreas Schwab <schwab@redhat.com>
21466 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21467 (__feraiseexcept_renamed): Add __NTH.
21468 (feraiseexcept): Add __NTH. Rename local variables to fix
21469 namespace violations.
21471 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21473 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21475 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21477 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21478 recently added interfaces.
21479 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21481 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21482 about macro parameter expansion.
21484 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21485 __NO_MATH_INLINES is defined. Cleanups.
21487 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21488 and __floorf is target has SSE4.1.
21489 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21490 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21491 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21492 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21494 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21496 (floorf): Likewise.
21498 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21500 2011-10-17 Andreas Schwab <schwab@redhat.com>
21502 * misc/sys/cdefs.h: Fix last change.
21504 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21507 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21509 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21511 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21512 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21513 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21514 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21515 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21516 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21517 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21518 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21519 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21520 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21521 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21522 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21523 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21524 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21525 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21526 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21527 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21528 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21529 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21530 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21531 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21532 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21534 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21535 ceil, ceilf, floor, floorf.
21537 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21538 Perform IRELATIVE relocations last.
21540 * elf/do-rel.h: Add another parameter nrelative, replacing the
21541 local variable with the same name. Change name of the function
21542 to end in Rel or Rela (uppercase).
21543 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21544 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21545 elf_dynamic_do_##reloc function.
21547 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21549 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21550 is sufficient, at least on modern CPUs.
21552 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21554 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21555 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21557 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21559 * math/bits/math-finite.h: Add entries for exp.
21560 * math/e_expl.c: Add __*_finite alias.
21561 * sysdeps/i386/fpu/e_exp.S: Likewise.
21562 * sysdeps/i386/fpu/e_expf.S: Likewise.
21563 * sysdeps/i386/fpu/e_expl.c: Likewise.
21564 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21565 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21566 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21567 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21568 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21569 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21570 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21572 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21573 is sufficient, at least on modern CPUs.
21575 * ctype/ctype-info.c (__ctype_init): Define.
21576 * include/ctype.h (__ctype_init): Declare.
21577 (__ctype_b_loc): The variable is always initialized.
21578 (__ctype_toupper_loc): Likewise.
21579 (__ctype_tolower_loc): Likewise.
21580 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21581 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21583 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21585 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21587 * configure.in: Also look in $cxxmachine/include for C++ system
21590 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21592 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21593 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21594 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21595 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21596 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21597 (USE_AS_WMEMCMP): New macro.
21599 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21600 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21601 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21602 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21604 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21605 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21606 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21607 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21608 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21609 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21610 (USE_AS_WMEMCMP): New macro.
21611 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21612 * sysdeps/string/test-memcmp.c: Update.
21613 Fix simple_wmemcmp.
21615 * wcsmbs/wmemcmp.c: Update.
21616 (WMEMCMP): New macro.
21619 2011-10-12 Andreas Jaeger <aj@suse.de>
21622 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21624 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21626 * libio/iofwide.c (do_length): Avoid warning.
21628 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21630 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21632 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21634 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21635 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21636 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21637 * sysdeps/i386/i686/fpu/e_log.S: New file.
21638 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21639 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21641 * ctype/ctype.h: Add support for inlined isXXX functions when
21642 compiling C++ code.
21644 2011-10-14 Andreas Schwab <schwab@redhat.com>
21646 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21648 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21650 2011-10-13 Roland McGrath <roland@hack.frob.com>
21653 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21655 2011-10-13 Andreas Schwab <schwab@redhat.com>
21657 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21658 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21661 * sysdeps/x86_64/memrchr.S: Check for zero size.
21663 * string/stratcliff.c: Add memrchr tests.
21665 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21668 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21669 rawmemchr-sse2 rawmemchr-sse2-bsf.
21670 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21671 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21672 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21673 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21674 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21675 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21676 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21677 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21678 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21679 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21680 * string/memrchr.c (MEMRCHR): New macro.
21682 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21684 Add integration with gcc's -ffinite-math-only and optimize wrapper
21686 * Versions.def: Define GLIBC_2.15 version for libm.
21687 * math/Makefile (headers): Add bits/math-finite.h.
21688 * math/bits/math-finite.h: New file.
21689 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21690 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21691 * math/e_acoshl.c: Add __*_finite alias.
21692 * math/e_acosl.c: Likewise.
21693 * math/e_asinl.c: Likewise.
21694 * math/e_atan2l.c: Likewise.
21695 * math/e_atanhl.c: Likewise.
21696 * math/e_coshl.c: Likewise.
21697 * math/e_exp10.c: Likewise.
21698 * math/e_exp10f.c: Likewise.
21699 * math/e_exp10l.c: Likewise.
21700 * math/e_exp2l.c: Likewise.
21701 * math/e_fmodl.c: Likewise.
21702 * math/e_gammal_r.c: Likewise.
21703 * math/e_hypotl.c: Likewise.
21704 * math/e_j0l.c: Likewise.
21705 * math/e_j1l.c: Likewise.
21706 * math/e_jnl.c: Likewise.
21707 * math/e_lgammal_r.c: Likewise.
21708 * math/e_log10l.c: Likewise.
21709 * math/e_log2l.c: Likewise.
21710 * math/e_logl.c: Likewise.
21711 * math/e_powl.c: Likewise.
21712 * math/e_sinhl.c: Likewise.
21713 * math/e_sqrtl.c: Likewise.
21714 * math/e_scalb.c: Completely rewritten and optimized.
21715 * math/e_scalbf.c: Likewise.
21716 * math/e_scalbl.c: Likewise.
21717 * math/w_acos.c: Likewise.
21718 * math/w_acosf.c: Likewise.
21719 * math/w_acosl.c: Likewise.
21720 * math/w_acosh.c: Likewise.
21721 * math/w_acoshf.c: Likewise.
21722 * math/w_acoshl.c: Likewise.
21723 * math/w_asin.c: Likewise.
21724 * math/w_asinf.c: Likewise.
21725 * math/w_asinl.c: Likewise.
21726 * math/w_atan2.c: Likewise.
21727 * math/w_atan2f.c: Likewise.
21728 * math/w_atan2l.c: Likewise.
21729 * math/w_atanh.c: Likewise.
21730 * math/w_atanhf.c: Likewise.
21731 * math/w_atanhl.c: Likewise.
21732 * math/w_exp10.c: Likewise.
21733 * math/w_exp10f.c: Likewise.
21734 * math/w_exp10l.c: Likewise.
21735 * math/w_fmod.c: Likewise.
21736 * math/w_fmodf.c: Likewise.
21737 * math/w_fmodl.c: Likewise.
21738 * math/w_j0.c: Likewise.
21739 * math/w_j0f.c: Likewise.
21740 * math/w_j0l.c: Likewise.
21741 * math/w_j1.c: Likewise.
21742 * math/w_j1f.c: Likewise.
21743 * math/w_j1l.c: Likewise.
21744 * math/w_jn.c: Likewise.
21745 * math/w_jnf.c: Likewise.
21746 * math/w_log.c: Likewise.
21747 * math/w_logf.c: Likewise.
21748 * math/w_logl.c: Likewise.
21749 * math/w_log10.c: Likewise.
21750 * math/w_log10f.c: Likewise.
21751 * math/w_log10l.c: Likewise.
21752 * math/w_log2.c: Likewise.
21753 * math/w_log2f.c: Likewise.
21754 * math/w_log2l.c: Likewise.
21755 * math/w_pow.c: Likewise.
21756 * math/w_powf.c: Likewise.
21757 * math/w_powl.c: Likewise.
21758 * math/w_remainder.c: Likewise.
21759 * math/w_remainderf.c: Likewise.
21760 * math/w_remainderl.c: Likewise.
21761 * math/w_scalb.c: Likewise.
21762 * math/w_scalbf.c: Likewise.
21763 * math/w_scalbl.c: Likewise.
21764 * math/w_sqrt.c: Likewise.
21765 * math/w_sqrtf.c: Likewise.
21766 * math/w_sqrtl.c: Likewise.
21767 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21768 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21770 * math/math_private.h: Declare __kernel_standard_f.
21771 * math/w_cosh.c: Remove cruft and optimize a bit.
21772 * math/w_coshf.c: Likewise.
21773 * math/w_coshl.c: Likewise.
21774 * math/w_exp2.c: Likewise.
21775 * math/w_exp2f.c: Likewise.
21776 * math/w_exp2l.c: Likewise.
21777 * math/w_hypot.c: Likewise.
21778 * math/w_hypotf.c: Likewise.
21779 * math/w_hypotl.c: Likewise.
21780 * math/w_lgamma.c: Likewise.
21781 * math/w_lgamma_r.c: Likewise.
21782 * math/w_lgammaf.c: Likewise.
21783 * math/w_lgammaf_r.c: Likewise.
21784 * math/w_lgammal.c: Likewise.
21785 * math/w_lgammal_r.c: Likewise.
21786 * math/w_sinh.c: Likewise.
21787 * math/w_sinhf.c: Likewise.
21788 * math/w_sinhl.c: Likewise.
21789 * math/w_tgamma.c: Likewise.
21790 * math/w_tgammaf.c: Likewise.
21791 * math/w_tgammal.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21793 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21794 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21795 Minor optimizations. Pretty printing. Remove cruft.
21796 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21797 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21798 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21799 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21800 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21801 * sysdeps/i386/fpu/e_asin.S: Likewise.
21802 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21803 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21804 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21805 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21806 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21807 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21808 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21809 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21810 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21811 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21812 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21813 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21814 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21815 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21816 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21817 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21818 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21819 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21820 * sysdeps/i386/fpu/e_log.S: Likewise.
21821 * sysdeps/i386/fpu/e_log10.S: Likewise.
21822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21823 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21824 * sysdeps/i386/fpu/e_log2.S: Likewise.
21825 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21826 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21827 * sysdeps/i386/fpu/e_logf.S: Likewise.
21828 * sysdeps/i386/fpu/e_logl.S: Likewise.
21829 * sysdeps/i386/fpu/e_pow.S: Likewise.
21830 * sysdeps/i386/fpu/e_powf.S: Likewise.
21831 * sysdeps/i386/fpu/e_powl.S: Likewise.
21832 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21833 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21834 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21835 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21836 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21837 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21838 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21839 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21840 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21841 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21842 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21844 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21845 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21846 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21847 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21848 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21849 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21851 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21852 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21854 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21855 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21856 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21857 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21858 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21859 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21861 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21862 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21863 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21864 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21865 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21866 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21867 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21868 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21869 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21870 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21871 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21872 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21873 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21874 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21875 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21876 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21877 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21878 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21879 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21880 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21881 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21882 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21883 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21884 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21885 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21886 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21887 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21888 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21889 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21890 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21891 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21892 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21893 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21895 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21896 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21897 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21898 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21899 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21900 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21901 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21902 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21903 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21904 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21905 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21906 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21907 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21908 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21909 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21911 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21912 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21913 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21914 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21915 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21916 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21917 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21918 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21919 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21920 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21921 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21922 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21923 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21924 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21925 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21926 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21927 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21928 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21929 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21930 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21931 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21932 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21933 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21934 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21935 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21936 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21937 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21938 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21939 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21940 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21941 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21942 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21943 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21944 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21945 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21946 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21947 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21948 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21949 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21950 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21951 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21952 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21953 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21954 (__isnanf): Likewise.
21955 (__isinf_ns): Likewise.
21956 (__isinf_nsf): Likewise.
21957 (__finite): Likewise.
21958 (__finitef): Likewise.
21959 (__ieee754_sqrt): Define as macro.
21960 (__ieee754_sqrtf): Define as macro.
21961 (__ieee754_sqrtl): Define as macro.
21962 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21964 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21965 __FINITE_MATH_ONLY__ consistent.
21966 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21968 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21970 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21973 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21975 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21977 * po/ja.po: Update from translation team.
21979 2011-10-08 Roland McGrath <roland@hack.frob.com>
21981 * locale/programs/locarchive.c (prepare_address_space): New function.
21982 (create_archive, enlarge_archive, open_archive): Use it.
21984 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21985 inside [SHARED], where it is used.
21987 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21989 * nss/getent.c (netgroup_keys): Remove unused variable.
21990 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21992 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21994 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21995 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21996 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21997 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21998 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21999 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22000 * math/Makefile (libm-calls): Add s_isinf_ns.
22001 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22002 * math/multc3.c: Likewise.
22003 * math/s_casin.c: Likewise.
22004 * math/s_casinf.c: Likewise.
22005 * math/s_casinl.c: Likewise.
22006 * math/s_ccos.c: Likewise.
22007 * math/s_ccosf.c: Likewise.
22008 * math/s_ccosl.c: Likewise.
22009 * math/s_ctan.c: Likewise.
22010 * math/s_ctanf.c: Likewise.
22011 * math/s_ctanh.c: Likewise.
22012 * math/s_ctanhf.c: Likewise.
22013 * math/s_ctanhl.c: Likewise.
22014 * math/s_ctanl.c: Likewise.
22015 * math/w_fmod.c: Likewise.
22016 * math/w_fmodf.c: Likewise.
22017 * math/w_fmodl.c: Likewise.
22018 * math/w_remainder.c: Likewise.
22019 * math/w_remainderf.c: Likewise.
22020 * math/w_remainderl.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22022 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22023 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22025 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22026 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22027 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22028 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22030 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22032 * stdio-common/printf_fphex.c: Likewise.
22033 * stdio-common/printf_size.c: Likewise.
22035 * math/e_exp10.c: Include math_private.h using <...> not "...".
22036 * math/e_exp10f.c: Likewise.
22037 * math/e_exp10l.c: Likewise.
22038 * math/e_exp2l.c: Likewise.
22039 * math/e_j0l.c: Likewise.
22040 * math/e_j1l.c: Likewise.
22041 * math/e_jnl.c: Likewise.
22042 * math/e_lgammal_r.c: Likewise.
22043 * math/e_rem_pio2l.c: Likewise.
22044 * math/e_scalb.c: Likewise.
22045 * math/e_scalbf.c: Likewise.
22046 * math/e_scalbl.c: Likewise.
22047 * math/k_cosl.c: Likewise.
22048 * math/k_sinl.c: Likewise.
22049 * math/k_tanl.c: Likewise.
22050 * math/s_cacoshf.c: Likewise.
22051 * math/s_catan.c: Likewise.
22052 * math/s_catanf.c: Likewise.
22053 * math/s_catanh.c: Likewise.
22054 * math/s_catanhf.c: Likewise.
22055 * math/s_catanhl.c: Likewise.
22056 * math/s_catanl.c: Likewise.
22057 * math/s_ccosh.c: Likewise.
22058 * math/s_ccoshf.c: Likewise.
22059 * math/s_ccoshl.c: Likewise.
22060 * math/s_cexp.c: Likewise.
22061 * math/s_cexpf.c: Likewise.
22062 * math/s_cexpl.c: Likewise.
22063 * math/s_clog.c: Likewise.
22064 * math/s_clog10.c: Likewise.
22065 * math/s_clog10f.c: Likewise.
22066 * math/s_clog10l.c: Likewise.
22067 * math/s_clogf.c: Likewise.
22068 * math/s_clogl.c: Likewise.
22069 * math/s_csin.c: Likewise.
22070 * math/s_csinf.c: Likewise.
22071 * math/s_csinh.c: Likewise.
22072 * math/s_csinhf.c: Likewise.
22073 * math/s_csinhl.c: Likewise.
22074 * math/s_csinl.c: Likewise.
22075 * math/s_csqrt.c: Likewise.
22076 * math/s_csqrtf.c: Likewise.
22077 * math/s_csqrtl.c: Likewise.
22078 * math/s_ctan.c: Likewise.
22079 * math/s_ctanf.c: Likewise.
22080 * math/s_ctanh.c: Likewise.
22081 * math/s_ctanhf.c: Likewise.
22082 * math/s_ctanhl.c: Likewise.
22083 * math/s_ctanl.c: Likewise.
22084 * math/s_ldexp.c: Likewise.
22085 * math/s_ldexpf.c: Likewise.
22086 * math/s_ldexpl.c: Likewise.
22087 * math/s_significand.c: Likewise.
22088 * math/s_significandf.c: Likewise.
22089 * math/s_significandl.c: Likewise.
22090 * math/w_acos.c: Likewise.
22091 * math/w_acosf.c: Likewise.
22092 * math/w_acosh.c: Likewise.
22093 * math/w_acoshf.c: Likewise.
22094 * math/w_acoshl.c: Likewise.
22095 * math/w_acosl.c: Likewise.
22096 * math/w_asin.c: Likewise.
22097 * math/w_asinf.c: Likewise.
22098 * math/w_asinl.c: Likewise.
22099 * math/w_atan2.c: Likewise.
22100 * math/w_atan2f.c: Likewise.
22101 * math/w_atan2l.c: Likewise.
22102 * math/w_atanh.c: Likewise.
22103 * math/w_atanhf.c: Likewise.
22104 * math/w_atanhl.c: Likewise.
22105 * math/w_cosh.c: Likewise.
22106 * math/w_coshf.c: Likewise.
22107 * math/w_coshl.c: Likewise.
22108 * math/w_dremf.c: Likewise.
22109 * math/w_exp10.c: Likewise.
22110 * math/w_exp10f.c: Likewise.
22111 * math/w_exp10l.c: Likewise.
22112 * math/w_exp2.c: Likewise.
22113 * math/w_exp2f.c: Likewise.
22114 * math/w_fmod.c: Likewise.
22115 * math/w_fmodf.c: Likewise.
22116 * math/w_fmodl.c: Likewise.
22117 * math/w_hypot.c: Likewise.
22118 * math/w_hypotf.c: Likewise.
22119 * math/w_hypotl.c: Likewise.
22120 * math/w_j0.c: Likewise.
22121 * math/w_j0f.c: Likewise.
22122 * math/w_j0l.c: Likewise.
22123 * math/w_j1.c: Likewise.
22124 * math/w_j1f.c: Likewise.
22125 * math/w_j1l.c: Likewise.
22126 * math/w_jn.c: Likewise.
22127 * math/w_jnf.c: Likewise.
22128 * math/w_jnl.c: Likewise.
22129 * math/w_lgamma.c: Likewise.
22130 * math/w_lgamma_r.c: Likewise.
22131 * math/w_lgammaf.c: Likewise.
22132 * math/w_lgammaf_r.c: Likewise.
22133 * math/w_lgammal.c: Likewise.
22134 * math/w_lgammal_r.c: Likewise.
22135 * math/w_log.c: Likewise.
22136 * math/w_log10.c: Likewise.
22137 * math/w_log10f.c: Likewise.
22138 * math/w_log10l.c: Likewise.
22139 * math/w_log2.c: Likewise.
22140 * math/w_log2f.c: Likewise.
22141 * math/w_log2l.c: Likewise.
22142 * math/w_logf.c: Likewise.
22143 * math/w_logl.c: Likewise.
22144 * math/w_pow.c: Likewise.
22145 * math/w_powf.c: Likewise.
22146 * math/w_powl.c: Likewise.
22147 * math/w_remainder.c: Likewise.
22148 * math/w_remainderf.c: Likewise.
22149 * math/w_remainderl.c: Likewise.
22150 * math/w_scalb.c: Likewise.
22151 * math/w_scalbf.c: Likewise.
22152 * math/w_scalbl.c: Likewise.
22153 * math/w_sinh.c: Likewise.
22154 * math/w_sinhf.c: Likewise.
22155 * math/w_sinhl.c: Likewise.
22156 * math/w_sqrt.c: Likewise.
22157 * math/w_sqrtf.c: Likewise.
22158 * math/w_sqrtl.c: Likewise.
22159 * math/w_tgamma.c: Likewise.
22160 * math/w_tgammaf.c: Likewise.
22161 * math/w_tgammal.c: Likewise.
22163 * po/ja.po: Update from translation team.
22165 2011-09-29 Andreas Jaeger <aj@suse.de>
22168 * sunrpc/netname.c (netname2host): Fix logic.
22172 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22174 * math/w_remainder.c (__remainder): Likewise.
22175 * math/w_remainderf.c (__remainderf): Likewise.
22176 * math/libm-test.inc (remainder_test): Add test cases.
22178 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22180 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22183 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22185 * string/test-memcmp.c: Avoid unncessary #defines.
22186 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22188 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22190 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22191 Use new sse2 version for core i3 - i7 as it's faster
22192 than sse42 version.
22193 (bit_Prefer_PMINUB_for_stringop): New.
22194 * sysdeps/x86_64/rawmemchr.S: Update.
22195 Replace with faster SSE2 version.
22196 * sysdeps/x86_64/memrchr.S: New file.
22197 * sysdeps/x86_64/memchr.S: Update.
22198 Replace with faster SSE2 version.
22200 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22202 * elf/dl-load.c (lose): Add cast to avoid warning.
22204 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22206 * po/ca.po: Update from translation team.
22208 * inet/getnetgrent_r.c: Hook up nscd.
22209 * nscd/Makefile (routines): Add nscd_netgroup.
22210 (nscd-modules): Add netgroupcache.
22211 (CFLAGS-netgroupcache.c): Define.
22212 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22213 (cache_search): Add const to second parameter.
22214 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22216 (dbs): Add netgrdb entry.
22217 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22218 (verify_persistent_db): Handle netgrdb.
22219 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22220 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22222 (netgroup_response_header): Define.
22223 (innetgroup_response_header): Define.
22224 (datahead): Add netgroup_response_header and innetgroup_response_header
22226 * nscd/nscd.conf: Add entries for netgroup cache.
22227 * nscd/nscd.h (dbtype): Add netgrdb.
22228 (_PATH_NSCD_NETGROUP_DB): Define.
22229 (netgroup_iov_disabled): Declare.
22230 (xmalloc, xcalloc, xrealloc): Move declarations here.
22231 (cache_search): Adjust prototype.
22232 Add netgroup-related prototypes.
22233 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22234 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22235 (__nscd_innetgr): Declare.
22236 * nscd/selinux.c (perms): Use access_vector_t as element type and
22237 add netgroup-related initializers.
22238 * nscd/netgroupcache.c: New file.
22239 * nscd/nscd_netgroup.c: New file.
22240 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22241 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22242 For four parameters use innetgr.
22243 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22244 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22245 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22246 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22248 * nscd/connections.c (register_traced_file): Don't register file
22249 for disabled databases.
22251 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22253 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22255 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22256 from tree and freeing node.
22258 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22260 * nss/nsswitch.c (__nss_database_lookup): Handle
22261 nss_parse_service_list out of memory case.
22263 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22265 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22266 out of memory case.
22268 2011-10-04 Andreas Schwab <schwab@redhat.com>
22270 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22271 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22273 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22274 elf_machine_rela, elf_machine_lazy_rel.
22275 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22276 (ELF_DYNAMIC_DO_REL): Likewise.
22277 (ELF_DYNAMIC_DO_RELA): Likewise.
22278 (ELF_DYNAMIC_RELOCATE): Likewise.
22279 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22280 to ELF_DYNAMIC_DO_REL.
22281 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22282 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22283 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22285 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22286 skip_ifunc, don't call ifunc function if non-zero.
22287 (elf_machine_rela): Likewise.
22288 (elf_machine_lazy_rel): Likewise.
22289 (elf_machine_lazy_rela): Likewise.
22290 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22291 (elf_machine_lazy_rel): Likewise.
22292 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22294 (elf_machine_lazy_rel): Likewise.
22295 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22297 (elf_machine_lazy_rel): Likewise.
22298 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22299 (elf_machine_lazy_rel): Likewise.
22300 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22301 (elf_machine_lazy_rel): Likewise.
22302 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22303 (elf_machine_lazy_rel): Likewise.
22304 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22305 (elf_machine_lazy_rel): Likewise.
22306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22307 (elf_machine_lazy_rel): Likewise.
22308 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22309 (elf_machine_lazy_rel): Likewise.
22311 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22313 * nss/nss_files/files-init.c (_nss_files_init): Use static
22314 initialization for all the *_traced_file variables.
22316 2011-09-28 Andreas Schwab <schwab@redhat.com>
22318 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22320 2011-09-27 Roland McGrath <roland@hack.frob.com>
22323 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22325 2011-09-27 Andreas Schwab <schwab@redhat.com>
22327 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22328 Reread the line before reparsing it.
22330 2011-09-26 Andreas Schwab <schwab@redhat.com>
22332 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22334 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22335 Maxim Kuvyrkov <maxim@codesourcery.com>
22336 Joseph Myers <joseph@codesourcery.com>
22338 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22339 if needed for __stack_chk_guard.
22341 2011-09-19 Roland McGrath <roland@hack.frob.com>
22343 * sysdeps/posix/spawni.c (script_execute): Always define it.
22344 It will be optimized away if unused.
22345 (maybe_script_execute): New function.
22346 (__spawni): Call it.
22348 * Makerules: Don't include tls.make.
22349 (config-tls): Always set to thread.
22350 * tls.make.c: File removed.
22352 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22354 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22355 * config.make.in (CPPFLAGS-config): New substituted variable.
22357 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22359 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22362 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22363 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22365 2011-09-15 Roland McGrath <roland@hack.frob.com>
22367 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22368 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22370 (CALL_FAIL): Likewise.
22371 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22372 (CALL_FAIL): Macro removed.
22373 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22375 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22377 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22378 for __FINITE_MATH_ONLY__ == 1.
22380 2011-09-15 Andreas Schwab <schwab@redhat.com>
22382 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22383 __ieee754_sqrt instead of sqrt.
22384 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22385 __ieee754_sqrtf instead of sqrtf.
22386 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22387 __floorf instead of floorf.
22388 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22389 __floorf, __truncf instead of floorf, truncf.
22391 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22393 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22395 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22396 __extern_always_inline.
22397 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22400 2011-09-14 Andreas Schwab <schwab@redhat.com>
22402 * elf/rtld.c (dl_main): Also relocate in dependency order when
22403 doing symbol dependency testing.
22405 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22407 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22408 Always define `refsym'.
22410 2011-09-13 Andreas Schwab <schwab@redhat.com>
22412 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22413 (__FD_ELT): Renamed from __FDELT.
22414 * misc/bits/select2.h (__FD_ELT): Likewise.
22415 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22416 __FD_MASK instead of __FDELT, __FDMASK.
22417 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22419 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22422 * elf/Makefile (gen-ldd): Fix pattern.
22424 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22425 (init_tls): Likewise.
22427 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22431 2011-09-12 Andreas Schwab <schwab@redhat.com>
22433 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22434 `struct cmsghdr *' instead of `void *'.
22435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22438 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22440 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22442 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22443 ldd_rewrite_script.
22445 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22447 * configure.in: Remove --with-tls option.
22448 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22449 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22450 out in case it is missing.
22451 * sysdeps/ia64/elf/configure.in: Likewise.
22452 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22453 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22454 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22455 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22456 * sysdeps/sh/elf/configure.in: Likewise.
22457 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22458 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22459 * sysdeps/x86_64/elf/configure.in: Likewise.
22460 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22461 * sysdeps/mach/hurd/tls.h: Likewise.
22464 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22467 * configure.in: Fix use of AC_INIT.
22469 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22471 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22473 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22475 * malloc/hooks.c: Likewise.
22478 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22479 variables statically.
22480 (narenas): Initialize.
22481 (list_lock): Initialize.
22482 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22483 initializtion of main_arena and list_lock. Small cleanups.
22484 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22485 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22486 Add initializers to main_arena and mp_.
22487 (malloc_state): Remove pagesize member. Change all users to use
22490 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22491 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22492 is always initialized.
22494 * malloc/malloc.c: Removed unused configurations and dead code.
22495 * malloc/arena.c: Likewise.
22496 * malloc/hooks.c: Likewise.
22497 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22499 * include/tls.h: Removed. USE___THREAD must always be defined.
22500 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22501 * elf/dl-libc.c: Likewise.
22502 * elf/dl-tsd.c: Likewise.
22503 * include/errno.h: Likewise.
22504 * include/netdb.h: Likewise.
22505 * include/resolv.h: Likewise.
22506 * inet/herrno-loc.c: Likewise.
22507 * inet/herrno.c: Likewise.
22508 * malloc/arena.c: Likewise.
22509 * malloc/hooks.c: Likewise.
22510 * malloc/malloc.c: Likewise.
22511 * resolv/res-state.c: Likewise.
22512 * resolv/res_libc.c: Likewise.
22513 * sysdeps/i386/dl-machine.h: Likewise.
22514 * sysdeps/ia64/dl-machine.h: Likewise.
22515 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22516 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22517 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22518 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22519 * sysdeps/sh/dl-machine.h: Likewise.
22520 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22521 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22522 * sysdeps/unix/i386/sysdep.S: Likewise.
22523 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22524 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22526 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22529 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22531 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22533 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22534 * sysdeps/x86_64/dl-machine.h: Likewise.
22535 * tls.make.c: Likewise.
22537 * configure.in: Remove --with-__thread option. Make tests for
22538 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22539 tls_model attribute fail if no support is available. Remove
22541 * Makeconfig: Adjust for dropped configure option. All features are
22543 * Makerules: Likewise.
22544 * Versions.def: Likewise.
22545 * argp/argp-fmtstream.c: Likewise.
22546 * argp/argp-fmtstream.h: Likewise.
22547 * argp/argp-help.c: Likewise.
22548 * assert/assert.c: Likewise.
22549 * config.h.in: Likewise.
22550 * config.make.in: Likewise.
22551 * configure: Likewise.
22552 * configure.in: Likewise.
22553 * csu/Versions: Likewise.
22554 * csu/init.c: Likewise.
22555 * elf/tst-audit2.c: Likewise.
22556 * elf/tst-tls10.c: Likewise.
22557 * elf/tst-tls10.h: Likewise.
22558 * elf/tst-tls11.c: Likewise.
22559 * elf/tst-tls12.c: Likewise.
22560 * elf/tst-tls14.c: Likewise.
22561 * elf/tst-tlsmod11.c: Likewise.
22562 * elf/tst-tlsmod12.c: Likewise.
22563 * elf/tst-tlsmod13.c: Likewise.
22564 * elf/tst-tlsmod13a.c: Likewise.
22565 * elf/tst-tlsmod14a.c: Likewise.
22566 * elf/tst-tlsmod15b.c: Likewise.
22567 * elf/tst-tlsmod16a.c: Likewise.
22568 * elf/tst-tlsmod16b.c: Likewise.
22569 * elf/tst-tlsmod7.c: Likewise.
22570 * elf/tst-tlsmod8.c: Likewise.
22571 * elf/tst-tlsmod9.c: Likewise.
22572 * gmon/gmon.c: Likewise.
22573 * grp/fgetgrent_r.c: Likewise.
22574 * grp/putgrent.c: Likewise.
22575 * hurd/fopenport.c: Likewise.
22576 * include/libc-symbols.h: Likewise.
22577 * include/tls.h: Likewise.
22578 * intl/gettextP.h: Likewise.
22579 * intl/loadinfo.h: Likewise.
22580 * locale/global-locale.c: Likewise.
22581 * locale/localeinfo.h: Likewise.
22582 * mach/devstream.c: Likewise.
22583 * malloc/arena.c: Likewise.
22584 * malloc/set-freeres.c: Likewise.
22585 * misc/err.c: Likewise.
22586 * misc/getttyent.c: Likewise.
22587 * misc/mntent_r.c: Likewise.
22588 * posix/getopt.c: Likewise.
22589 * posix/wordexp.c: Likewise.
22590 * pwd/fgetpwent_r.c: Likewise.
22591 * resolv/Versions: Likewise.
22592 * resolv/res_hconf.c: Likewise.
22593 * shadow/fgetspent_r.c: Likewise.
22594 * shadow/putspent.c: Likewise.
22595 * stdio-common/printf_fphex.c: Likewise.
22596 * stdio-common/tmpfile.c: Likewise.
22597 * stdlib/abort.c: Likewise.
22598 * stdlib/fmtmsg.c: Likewise.
22599 * sunrpc/auth_unix.c: Likewise.
22600 * sunrpc/clnt_perr.c: Likewise.
22601 * sunrpc/clnt_tcp.c: Likewise.
22602 * sunrpc/clnt_udp.c: Likewise.
22603 * sunrpc/clnt_unix.c: Likewise.
22604 * sunrpc/openchild.c: Likewise.
22605 * sunrpc/svc_simple.c: Likewise.
22606 * sunrpc/svc_tcp.c: Likewise.
22607 * sunrpc/svc_udp.c: Likewise.
22608 * sunrpc/svc_unix.c: Likewise.
22609 * sunrpc/xdr.c: Likewise.
22610 * sunrpc/xdr_array.c: Likewise.
22611 * sunrpc/xdr_rec.c: Likewise.
22612 * sunrpc/xdr_ref.c: Likewise.
22613 * sunrpc/xdr_stdio.c: Likewise.
22615 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22617 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22619 2011-07-03 Andreas Jaeger <aj@suse.de>
22621 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22622 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22623 regenerate with gen-libm-tests.pl.
22625 2010-05-12 Petr Baudis <pasky@suse.cz>
22628 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22629 around j0() zero points by switching to j1().
22630 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22635 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22637 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22639 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22641 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22642 Patch in part by Pavel Roskin <proski@gnu.org>.
22645 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22647 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22648 Free memory block if necessary.
22651 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22652 be NULL. Don't lock in this case.
22654 2011-09-09 Roland McGrath <roland@hack.frob.com>
22656 * elf/elf.h (ELFOSABI_GNU): New macro.
22657 (ELFOSABI_LINUX): Define to that.
22659 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22661 * string/strncat.c (strncat): Undef the symbol in case it has been
22662 defined in bits/string.h.
22664 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22666 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22668 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22671 2011-08-17 Andreas Jaeger <aj@suse.de>
22673 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22675 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22676 Ian Lance Taylor <iant@google.com>
22678 * math/libm-test.inc (lround_test): New testcase.
22679 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22681 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22683 * Makefile: Remove support for automatic cvs check-ins.
22684 * Makerules: Likewise.
22685 * config.make.in: Likewise.
22686 * configure.in: Likewise.
22687 * intl/Makefile: Likewise.
22688 * locale/Makefile: Likewise.
22689 * po/Makefile: Likewise.
22690 * posix/Makefile: Likewise.
22691 * sysdeps/gnu/Makefile: Likewise.
22692 * sysdeps/mach/hurd/Makefile: Likewise.
22693 * sysdeps/sparc/sparc32/Makefile: Likewise.
22696 * posix/Makefile (bug-regex32-ENV): Define.
22697 Patch by John Stanley <jpsinthemix@verizon.net>.
22699 * misc/Makefile (headers): Add bits/select2.h.
22700 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22701 * misc/bits/select2.h: New file.
22702 * include/bits/select2.h: New file.
22703 * debug/Makefile (routines): Add fdelt_chk.
22704 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22705 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22707 * debug/fdelt_chk.c: New file.
22709 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22710 * wcsmbs/test-wmemcmp.c: Likewise.
22711 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22712 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22714 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22716 * string/Makefile (strop-tests): Add memcmp.
22717 * string/test-wmemcmp.c: New file.
22718 * string/test-memcmp.c: Add wmemcmp support.
22720 2011-09-08 Roland McGrath <roland@hack.frob.com>
22723 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22726 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22727 garbage value in a __mach_port_mod_refs call in the cases of the
22728 task-self and thread-self ports.
22730 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22732 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22734 2011-09-08 Andreas Schwab <schwab@redhat.com>
22736 * elf/dl-load.c (lose): Check for non-null L.
22738 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22740 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22742 * elf/dl-libc.c (dlerror_run): Pass back error code from
22746 * elf/dl-load.c (lose): Free l_origin if it is valid.
22748 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22750 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22751 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22752 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22753 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22754 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22755 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22757 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22759 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22760 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22761 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22762 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22763 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22764 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22765 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22766 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22767 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22768 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22770 2011-08-15 Alan Modra <amodra@gmail.com>
22773 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22774 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22775 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22776 ppc_mcount to static-only-routines.
22777 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22779 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22780 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22782 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22784 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22785 for finite and infinity parameters.
22787 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22789 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22790 and add nop instructions for throughput optimization.
22791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22793 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22795 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22796 aligned copy for power7 with vector-scalar instructions.
22797 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22799 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22804 2011-09-07 Andreas Schwab <schwab@redhat.com>
22807 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22810 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22812 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22813 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22814 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22815 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22818 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22820 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22821 Forgot to demangle the pointer.
22823 * sysdeps/i386/sysdep.h: Define atom_text_section.
22824 * sysdeps/x86_64/sysdep.h: Likewise.
22825 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22826 section with atom_text_section.
22827 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22828 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22829 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22831 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22833 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22834 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22835 already be defined. Change to take two parameters and don't assign
22836 result to variable. Adjust all users.
22837 Define INTERNAL_GETTIME if not already defined.
22838 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22841 HAVE_CLOCK_GETTIME_VSYSCALL.
22842 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22844 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22845 gettimeofday vsyscall, just use time.
22847 2011-09-06 Andreas Schwab <schwab@redhat.com>
22849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22852 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22854 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22856 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22858 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22859 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22860 syscall if possible.
22862 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22864 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22865 e_ident. Don't pass to find_mapsXX.
22866 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22868 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22871 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22872 * sysdeps/x86_64/multiarch/strchr.S: Update.
22873 Check bit_slow_BSF bit.
22874 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22875 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22876 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22878 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22881 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22883 (tryshell): Define.
22884 (__spawni): Change last parameter to be flag. Test
22885 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22886 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22887 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22888 * posix/spawni.c: Likewise.
22889 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22890 * posix/spawnp.c: Likewise. Change normal version to use
22891 SPAWN_XFLAGS_USE_PATH.
22892 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22893 SPAWN_XFLAGS_TRY_SHELL.
22896 * posix/glob.h: Remove gcc 1.x support.
22899 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22901 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22904 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22906 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22907 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22908 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22909 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22910 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22911 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22913 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22915 * sysdeps/x86_64/wcscmp.S: New file.
22917 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22918 wcscmp-c wcscmp-sse2
22919 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22920 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22921 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22922 * wcsmbs/wcscmp.c: Allow renaming.
22924 2011-09-05 David S. Miller <davem@davemloft.net>
22926 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22927 stack slot, rather than the struct return pointer slot.
22928 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22929 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22931 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22933 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22935 * po/ja.po: Update from translation team.
22938 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22939 kernel in 64-bit binaries.
22941 2011-09-01 David S. Miller <davem@davemloft.net>
22943 * elf/elf.h (HWCAP_SPARC_*): Move to..
22944 * sysdeps/sparc/sysdep.h: this new file and add new values.
22945 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22946 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22947 _DL_HWCAP_COUNT to 24.
22948 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22950 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22951 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22952 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22953 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22954 instead of magic constants.
22955 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22957 2011-08-31 David S. Miller <davem@davemloft.net>
22959 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22961 Reimplement to do errno handling inline.
22962 (SYSCALL_ERROR_HANDLER): New macro.
22963 (__SYSCALL_STRING): Do not do errno handling in asm.
22964 (__CLONE_SYSCALL_STRING): Delete.
22965 (__INTERNAL_SYSCALL_STRING): Delete.
22966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22967 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22968 (PSEUDO): Reimplement to do errno handling inline.
22969 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22970 (SYSCALL_ERROR_HANDLER): New macro.
22971 (__SYSCALL_STRING): Do not do errno handling in asm.
22972 (__CLONE_SYSCALL_STRING): Delete.
22973 (__INTERNAL_SYSCALL_STRING): Delete.
22974 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22975 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22977 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22978 (inline_syscall*): Add 'err' argument.
22979 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22980 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22981 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22982 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22984 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22985 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22987 2011-08-30 Andreas Schwab <schwab@redhat.com>
22989 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22991 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22993 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22996 2011-08-24 David S. Miller <davem@davemloft.net>
22998 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23000 2011-08-24 Andreas Schwab <schwab@redhat.com>
23002 * elf/Makefile: Add rules to build and run unload8 test.
23003 * elf/unload8.c: New file.
23004 * elf/unload8mod1.c: New file.
23005 * elf/unload8mod1x.c: New file.
23006 * elf/unload8mod2.c: New file.
23007 * elf/unload8mod3.c: New file.
23009 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23012 2011-08-23 David S. Miller <davem@davemloft.net>
23014 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23015 subtract stack bias.
23016 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23017 %sp not %fp in calculations.
23018 (_JMPBUF_UNWINDS_ADJ): Likewise.
23020 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23021 (aio_suspend): Call it to force an exception region around the
23022 AIO_MISC_WAIT() invocation.
23024 2011-08-23 Andreas Schwab <schwab@redhat.com>
23026 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23029 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23031 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23033 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23034 and <dl-machine.h>.
23035 (Elf64_FuncDesc): Remove.
23037 2011-08-22 David S. Miller <davem@davemloft.net>
23039 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23040 sigaltstack check, add missing cfi directives.
23041 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23042 missing cfi directives, and sigaltstack handling.
23044 2011-08-16 Andreas Schwab <schwab@redhat.com>
23047 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23048 object is seen twice.
23049 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23051 * elf/Makefile (distribute): Add tst-initorder2.c.
23052 (tests): Add tst-initorder2.
23053 (modules-names): Add tst-initorder2a tst-initorder2b
23054 tst-initorder2c tst-initorder2d. Add rules to build them.
23055 ($(objpfx)tst-initorder2.out): New rule.
23056 * elf/tst-initorder2.c: New file.
23057 * elf/tst-initorder2.exp: New file.
23059 2011-08-22 Andreas Schwab <schwab@redhat.com>
23061 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23063 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23064 dependencies back to end of function.
23066 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23067 $(elfobjdir)/ld.so.
23069 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23071 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23072 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23073 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23074 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23075 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23076 of __vdso_gettimeofday.
23077 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23078 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23080 (_libc_vdso_platform_setup): Remove initialization of
23081 __vdso_gettimeofday and __vdso_time.
23083 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23085 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23086 and fgetc_unlocked.
23087 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23090 * elf/dl-open.c (add_to_global): Report additions to the global scope
23091 for LD_DEBUG=scopes.
23092 (dl_open_worker): Also print scope of newly loaded dependencies.
23093 (_dl_show_scope): Indicate if there is no scope.
23096 * stdio-common/Makefile (tests): Add bug24.
23097 * stdio-common/bug24.c: New file.
23099 2011-08-19 Andreas Jaeger <aj@suse.de>
23102 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23103 non-existant file when using close-on-exec mode.
23105 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23108 the very first instruction.
23110 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23111 the CFI state in the end.
23112 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23113 inclusion of dl-trampoline.h.
23114 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23116 2011-08-19 Andreas Schwab <schwab@redhat.com>
23118 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23119 expectations for long double.
23121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23122 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23124 2011-08-14 David S. Miller <davem@davemloft.net>
23126 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23127 artificual limit depends upon the system page size.
23129 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23131 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23132 * resolv/Makefile: Define CFLAGS-libresolv.
23134 2011-08-17 Andreas Schwab <schwab@redhat.com>
23136 * nss/makedb.c (compute_tables): Make variables used in nested
23139 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23141 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23142 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23143 if buffer was too small.
23145 * elf/pldd.c (main): Attach to all threads in the process.
23146 Rewrite /proc handling to use *at functions.
23148 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23150 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23151 specifies first scope to show.
23152 (dl_open_worker): Update callers. Move printing scope of new
23153 object to before the relocation.
23154 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23155 * sysdeps/generic/ldsodefs.h: Update declaration.
23157 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23158 string for the scope number.
23160 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23162 * nscd/servicescache.c (cache_addserv): Make sure written is always
23165 2011-08-14 Roland McGrath <roland@hack.frob.com>
23167 * sysdeps/i386/i486/bits/atomic.h
23168 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23169 statement expression, so as to suppress "set but not used" warning.
23170 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23172 * string/strncat.c (STRNCAT): Use prototype definition.
23174 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23175 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23177 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23178 (localedef-modules): Add localedef.
23179 (locale-modules): Add locale.
23181 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23182 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23183 to avoid a warning.
23185 2011-08-14 David S. Miller <davem@davemloft.net>
23187 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23188 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23190 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23192 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23193 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23194 * elf/rtld.c (dl_main): Set l_name of vDSO.
23195 Call _dl_show_scope when DL_DEBUG_SCOPES.
23196 (process_dl_debug): Recognize scopes flag and also set it for all.
23197 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23198 Declare _dl_show_scope.
23200 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23201 (do_dlopen): Pass caller_dlopen to dl_open.
23202 (__libc_dlopen_mode): Initialize caller_dlopen.
23204 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23205 of libc. Make tolower call locale-independent. Optimize a bit by
23206 using isdigit instead of isalnum.
23207 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23209 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23211 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23212 was a dependency or dynamically loaded.
23214 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23216 * intl/l10nflist.c: Allow architecture-specific pop function.
23217 * sysdeps/x86_64/l10nflist.c: New file.
23219 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23222 2011-08-10 Andreas Schwab <schwab@redhat.com>
23224 * include/dirent.h: Add libc_hidden_proto for scandirat and
23225 scandirat64. Don't declare __scandirat64.
23226 * dirent/scandirat.c: Add libc_hidden_def.
23227 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23228 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23230 2011-08-10 David S. Miller <davem@davemloft.net>
23232 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23234 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23236 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23238 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23240 * Versions.def [libc]: Add GLIBC_2.15.
23241 * dirent/Makefile (routines): Add scandirat and scandirat64.
23242 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23244 * dirent/dirent.h: Declare scandirat and scandirat64.
23245 * dirent/scandirat.c: New file.
23246 * dirent/scandirat64.c: New file.
23247 * sysdeps/wordsize-64/scandirat.c: New file.
23248 * sysdeps/wordsize-64/scandirat64.c: New file.
23249 * dirent/opendir.c: Define opendirat.
23250 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23252 * dirent/scandir64.c: Adjust for scandir.c change.
23253 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23254 __scandirat64, and __scandir_cancel_handler.
23255 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23256 additional parameter and use openat instead of open (outside of ld.so).
23257 Add new __opendir as wrapper around __opendirat.
23258 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23259 here without requiring old scandirat implementation.
23261 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23263 * dirent/scandir.c (cancel_handler): Renamed to
23264 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23265 defined. Adjust users.
23266 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23267 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23269 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23271 * string/test-string.h (IMPL): Use __STRING to expand name and then
23274 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23277 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23279 * string/Makefile: Update.
23280 (strop-tests): Append strncat.
23281 * string/test-wcscmp.c: New file.
23282 New comprehensive test for wcscmp.
23283 * string/test-strcmp.c: Update.
23284 (WIDE): New define.
23286 2011-07-22 Andreas Schwab <schwab@redhat.com>
23288 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23291 2011-07-26 Andreas Schwab <schwab@redhat.com>
23293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23294 encoding to ACE if AI_IDN.
23296 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23298 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23299 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23301 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23303 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23304 Fix overflow bug in strncat.
23305 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23307 * string/test-strncat.c: Update.
23308 Add new tests for checking overflow bugs.
23310 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23313 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23314 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23315 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23316 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23317 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23318 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23319 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23320 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23322 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23323 (USE_AS_STRCAT): Define.
23324 Add strcat and strncat support.
23325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23327 2011-07-25 Andreas Schwab <schwab@redhat.com>
23329 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23330 __n bigger than INT_MAX+1.
23331 (__strncmp_g): Likewise.
23333 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23335 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23336 * libio/stido.h: Likewise.
23338 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23343 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23344 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23345 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23346 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23347 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23350 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23355 (_dl_x86_64_save_sse): Likewise.
23357 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23361 (_dl_x86_64_save_sse): Likewise.
23363 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23365 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23367 2011-07-21 Andreas Schwab <schwab@redhat.com>
23369 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23371 (_dl_x86_64_save_sse): Use correct AVX check.
23373 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23375 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23376 bug in strncpy/strncat.
23377 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23379 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23381 * string/tester.c (test_strcat): Add tests for different alignments
23382 of source and destination.
23383 (test_strncat): Likewise.
23385 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23388 * posix/glob.c (glob): Check passed in values before using them in
23389 expressions to avoid some overflows.
23390 (glob_in_dir): Likewise.
23393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23394 check for AVX enablement so that we don't crash with old kernels and
23396 * elf/tst-audit4.c: Add same checks here.
23397 * elf/tst-audit6.c: Likewise.
23399 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23401 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23403 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23405 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23407 * po/cs.po: Update from translation team.
23408 * po/bg.po: Likewise.
23410 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23412 * misc/sys/cdefs.h: Add support for const attribute.
23413 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23414 to gnu_dev_{major,minor,makedev} functions.
23416 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23418 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23420 2011-07-20 Andreas Schwab <schwab@redhat.com>
23422 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23425 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23428 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23429 register in order to avoid conflicts with the soft frame pointer
23430 being held in r11 when necessary.
23431 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23432 (INTERNAL_VSYSCALL_NCS): Likewise.
23434 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23436 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23437 * elf/dl-fini.c (_dl_fini): Adjust caller.
23438 * elf/dl-close.c (_dl_close_worker): Likewise.
23439 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23441 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23443 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23444 "aux_cache->nlibs < 0".
23446 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23447 in the reload-count case.
23449 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23452 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23453 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23454 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23455 * sysdeps/x86_64/multiarch/strcat.S: New file.
23456 * sysdeps/x86_64/multiarch/strncat.S: New file.
23457 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23458 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23459 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23460 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23461 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23462 (USE_AS_STRCAT): Define.
23463 Add strcat and strncat support.
23464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23465 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23466 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23467 * string/strncat.c: Update.
23468 (USE_AS_STRNCAT): Define.
23469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23470 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23472 * sysdeps/x86_64/multiarch/init-arch.h
23473 (bit_Prefer_PMINUB_for_stringop): New.
23474 (index_Prefer_PMINUB_for_stringop): Likewise.
23475 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23476 bit_Prefer_PMINUB_for_stringop.
23478 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23480 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23482 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23483 of casting of buffer.
23484 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23485 buffer32 and buffer64.
23486 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23487 writes instead of casting of buffer.
23488 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23490 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23493 2011-07-19 Andreas Schwab <schwab@redhat.com>
23495 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23497 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23499 * nscd/nscd.c (termination_handler): Don't do anything for a database
23500 if it has not yet been initialized.
23502 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23504 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23506 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23508 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23510 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23512 * po/nl.po: Update from translation team.
23513 * po/sv.po: Likewise.
23515 2011-07-16 Roland McGrath <roland@hack.frob.com>
23517 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23518 now disallowed by GCC.
23520 * configure.in (use-default-link): Default to yes if a test -shared
23521 link meets our qualifications.
23522 * configure: Regenerated.
23524 * config.make.in (output-format): New variable.
23525 * configure.in: Check for ld --print-output-format support.
23526 * configure: Regenerated.
23527 * Makerules ($(common-objpfx)format.lds)
23528 [$(output-format) != unknown]: Just use $(output-format),
23529 instead of the linker-script munging.
23531 2011-07-14 Roland McGrath <roland@hack.frob.com>
23533 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23534 of $(common-objpfx)shlib.lds.
23535 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23537 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23538 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23540 * configure.in (-z relro check): Adjust test code to add a large
23541 writable data section after it.
23542 * configure: Regenerated.
23544 2011-07-11 Roland McGrath <roland@hack.frob.com>
23546 * configure.in (-z relro check): Fix test code to make the variable
23548 * configure: Regenerated.
23550 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23552 * nscd/nscd.h (struct traced_file): Define.
23553 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23554 elements. Add traced_files.
23555 (inotify_fd): Declare.
23556 (register_traced_file): Declare.
23557 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23558 (inotify_fd): Export.
23559 (resolv_conf_descr): Remove.
23560 (nscd_init): Move inotify descriptor creation to main.
23561 Don't register files for notification here.
23562 (register_traced_file): New function.
23563 (invalidate_cache): Don't use reset_res to determine whether to call
23564 res_init, go through the list of registered files.
23565 (main_loop_poll): The inotify descriptors are now stored in the
23566 structures for the traced files.
23567 (main_loop_epoll): Likewise
23568 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23569 to __nss_disable_nscd.
23570 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23571 for a database anymore. Check the records for all the registered
23573 * nss/Makefile (libnss_files-routines): Add files-init.
23574 (libnss_db-routines): Add db-init.
23575 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23576 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23577 * nss/nss_db/db-init.c: New file.
23578 * nss/nss_files/files-init.c: New file.
23579 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23580 __nss_lookup_function.
23581 (__nss_lookup_function): Call nss_load_library.
23582 (nss_load_all_libraries): New function.
23583 (__nss_disable_nscd): Take parameter with callback function for files
23584 to register. Set is_nscd. Load all the DSOs for the NSS modules
23585 used for the cached services.
23586 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23587 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23588 options for features to all the files in nscd.
23590 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23592 2011-07-10 Roland McGrath <roland@hack.frob.com>
23594 * csu/elf-init.c (__libc_csu_init): Comment typo.
23596 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23598 * po/pl.po: Update from translation team.
23599 * po/ja.po: Likewise.
23600 * po/ru.po: Likewise.
23601 * po/ko.po: Likewise.
23602 * po/fr.po: Likewise.
23604 2011-07-09 Roland McGrath <roland@hack.frob.com>
23606 * configure.in (.ctors/.dtors header and trailer check):
23607 Use an empirical test on a built program.
23608 * configure: Regenerated.
23610 * configure.in (-z relro check): Use an empirical test on a built DSO.
23611 Detect, but do not require, on ia64.
23612 * configure: Regenerated.
23614 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23615 Update tests that use readelf to use $READELF instead.
23616 * configure: Regenerated.
23618 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23620 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23621 if the result is not used.
23623 2011-07-05 Andreas Jaeger <aj@suse.de>
23626 * stdlib/tst-strtod.c: Add testcase.
23628 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23630 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23631 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23632 The latter has a higher limit. Take additional parameter to pass to
23634 (__pathconf): Pass file to __statfs_link_max.
23635 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23637 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23641 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23642 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23644 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23645 (__statfs_filesize_max): Likewise.
23646 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23648 2011-07-05 Andreas Jaeger <aj@suse.de>
23650 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23652 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23654 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23656 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23659 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23661 * Makefile (strop-tests): Add strncat.
23662 * string/test-strncat.c: New file.
23664 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23666 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23668 2011-06-21 Andreas Jaeger <aj@suse.de>
23670 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23671 Copy rule from iconvdata/Makefile.
23673 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23676 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23677 but no long options are defined, just return 'W'.
23679 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23682 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23684 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23686 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23688 (innetgr): Likewise.
23690 2011-07-05 Roland McGrath <roland@hack.frob.com>
23692 * config.make.in (install_root): Default to $(DESTDIR).
23694 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23696 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23698 2011-07-02 Roland McGrath <roland@hack.frob.com>
23700 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23702 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23703 containing directory rather than embedding absolute directory names.
23705 * scripts/check-local-headers.sh: Rewritten using awk.
23706 Match by word, not by line. Print error messages for matches.
23707 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23709 * Makerules [shlib-lds-flags empty]:
23710 ($(common-objpfx)libc_pic.opts): New target.
23711 ($(common-objpfx)libc_pic.os.clean): New target.
23712 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23714 * config.make.in (OBJCOPY): New variable.
23715 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23716 * configure: Regenerated.
23718 * config.make.in (use-default-link): New variable.
23719 * configure.in (use_default_link): Grok --with-default-link to set it.
23720 * configure: Regenerated.
23721 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23722 (shlib-lds, shlib-lds-flags): Define to empty.
23724 * Makerules (shlib-lds): New variable.
23725 (shlib-lds-flags): New variable.
23726 (build-shlib, build-moduile, build-module-asneeded): Use it.
23727 ($(common-objpfx)libc.so): Use $(shlib-lds).
23728 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23729 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23731 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23732 DT_FLAGS/DT_FLAGS_1 with zero flags.
23734 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23735 linker script munging.
23737 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23739 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23741 * crypt/sha512.c (sha512_process_block): Perform total addition using
23742 128-bit if possible.
23743 (__sha512_finish_ctx): Likewise.
23744 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23746 * crypt/sha256.c (SWAP64): Define.
23747 (sha256_process_block): Perform total addition using 64-bit if
23749 (__sha256_finish_ctx): Likewise.
23751 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23753 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23754 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23755 * nscd/hstcache.c (cache_addhst): Likewise.
23756 * nscd/grpcache.c (cache_addgr): Likewise.
23757 * nscd/aicache.c (addhstaiX): Likewise
23758 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23760 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23762 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23763 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23764 * nscd/hstcache.c (cache_addhst): Likewise.
23765 * nscd/grpcache.c (cache_addgr): Likewise.
23766 * nscd/aicache.c (addhstaiX): Likewise
23768 2011-07-01 Andreas Schwab <schwab@redhat.com>
23770 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23771 domain only when needed.
23773 2011-06-30 Andreas Schwab <schwab@redhat.com>
23775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23776 is always restored.
23778 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23780 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23781 are re-adding the entry.
23782 * nscd/servicescache.c (cache_addserv): Likewise.
23784 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23786 * sysdeps/generic/dl-irel.h: fix protection against multiple
23788 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23790 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23793 * malloc/memusage.sh: Fix quoting in message.
23794 * debug/xtrace.sh: Likewise.
23796 * configure.in: Remove support for --experimental-malloc option, make
23798 * config.make.in: Likewise.
23799 * malloc/Makefile: Likewise.
23801 2011-06-27 Andreas Schwab <schwab@redhat.com>
23803 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23804 two-byte characters.
23806 2011-06-27 Roland McGrath <roland@hack.frob.com>
23808 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23809 AC_CACHE_CHECK invocation.
23810 * configure: Regenerated.
23812 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23814 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23817 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23818 bit from old_res_options.
23820 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23822 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23823 value type for setfct.
23825 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23827 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23828 __gettimeofday instead of gettimeofday.
23830 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23832 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23834 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23836 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23838 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23841 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23844 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23845 strcpy-sse2-unaligned strncpy-sse2-unaligned
23846 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23847 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23848 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23849 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23850 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23851 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23852 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23853 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23854 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23855 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23856 (STRCPY): Support SSE2 and SSSE3 versions.
23858 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23861 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23862 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23863 kernels which artificially limit size of requests.
23865 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23868 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23869 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23870 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23871 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23872 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23873 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23874 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23875 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23876 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23877 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23878 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23879 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23880 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23881 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23883 Enable unaligned load optimization for Intel Core i3, i5 and i7
23885 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23887 (index_Fast_Unaligned_Load): Define.
23888 (HAS_FAST_UNALIGNED_LOAD): Define.
23890 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23892 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23894 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23897 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23898 until it is clear that the information is realy needed.
23899 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23901 2011-06-22 Andreas Schwab <schwab@redhat.com>
23903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23905 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23907 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23908 /sys/devices/system/cpu/online if it is usable.
23910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23911 reading the information from the /proc filesystem to once a second.
23913 2011-06-21 Andreas Jaeger <aj@suse.de>
23915 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23916 NULL after inclusion of kernel headers.
23918 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23920 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23921 calls to internal_setent.
23924 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23925 addresses using gethostbyname4_r ignore IPv4 addresses.
23927 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23928 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23930 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23932 2011-06-20 David S. Miller <davem@davemloft.net>
23934 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23936 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23938 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23939 (elf_irel): Use it.
23940 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23941 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23942 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23943 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23944 * sysdeps/x86_64/dl-irel.h: Likewise.
23946 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23947 * elf/dl-sym.c: Likewise.
23949 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23951 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23952 need to dereference resplen2.
23954 2011-06-14 Andreas Schwab <schwab@redhat.com>
23956 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23958 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23960 * Makeconfig: Define vardbdir and inst_vardbdir.
23961 * nss/Makefile: Add rules to install db-Makefile.
23963 * nss/nss_db/db-XXX.c: Cleanup.
23965 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23966 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23968 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23969 * nss/makedb.c: Implement -g option to specify that value strings
23970 are generated and should not be added to table iterated over for
23972 * nss/nss_db/db-initgroups.c: New file.
23974 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23977 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23978 (internal_getgrouplist): Adjust to name change.
23979 Update use_initgroups_entry if this is not the first call.
23980 * nss/databases.def: Add initgroups entry.
23982 * nss/makedb.c (compute_tables): Check result of multiple hash table
23983 sizes to minimize maximum chain length.
23985 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23987 * Versions.def: Add entry for libnss_db.
23988 * shlib-versions: Likewise.
23989 * nss/Makefile: Add rules to build libnss_db.
23990 * nss/Versions: Add libnss_db information. Organize libnss_files
23992 * nss/db-Makefile: Add gshadow support. Change rules for the new
23993 makedb progra. Some minor improvements to generate smaller files.
23994 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23996 * nss/makedb.c: ...here.
23997 Improve database format to be smaller and require less memory at
23999 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24001 * nss/nss_db/db-netgrp.c: Likewise.
24002 * nss/nss_db/db-open.c: Likewise.
24003 * nss/nss_files/flies-XXX.x: Adjust comments.
24004 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24005 * nss/nss_files/files-grp.c: Likewise.
24006 * nss/nss_files/files-hosts.c: Likewise.
24007 * nss/nss_files/files-network.c: Likewise.
24008 * nss/nss_files/files-proto.c: Likewise.
24009 * nss/nss_files/files-pwd.c: Likewise.
24010 * nss/nss_files/files-rpc.c: Likewise.
24011 * nss/nss_files/files-service.c: Likewise.
24012 * nss/nss_files/files-sgrp.c: Likewise.
24013 * nss/nss_files/files-spwd.c: Likewise.
24014 * nss/nss_db/db-alias.c: Removed.
24015 * nss/nss_db/dummy-db.h: Removed.
24017 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24019 * nss/makedb.c: Rewritten to not use database library.
24020 * nss/Makefile: Update to build new makedb program.
24022 2011-06-14 Andreas Jaeger <aj@suse.de>
24024 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24025 memset declaration.
24027 2011-06-10 Andreas Schwab <schwab@redhat.com>
24029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24032 2011-06-10 Roland McGrath <roland@hack.frob.com>
24034 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24035 * elf/Makefile ($(objpfx)ld.so): Likewise.
24037 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24038 Don't list ld.so twice in dependencies.
24040 * posix/bug-regex31.c: Include <stdlib.h>.
24042 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24044 * nis/nss_compat/compat-spwd.c
24045 (getspent_next_nss_netgr): Remove unused variable.
24046 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24048 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24049 nonmembers" output to use the right array.
24051 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24053 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24055 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24056 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24057 * catgets/gencat.c (read_input_file): Likewise.
24058 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24060 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24061 variable definition inside #if's controlling its use.
24063 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24065 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24067 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24069 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24072 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24074 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24075 * configure: Regenerated.
24077 * Makerules: Revert last change.
24078 * elf/Makefile: Likewise.
24080 2011-06-09 Roland McGrath <roland@hack.frob.com>
24082 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24083 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24084 (reloc-link): Likewise.
24086 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24088 * elf/Makefile: Add rules to build pldd.
24089 * elf/pldd.c: New file.
24090 * elf/pldd-xx.c: New file.
24092 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24094 * version.h: Update for 2.15 development version.
24096 2011-06-07 David S. Miller <davem@davemloft.net>
24098 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24100 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24101 elf_machine_lazy_rel): Likewise.
24102 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24103 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24104 elf_machine_lazy_rel): Likewise.
24105 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24106 dl_hwcap via passed in argument.
24107 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24110 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24112 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24114 2011-06-06 Roland McGrath <roland@hack.frob.com>
24117 * manual/fdl-1.1.texi: New file, verbatim from:
24118 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24119 * manual/lgpl-2.1.texi: New file, verbatim from:
24120 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24121 * manual/Makefile (licenses): New variable, list those new file names.
24123 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24125 * manual/fdl.texi: File removed.
24126 * manual/lesser.texi: File removed.
24127 * manual/libc.texinfo (Copying, Documentation License):
24128 Use new @include file names, put @appendix directive before @include.
24130 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24133 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24134 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24135 (mq_open): Add __NTH.
24137 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24140 Assume Intel Core i3/i5/i7 processor if AVX is available.
24142 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24144 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24147 2011-05-31 Andreas Schwab <schwab@redhat.com>
24149 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24150 memory. Use alloca_account. Fix memory leak when retrying.
24152 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24154 * version.h (RELEASE): Bump for 2.14 release.
24155 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24157 * config.make.in (RANLIB): Remove entry.
24159 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24161 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24162 (libc.pot): Work around missing support for .ksh extension in xgettext.
24165 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24166 if both request failed.
24167 (send_dg): In case of server errors clear resplen or *resplen2.
24170 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24171 when there are multiple maps.
24172 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24173 (_dl_fini): Remove test here.
24175 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24177 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24180 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24181 bit from old_res_options.
24182 (gaih_inet): Likewise.
24185 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24188 * resolv/res_init.c (res_setoptions): Make the code more compact.
24191 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24195 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24197 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24200 * malloc/malloc.h: Declare malloc hook variables as volatile.
24202 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24206 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24207 raise in the comment.
24208 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24209 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24210 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24212 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24215 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24216 grow the buffers more if it already has to be sufficient.
24217 (build_wcs_upper_buffer): Likewise.
24218 * posix/regexec.c (check_matching): Likewise.
24219 (clean_state_log_if_needed): Likewise.
24220 (extend_buffers): Don't enlarge buffers beyond size of the input
24222 Patches mostly by Emil Wojak <emil@wojak.eu>.
24223 * posix/bug-regex32.c: New file.
24224 * posix/Makefile (tests): Add bug-regex32.
24226 * locale/findlocale.c (_nl_find_locale): Return right away if
24227 _nl_explode_name failed.
24228 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24230 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24232 * debug/xtrace.sh: Unify messages.
24233 * malloc/memusage.sh: Likewise.
24236 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24237 time symbol from vDSO. Substitute with vsyscall if not available.
24238 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24241 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24242 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24243 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24244 Add sendmmsg and internal_sendmmsg.
24245 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24246 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24247 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24249 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24250 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24253 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24256 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24257 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24259 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24263 * iconvdata/Makefile (tests): Add bug-iconv9.
24264 * iconvdata/bug-iconv9.c: New file.
24266 2011-05-27 Andreas Schwab <schwab@redhat.com>
24269 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24271 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24273 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24274 (struct user_regs_struct): Change intcs field back to cs.
24276 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24278 * po/ja.po: Update from translation team.
24280 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24283 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24284 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24286 2011-05-20 Andreas Schwab <schwab@redhat.com>
24288 * stdlib/longlong.h: Update from GCC.
24290 2011-05-23 Andreas Schwab <schwab@redhat.com>
24292 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24294 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24295 Add parameter name.
24296 (__sysconf): Pass it down.
24298 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24301 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24303 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24304 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24305 add in in __libc_use_alloca calls. Adjust callers.
24306 (glob): Use malloc in some situations.
24308 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24309 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24312 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24314 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24315 and CLOCK_BOOTTIME_ALARM.
24318 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24321 * string/_strerror.c (__strerror_r): Print negative errors as signed
24325 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24326 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24327 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24329 * configure.in: Fix typo in redirection and correct removal of test
24330 files in two cases.
24333 * locale/setlocale.c (new_composite_name): Fix test to check for
24334 identical name of all categories.
24337 * libio/filedoalloc.c (local_isatty): New function.
24338 (_IO_file_doallocate): Use local_isatty.
24339 * stdio-common/perror.c (perror): In case a new stream is used
24340 forward the stream error.
24341 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24344 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24349 * include/alloca.h (extend_alloca_account): Define.
24352 * posix/regex.h: Fix comments with documentation of user-accessible
24353 fields after compilation and describe correct free'ing of pattern
24354 after re_compile_pattern.
24355 Patch by Reuben Thomas <rrt@sc3d.org>.
24357 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24359 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24360 and -mno-altivec to prevent the compiler from using Altivec and/or
24361 VSX instructions when the corresponding registers are not available.
24363 2011-05-19 Andreas Schwab <schwab@redhat.com>
24365 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24367 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24369 * libio/freopen.c (freopen): Use __dup2, not dup2.
24370 * libio/freopen64.c (freopen64): Likewise.
24372 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24375 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24376 * math/Makefile (tests): Add test-powl.
24377 (CFLAGS-test-powl.c): Define.
24378 * math/test-powl.c: New file.
24380 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24382 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24384 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24387 * iconvdata/gb18030.c: Update to GB18020-2005.
24389 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24391 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24392 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24393 Patch by Aharon Robbins <arnold@skeeve.com>.
24396 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24400 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24401 through underflows.
24404 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24405 point to strings before performing equality test for error_one_per_line
24409 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24412 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24413 (struct user_fpregs_struct): Avoid __uint*_t types.
24416 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24417 symbol info. Use it instead of calling _dl_addr locally.
24418 (lock_and_info): New function.
24419 (tr_freehook): Call lock_and_info and pass symbol info as additional
24420 parameter to tr_where.
24421 (tr_mallochook): Likewise.
24422 (tr_reallochook): Likewise.
24423 (tr_memalignhook): Likewise.
24425 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24426 used and couldn't be at all thread-safe.
24428 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24430 * libio/freopen.c (freopen): Don't close old file descriptor
24431 before the new one is opened. Instead dup the new file descriptor
24432 to the old one after the new stream is created.
24433 * libio/freopen64.c (freopen64): Likewise.
24434 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24435 * libio/fileops.c (_IO_new_file_close_it): Handle new
24436 _IO_FLAGS2_NOCLOSE flag.
24437 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24438 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24439 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24440 _IO_FLAGS2_NOCLOSE flag.
24441 * include/unistd.h: Add hidden_proto for dup3.
24442 Define __have_dup3.
24443 * io/dup3.c: Define hidden symbol.
24444 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24447 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24448 when an incomplete long option is used.
24449 * posix/tst-getopt_long1.c: New file.
24450 * posix/Makefile (tests): Add tst-getopt_long1.
24453 * scripts/config.guess: Update from autoconf-2.68.
24454 * scripts/config.sub: Likewise.
24457 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24459 (has_cpuclock): ...this. New function.
24460 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24461 macro here based on has_cpuclock code.
24464 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24465 First byte (not low byte) is now always NUL.
24466 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24469 Use non-cancelable interfaces.
24472 * locale/iso-639.def: Add entry for Sorani.
24475 * include/stdlib.h: Move include protection to the right place.
24476 Define abort_msg_s. Declare __abort_msg with it.
24477 * stdlib/abort.c (__abort_msg): Adjust type.
24478 * assert/assert.c (__assert_fail_base): New function. Majority
24479 of code from __assert_fail. Allocate memory for __abort_msg with
24481 (__assert_fail): Now call __assert_fail_base.
24482 * assert/assert-perr.c: Remove bulk of implementation. Use
24483 __assert_fail_base.
24484 * include/assert.hL Declare __assert_fail_base.
24485 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24487 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24489 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24493 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24494 until all modules are registered in the DTV.
24495 * elf/Makefile: Add rules to build and run tst-tls19.
24496 * elf/tst-tls19.c: New file.
24497 * elf/tst-tls19mod1.c: New file.
24498 * elf/tst-tls19mod2.c: New file.
24499 * elf/tst-tls19mod3.c: New file.
24500 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24503 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24507 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24508 two-byte sequence errors.
24509 * iconvdata/Makefile (tests): Add bug-iconv8.
24510 * iconvdata/bug-iconv8.c: New file.
24513 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24516 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24519 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24520 (dummy_getcfa): New function.
24521 (init): Get _Unwind_GetCFA address, use dummy if not found.
24522 (backtrace_helper): In recursion check, also check whether CFA changes.
24523 (__backtrace): Completely initialize arg.
24525 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24526 storing incomplete byte sequence in state object. Avoid testing for
24527 guaranteed too small input if we know there is enough data available.
24529 2011-05-11 Andreas Schwab <schwab@redhat.com>
24531 * Makeconfig (+link-pie): Indent.
24532 * Rules (binaries-pie): Define if $(have-fpie) and
24534 (binaries-shared): Also filter out $(binaries-pie).
24535 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24536 * nscd/Makefile (others-pie): Add nscd.
24537 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24538 ($(objpfx)nscd): Remove command override.
24539 * login/Makefile (others-pie): Add pt_chown.
24540 ($(objpfx)pt_chown): Remove command override.
24541 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24542 remove command overrides.
24544 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24546 * libio/tst_putwc.c: Fix error messages.
24549 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24550 currently writing and seek to current position when not.
24551 * libio/Makefile (tests): Add bug-fclose1.
24552 * libio/bug-fclose1.c: New file.
24554 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24557 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24558 don't set DF_1_NODELETE here.
24559 (do_lookup_x): When entering new entry test for copy relocation
24560 and if necessary set DF_1_NODELETE flag.
24561 * elf/tst-unique4.cc: New file.
24562 * elf/tst-unique4.h: New file.
24563 * elf/tst-unique4lib.cc: New file.
24564 * elf/Makefile: Add rules to build and run tst-unique4.
24565 Patch by Piotr Bury <pbury@goahead.com>.
24567 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24570 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24573 * misc/mntent_r.c (addmntent): Flush the stream after the output
24576 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24577 (is_trusted_path_normalize): Skip initial colon. Append slash
24578 to empty buffer. Duplicate is_trusted_path code but allow
24579 constructed patch to be prefix.
24580 (is_dst): Allow $ORIGIN followed by /.
24581 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24582 Correct testing of result of is_trusted_path_normalize
24583 (decompose_rpath): Fix warning.
24585 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24588 * grp/initgroups.c (internal_getgrouplist): When we found the service
24589 list through the initgroups entry in nsswitch.conf do not always
24590 continue on a successful lookup. Don't always use the
24591 __nss_group_database value if it is set.
24592 * nss/nsswitch.conf (initgroups): Change action for successful db
24593 lookup to continue for compatibility.
24595 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24598 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24600 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24602 * iconvdata/tst-tables.sh: Likewise.
24603 * iconvdata/cp770.c: New file.
24604 * iconvdata/cp771.c: New file.
24605 * iconvdata/cp772.c: New file.
24606 * iconvdata/cp773.c: New file.
24607 * iconvdata/cp774.c: New file.
24608 * iconvdata/testdata/CP770: New file.
24609 * iconvdata/testdata/CP770..UTF8: New file.
24610 * iconvdata/testdata/CP771: New file.
24611 * iconvdata/testdata/CP771..UTF8: New file.
24612 * iconvdata/testdata/CP772: New file.
24613 * iconvdata/testdata/CP772..UTF8: New file.
24614 * iconvdata/testdata/CP773: New file.
24615 * iconvdata/testdata/CP773..UTF8: New file.
24616 * iconvdata/testdata/CP774: New file.
24617 * iconvdata/testdata/CP774..UTF8: New file.
24619 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24621 * iconvdata/gen-8bit-gap.sh: Likewise.
24622 * iconvdata/gen-8bit.sh: Likewise.
24624 * locale/iso-639.def: Add ary entry.
24627 * locale/C-translit.h.in: Add U20A1 transliteration.
24630 * locale/iso-639.def: Add wae entry.
24631 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24634 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24638 * locale/C-translit.h.in: Add entry for U20B9.
24639 Patch by pravin.d.s@gmail.com.
24641 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24644 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24645 ENAMETOOLONG use generic getcwd.
24646 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24647 in rtld. Use *stat64.
24648 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24649 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24650 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24651 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24652 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24653 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24654 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24655 __fstatat64 macros.
24656 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24657 * dirent/rewinddir.c: Add libc_hidden_def.
24658 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24659 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24661 * include/dirent.h (__alloc_dir): Add flags parameter.
24662 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24663 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24665 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24666 from fdopendir if O_CLOEXEC is already set.
24668 2011-03-15 Alan Modra <amodra@gmail.com>
24670 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24671 l_tls_firstbyte_offset non-zero. Save padding offset in
24672 l_tls_firstbyte_offset for later use.
24673 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24674 freeing static tls block.
24676 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24678 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24679 where #ifdef was intended. The intent is to prevent ARG_MAX from
24680 being defined by the kernel headers.
24682 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24685 * resolv/resolv.h: Define RES_NOTLDQUERY.
24686 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24687 no-tld-query and set RES_NOTLDQUERY.
24688 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24689 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24690 modern BIND to search name as TLD unless forbidden.
24692 2011-05-07 Petr Baudis <pasky@suse.cz>
24693 Ulrich Drepper <drepper@gmail.com>
24696 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24697 (is_trusted_path): ...to here.
24698 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24699 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24700 using is_trusted_path_normalize() in setuid scripts.
24702 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24704 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24705 __BEGIN/__END_DECLS.
24707 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24709 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24710 NSS_STATUS_NOTFOUND if no record was found.
24712 2011-05-05 Andreas Schwab <schwab@redhat.com>
24714 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24715 (headers-not-in-tirpc): Remove rpc/netdb.h
24716 * resolv/netdb.h: Revert last change.
24718 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24720 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24721 circular dependency between libgcc.a and libc.a.
24723 2011-05-05 Andreas Schwab <schwab@redhat.com>
24725 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24726 * nis/Makefile: Don't install rpcsvc/*.
24727 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24728 instead of <rpc/types.h>.
24729 (MAXHOSTNAMELEN): Define.
24731 2011-05-03 Andreas Schwab <schwab@redhat.com>
24733 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24735 2011-04-28 Maciej Babinski <mbabinski@google.com>
24738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24739 gethostbyname4_r when IPv6 results are possible.
24741 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24744 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24745 _PC_PIPE_BUF handling.
24747 2011-04-30 Bruno Haible <bruno@clisp.org>
24750 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24751 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24753 * inet/getnameinfo.c (getnameinfo): Likewise.
24755 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24757 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24758 to groups setting in database lookup.
24759 * nss/nsswitch.conf: Add initgroups entry.
24761 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24764 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24766 Patch by Eric Blake <eblake@redhat.com>.
24768 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24770 * sunrpc/Makefile (need-export-routines): Add svc_run.
24771 (routines): Remove svc_run.
24772 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24773 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24774 * sunrpc/svc_run.c (svc_run): Likewise.
24775 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24777 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24779 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24780 problem in reallocation in last patch.
24782 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24784 * sunrpc/Makefile: Move inclusion of Rules.
24786 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24788 * nss/nss_files/files-initgroups.c: New file.
24789 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24790 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24791 _nss_files_initgroups_dyn.
24793 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24795 * elf/elf.h (R_ARM_IRELATIVE): Define.
24797 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24799 * po/ru.po: Update from translation team.
24801 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24803 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24806 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24809 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24810 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24811 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24812 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24813 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24815 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24817 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24819 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24820 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24821 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24823 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24826 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24828 * stdlib/bug-getcontext.c: New file.
24829 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24831 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24833 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24834 instructions into .machine "z9-109".
24835 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24836 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24838 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24840 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24841 between environment variables and auxiliary vector.
24843 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24845 * Makefile: Add rules to build linkobj/libc.so.
24846 * include/libc-symbols.h: Define libc_hidden_nolink.
24847 * include/rpc/auth.h: Mark functions which are to be hidden.
24848 * include/rpc/auth_des.h: Likewise.
24849 * include/rpc/auth_unix.h: Likewise.
24850 * include/rpc/clnt.h: Likewise.
24851 * include/rpc/des_crypt.h: Likewise.
24852 * include/rpc/key_prot.h: Likewise.
24853 * include/rpc/pmap_clnt.h: Likewise.
24854 * include/rpc/pmap_prot.h: Likewise.
24855 * include/rpc/pmap_rmt.h: Likewise.
24856 * include/rpc/rpc_msg.h: Likewise.
24857 * include/rpc/svc.h: Likewise.
24858 * include/rpc/svc_auth.h: Likewise.
24859 * include/rpc/xdr.h: Likewise.
24860 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24861 * nss/Makefile: Likewise.
24862 * sunrpc/Makefile: Don't install headers. Build library with normal
24863 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24864 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24865 for the compat linking library. Remove use of INTDEF/INTUSE.
24866 * sunrpc/auth_none.c: Likewise.
24867 * sunrpc/auth_unix.c: Likewise.
24868 * sunrpc/authdes_prot.c: Likewise.
24869 * sunrpc/authuxprot.c: Likewise.
24870 * sunrpc/clnt_gen.c: Likewise.
24871 * sunrpc/clnt_perr.c: Likewise.
24872 * sunrpc/clnt_raw.c: Likewise.
24873 * sunrpc/clnt_simp.c: Likewise.
24874 * sunrpc/clnt_tcp.c: Likewise.
24875 * sunrpc/clnt_udp.c: Likewise.
24876 * sunrpc/clnt_unix.c: Likewise.
24877 * sunrpc/des_crypt.c: Likewise.
24878 * sunrpc/des_soft.c: Likewise.
24879 * sunrpc/get_myaddr.c: Likewise.
24880 * sunrpc/key_call.c: Likewise.
24881 * sunrpc/key_prot.c: Likewise.
24882 * sunrpc/netname.c: Likewise.
24883 * sunrpc/pm_getmaps.c: Likewise.
24884 * sunrpc/pm_getport.c: Likewise.
24885 * sunrpc/pmap_clnt.c: Likewise.
24886 * sunrpc/pmap_prot.c: Likewise.
24887 * sunrpc/pmap_prot2.c: Likewise.
24888 * sunrpc/pmap_rmt.c: Likewise.
24889 * sunrpc/publickey.c: Likewise.
24890 * sunrpc/rpc_cmsg.c: Likewise.
24891 * sunrpc/rpc_common.c: Likewise.
24892 * sunrpc/rpc_dtable.c: Likewise.
24893 * sunrpc/rpc_prot.c: Likewise.
24894 * sunrpc/rpc_thread.c: Likewise.
24895 * sunrpc/rtime.c: Likewise.
24896 * sunrpc/svc.c: Likewise.
24897 * sunrpc/svc_auth.c: Likewise.
24898 * sunrpc/svc_authux.c: Likewise.
24899 * sunrpc/svc_raw.c: Likewise.
24900 * sunrpc/svc_run.c: Likewise.
24901 * sunrpc/svc_simple.c: Likewise.
24902 * sunrpc/svc_tcp.c: Likewise.
24903 * sunrpc/svc_udp.c: Likewise.
24904 * sunrpc/svc_unix.c: Likewise.
24905 * sunrpc/svcauth_des.c: Likewise.
24906 * sunrpc/xcrypt.c: Likewise.
24907 * sunrpc/xdr.c: Likewise.
24908 * sunrpc/xdr_array.c: Likewise.
24909 * sunrpc/xdr_float.c: Likewise.
24910 * sunrpc/xdr_intXX_t.c: Likewise.
24911 * sunrpc/xdr_mem.c: Likewise.
24912 * sunrpc/xdr_rec.c: Likewise.
24913 * sunrpc/xdr_ref.c: Likewise.
24914 * sunrpc/xdr_sizeof.c: Likewise.
24915 * sunrpc/xdr_stdio.c: Likewise.
24917 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24920 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24921 * sysdeps/ia64/dl-tls.h: Likewise.
24922 * sysdeps/powerpc/dl-tls.h: Likewise.
24923 * sysdeps/s390/dl-tls.h: Likewise.
24924 * sysdeps/sh/dl-tls.h: Likewise.
24925 * sysdeps/sparc/dl-tls.h: Likewise.
24926 * sysdeps/x86_64/dl-tls.h: Likewise.
24927 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24929 2011-03-14 Andreas Schwab <schwab@redhat.com>
24931 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24932 rpath element also skip the following colon.
24933 (expand_dynamic_string_token): Add is_path parameter and pass
24934 down to DL_DST_REQUIRED and _dl_dst_substitute.
24935 (decompose_rpath): Call expand_dynamic_string_token with
24936 non-zero is_path. Ignore empty rpaths.
24937 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24940 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24945 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24948 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24949 Patch by Filipe David Manana <fdmanana@apache.org>.
24951 2011-04-07 Andreas Schwab <schwab@redhat.com>
24953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24954 Maintain aligned stack.
24955 (CHECK_RSP): Remove unused macro.
24957 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24959 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24960 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24962 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24964 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24966 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24968 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24971 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24972 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24973 * sysdeps/x86_64/memmove.c: New file.
24974 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24975 (memcpy): Renamed to ...
24976 (__new_memcpy): This.
24977 (memcpy): Provide GLIBC_2_14 memcpy.
24978 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24979 (memcpy): Provide GLIBC_2_2_5 memcpy.
24981 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24984 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24986 2011-03-30 Andreas Schwab <schwab@redhat.com>
24988 * misc/syncfs.c: New file.
24989 * misc/Makefile (routines): Add syncfs.
24990 * posix/unistd.h: Declare syncfs.
24991 * sysdeps/unix/syscalls.list: Add syncfs.
24993 2011-04-01 Andreas Schwab <schwab@redhat.com>
24995 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24998 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25000 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25002 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25005 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25007 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25008 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25009 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25011 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25013 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25015 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25016 sync_file_range.c with -fexceptions.
25017 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25018 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25019 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25020 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25021 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25022 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25023 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25024 sync_file_range as cancellation point
25025 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25026 now a wrapper around __call_sync_file_range with cancellation handling.
25027 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25028 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25029 function name to __call_sync_file_range.
25030 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25031 Add call_sync_file_range.
25033 2011-04-01 Andreas Schwab <schwab@redhat.com>
25035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25038 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25040 * iconv/iconv.h: Fix typo in comment.
25041 * io/fcntl.h: Likewise.
25042 * libio/stdio.h: Likewise.
25043 * posix/spawn.h: Likewise.
25044 * posix/unistd.h: Likewise.
25045 * stdlib/stdlib.h: Likewise.
25046 * time/time.h: Likewise.
25047 * wcsmbs/wchar.h: Likewise.
25049 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25050 open_by_handle): Add.
25051 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25052 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25053 Augment a few comments.
25054 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25055 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25056 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25059 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25062 * io/fcntl.h (AT_EMPTY_PATH): Define.
25064 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25066 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25067 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25068 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25070 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25071 * Versions.def: Add GLIBC_2.14.
25072 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25075 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25077 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25079 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25081 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25084 * string/test-strncmp.c (do_page_test): New function.
25085 (check2): Likewise.
25086 (test_main): Call check2.
25087 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25089 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25092 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25093 Handle cache information in CPU leaf 4.
25094 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25096 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25099 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25100 character representation.
25101 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25103 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25105 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25106 END(__isnan) to END(__isnanf) to match function entry point/label
25107 EALIGN(__isnanf,...).
25109 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25111 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25113 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25116 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25117 copy from the symbol referenced in the relocation to initialize the
25119 Patch by Piotr Bury <pbury@goahead.com>.
25120 * elf/Makefile: Add rules to build and tst-unique3.
25121 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25122 * elf/tst-unique3.cc: New file.
25123 * elf/tst-unique3.h: New file.
25124 * elf/tst-unique3lib.cc: New file.
25125 * elf/tst-unique3lib2.cc: New file.
25127 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25129 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25131 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25132 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25135 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25137 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25138 to-be-loaded object along a path to loader is ld.so.
25140 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25141 Ulrich Drepper <drepper@gmail.com>
25143 * sysdeps/x86_64/memset.S: After aligning destination, code
25144 branches to different locations depending on the value of
25145 misalignment, when multiarch is enabled. Fix this.
25147 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25149 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25150 Set _x86_64_preferred_memory_instruction for AMD processsors.
25151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25152 Set bit_Prefer_SSE_for_memop for AMD processors.
25154 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25156 * libio/fmemopen.c (fmemopen): Optimize a bit.
25158 2011-03-03 Andreas Schwab <schwab@redhat.com>
25160 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25162 2011-03-03 Roland McGrath <roland@redhat.com>
25164 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25166 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25168 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25169 __bzero_ultra1 instead of __memset_ultra1.
25171 2011-02-23 Andreas Schwab <schwab@redhat.com>
25172 Ulrich Drepper <drepper@gmail.com>
25175 * include/link.h (struct link_map): Add l_orig_initfini.
25176 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25177 returning unsuccessfully.
25178 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25179 close of a file loaded at startup, restore the original l_initfini
25181 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25182 list, store the pointer.
25183 * elf/Makefile ($(objpfx)noload-mem): New rule.
25184 (noload-ENV): Define.
25185 (tests): Add $(objpfx)noload-mem.
25186 * elf/noload.c: Include <memcheck.h>.
25187 (main): Call mtrace. Close all opened handles.
25189 2011-02-17 Andreas Schwab <schwab@redhat.com>
25192 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25193 dependencies are missing.
25195 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25197 Fix __if_freereq crash: Unlike the generic version which uses free,
25199 * sysdeps/mach/hurd/ifreq.h: New file.
25201 2011-01-27 Petr Baudis <pasky@suse.cz>
25202 Ulrich Drepper <drepper@gmail.com>
25205 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25206 to extend_alloca().
25207 * stdio-common/bug23.c: New file.
25208 * stdio-common/Makefile (tests): Add bug23.
25210 2010-09-28 Andreas Schwab <schwab@redhat.com>
25211 Ulrich Drepper <drepper@gmail.com>
25214 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25215 before performing relro protection. At old place add assertion
25216 to make sure nothing changed.
25218 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25219 Glauber de Oliveira Costa <glommer@gmail.com>
25221 * elf/elf.h: Add new ARM TLS relocs.
25223 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25226 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25228 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25230 * sysdeps/wordsize-64/tst-writev.c: New file.
25232 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25234 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25235 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25236 insns in _dl_start to prevent a TOC reference before relocs are
25239 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25242 * Makeconfig: Remove RANLIB definition.
25243 * Makerules: Don't use RANLIB.
25244 * aclocal.m4: Remove ranlib test.
25245 * configure.in: No need to check for ranlib.
25246 * elf/rtld-Rules: Don't use RANLIB.
25248 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25250 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25252 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25253 inclusion protection macro.
25255 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25256 SIGRTMIN and SIGRTMAX and print information in that case only when
25257 SIGRTMIN is defined.
25259 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25261 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25262 arginfo fn returning -1.
25264 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25265 and thousands string is zero terminated.
25267 2011-02-03 Andreas Schwab <schwab@redhat.com>
25269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25270 sysdeps/unix/sysv/linux/bits/socket.h.
25272 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25274 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25275 (__CPU_COUNT): Remove old macros.
25276 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25277 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25278 (__CPU_ALLOC, __CPU_FREE): Add macros.
25279 (__sched_cpualloc, __sched_cpufree): Add declarations.
25281 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25283 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25284 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25285 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25286 (readdhstai): Return value of addhstaiX call.
25287 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25288 (addgrbyX): Return value returned by cache_addgr.
25289 (readdgrbyname): Return value returned by addgrbyX.
25290 (readdgrbygid): Likewise.
25291 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25292 (addpwbyX): Return value returned by cache_addpw.
25293 (readdpwbyname): Return value returned by addhstbyX.
25294 (readdpwbyuid): Likewise.
25295 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25296 (addservbyX): Return value returned by cache_addserv.
25297 (readdservbyname): Return value returned by addservbyX:
25298 (readdservbyport): Likewise.
25299 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25300 (addhstbyX): Return value returned by cache_addhst.
25301 (readdhstbyname): Return value returned by addhstbyX.
25302 (readdhstbyaddr): Likewise.
25303 (readdhstbynamev6): Likewise.
25304 (readdhstbyaddrv6): Likewise.
25305 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25306 (readdinitgroups): Return value returned by addinitgroupsX.
25307 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25308 (prune_cache): Keep track of timeout value of re-added entries.
25309 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25310 * nscd/nscd.h: Adjust prototypes of readd* functions.
25312 2011-02-04 Roland McGrath <roland@redhat.com>
25314 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25315 (nis_stats): Likewise.
25316 * nis/nis_modify.c (nis_modify): Likewise.
25317 * nis/nis_remove.c (nis_remove): Likewise.
25318 * nis/nis_add.c (nis_add): Likewise.
25320 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25322 * posix/fnmatch_loop.c: Add some consts.
25324 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25326 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25329 * config.make.in (config-cflags-novzeroupper): Define.
25330 * configure.in: Substitute libc_cv_cc_novzeroupper.
25331 * elf/Makefile (AVX-CFLAGS): Define.
25332 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25333 (CFLAGS-tst-auditmod4a.c): Likewise.
25334 (CFLAGS-tst-auditmod4b.c): Likewise.
25335 (CFLAGS-tst-auditmod6b.c): Likewise.
25336 (CFLAGS-tst-auditmod6c.c): Likewise.
25337 (CFLAGS-tst-auditmod7b.c): Likewise.
25338 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25340 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25342 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25343 function to the callback.
25344 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25346 2011-02-02 Andreas Schwab <schwab@redhat.com>
25348 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25351 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25354 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25356 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25358 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25361 * elf/Makefile: Add rules to build and run new test.
25362 * elf/tst-initorder.c: New file.
25363 * elf/tst-initorder.exp: New file.
25364 * elf/tst-initordera1.c: New file.
25365 * elf/tst-initordera2.c: New file.
25366 * elf/tst-initordera3.c: New file.
25367 * elf/tst-initordera4.c: New file.
25368 * elf/tst-initorderb1.c: New file.
25369 * elf/tst-initorderb2.c: New file.
25370 * elf/tst-order-a1.c: New file.
25371 * elf/tst-order-a2.c: New file.
25372 * elf/tst-order-a3.c: New file.
25373 * elf/tst-order-a4.c: New file.
25374 * elf/tst-order-b1.c: New file.
25375 * elf/tst-order-b2.c: New file.
25376 * elf/tst-order-main.c: New file.
25377 New test case by George Gensure <werkt0@gmail.com>.
25379 2010-10-01 Andreas Schwab <schwab@redhat.com>
25381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25382 decoding ACE if AI_CANONIDN.
25384 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25386 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25388 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25390 * version.h (RELEASE): Bump for 2.13 release.
25391 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25393 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25395 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25397 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25398 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25399 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25400 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25401 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25402 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25404 * posix/getconf.c: Update copyright year.
25405 * catgets/gencat.c: Likewise.
25406 * csu/version.c: Likewise.
25407 * debug/catchsegv.sh: Likewise.
25408 * debug/xtrace.sh: Likewise.
25409 * elf/ldconfig.c: Likewise.
25410 * elf/ldd.bash.in: Likewise.
25411 * elf/sprof.c (print_version): Likewise.
25412 * iconv/iconv_prog.c: Likewise.
25413 * iconv/iconvconfig.c: Likewise.
25414 * locale/programs/locale.c: Likewise.
25415 * locale/programs/localedef.c: Likewise.
25416 * malloc/memusage.sh: Likewise.
25417 * malloc/mtrace.pl: Likewise.
25418 * nscd/nscd.c (print_version): Likewise.
25419 * nss/getent.c: Likewise.
25421 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25422 PF_CAIF, and PF_ALG.
25423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25425 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25427 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25428 (modules-names): Use them.
25429 (ifunc-test-modules, ifunc-pie-tests): Define.
25430 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25431 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25432 (test-extras): Likewise.
25433 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25434 $(compile-command.c).
25435 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25436 (all-built-dso): Define.
25437 (check-textrel.out, check-execstack.out): Depend on it.
25439 * configure.in: Don't override --enable-multi-arch.
25441 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25444 * nscd/hstcache.c (tryagain): Define.
25445 (cache_addhst): Return tryagain not notfound for temporary errors.
25446 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25449 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25452 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25453 to make the syscall.
25454 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25457 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25458 and fall back to matching as normal character if the string ends before
25459 the matching ']' is found. This is what POSIX requires.
25460 * posix/testfnm.c: Adjust test result.
25461 * posix/globtest.sh: Adjust test result. Add new test.
25462 * posix/tst-fnmatch.input: Likewise.
25463 * posix/tst-fnmatch2.c: Add new test.
25465 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25467 * elf/Makefile (check-execstack): Revert last change. Depend on
25469 (check-execstack.h): New target.
25470 (generated): Add check-execstack.h.
25471 * elf/check-execstack.c: Include "check-execstack.h".
25472 (main): Revert last change.
25473 (handle_file): Return zero if GNU_STACK is absent and
25474 DEFAULT_STACK_PERMS doesn't include PF_X.
25476 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25478 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25479 in child fails because the descriptor is already closed.
25480 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25481 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25482 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25485 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25489 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25490 temporary buffer used to handle multi lookups locally.
25491 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25493 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25495 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25498 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25500 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25501 alignment for SSE2.
25503 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25506 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25507 characters. When rounding increased number of integer digits recompute
25509 * stdio-common/tst-grouping.c: New file.
25510 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25512 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25514 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25515 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25517 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25519 * bits/select.h: Likewise.
25521 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25523 * po/ja.po: Update from translation team.
25525 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25528 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25529 implementation just like for lxstat, fxstatat, et al.
25531 2010-12-27 Jim Meyering <meyering@redhat.com>
25534 * posix/regexec.c (build_trtable): Return failure indication upon
25535 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25537 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25540 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25541 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25542 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25543 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25546 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25549 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25550 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25552 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25554 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25555 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25556 script has SORT_BY_INIT_PRIORITY.
25557 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25558 NO_CTORS_DTORS_SECTIONS is defined.
25559 * elf/soinit.c: Likewise.
25560 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25561 NO_CTORS_DTORS_SECTIONS is defined.
25562 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25563 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25564 * sysdeps/sh/init-first.c: Likewise.
25565 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25567 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25569 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25570 always use the slow path.
25572 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25574 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25575 similar rule which adds the sysdep directories to the header search in
25576 order to pick up the correct platform stackinfo.h.
25577 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25578 perform test if it is, otherwise return successfully without testing.
25579 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25580 DEFAULT_STACK_PERMS define in stackinfo.h.
25581 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25582 defined in stackinfo.h.
25583 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25584 DEFAULT_STACK_PERMS defined in stackinfo.h.
25585 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25586 * sysdeps/ia64/stackinfo.h: Likewise.
25587 * sysdeps/s390/stackinfo.h: Likewise.
25588 * sysdeps/sh/stackinfo.h: Likewise.
25589 * sysdeps/sparc/stackinfo.h: Likewise.
25590 * sysdeps/x86_64/stackinfo.h: Likewise.
25591 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25592 PF_X for powerpc64. Retain PF_X for powerpc32.
25594 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25596 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25598 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25599 GETDENTS_64BIT_ALIGNED.
25601 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25603 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25605 2010-12-10 Andreas Schwab <schwab@redhat.com>
25607 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25610 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25611 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25613 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25614 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25616 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25619 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25622 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25624 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25626 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25628 * po/it.po: Update from translation team.
25630 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25635 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25637 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25639 2010-11-24 Andreas Schwab <schwab@redhat.com>
25641 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25643 (gaih_getanswer_slice): Likewise.
25645 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25649 2010-05-31 Petr Baudis <pasky@suse.cz>
25652 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25653 silently even in the chroot mode.
25655 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25657 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25658 last patch a bit. Pretty printing
25660 2010-05-31 Petr Baudis <pasky@suse.cz>
25663 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25664 initialization of skip_initgroups_dyn.
25666 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25668 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25669 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25671 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25673 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25675 2010-11-11 Andreas Schwab <schwab@redhat.com>
25677 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25678 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25679 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25680 ($(objpfx)tst-fnmatch-mem): New rule.
25681 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25682 * posix/tst-fnmatch.c (main): Call mtrace.
25684 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25687 Support Intel processor model 6 and model 0x2c.
25689 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25691 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25694 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25697 * string/test-strncasecmp.c (check_result): New function.
25698 (do_one_test): Use it.
25699 (check1): New function.
25700 (test_main): Use it.
25701 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25702 Support strcasecmp and strncasecmp.
25704 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25707 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25708 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25710 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25712 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25716 * sysdeps/x86_64/multiarch/bzero.S: New file.
25717 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25718 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25719 * sysdeps/x86_64/multiarch/memset.S: New file.
25720 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25722 Set bit_Prefer_SSE_for_memop for Intel processors.
25723 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25725 (index_Prefer_SSE_for_memop): Define.
25726 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25728 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25730 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25731 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25733 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25736 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25737 (__x86_64_raw_data_cache_size_half): Likewise.
25738 (__x86_64_raw_shared_cache_size): Likewise.
25739 (__x86_64_raw_shared_cache_size_half): Likewise.
25741 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25742 (__x86_64_raw_data_cache_size_half): Likewise.
25743 (__x86_64_raw_shared_cache_size): Likewise.
25744 (__x86_64_raw_shared_cache_size_half): Likewise.
25745 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25746 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25747 and __x86_64_raw_shared_cache_size_half. Round
25748 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25749 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25750 to multiple of 256 bytes.
25752 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25755 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25756 of inacessible symlinks. Verify result of symlink before returning it.
25757 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25758 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25760 2010-10-28 Erich Ritz <erichritz@gmail.com>
25762 * math/math.h (isinf): Fix typo in comment.
25764 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25766 * po/da.po: Update from translation team.
25768 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25770 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25771 is added to the list.
25773 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25774 Ulrich Drepper <drepper@gmail.com>
25776 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25777 the global list here. Move code to...
25778 (_dl_add_to_namespace_list): ...here. New function.
25779 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25780 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25781 * elf/dl-load.c (lose): Don't remove the element from the list.
25782 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25783 (_dl_map_object): Likewise.
25785 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25788 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25789 into all bytes of SSE register.
25790 Patch by Richard Li <richardpku@gmail.com>.
25792 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25795 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25798 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25800 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25801 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25802 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25803 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25808 2010-10-22 Andreas Schwab <schwab@redhat.com>
25810 * include/dlfcn.h (__RTLD_SECURE): Define.
25811 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25812 mode & __RTLD_SECURE instead.
25813 (open_path): Rename preloaded parameter to secure.
25814 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25815 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25816 * elf/dl-deps.c (openaux): Likewise.
25817 * elf/rtld.c (struct map_args): Remove is_preloaded.
25818 (map_doit): Don't use it.
25819 (dl_main): Likewise.
25820 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25821 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25823 2010-09-09 Andreas Schwab <schwab@redhat.com>
25825 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25826 (sysd-rules-targets): Remove duplicates.
25827 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25828 rtld-%.$o dependency.
25830 2010-10-18 Andreas Schwab <schwab@redhat.com>
25832 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25833 _dl_map_object do it.
25835 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25837 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25838 fast fma builtins, define the macros in the C99 standard.
25839 (FP_FAST_FMAF): Likewise.
25840 (FP_FAST_FMAL): Likewise.
25841 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25843 * bits/mathdef.h: Update copyright year.
25844 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25846 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25848 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25849 builtins, define the macros in the C99 standard.
25850 (FP_FAST_FMAF): Likewise.
25851 (FP_FAST_FMAL): Likewise.
25852 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25854 (FP_FAST_FMAF): Likewise.
25856 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25859 * math/libm-test.inc (fma_test): Some new testcases.
25860 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25862 y and infinite z. Do multiplication by C already in long double.
25863 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25865 y and infinite z. Do bitwise or of inexact bit into u.d.
25866 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25867 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25868 * sysdeps/i386/fpu/s_fma.S: Removed.
25869 * sysdeps/i386/fpu/s_fmal.S: Removed.
25871 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25874 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25875 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25876 computation is not scheduled after fetestexcept. Fix value
25877 of minimum denormal long double.
25879 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25882 * math/libm-test.inc (fma_test): Add some more tests.
25883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25886 2010-10-15 Andreas Schwab <schwab@redhat.com>
25888 * scripts/data/localplt-s390-linux-gnu.data: New file.
25889 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25891 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25894 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25895 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25897 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25899 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25901 if one of x and y is very large and the other is subnormal.
25902 * sysdeps/s390/fpu/s_fmaf.c: New file.
25903 * sysdeps/s390/fpu/s_fma.c: New file.
25904 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25905 * sysdeps/powerpc/fpu/s_fma.S: New file.
25906 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25907 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25908 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25910 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25913 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25915 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25916 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25917 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25918 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25919 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25920 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25921 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25923 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25926 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25927 * posix/bug-regex31.input: Add test case.
25929 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25931 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25932 * posix/bug-regex31.input: New file.
25935 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25936 (parse_sub_exp): Fix last change, use postorder.
25938 * posix/bug-regex31.c: New file.
25939 * posix/Makefile: Add rules to build and run bug-regex31.
25941 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25944 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25947 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25948 to have entries in sys_siglist.
25951 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25954 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25957 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25958 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25959 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25960 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25961 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25962 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25963 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25964 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25965 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25966 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25967 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25968 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25969 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25970 * math/ftestexcept.c (fetestexcept): Likewise.
25971 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25972 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25973 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25974 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25975 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25976 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25977 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25979 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25982 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25985 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25987 * string/bug-strstr1.c: New file.
25988 * string/Makefile: Add rules to build and run bug-strstr1.
25990 2010-10-05 Eric Blake <eblake@redhat.com>
25993 * string/str-two-way.h (two_way_long_needle): Always clear memory
25994 when skipping input due to the shift table.
25996 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25999 * malloc/mcheck.c: Handle large requests.
26002 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26003 for strncmp and strncasecmp.
26004 * string/stratcliff.c: Add tests for strcmp and strncmp.
26005 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26007 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26009 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26012 2010-09-30 Andreas Jaeger <aj@suse.de>
26014 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26015 (CGROUP_SUPER_MAGIC): Define.
26016 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26017 Handle btrfs and cgroup file systems.
26018 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26021 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26023 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26024 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26026 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26029 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26030 trying to locate the ELF header.
26032 2010-09-27 Andreas Schwab <schwab@redhat.com>
26035 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26036 Mask out sign-bit copies when constructing f_fsid.
26038 2010-09-24 Petr Baudis <pasky@suse.cz>
26040 * debug/stack_chk_fail_local.c: Add missing licence exception.
26041 * debug/warning-nop.c: Likewise.
26043 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26045 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26046 implementing getdents64 using getdents syscall, set d_type if
26047 __ASSUME_GETDENTS32_D_TYPE.
26049 2010-09-16 Andreas Schwab <schwab@redhat.com>
26051 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26052 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26054 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26057 * posix/unistd.h: Undo change of feature selection for ftruncate from
26060 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26062 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26065 2010-09-20 Andreas Schwab <schwab@redhat.com>
26067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26071 2010-09-14 Andreas Schwab <schwab@redhat.com>
26073 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26074 variables after CHECK_SP call.
26075 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26077 2010-09-13 Andreas Schwab <schwab@redhat.com>
26078 Ulrich Drepper <drepper@redhat.com>
26080 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26081 re-relocationg ld.so.
26082 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26083 _dl_init_paths call.
26084 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26087 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26089 * resolv/res_init.c (__res_vinit): Count the default server we added.
26091 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26092 Ulrich Drepper <drepper@redhat.com>
26095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26096 (____longjmp_chk): Use %ebx for saving value across system call.
26099 2010-09-06 Andreas Schwab <schwab@redhat.com>
26101 * manual/Makefile: Don't mix pattern rules with normal rules.
26103 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26105 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26107 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26108 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26109 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26110 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26111 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26114 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26117 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26118 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26120 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26122 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26123 * sysdeps/x86_64/addmul_1.S: Likewise.
26124 * sysdeps/x86_64/lshift.S: Likewise.
26125 * sysdeps/x86_64/mul_1.S: Likewise.
26126 * sysdeps/x86_64/rshift.S: Likewise.
26127 * sysdeps/x86_64/sub_n.S: Likewise.
26128 * sysdeps/x86_64/submul_1.S: Likewise.
26130 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26132 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26133 Define __sched_param instead of SCHED_* and sched_param when
26134 <bits/sched.h> is included with __need_schedparam defined.
26135 * bits/sched.h [__need_schedparam]
26136 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26137 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26138 (__defined_schedparam): Define to 1.
26139 (__sched_param): New structure, identical to sched_param.
26140 (__need_schedparam): Undefine.
26142 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26144 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26145 (epoll_create1): Declare.
26147 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26149 2010-08-31 Andreas Schwab <schwab@redhat.com>
26152 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26153 shifting retval into place.
26155 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26157 * nis/rpcsvc/nis.h: Update copyright notice.
26158 * nis/rpcsvc/nis.x: Likewise.
26159 * nis/rpcsvc/nis_callback.h: Likewise.
26160 * nis/rpcsvc/nis_callback.x: Likewise.
26161 * nis/rpcsvc/nis_object.x: Likewise.
26162 * nis/rpcsvc/nis_tags.h: Likewise.
26163 * nis/rpcsvc/yp.h: Likewise.
26164 * nis/rpcsvc/yp.x: Likewise.
26165 * nis/rpcsvc/ypupd.h: Likewise.
26166 * nis/yp_xdr.c: Likewise.
26167 * nis/ypupdate_xdr.c: Likewise.
26169 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26170 mainly the body of pmap_getport. Add parameters to specify timeouts.
26171 (pmap_getport): Use __libc_rpc_getport.
26172 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26173 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26174 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26176 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26181 2010-08-27 Roland McGrath <roland@redhat.com>
26183 * sysdeps/i386/i686/multiarch/Makefile
26184 (CFLAGS-varshift.c): New variable.
26186 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26188 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26189 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26193 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26195 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26197 * sysdeps/x86_64/strlen.S: Unroll the loop.
26198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26199 strlen-sse2 strlen-sse2-bsf.
26200 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26201 __strlen_no_bsf if bit_Slow_BSF is set.
26202 (__strlen_sse42): Removed.
26203 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26204 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26206 2010-08-25 Roland McGrath <roland@redhat.com>
26208 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26209 * sysdeps/x86_64/multiarch/varshift.c: New file.
26210 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26211 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26212 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26213 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26215 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26218 strlen-sse2 strlen-sse2-bsf.
26219 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26220 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26221 (__strlen_sse2): Removed.
26222 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26223 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26225 bit_Slow_BSF for Atom.
26226 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26227 (index_Slow_BSF): Define.
26228 (HAS_SLOW_BSF): Define.
26230 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26233 * resolv/res_init.c (__res_vinit): When no server address at all
26234 is given default to loopback.
26236 2010-08-24 Roland McGrath <roland@redhat.com>
26238 * configure.in: Remove config-name.h generation.
26239 * configure: Regenerated.
26240 * config-name.in: File removed.
26241 * scripts/config-uname.sh: New file.
26242 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26243 ($(objdir)config-name.h): New target.
26245 * sunrpc/rpc_parse.h: Avoid nested comment.
26247 2010-08-24 Richard Henderson <rth@redhat.com>
26248 Ulrich Drepper <drepper@redhat.com>
26249 H.J. Lu <hongjiu.lu@intel.com>
26251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26253 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26254 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26255 _mm_alignr_epi8 with _mm_loadu_si128.
26256 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26257 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26258 (__m128i_shift_right): Removed.
26259 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26260 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26261 * sysdeps/x86_64/multiarch/varshift.h: New file.
26262 * sysdeps/x86_64/multiarch/varshift.S: New file.
26264 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26266 * configure.in: Move assembler checks to before sysdep dir checking.
26268 2010-08-20 Petr Baudis <pasky@suse.cz>
26270 * LICENSES: Sync the sunrpc license.
26272 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26274 * sunrpc/auth_des.c: Update copyright notice once again.
26275 * sunrpc/auth_none.c: Likewise.
26276 * sunrpc/auth_unix.c: Likewise.
26277 * sunrpc/authdes_prot.c: Likewise.
26278 * sunrpc/authuxprot.c: Likewise.
26279 * sunrpc/bindrsvprt.c: Likewise.
26280 * sunrpc/clnt_gen.c: Likewise.
26281 * sunrpc/clnt_perr.c: Likewise.
26282 * sunrpc/clnt_raw.c: Likewise.
26283 * sunrpc/clnt_simp.c: Likewise.
26284 * sunrpc/clnt_tcp.c: Likewise.
26285 * sunrpc/clnt_udp.c: Likewise.
26286 * sunrpc/clnt_unix.c: Likewise.
26287 * sunrpc/des_crypt.c: Likewise.
26288 * sunrpc/des_soft.c: Likewise.
26289 * sunrpc/get_myaddr.c: Likewise.
26290 * sunrpc/getrpcport.c: Likewise.
26291 * sunrpc/key_call.c: Likewise.
26292 * sunrpc/key_prot.c: Likewise.
26293 * sunrpc/openchild.c: Likewise.
26294 * sunrpc/pm_getmaps.c: Likewise.
26295 * sunrpc/pm_getport.c: Likewise.
26296 * sunrpc/pmap_clnt.c: Likewise.
26297 * sunrpc/pmap_prot.c: Likewise.
26298 * sunrpc/pmap_prot2.c: Likewise.
26299 * sunrpc/pmap_rmt.c: Likewise.
26300 * sunrpc/rpc/auth.h: Likewise.
26301 * sunrpc/rpc/auth_unix.h: Likewise.
26302 * sunrpc/rpc/clnt.h: Likewise.
26303 * sunrpc/rpc/des_crypt.h: Likewise.
26304 * sunrpc/rpc/key_prot.h: Likewise.
26305 * sunrpc/rpc/netdb.h: Likewise.
26306 * sunrpc/rpc/pmap_clnt.h: Likewise.
26307 * sunrpc/rpc/pmap_prot.h: Likewise.
26308 * sunrpc/rpc/pmap_rmt.h: Likewise.
26309 * sunrpc/rpc/rpc.h: Likewise.
26310 * sunrpc/rpc/rpc_des.h: Likewise.
26311 * sunrpc/rpc/rpc_msg.h: Likewise.
26312 * sunrpc/rpc/svc.h: Likewise.
26313 * sunrpc/rpc/svc_auth.h: Likewise.
26314 * sunrpc/rpc/types.h: Likewise.
26315 * sunrpc/rpc/xdr.h: Likewise.
26316 * sunrpc/rpc_clntout.c: Likewise.
26317 * sunrpc/rpc_cmsg.c: Likewise.
26318 * sunrpc/rpc_common.c: Likewise.
26319 * sunrpc/rpc_cout.c: Likewise.
26320 * sunrpc/rpc_dtable.c: Likewise.
26321 * sunrpc/rpc_hout.c: Likewise.
26322 * sunrpc/rpc_main.c: Likewise.
26323 * sunrpc/rpc_parse.c: Likewise.
26324 * sunrpc/rpc_parse.h: Likewise.
26325 * sunrpc/rpc_prot.c: Likewise.
26326 * sunrpc/rpc_sample.c: Likewise.
26327 * sunrpc/rpc_scan.c: Likewise.
26328 * sunrpc/rpc_scan.h: Likewise.
26329 * sunrpc/rpc_svcout.c: Likewise.
26330 * sunrpc/rpc_tblout.c: Likewise.
26331 * sunrpc/rpc_util.c: Likewise.
26332 * sunrpc/rpc_util.h: Likewise.
26333 * sunrpc/rpcinfo.c: Likewise.
26334 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26335 * sunrpc/rpcsvc/key_prot.x: Likewise.
26336 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26337 * sunrpc/rpcsvc/mount.x: Likewise.
26338 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26339 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26340 * sunrpc/rpcsvc/rex.x: Likewise.
26341 * sunrpc/rpcsvc/rstat.x: Likewise.
26342 * sunrpc/rpcsvc/rusers.x: Likewise.
26343 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26344 * sunrpc/rpcsvc/spray.x: Likewise.
26345 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26346 * sunrpc/rtime.c: Likewise.
26347 * sunrpc/svc.c: Likewise.
26348 * sunrpc/svc_auth.c: Likewise.
26349 * sunrpc/svc_authux.c: Likewise.
26350 * sunrpc/svc_raw.c: Likewise.
26351 * sunrpc/svc_run.c: Likewise.
26352 * sunrpc/svc_simple.c: Likewise.
26353 * sunrpc/svc_tcp.c: Likewise.
26354 * sunrpc/svc_udp.c: Likewise.
26355 * sunrpc/svc_unix.c: Likewise.
26356 * sunrpc/svcauth_des.c: Likewise.
26357 * sunrpc/xcrypt.c: Likewise.
26358 * sunrpc/xdr.c: Likewise.
26359 * sunrpc/xdr_array.c: Likewise.
26360 * sunrpc/xdr_float.c: Likewise.
26361 * sunrpc/xdr_mem.c: Likewise.
26362 * sunrpc/xdr_rec.c: Likewise.
26363 * sunrpc/xdr_ref.c: Likewise.
26364 * sunrpc/xdr_sizeof.c: Likewise.
26365 * sunrpc/xdr_stdio.c: Likewise.
26367 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26370 2010-08-19 Andreas Schwab <schwab@redhat.com>
26372 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26374 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26376 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26377 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26378 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26379 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26380 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26381 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26382 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26383 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26384 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26385 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26386 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26387 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26388 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26389 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26391 2010-07-26 Anton Blanchard <anton@samba.org>
26393 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26394 * malloc/arena.c (heap_trim): Likewise.
26396 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26398 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26400 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26401 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26403 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26405 * sysdeps/i386/elf/Makefile: New file.
26407 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26409 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26410 from fanotify_init.
26411 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26412 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26414 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26416 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26418 * sysdeps/multiarch/strcmp.S: Likewise.
26420 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26422 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26423 strncase_l-nonascii.
26424 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26425 Add strncase_l-ssse3.
26426 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26427 * sysdeps/x86_64/strcmp.S: Likewise.
26428 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26429 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26430 * sysdeps/x86_64/strncase.S: New file.
26431 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26432 * sysdeps/x86_64/strncase_l.S: New file.
26433 * string/Makefile (strop-tests): Add strncasecmp.
26434 * string/test-strncasecmp.c: New file.
26436 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26439 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26440 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26442 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26444 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26446 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26448 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26449 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26450 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26452 2010-05-01 Alan Modra <amodra@gmail.com>
26454 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26455 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26456 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26457 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26458 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26459 tidying. Don't tail-call __sigjmp_save for static lib.
26460 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26462 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26463 (CALL_MCOUNT): Add eh info, and nop after bl.
26464 (TAIL_CALL_SYSCALL_ERROR): New macro.
26465 (PSEUDO_RET): Use it.
26466 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26467 Correct save location of integer regs and cr.
26468 (_dl_profile_resolve): Correct cr save location. Delete nops
26469 after bl when SHARED. Reduce cfi size a little by better
26470 placement of cfi directives.
26471 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26472 make a stack frame. Instead use parm save area as a temp.
26473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26474 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26476 Don't make a stack frame for parent, use parm save area.
26477 Increase child stack frame to 112 bytes. Don't save unused reg,
26478 and adjust reg usage. Set up cfi on error recovery and
26479 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26481 (__makecontext): Add dummy nop after jump to exit.
26482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26483 Use correct parm save area and cr save, reduce stack frame.
26484 Correct cfi for possible PSEUDO_RET frame setup.
26485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26486 Branch to local label emitted by PSEUDO_RET rather than
26489 2010-08-12 Andreas Schwab <schwab@redhat.com>
26492 * locale/programs/locale.c (print_assignment): New function.
26493 (show_locale_vars): Use it.
26495 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26497 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26499 (struct statfs64): Likewise.
26500 (_STATFS_F_FLAGS): Define.
26501 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26502 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26503 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26504 (ST_VALID): Define locally.
26505 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26506 __statvfs_getflags, use the provided value.
26507 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26508 __ASSUME_STATFS_F_FLAGS.
26510 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26512 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26513 Add sys/fanotify.h.
26514 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26515 fanotify_mask for GLIBC_2.13.
26516 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26517 fanotify_init and fanotify_mark.
26518 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26519 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26521 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26523 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26524 prlimit64 for GLIBC_2.13.
26525 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26531 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26532 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26533 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26535 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26538 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26539 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26541 * nss/Makefile: Add rules to build and run tst-nss-test1.
26542 * shlib-versions: Add entry for libnss_test1.
26543 * nss/nss_test1.c: New file.
26544 * nss/tst-nss-test1.c: New file.
26546 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26547 (__nss_configure_lookup): Set appropriate entry in
26548 __nss_configure_lookup to true.
26549 * nss/nsswitch.h: Define enum with indeces of databases in
26550 databases and __nss_database_custom arrays. Declare
26551 __nss_database_custom.
26552 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26553 to avoid using nscd when custom rules are installed.
26554 * nss/getXXbyYY_r.c: Likewise.
26555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26557 * nss/nss_files/files-parse.c: Whitespace fixes.
26559 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26562 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26563 * posix/fnmatch_loop.c: Likewise.
26565 2010-07-17 Andi Kleen <ak@linux.intel.com>
26567 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26568 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26569 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26570 * Versions.def [GLIBC_2.13]: Add.
26572 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26574 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26575 Also fail if tpwd after pwuid call is NULL.
26577 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26579 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26580 when converting to ms.
26582 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26584 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26585 EOPNOTSUPP errors with ENOTTY.
26586 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26587 EOPNOTSUPP errors with ENOTTY.
26589 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26591 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26592 Add strcasecmp_l-ssse3.
26593 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26595 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26596 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26597 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26599 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26601 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26603 * string/Makefile (strop-tests): Add strcasecmp.
26604 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26605 strcasecmp_l-nonascii.
26606 (gen-as-const-headers): Add locale-defines.sym.
26607 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26608 * sysdeps/x86_64/strcasecmp.S: New file.
26609 * sysdeps/x86_64/strcasecmp_l.S: New file.
26610 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26611 * sysdeps/x86_64/locale-defines.sym: New file.
26612 * string/test-strcasecmp.c: New file.
26614 * string/test-strcasestr.c: Test both ends of the range of characters.
26615 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26617 2010-07-29 Roland McGrath <roland@redhat.com>
26620 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26622 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26624 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26627 2010-07-27 Andreas Schwab <schwab@redhat.com>
26629 * manual/memory.texi (Malloc Tunable Parameters): Document
26632 2010-07-26 Roland McGrath <roland@redhat.com>
26635 * configure.in (-fgnu89-inline check): Set and substitute
26636 gnu89_inline, not libc_cv_gnu89_inline.
26637 * configure: Regenerated.
26638 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26640 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26642 * string/test-strnlen.c: New file.
26643 * string/Makefile (strop-tests): Add strnlen.
26644 * string/tester.c (test_strnlen): Add a few more test cases.
26645 * string/tst-strlen.c: Better error reporting.
26647 * sysdeps/x86_64/strnlen.S: New file.
26649 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26651 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26652 lower-latency instructions.
26654 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26656 * string/test-strcasestr.c: New file.
26657 * string/test-strstr.c: New file.
26658 * string/Makefile (strop-tests): Add strstr and strcasestr.
26659 * string/str-two-way.h: Don't undefine MAX.
26660 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26662 2010-07-21 Andreas Schwab <schwab@redhat.com>
26664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26665 strcasestr-nonascii.
26666 (CFLAGS-strcasestr-nonascii.c): Define.
26667 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26668 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26669 Remove unused attribute.
26671 2010-07-20 Roland McGrath <roland@redhat.com>
26673 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26674 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26675 ld.so.cache was broken. With it, there is no way to disable dsocaps
26676 like LD_HWCAP_MASK can disable hwcaps.
26678 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26680 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26682 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26684 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26685 call in strcasestr.
26686 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26687 __strcasestr_sse42_nonascii.
26688 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26689 strcasestr-nonascii.c.
26690 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26692 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26694 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26695 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26696 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26697 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26699 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26701 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26704 2010-07-06 Andreas Schwab <schwab@redhat.com>
26707 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26710 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26712 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26713 _PC_PIPE_BUF using F_GETPIPE_SZ.
26715 2010-07-05 Roland McGrath <roland@redhat.com>
26717 * manual/arith.texi (Rounding Functions): Fix rint description
26718 implicit in round description.
26720 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26722 * elf/Makefile: Fix linking for a few tests to make recent linker
26725 2010-06-30 Andreas Schwab <schwab@redhat.com>
26727 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26728 $(common-objpfx)libc_nonshared.a.
26730 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26732 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26733 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26734 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26735 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26736 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26737 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26738 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26739 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26754 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26755 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26756 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26757 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26758 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26759 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26760 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26761 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26762 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26763 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26764 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26765 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26781 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26783 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26784 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26785 * string/memmove.c (memmove): Renamed to ...
26786 (MEMMOVE): ...this. Default to memmove.
26787 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26788 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26791 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26792 mempcpy-ssse3-back memmove-ssse3-back.
26793 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26795 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26796 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26797 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26798 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26799 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26800 * sysdeps/x86_64/multiarch/memmove.c: New file.
26801 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26802 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26803 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26804 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26805 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26806 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26808 (index_Fast_Copy_Backward): Define.
26809 (HAS_ARCH_FEATURE): Define.
26810 (HAS_FAST_REP_STRING): Define.
26811 (HAS_FAST_COPY_BACKWARD): Define.
26813 2010-06-21 Andreas Schwab <schwab@redhat.com>
26815 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26816 Restore proper fallback handling.
26818 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26821 * posix/group_member.c (__group_member): Correct checking loop.
26823 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26824 OOM in getpwuid_r correctly. Return error number when the caller
26825 should return, otherwise -1.
26826 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26827 call returning > 0 value.
26828 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26830 2010-06-07 Andreas Schwab <schwab@redhat.com>
26832 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26833 libc_nonshared.a from targets in modules-names.
26835 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26837 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26840 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26842 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26843 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26844 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26845 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26847 2010-06-02 Andreas Schwab <schwab@redhat.com>
26849 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26851 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26853 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26855 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26856 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26859 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26860 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26862 2010-06-14 Roland McGrath <roland@redhat.com>
26864 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26866 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26868 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26869 __REDIRECT followed by __THROW.
26870 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26871 * posix/getopt.h (getopt): Likewise.
26873 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26875 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26876 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26877 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26879 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26880 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26882 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26884 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26886 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26890 Properly check family and model.
26892 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26894 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26896 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26898 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26900 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26902 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26905 2010-05-19 Andreas Schwab <schwab@redhat.com>
26907 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26910 2010-05-21 Andreas Schwab <schwab@redhat.com>
26912 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26913 and internal_recvmmsg.
26914 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26915 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26916 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26917 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26919 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26920 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26921 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26923 2010-05-20 Andreas Schwab <schwab@redhat.com>
26925 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26927 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26929 POWER7 optimizations.
26930 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26931 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26933 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26935 * version.h: Update for 2.13 development version.
26937 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26939 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26940 exceptions. Return 0.
26942 2010-05-07 Roland McGrath <roland@redhat.com>
26944 * elf/ldconfig.c (main): Add a const.
26946 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26948 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26949 (args_options): Add no-idn option.
26950 (ahosts_keys_int): Add idn_flags to ai_flags.
26951 (parse_option): Handle 'i' option to clear idn_flags.
26953 * malloc/malloc.c (_int_free): Possible race in the most recently
26954 added check. Only act on the data if no current modification
26957 See ChangeLog.17 for earlier changes.