1 2012-05-18 Andreas Jaeger <aj@suse.de>
2 Carlos O'Donell <carlos_odonell@mentor.com>
4 * manual/install.texi (Configuring and compiling): Update
5 description about files modified in the source directory.
6 * INSTALL: Regenerated.
8 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11 value. Use "or" to set return value to -1.
12 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19 failure if the compiler has Graphite support disabled.
20 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23 CFLAGS-memmove.c): Likewise.
24 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29 * sysdeps/x86_64/x32/_itoa.h: New file.
31 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32 getdents system call only if kernel and user dirents have the
35 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36 LLONG_MAX != LONG_MAX.
37 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38 (_fitoa_word): Likewise.
40 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47 include <bits/wordsize.h>. Check __x86_64__ instead of
49 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50 if __x86_64__ is defined. Use anonymous union on fpstate.
52 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
57 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
59 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60 Refer to _rtld_local_ro instead of _rtld_global_ro.
61 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
69 of _rtld_global, and rtld_progname instead of _dl_argv[0].
71 * sysdeps/powerpc/powerpc32/dl-machine.c
72 (__elf_machine_runtime_setup) [PROF]: Don't reference
75 2012-05-18 Andreas Jaeger <aj@suse.de>
77 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78 function only available for GCCs before 3.4 since GCC 3.4
89 (nearbyint): Likewise.
90 (nearbyintf): Likewise.
96 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
98 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
99 on both fields and cast pointer to __syscall_ulong_t.
101 * bits/types.h (__fsword_t): New type.
102 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
103 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
105 (__FSWORD_T_TYPE): Likewise.
106 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
107 (__FSWORD_T_TYPE): Likewise.
108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
109 (__FSWORD_T_TYPE): Likewise.
110 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
111 (__FSWORD_T_TYPE): Likewise.
112 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
113 __SWORD_TYPE with __fsword_t.
114 (statfs64): Likewise.
116 2012-05-17 David S. Miller <davem@davemloft.net>
118 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
120 2012-05-17 Andreas Jaeger <aj@suse.de>
122 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
125 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
127 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
129 2012-05-17 Andreas Jaeger <aj@suse.de>
131 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
134 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
136 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
138 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
140 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
141 * sysdeps/x86_64/tst-mallocalign1.c: New file.
143 2012-05-17 Andreas Jaeger <aj@suse.de>
144 Carlos O'Donell <carlos_odonell@mentor.com>
147 * sysdeps/x86_64/multiarch/init-arch.h
148 (bit_YMM_Usable): Rename to...
149 (bit_AVX_Usable): ... this.
150 (bit_FMA4_Usable): New macro.
151 (bit_XMM_state): New macro.
152 (bit_YMM_state): New macro.
153 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
154 [__ASSEMBLER__] (index_AVX_Usable): ... this.
155 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
156 (CPUID_OSXSAVE): New macro.
157 (CPUID_AVX): New macro.
158 (CPUID_FMA4): New macro.
159 (index_YMM_Usable): Rename to...
160 (index_AVX_Usable): ... this.
161 (HAS_AVX): Use HAS_ARCH_FEATURE.
162 (HAS_FMA4): Likewise.
163 (HAS_YMM_USABLE): Remove.
164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
165 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
167 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
168 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
169 * sysdeps/x86_64/multiarch/Makefile: Likewise.
170 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
171 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
173 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
175 * math/libm-test.c: Support platforms without multiple rounding modes.
176 * math/bug-nextafter.c: Support platforms without FP exceptions.
177 * math/bug-nexttoward.c: Likewise.
178 * math/test-fenv.c: Likewise.
179 * math/test-misc.c: Likewise.
180 * stdlib/bug-getcontext.c: Likewise.
182 2012-05-17 Andreas Jaeger <aj@suse.de>
184 * manual/examples/search.c (critter_cmp): Change signature to
186 * manual/string.texi (Collation Functions): Likewise.
188 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
190 * bits/types.h: Fold copyright years.
191 * bits/typesizes.h: Likewise.
192 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
193 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
196 * time/time.h: Likewise.
198 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
201 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
202 in instead of returning them. Return void.
203 (__libc_mallinfo): Accumulate over all arenas.
204 (__malloc_stats): Adjust for change in int_mallinfo interface.
206 2012-05-16 Roland McGrath <roland@hack.frob.com>
209 * configure.in (NM): Add AC_CHECK_TOOL for it.
210 (libc_extra_cflags): New substituted variable.
211 Check for -fstack-protector being used implicitly.
212 * configure: Regenerated.
213 * config.make.in (config-extra-cflags): New variable,
214 gets @libc_extra_cflags@.
215 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
218 * configure.in: Check for _FORTIFY_SOURCE being predefined.
219 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
220 * configure: Regenerated.
221 * config.make.in (CPPUNDEFS): New substituted variable.
222 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
223 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
224 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
226 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
228 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
229 (mq_attr): Use __syscall_slong_t.
231 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
233 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
234 Check __x86_64__ instead of __WORDSIZE.
235 (_STAT_VER_LINUX): Likewise.
236 (stat): Check __x86_64__ instead of __WORDSIZE. Use
237 __syscall_ulong_t and __syscall_slong_t.
240 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
242 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
244 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
246 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
248 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
250 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
253 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
254 include <bits/wordsize.h>. Check __x86_64__ instead of
256 (greg_t): Use "__extension__ long long int" if __x86_64__ is
258 (mcontext_t): Replace "unsigned long" with "unsigned long long".
260 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
261 include <bits/wordsize.h>. Check __x86_64__ instead of
263 (user_regs_struct): Use "__extension__ unsigned long long"
264 instead of "unsigned long" if __x86_64__ is defined.
265 (user): Likewise. Pad after pointer field if __ILP32__ is
268 2012-05-16 Joseph Myers <joseph@codesourcery.com>
270 * configure.in (makeinfo): Require version 4.5 or later. Allow
272 * configure: Regenerated.
273 * manual/install.texi (texinfo): Increase version requirement to
275 * INSTALL: Regenerated.
277 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
279 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
281 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
283 * sysdeps/x86_64/x32/ffs.c: New file.
285 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
287 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
288 defined. Use __syscall_ulong_t.
289 (shminfo): Use __syscall_ulong_t.
290 (shm_info): Likewise.
292 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
295 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
297 (msgqnum_t): Use __syscall_ulong_t.
298 (msglen_t): Likewise.
299 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
302 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
303 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
305 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
307 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
308 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
310 * sysvipc/sys/msg.h (msgbuf): Replace long int with
313 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
314 include <bits/wordsize.h>. Check __x86_64__ instead of
317 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
318 "unsigned long long int" if __x86_64__ is defined.
319 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
321 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
322 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
323 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
325 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
327 (GET_PC): Cast to uintptr_t first.
328 (GET_FRAME): Likewise.
329 (GET_STACK): Likewise.
331 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
332 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
333 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
334 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
335 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
336 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
337 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
338 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
339 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
340 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
341 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
342 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
343 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
344 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
345 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
346 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
347 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
348 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
349 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
350 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
351 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
352 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
353 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
354 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
355 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
356 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
357 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
358 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
359 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
361 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
363 * Makerules (+depfiles): Also collect depfiles from .oS in
365 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
366 .oS, $(libnldbl-routines)).
368 * Makerules (native-compile-mkdep-flags): Define.
369 * sunrpc/Makefile (extra-objs): Add $(addprefix
370 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
371 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
372 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
373 calling $(make-target-directory).
375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
377 * bits/types.h (__snseconds_t): Removed.
378 * time/time.h (struct timespec): Replace __snseconds_t with
380 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
381 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
383 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
384 (__SNSECONDS_T_TYPE): Likewise.
385 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
386 (__SNSECONDS_T_TYPE): Likewise.
387 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
388 (__SNSECONDS_T_TYPE): Likewise.
390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
392 * sysdeps/mach/hurd/bits/typesizes.h
393 (__SYSCALL_SLONG_TYPE): New macro.
394 (__SYSCALL_ULONG_TYPE): Likewise.
396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
398 * bits/types.h (__syscall_slong_t): New type.
399 (__syscall_ulong_t): Likewise.
401 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
402 (__SYSCALL_ULONG_TYPE): Likewise.
403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
404 (__SYSCALL_SLONG_TYPE): Likewise.
405 (__SYSCALL_ULONG_TYPE): Likewise.
406 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
407 (__SYSCALL_SLONG_TYPE): Likewise.
408 (__SYSCALL_ULONG_TYPE): Likewise.
409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
410 (__SYSCALL_SLONG_TYPE): Likewise.
411 (__SYSCALL_ULONG_TYPE): Likewise.
413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
415 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
416 Add sigaltstack-offsets.sym.
417 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
418 <sigaltstack-offsets.h>.
419 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
421 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
422 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
424 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
426 2012-05-15 Joseph Myers <joseph@codesourcery.com>
428 * elf/stackguard-macros.h: Remove file.
429 * sysdeps/generic/stackguard-macros.h: New file.
430 * sysdeps/i386/stackguard-macros.h: Likewise.
431 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
432 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
433 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
434 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
435 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
436 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
437 * sysdeps/x86_64/stackguard-macros.h: Likewise.
438 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
439 <elf/stackguard-macros.h>.
442 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
443 __aligned__ in attribute.
444 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
445 (gregset_t): Likewise.
447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
449 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
450 * sysdeps/x86_64/64/Implies-after: Here. New file.
451 * sysdeps/x86_64/x32/Implies-after: New file.
453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
455 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
456 and access return value for _dl_profile_fixup. Use R10_LP to
459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
461 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
465 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
466 * sysdeps/x86_64/x32/sysdep.h: New file.
468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
470 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
471 * sysdeps/x86_64/setjmp.S: Likewise.
473 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
475 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
476 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
477 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
478 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
479 remove unused global constant.
481 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
483 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
484 include of <not-cancel.h>.
486 2012-05-15 Roland McGrath <roland@hack.frob.com>
488 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
490 2012-05-15 Jeff Law <law@redhat.com>
491 Andreas Jaeger <aj@suse.de>
494 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
496 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
497 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
498 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
499 code changing __hst_map_handle.map.
501 2012-05-15 Roland McGrath <roland@hack.frob.com>
503 * configure.in (sysnames): Look for Implies-before and Implies-after
505 * configure: Regenerated.
507 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
509 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
510 8-byte data alignment with LP_SIZE alignment.
512 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
514 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
517 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
519 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
521 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
523 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
524 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
525 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
527 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
531 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
532 (stackinfo_sub_sp): Likewise.
534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
536 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
541 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
546 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
551 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
555 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
556 into R11_LP and load __x86_64_shared_cache_size_half into
559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
561 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
564 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
566 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
568 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
570 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
572 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
573 powerpc32/power7/fpu/s_logb.c via #include.
574 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
575 powerpc32/power7/fpu/s_logbf.c via #include.
576 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
577 powerpc32/power7/fpu/s_logbl.c via #include.
579 2012-05-15 Joseph Myers <joseph@codesourcery.com>
581 * README.libm: Remove file.
583 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
585 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
586 count for x32. Use R*_LP and omit operand-size suffix.
588 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
590 * shlib-versions: Move x86_64-.*-linux.* entries to ...
591 * sysdeps/x86_64/64/shlib-versions: Here. New file.
592 * sysdeps/x86_64/x32/shlib-versions: New file.
594 2012-05-14 Roland McGrath <roland@hack.frob.com>
596 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
597 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
598 Use _dl_fatal_printf instead.
600 2012-05-14 Joseph Myers <joseph@codesourcery.com>
602 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
603 set if not set by the user. Do not allow for being unset.
604 * sysdeps/unix/sysv/linux/configure: Regenerated.
606 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
608 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
609 the `q' suffix from lea and replace .quad with ASM_ADDR.
611 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
613 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
614 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
616 (PTR_DEMANGLE): Likewise.
618 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
620 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
622 (ASM_ADDR): Likewise.
640 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
642 * sysdeps/x86_64/x32/dl-machine.h: New file.
644 2012-05-14 Andreas Jaeger <aj@suse.de>
646 * manual/Makefile (subdir): Remove export of subdir.
647 (all): Remove target.
648 (.PHONY): Remove all from list.
649 (mkinstalldirs): Remove.
650 (.PHONY): Remove installdirs from list.
651 ($(inst_infodir)/libc.info): Use make-target-directory.
652 (installdirs): Remove.
654 (glibc-targets): Remove.
657 ($(objpfx)stubs ../po/manual.pot): Remove.
658 ($(objpfx)stamp%): Remove.
659 (make-target-directory): Remove.
660 (subdir_install): Remove.
668 * manual/.gitignore: Remove, it's not needed anymore.
669 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
671 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
673 (texis): Renamed to $(objpfx)texis.
674 (texis-path): New, contains path to generated files.
675 (chapters.%): Use texis-path for complete path, add extra argument
677 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
678 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
679 (summary,texi, stamp-summary): Use complete path of
680 files. Generate files in build dir.
681 (dir-add.texi): Build in build dir.
682 (libm-err.texi,stamp-libm-err): Likewise.
683 (version.texi, stamp-version): Likewise.
684 (.%c.texi): Likewise.
685 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
686 (mostlyclean): Remove target.
687 (realclean): Remove target.
688 (generated): Add new variable with contents from mostlyclean and
689 realclean, remove entries duplicated in common-mostlyclean, add
690 stamp-libm-err and stamp-version.
691 (generated-dirs): Add libc directory.
692 ($(inst_infodir)/libc.info): Install files from build dir.
694 * manual/install.texi (Configuring and compiling): Adjust since
695 the info files are not part of the tar ball anymore.
697 2012-05-14 Andreas Jaeger <aj@suse.de>
699 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
702 2012-05-14 Joseph Myers <joseph@codesourcery.com>
705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
706 to 2.2.0 where earlier.
707 * sysdeps/unix/sysv/linux/configure: Regenerated.
708 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
709 Remove conditional code.
710 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
711 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
712 Remove conditional code.
713 [!__NR_lchown]: Likewise.
714 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
715 [__NR_lchown]: Likewise.
716 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
717 comment referencing __ASSUME_LCHOWN_SYSCALL.
718 * sysdeps/unix/sysv/linux/i386/sigaction.c
719 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
720 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
721 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
722 Remove conditional code.
723 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
724 (__protocol_available): Remove #if 0 code.
725 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
727 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
728 * sysdeps/unix/sysv/linux/kernel-features.h
729 (__ASSUME_GETCWD_SYSCALL): Don't define.
730 (__ASSUME_REALTIME_SIGNALS): Likewise.
731 (__ASSUME_PREAD_SYSCALL): Likewise.
732 (__ASSUME_PWRITE_SYSCALL): Likewise.
733 (__ASSUME_POLL_SYSCALL): Likewise.
734 (__ASSUME_LCHOWN_SYSCALL): Likewise.
735 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
737 (__ASSUME_SIOCGIFNAME): Don't define.
738 (__ASSUME_MSG_NOSIGNAL): Likewise.
739 (__ASSUME_SENDFILE): Define unconditionally.
740 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
741 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
743 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
744 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
745 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
746 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
747 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
748 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
749 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
751 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
752 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
754 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
755 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
757 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
760 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
763 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
766 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
769 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
774 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
775 Remove conditional code.
776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
777 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
778 Remove conditional code.
779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
780 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
781 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
782 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
783 Remove conditional code.
784 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
785 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
786 Remove conditional code.
787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
788 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
789 Remove conditional code.
790 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
791 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
792 Remove conditional code.
793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
794 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
795 Remove conditional code.
796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
797 * sysdeps/unix/sysv/linux/sh/pwrite64.c
798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
800 * sysdeps/unix/sysv/linux/sigaction.c
801 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
802 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
803 * sysdeps/unix/sysv/linux/sigpending.c
804 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
805 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
806 * sysdeps/unix/sysv/linux/sigprocmask.c
807 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
808 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
809 * sysdeps/unix/sysv/linux/sigsuspend.c
810 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
811 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
812 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
813 (__libc_missing_rt_sigs): Remove.
814 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
815 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
816 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
817 Remove conditional code.
818 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
819 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
821 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
822 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
823 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
824 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
826 2012-05-14 Andreas Jaeger <aj@suse.de>
828 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
829 it's not used in glibc.
830 (__coshm1): Likewise.
831 (__acosh1p): Likewise.
834 * manual/string.texi (Copying and Concatenation): Add missing
835 variable in concat example.
836 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
838 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
841 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
842 __builtin_clzl with __builtin_clzll.
844 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
847 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
850 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
852 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
853 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
854 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
855 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
857 2012-05-14 Mike Frysinger <vapier@gentoo.org>
859 * NEWS: Update ia64 info.
861 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
863 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
866 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
868 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
869 * sysdeps/unix/syscalls.list (dup3): Likewise.
870 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
871 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
873 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
875 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
876 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
878 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
880 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
882 (TLS_IE): Use mov/add instead of movq/addq to load thread
884 (TLS_GD_PREFIX): New.
887 2012-05-11 David S. Miller <davem@davemloft.net>
889 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
890 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
891 (_FPU_SETCW): Likewise.
893 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
895 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
898 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
901 * iconvdata/gb18030.c: Update tables.
902 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
903 characters specially.
904 (BODY for TO_LOOP): Add encoding of missing ranges.
906 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
909 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
910 * sysdeps/mach/hurd/dup3.c: Likewise.
911 * sysdeps/mach/hurd/readlinkat.c: Likewise.
912 * sysdeps/powerpc/memmove.c:: Likewise.
914 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
916 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
917 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
919 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
921 * elf/elf.h (R_X86_64_RELATIVE64): New.
922 (R_X86_64_NUM): Updated.
923 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
924 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
925 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
926 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
927 tst-quad1pie tst-quad2pie
928 (modules-names): Add tst-quadmod1 tst-quadmod2.
929 ($(objpfx)tst-quad1): New dependency.
930 ($(objpfx)tst-quad2): Likewise.
931 ($(objpfx)tst-quad1pie): Likewise.
932 ($(objpfx)tst-quad2pie): Likewise.
933 * sysdeps/x86_64/tst-quad1.c: New file.
934 * sysdeps/x86_64/tst-quad1pie.c: New file.
935 * sysdeps/x86_64/tst-quad2.c: Likewise.
936 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
937 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
938 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
939 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
940 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
942 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
944 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
945 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
946 * streams/stropts.h (t_scalar_t): Define type.
948 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
949 (_PATH_PRESERVE): Set to "/var/lib".
950 (_PATH_RWHODIR): Set to "/var/spool/rwho".
952 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
955 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
956 if __dir_mkfile succeeded.
958 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
959 checking for _hurd_dtablesize. Unlock it right after having
960 finished _hurd_dtable allocation.
962 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
964 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
965 * sysdeps/mach/hurd/configure: Regenerated.
966 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
968 * sysdeps/gnu/configure.in: ... this new file.
969 * sysdeps/unix/sysv/linux/configure: Regenerated.
970 * sysdeps/gnu/configure: New generated file.
972 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
973 for Linux: use nsec instead of usec, as well as:
974 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
975 members of type struct timespec.
976 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
978 (struct stat64): Likewise.
979 (_STATBUF_ST_NSEC): New macro.
980 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
982 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
983 __strtoul_internal rather than strtoul.
985 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
987 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
990 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
992 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
993 which preserves existing values.
994 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
996 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
998 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
999 TIMEOUT values. Return EINVAL for NFDS values either negative or
1000 greater than FD_SETSIZE.
1002 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1004 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1005 allocated, call __vm_protect to finish enabling the existing space, and
1006 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1007 allocate the remainder.
1009 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1011 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1012 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1016 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1017 sysdeps/mach/hurd/readlink.c.
1019 * posix/tst-sysconf.c (posix_options): Only use
1020 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1021 _POSIX_SYNCHRONIZED_IO when they are defined
1022 * sysdeps/mach/hurd/bits/posix_opt.h:
1023 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1024 (_XOPEN_REALTIME): Undefine macro.
1025 (_XOPEN_REALTIME_THREADS): Undefine macro.
1026 (_XOPEN_SHM): Undefine macro.
1027 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1029 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1031 (_POSIX_ASYNC_IO): Undefine macro.
1032 (_POSIX_PRIORITIZED_IO): Undefine macro.
1033 (_POSIX_SPIN_LOCKS): Define macro to -1.
1035 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1036 SA_NODEFER, SA_RESETHAND.
1037 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1038 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1041 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1043 * elf/Makefile (pldd-modules): Define unconditionally.
1045 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1047 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1049 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1051 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1052 Return ENOENT when name is empty.
1053 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1055 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1057 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1059 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1063 Fix mlock in all cases except non-readable pages.
1064 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1065 instead of VM_PROT_ALL as parameter to __vm_wire function.
1067 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1068 (__mkdir): When path is `/', just fail with EEXIST.
1069 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1071 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1073 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1074 <sys/uio.h> (for writev).
1075 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1076 and <sys/param.h> (for MIN).
1078 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1080 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1081 REQUESTED_TIME. Properly set the remaining time and return EINTR
1084 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1086 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1087 Depend on against $(link-rpcuserlibs).
1089 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1091 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1092 (__libc_stack_end): Do not use attribute_relro.
1093 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1094 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1095 to libthread-provided value.
1096 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1099 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1102 * bits/libc-lock.h (__libc_once_get): New macro.
1103 * sysdeps/mach/bits/libc-lock.h: Likewise.
1104 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1105 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1106 instead of using implementation details.
1108 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1109 * libio/freopen.c: Likewise.
1110 * libio/freopen64.c: Likewise.
1111 * misc/syslog.c: Likewise.
1112 * nscd/connections.c: Likewise.
1113 * nscd/netgroupcache.c: Likewise.
1114 * sysdeps/posix/getcwd.c: Likewise.
1116 2012-05-10 Roland McGrath <roland@hack.frob.com>
1118 * math/w_ilogbf.c: Add #include <limits.h>.
1120 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1122 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1123 path instead of returning without unlocking.
1125 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1126 immediate-write ioctls.
1127 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1129 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1131 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1132 __builtin_frame_address instead of making assumptions about the
1133 location of the return address relative to DATA. Force early load of
1135 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1136 __builtin_frame_address.
1139 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1140 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1141 implement dup3 and do some further code clean-ups.
1142 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1143 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1145 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1147 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1149 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1150 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1151 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1152 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1153 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1156 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1157 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1158 when handler == SIG_ERR, not when handler != SIG_ERR.
1160 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1162 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1163 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1166 accept4 for GNU Hurd.
1167 * include/sys/socket.h (__libc_accept4): New prototype.
1168 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1169 to implement __libc_accept4.
1170 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1172 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1174 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1175 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1176 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1179 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1181 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1183 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1185 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1186 assertion on O_CLOEXEC flag.
1187 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1188 * hurd/intern-fd.c: Likewise.
1189 * hurd/port2fd.c: Likewise.
1191 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1194 * bits/in.h (IPV6_PKTINFO): Define new macro.
1195 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1197 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1202 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1203 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1204 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1205 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1207 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1208 * math/libm-test.inc (logb_test) : Additional logb tests.
1210 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1211 Andreas Jaeger <aj@suse.de>
1213 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1214 * configure: Regenerated.
1215 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1216 * config.make.in (link-obsolete-rpc): New substituted variable.
1217 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1218 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1219 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1220 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1221 so that libc.a contains the symbols.
1222 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1223 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1224 * sunrpc/auth_none.c: Likewise.
1225 * sunrpc/auth_unix.c: Likewise.
1226 * sunrpc/authdes_prot.c: Likewise.
1227 * sunrpc/authuxprot.c: Likewise.
1228 * sunrpc/clnt_gen.c: Likewise.
1229 * sunrpc/clnt_perr.c: Likewise.
1230 * sunrpc/clnt_raw.c: Likewise.
1231 * sunrpc/clnt_simp.c: Likewise.
1232 * sunrpc/clnt_tcp.c: Likewise.
1233 * sunrpc/clnt_udp.c: Likewise.
1234 * sunrpc/clnt_unix.c: Likewise.
1235 * sunrpc/des_crypt.c: Likewise.
1236 * sunrpc/des_soft.c: Likewise.
1237 * sunrpc/get_myaddr.c: Likewise.
1238 * sunrpc/key_call.c: Likewise.
1239 * sunrpc/key_prot.c: Likewise.
1240 * sunrpc/netname.c: Likewise.
1241 * sunrpc/pm_getmaps.c: Likewise.
1242 * sunrpc/pm_getport.c: Likewise.
1243 * sunrpc/pmap_clnt.c: Likewise.
1244 * sunrpc/pmap_prot.c: Likewise.
1245 * sunrpc/pmap_prot2.c: Likewise.
1246 * sunrpc/pmap_rmt.c: Likewise.
1247 * sunrpc/publickey.c: Likewise.
1248 * sunrpc/rpc_cmsg.c: Likewise.
1249 * sunrpc/rpc_common.c: Likewise.
1250 * sunrpc/rpc_dtable.c: Likewise.
1251 * sunrpc/rpc_prot.c: Likewise.
1252 * sunrpc/rpc_thread.c: Likewise.
1253 * sunrpc/rtime.c: Likewise.
1254 * sunrpc/svc.c: Likewise.
1255 * sunrpc/svc_auth.c: Likewise.
1256 * sunrpc/svc_raw.c: Likewise.
1257 * sunrpc/svc_run.c: Likewise.
1258 * sunrpc/svc_tcp.c: Likewise.
1259 * sunrpc/svc_udp.c: Likewise.
1260 * sunrpc/svc_unix.c: Likewise.
1261 * sunrpc/svcauth_des.c: Likewise.
1262 * sunrpc/xcrypt.c: Likewise.
1263 * sunrpc/xdr.c: Likewise.
1264 * sunrpc/xdr_array.c: Likewise.
1265 * sunrpc/xdr_float.c: Likewise.
1266 * sunrpc/xdr_intXX_t.c: Likewise.
1267 * sunrpc/xdr_mem.c: Likewise.
1268 * sunrpc/xdr_rec.c: Likewise.
1269 * sunrpc/xdr_ref.c: Likewise.
1270 * sunrpc/xdr_sizeof.c: Likewise.
1271 * sunrpc/xdr_stdio.c: Likewise.
1273 2012-05-10 Roland McGrath <roland@hack.frob.com>
1275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1276 change. Update copyright years.
1278 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1280 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1282 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1283 Joseph Myers <joseph@codesourcery.com>
1284 Paul Pluzhnikov <ppluzhnikov@google.com>
1287 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1289 [cross-compiling] (extra-libs): Likewise.
1290 [cross-compiling] (extra-libs-others): Likewise.
1291 [cross-compiling] (librpcsvc-routines): Likewise.
1292 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1293 [cross-compiling] (omit-deps): Likewise.
1294 (sunrpc-CPPFLAGS): New variable.
1295 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1296 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1297 (cross-rpcgen-objs): New variable.
1298 (extra-objs): Append $(cross-rpcgen-objs).
1299 ($(cross-rpcgen-objs)): New rule.
1300 ($(objpfx)cross-rpcgen): Likewise.
1301 (rpcgen-cmd): Define to use $(built-program-file). Expand
1303 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1304 ($(objpfx)x%.stmp): Likewise.
1305 * sunrpc/proto.h [IS_IN_build] (_): Define.
1306 [IS_IN_build] (_libc_intl_domainname): Likewise.
1308 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1310 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1311 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1312 and R_X86_64_TPOFF64.
1314 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1316 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1317 sysdeps/unix/sysv/syscalls.list.
1320 * sysdeps/unix/sysv/syscalls.list: Remove file.
1322 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1325 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1326 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1327 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1328 (__LC_IDENTIFICATION): Make these macros useful in #if
1329 expressions, as required by C99.
1331 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1333 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1334 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1337 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1339 * stdlib/longlong.h: Updated from GCC.
1341 2012-05-09 Andreas Jaeger <aj@suse.de>
1343 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1344 default is first entry.
1345 (run_mode): Set type.
1346 (main): Remove informal message about syslog.
1347 (options): Fix typo.
1350 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1353 (llrintf): Likewise.
1357 (nearbyint): Likewise.
1358 (nearbyintf): Likewise.
1360 2012-05-09 Andreas Jaeger <aj@suse.de>
1361 Pedro Alves <palves@redhat.com>
1363 * nscd/nscd.c (run_mode): Use enum.
1364 (main): Cleanup coding style issue.
1366 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1367 Andreas Jaeger <aj@suse.de>
1369 * nscd/nscd.c (go_background): Replaced with...
1370 (run_mode): ... this.
1371 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1372 (options): Add -F --foreground.
1373 (main): Implement it.
1374 (parse_opt): Parse it.
1376 2012-05-09 Andreas Jaeger <aj@suse.de>
1379 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1380 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1381 -Wconversion warning.
1382 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1385 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1387 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1389 (LC_ALL): Use macro-int-constant.
1390 (LC_COLLATE): Likewise.
1391 (LC_CTYPE): Likewise.
1392 (LC_MESSAGES): Likewise.
1393 (LC_MONETARY): Likewise.
1394 (LC_NUMERIC): Likewise.
1395 (LC_TIME): Likewise.
1396 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1397 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1398 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1399 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1401 [C99-based standards] (float_t): Expect type.
1402 [C99-based standards] (double_t): Expect type.
1403 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1405 [C99-based standards] (HUGE_VALL): Likewise.
1406 [C99-based standards] (INFINITY): Likewise.
1407 [C99-based standards] (NAN): Likewise.
1408 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1409 [C99-based standards] (FP_NAN): Likewise.
1410 [C99-based standards] (FP_NORMAL): Likewise.
1411 [C99-based standards] (FP_SUBNORMAL): Likewise.
1412 [C99-based standards] (FP_ZERO): Likewise.
1413 [C99-based standards] (FP_FAST_FMA): Use
1414 optional-macro-int-constant. Specify type. Require == 1.
1415 [C99-based standards] (FP_FAST_FMAF): Likewise.
1416 [C99-based standards] (FP_FAST_FMAL): Likewise.
1417 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1418 [C99-based standards] (FP_ILOGBNAN): Likewise.
1419 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1421 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1422 [C99-based standards] (math_errhandling): Specify type.
1423 [ISO99 || ISO11] (signgam): Do not allow.
1424 [non-C99-based standards] (copysignf): Do not allow.
1425 [non-C99-based standards] (exp2f): Likewise.
1426 [non-C99-based standards] (log2f): Likewise.
1427 [non-C99-based standards] (modff): Allow.
1428 [non-C99-based standards] (erff): Do not allow.
1429 [non-C99-based standards] (erfcf): Likewise.
1430 [non-C99-based standards] (gammaf): Likewise.
1431 [non-C99-based standards] (hypotf): Likewise.
1432 [non-C99-based standards] (j0f): Likewise.
1433 [non-C99-based standards] (j1f): Likewise.
1434 [non-C99-based standards] (jnf): Likewise.
1435 [non-C99-based standards] (lgammaf): Likewise.
1436 [non-C99-based standards] (tgammaf): Likewise.
1437 [non-C99-based standards] (y0f): Likewise.
1438 [non-C99-based standards] (y1f): Likewise.
1439 [non-C99-based standards] (ynf): Likewise.
1440 [non-C99-based standards] (isnanf): Likewise.
1441 [non-C99-based standards] (acoshf): Likewise.
1442 [non-C99-based standards] (asinhf): Likewise.
1443 [non-C99-based standards] (atanhf): Likewise.
1444 [non-C99-based standards] (cbrtf): Likewise.
1445 [non-C99-based standards] (expm1f): Likewise.
1446 [non-C99-based standards] (ilogbf): Likewise.
1447 [non-C99-based standards] (log1pf): Likewise.
1448 [non-C99-based standards] (logbf): Likewise.
1449 [non-C99-based standards] (nextafterf): Likewise.
1450 [non-C99-based standards] (remainderf): Likewise.
1451 [non-C99-based standards] (rintf): Likewise.
1452 [non-C99-based standards] (scalbf): Likewise.
1453 [non-C99-based standards] (copysignl): Likewise.
1454 [non-C99-based standards] (exp2l): Likewise.
1455 [non-C99-based standards] (log2l): Likewise.
1456 [non-C99-based standards] (modfl): Allow.
1457 [non-C99-based standards] (erfl): Do not allow.
1458 [non-C99-based standards] (erfcl): Likewise.
1459 [non-C99-based standards] (gammal): Likewise.
1460 [non-C99-based standards] (hypotl): Likewise.
1461 [non-C99-based standards] (j0l): Likewise.
1462 [non-C99-based standards] (j1l): Likewise.
1463 [non-C99-based standards] (jnl): Likewise.
1464 [non-C99-based standards] (lgammal): Likewise.
1465 [non-C99-based standards] (tgammal): Likewise.
1466 [non-C99-based standards] (y0l): Likewise.
1467 [non-C99-based standards] (y1l): Likewise.
1468 [non-C99-based standards] (ynl): Likewise.
1469 [non-C99-based standards] (isnanl): Likewise.
1470 [non-C99-based standards] (acoshl): Likewise.
1471 [non-C99-based standards] (asinhl): Likewise.
1472 [non-C99-based standards] (atanhl): Likewise.
1473 [non-C99-based standards] (cbrtl): Likewise.
1474 [non-C99-based standards] (expm1l): Likewise.
1475 [non-C99-based standards] (ilogbl): Likewise.
1476 [non-C99-based standards] (log1pl): Likewise.
1477 [non-C99-based standards] (logbl): Likewise.
1478 [non-C99-based standards] (nextafterl): Likewise.
1479 [non-C99-based standards] (remainderl): Likewise.
1480 [non-C99-based standards] (rintl): Likewise.
1481 [non-C99-based standards] (scalbl): Likewise.
1482 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1483 [non-C99-based standards] (FP_*): Do not allow.
1484 [C99-based standards] (FP_*): Change to
1485 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1486 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1488 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1489 (SIG_ERR): Likewise.
1490 [X/Open-based standards] (SIG_HOLD): Likewise.
1491 (SIG_IGN): Likewise.
1492 (SIGABRT): Use macro-int-constant. Specify type. Require
1497 (SIGSEGV): Likewise.
1499 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1500 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1501 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1502 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1503 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1504 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1505 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1506 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1507 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1508 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1509 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1510 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1511 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1512 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1513 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1514 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1515 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1516 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1517 [X/Open-based standards] (SIGTRAP): Likewise.
1518 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1519 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1520 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1521 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1522 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1525 2012-05-08 Ian Wienand <ianw@vmware.com>
1528 * time/tzset.c (__tzset_parse_tz): Update default rules for
1529 daylight time changes in the Energy Policy Act of 2005.
1531 2012-05-09 Andreas Jaeger <aj@suse.de>
1534 * elf/ldconfig.c (parse_conf): Change string to make clear that
1535 ldconfig only issued a warning if ld.so.conf does not exist.
1537 2012-05-08 David S. Miller <davem@davemloft.net>
1539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1540 movxtod instead of popping the value on the stack.
1542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1544 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1546 * config.h.in: Add HAVE_ARM_PCS_VFP.
1548 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1551 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1552 checking but the checks are disabled for any reason.
1554 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1556 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1557 and ELF64_R_TYPE with ELFW(R_TYPE).
1559 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1561 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1564 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1565 (settimeofday): Likewise.
1567 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1569 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1570 a struct th_u2 inside the union, and move tu_block/tu_code into
1571 a new th_u3 union of tu_block/tu_code inside of that. Move
1572 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1573 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1574 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1575 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1576 (th_stuff): Change to th_u1.tu_stuff.
1578 (th_msg): Change to th_u1.th_u2.tu_data.
1580 2012-05-07 David S. Miller <davem@davemloft.net>
1582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1585 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1586 (SETUP_PIC_REG): Use it.
1587 (SETUP_PIC_REG_LEAF): Use it.
1589 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1593 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1595 (EXPL_FINITE): Likewise.
1597 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1598 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1600 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1602 (EXPL_FINITE): Likewise.
1604 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1605 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1607 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1608 test of -max_value argument for long double.
1609 * sysdeps/i386/fpu/libm-test-ulps: Update.
1610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1612 2012-05-06 David S. Miller <davem@davemloft.net>
1614 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1615 quad soft-float symbols whose references which are compiler
1617 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1619 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1623 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1625 (EXPL_FINITE): Likewise.
1629 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1630 Adjust comments for base varying.
1631 (__expl_finite): Change alias to EXPL_FINITE.
1632 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1634 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1635 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1637 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1638 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1640 (EXPL_FINITE): Likewise.
1644 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1645 Adjust comments for base varying.
1646 (__expl_finite): Change alias to EXPL_FINITE.
1647 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1652 * math/libm-test.inc (check_float_internal): Correct ulp
1653 calculation for subnormal expected results.
1655 2012-05-06 Andreas Jaeger <aj@suse.de>
1657 * Makeconfig (+math-flags): New, set to -frounding-math.
1658 (+cflags): Add +math-flags so that all of glibc gets compiled with
1661 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1663 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1665 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1671 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1672 (__ieee754_expl): Allow for and saturate large arguments.
1673 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1674 (u_threshold): Likewise.
1675 (__exp): Call __ieee754_exp before checking for overflow and
1677 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1678 (u_threshold): Likewise.
1679 (__expf): Call __ieee754_expf before checking for overflow and
1681 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1682 (u_threshold): Likewise.
1683 (__expl): Call __ieee754_expl before checking for overflow and
1685 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1686 (__ieee754_expl): Allow for and saturate large arguments.
1687 * math/libm-test.inc (exp_test): Add another test. Do not allow
1688 missing overflow exception on overflow.
1689 (expm1_test): Do not allow missing overflow exception on overflow.
1691 * sysdeps/i386/fpu/e_expl.c: Move to ...
1692 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1693 rather than using inline asm.
1694 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1695 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1696 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1698 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1705 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1707 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1708 sysdeps/unix/common/syscalls.list.
1711 (ftruncate): Likewise.
1712 (getrusage): Likewise.
1713 (gettimeofday): Likewise.
1714 (setpgid): Likewise.
1715 (setregid): Likewise.
1716 (setreuid): Likewise.
1717 (sigaction): Likewise.
1718 (truncate): Likewise.
1719 (vhangup): Likewise.
1720 * sysdeps/unix/common/syscalls.list: Remove file.
1721 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1722 * sysdeps/unix/sysv/linux/Implies: Likewise.
1724 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1726 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1728 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1732 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1735 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1738 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1741 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1744 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1747 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1750 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1754 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1758 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1761 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1765 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1769 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1771 * sysdeps/unix/common/bits/dirent.h: Remove file.
1772 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1774 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1775 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1776 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1777 * sysdeps/unix/bsd/isatty.c: Likewise.
1778 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1779 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1780 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1782 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1785 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1786 long double comparison inaccuracies.
1787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1790 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1792 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1793 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1795 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1798 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1799 nonzero digits before rounding a hex value.
1800 * stdlib/tst-strtod.c (tests): Add another test.
1802 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1804 * sysdeps/s390/fpu/libm-test-ulps: Update.
1806 2012-05-03 Andreas Jaeger <aj@suse.de>
1808 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1809 does not get optimized out.
1810 (malloc_opt_barrier): New.
1812 2012-05-03 Andreas Jaeger <aj@suse.de>
1813 Roland McGrath <roland@hack.frob.com>
1815 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1816 intermediate file deletion.
1817 (generated): Add .symlist files.
1819 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1822 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1823 Redirect under this condition.
1824 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1825 [__USE_GNU] (__dprintf_chk): Not under this condition.
1826 [__USE_GNU] (__vdprintf_chk): Likewise.
1827 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1828 under this condition.
1829 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1830 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1831 [__USE_XOPEN2K8] (vdprintf): Likewise.
1832 [__USE_GNU] (__dprintf_chk): Not under this condition.
1833 [__USE_GNU] (__vdprintf_chk): Likewise.
1834 [__USE_GNU] (dprintf): Likewise.
1835 [__USE_GNU] (vdprintf): Likewise.
1837 2012-05-03 Roland McGrath <roland@hack.frob.com>
1839 * elf/Makefile (common-generated): Set this instead of generated for
1840 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1841 $(all-built-dso)-derived lists.
1843 2012-05-03 Andreas Jaeger <aj@suse.de>
1845 * sysdeps/i386/fpu/libm-test-ulps: Update.
1849 * scripts/gen-FAQ.pl: Likewise.
1850 * manual/install.texi (Installation): Point to online location of
1852 * Makefile (files-for-dist): Remove FAQ.
1855 2012-05-02 Allan McRae <allan@archlinux.org>
1857 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1858 (LDFLAGS-reldepmod5.so): Likewise.
1859 (LDFLAGS-reldep6mod1.so): Likewise.
1860 (LDFLAGS-reldep6mod4.so): Likewise.
1861 (LDFLAGS-reldep8mod3.so): Likewise.
1862 (LDFLAGS-unload4mod1.so): Likewise.
1863 (LDFLAGS-unload4mod2.so): Likewise.
1864 (LDFLAGS-tst-initorder): Likewise.
1865 (LDFLAGS-tst-initordera2.so): Likewise.
1866 (LDFLAGS-tst-initordera3.so): Likewise.
1867 (LDFLAGS-tst-initordera4.so): Likewise.
1868 (LDFLAGS-tst-initorderb2.so): Likewise.
1869 (LDFLAGS-noload): Likewise.
1870 (LDFLAGS-next): Likewise.
1871 (LDFLAGS-order2mod1.so): Likewise.
1872 (LDFLAGS-order2mod2.so): Likewise.
1873 (LDFLAGS-tst-initorder2): Likewise.
1874 (LDFLAGS-tst-initorder2a.so): Likewise.
1875 (LDFLAGS-tst-initorder2b.so): Likewise.
1876 (LDFLAGS-tst-initorder2c.so): Likewise.
1877 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1879 2012-05-02 David S. Miller <davem@davemloft.net>
1881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1883 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1886 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1888 2012-05-02 Andreas Jaeger <aj@suse.de>
1890 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1891 since we manipulate rounding mode.
1892 (CPPFLAGS-test-idouble.c): Likewise.
1893 (CPPFLAGS-test-ifloat.c): Likewise.
1894 (CFLAGS-test-ldouble.c): Likewise.
1895 (CFLAGS-test-double.c): Likewise.
1896 (CFLAGS-test-float.c): Likewise.
1897 (CFLAGS-test-misc.c): Likewise.
1898 (CFLAGS-test-test-fenv.c): Likewise.
1900 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1904 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1905 comparisons to determine direction to adjust input.
1907 2012-05-01 Roland McGrath <roland@hack.frob.com>
1909 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1910 output to the target.
1912 * scripts/localplt.awk: New file.
1913 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1914 (check-localplt-CFLAGS): Variable removed.
1915 ($(all-built-dso:=.jmprel)): New static pattern rule.
1916 (generated): Add those targets.
1917 (localplt-built-dso): New variable.
1918 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1920 * elf/check-localplt.c: File removed.
1922 * scripts/check-execstack.awk: New file.
1923 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1924 (check-execstack-CFLAGS): Variable removed.
1925 ($(objpfx)check-execstack.h): Target removed.
1926 ($(objpfx)execstack-default): New target.
1927 (generated): Add that instead of check-execstack.h.
1928 ($(all-built-dso:=.phdr)): New static pattern rule.
1929 (generated): Add those targets.
1930 * elf/check-execstack.c: File removed.
1932 * scripts/check-textrel.awk: New file.
1933 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1934 (check-textrel-CFLAGS): Variable removed.
1935 (all-built-dso): Use := to define.o
1936 ($(all-built-dso:=.dyn)): New static pattern rule.
1937 (generated): Add those targets.
1938 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1939 * config.make.in (READELF): New substituted variable.
1940 * elf/check-textrel.c: File removed.
1942 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1944 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1946 * conform/data/ctype.h-data [C99-based standards] (isblank):
1948 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1949 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1951 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1952 Specify type. Require positive value.
1955 [ISO || POSIX] (EILSEQ): Do not expect.
1956 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1957 Specify type. Require positive value.
1958 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1959 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1960 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1961 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1962 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1963 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1964 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1965 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1966 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1967 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1968 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1969 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1970 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1971 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1972 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1973 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1974 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1975 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1976 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1977 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1978 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1979 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1980 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1981 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1982 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1983 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1984 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1985 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1986 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1987 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1988 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1989 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1990 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1991 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1992 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1993 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1994 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1995 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1996 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1997 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1998 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1999 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2000 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2001 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2002 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2003 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2004 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2005 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2006 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2007 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2008 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2009 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2010 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2011 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2012 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2013 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2014 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2015 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2016 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2017 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2018 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2019 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2020 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2021 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2022 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2023 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2024 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2025 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2026 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2027 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2028 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2029 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2030 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2031 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2032 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2033 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2034 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2036 (FLT_ROUNDS): Expect as macro, not constant.
2037 (FLT_MANT_DIG): Use macro-int-constant.
2038 (DBL_MANT_DIG): Likewise.
2039 (LDBL_MANT_DIG): Likewise.
2040 (FLT_DIG): Likewise.
2041 (DBL_DIG): Likewise.
2042 (LDBL_DIG): Likewise.
2043 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2044 (DBL_MIN_EXP): Likewise.
2045 (LDBL_MIN_EXP): Likewise.
2046 (FLT_MAX_EXP): Use macro-int-constant.
2047 (DBL_MAX_EXP): Likewise.
2048 (LDBL_MAX_EXP): Likewise.
2049 (FLT_MAX_10_EXP): Likewise.
2050 (DBL_MAX_10_EXP): Likewise.
2051 (LDBL_MAX_10_EXP): Likewise.
2052 (FLT_MAX): Use macro-constant.
2053 (DBL_MAX): Likewise.
2054 (LDBL_MAX): Likewise.
2055 (FLT_EPSILON): Use macro-constant. Give upper bound.
2056 (DBL_EPSILON): Likewise.
2057 (LDBL_EPSILON): Likewise.
2058 (FLT_MIN): Likewise.
2059 (DBL_MIN): Likewise.
2060 (LDBL_MIN): Likewise.
2061 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2062 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2063 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2064 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2065 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2066 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2067 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2068 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2069 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2070 [ISO11] (FLT_TRUE_MIN): Likewise.
2071 [ISO11] (LDBL_TRUE_MIN): Likewise.
2072 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2073 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2074 (SCHAR_MIN): Use macro-int-constant. Specify type.
2075 (SCHAR_MAX): Likewise.
2076 (UCHAR_MAX): Likewise.
2077 (CHAR_MIN): Likewise.
2078 (CHAR_MAX): Likewise.
2079 (MB_LEN_MAX): Use macro-int-constant.
2080 (SHRT_MIN): Use macro-int-constant. Specify type.
2081 (SHRT_MAX): Likewise.
2082 (USHRT_MAX): Likewise.
2083 (INT_MAX): Likewise.
2084 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2086 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2088 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2090 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2091 bound negative. Suffix upper bound with "L".
2092 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2094 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2096 [C99-based standards] (LLONG_MAX): Likewise.
2097 [C99-based standards] (ULLONG_MAX): Likewise.
2098 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2100 [ISO11] (max_align_t): Require type.
2101 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2103 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2104 from $CFLAGS, without defining away __attribute__ calls.
2105 (checknamespace): Use $CFLAGS_namespace.
2107 * conform/conformtest.pl (@keywords): Only include C99 keywords
2108 for standards based on C99 or C11.
2110 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2112 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2115 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2116 usability of symbols in #if.
2118 * conform/conformtest.pl: If macro or constant types start
2119 "promoted:", expect the symbol to be of the following type
2120 promoted by the integer promotions.
2122 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2123 in one place. Also handle "macro-constant".
2125 * conform/conformtest.pl: Only accept expected macro values with
2126 "==". Parse all "macro" lines in one place.
2127 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2129 * conform/conformtest.pl: Handle braced types on "constant" lines
2130 instead of handling "typed-constant".
2131 * conform/data/signal.h-data: Use "constant" instead of
2134 * conform/conformtest.pl: Handle "optional-" at start of lines in
2135 one place rather than duplicating several cases. Handle each
2136 format of "macro" line with initial "optional-".
2138 * conform/conformtest.pl: Only accept expected constant or
2139 optional-constant values with "==". Parse all "constant" lines in
2140 one place. Parse all "optional-constant" lines in one place.
2141 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2142 * conform/data/fmtmsg.h-data: Likewise.
2143 * conform/data/netinet/in.h-data: Likewise.
2144 * conform/data/tar.h-data: Likewise.
2145 * conform/data/limits.h-data: Use "==" form on "constant" and
2146 "optional-constant" lines.
2148 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2149 Use -std=c99 for XOPEN2K.
2150 (@knownproblems): Remove.
2151 (newtoken): Don't check %isknown.
2153 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2154 Do not expect macro.
2155 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2156 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2157 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2158 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2159 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2160 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2161 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2162 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2163 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2164 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2165 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2166 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2167 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2168 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2169 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2170 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2171 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2172 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2173 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2174 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2175 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2176 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2177 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2178 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2179 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2180 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2181 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2182 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2183 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2184 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2185 [XPG3] (acosh): Likewise.
2186 [XPG3] (asinh): Likewise.
2187 [XPG3] (atanh): Likewise.
2188 [XPG3] (cbrt): Likewise.
2189 [XPG3] (expm1): Likewise.
2190 [XPG3] (ilogb): Likewise.
2191 [XPG3] (log1p): Likewise.
2192 [XPG3] (logb): Likewise.
2193 [XPG3] (nextafter): Likewise.
2194 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2195 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2196 [XPG3] (remainder): Likewise.
2197 [XPG3] (rint): Likewise.
2198 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2199 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2200 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2201 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2202 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2203 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2204 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2205 [UNIX98 || XOPEN2K] (scalb): Expect.
2206 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2207 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2208 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2209 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2210 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2211 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2212 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2213 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2214 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2215 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2216 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2217 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2218 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2219 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2220 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2221 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2222 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2223 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2224 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2225 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2226 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2227 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2228 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2229 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2230 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2231 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2232 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2233 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2234 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2235 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2236 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2237 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2238 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2239 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2240 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2241 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2242 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2243 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2244 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2245 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2246 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2247 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2248 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2249 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2250 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2251 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2252 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2253 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2254 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2255 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2256 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2257 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2258 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2259 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2260 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2261 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2262 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2263 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2264 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2265 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2266 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2267 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2268 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2269 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2270 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2271 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2272 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2273 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2274 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2275 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2276 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2277 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2278 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2280 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2281 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2285 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2286 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2287 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2289 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2290 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2291 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2292 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2293 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2294 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2295 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2296 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2297 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2298 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2299 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2300 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2301 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2302 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2303 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2304 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2305 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2306 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2307 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2308 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2309 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2310 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2311 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2312 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2313 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2314 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2315 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2316 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2317 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2318 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2319 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2320 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2321 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2322 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2323 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2324 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2325 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2326 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2327 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2328 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2329 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2330 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2331 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2332 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2333 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2334 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2335 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2336 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2337 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2338 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2339 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2340 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2341 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2342 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2344 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2345 _XOPEN_SOURCE_EXTENDED for XPG4.
2347 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2349 * Makeconfig (localtime): Remove variable.
2350 (inst_localtime-file): Likewise.
2352 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2373 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2377 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2378 comparisons to determine direction to adjust input.
2379 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2380 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2381 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2383 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2385 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2387 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2388 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2390 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2392 * math/libm-test.inc (nexttoward_test): Add more tests.
2394 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2397 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2398 in version GLIBC_2.1, not GLIBC_2.0.
2399 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2402 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2405 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2407 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2408 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2409 * math/libm-test.inc (acos_test): Add more tests.
2410 (asin_test): Likewise.
2411 * sysdeps/i386/fpu/libm-test-ulps: Update.
2412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2415 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2417 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2418 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2419 * math/libm-test.inc (acos_test_tonearest): New function.
2420 (acos_test_towardzero): Likewise.
2421 (acos_test_downward): Likewise.
2422 (acos_test_upward): Likewise.
2423 (asin_test_tonearest): Likewise.
2424 (asin_test_towardzero): Likewise.
2425 (asin_test_downward): Likewise.
2426 (asin_test_upward): Likewise.
2427 (main): Call the new functions.
2428 * sysdeps/i386/fpu/libm-test-ulps: Update.
2429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2433 * math/e_exp10.c: Include <float.h>.
2434 (__ieee754_exp10): Handle underflow here rather than multiplying
2435 large negative argument by M_LN10.
2436 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2438 * math/e_exp10l.c: Include <float.h>.
2439 (__ieee754_exp10l): Handle underflow here rather than multiplying
2440 large negative argument by M_LN10l.
2441 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2442 spurious overflow exception on underflow.
2444 2012-04-29 Marek Polacek <polacek@redhat.com>
2446 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2447 (__fortify_function): New macro.
2448 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2449 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2450 __extern_always_inline.
2451 * libio/bits/stdio2.h: Likewise.
2452 * libio/bits/stdio.h: Likewise.
2453 * string/string.h: Likewise.
2454 * string/bits/string3.h: Likewise.
2455 * include/stdio.h: Likewise.
2456 * stdlib/bits/stdlib.h: Likewise.
2457 * stdlib/stdlib.h: Likewise.
2458 * rt/bits/mqueue2.h: Likewise.
2459 * rt/mqueue.h: Likewise.
2460 * posix/bits/unistd.h: Likewise.
2461 * posix/unistd.h: Likewise.
2462 * io/bits/poll2.h: Likewise.
2463 * io/bits/fcntl2.h: Likewise.
2464 * io/fcntl.h: Likewise.
2465 * io/sys/poll.h: Likewise.
2466 * misc/bits/syslog.h: Likewise.
2467 * misc/bits/syslog-ldbl.h: Likewise.
2468 * misc/sys/syslog.h: Likewise.
2469 * socket/bits/socket2.h: Likewise.
2470 * socket/sys/socket.h: Likewise.
2471 * debug/tst-chk1.c: Likewise.
2472 * wcsmbs/bits/wchar2.h: Likewise.
2473 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2474 * wcsmbs/wchar.h: Likewise.
2476 2012-04-29 Andreas Jaeger <aj@suse.de>
2478 * Makerules (tests): Remove enable-check-abi protection.
2479 (check-abi-warn): Remove.
2480 (check-abi-%): Remove check-abi-warn usage.
2482 * configure.in: Remove check-abi configure option.
2483 * configure: Regenerated.
2484 * config.make.in (enable-check-abi): Remove.
2486 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2489 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2490 double functions to double *_finite functions.
2493 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2494 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2496 * stdio-common/Makefile (tests): Add tst-sprintf3.
2497 * stdio-common/tst-sprintf3.c: New file.
2499 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2500 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2502 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2504 * conform/conformtest.pl: Remove duplicate typed-constant
2507 2012-04-28 David S. Miller <davem@davemloft.net>
2509 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2510 (check-abi-%): Remove AWK script prerequisite and explicit
2512 (check-abi): Rewrite to just diff the symlist with the abilist.
2513 (config-tls, config-abi-config): Delete, no longer used.
2514 (update-abi-%): Remove AWK script and explicit abilist directory.
2515 (update-abi): Rewrite to simply compare and conditionally copy the
2516 symlist and the sysdep abilist file. Remove update-abi-config
2518 * abilist/ld.abilist: Remove.
2519 * abilist/libBrokenLocale.abilist: Remove.
2520 * abilist/libanl.abilist: Remove.
2521 * abilist/libcrypt.abilist: Remove.
2522 * abilist/libdl.abilist: Remove.
2523 * abilist/librt.abilist: Remove.
2524 * abilist/libthread_db.abilist: Remove.
2525 * abilist/libutil.abilist: Remove.
2526 * scripts/extract-abilist.awk: Remove.
2527 * scripts/merge-abilist.awk: Remove.
2528 * sysdeps/generic/libcidn.abilist: New file.
2529 * sysdeps/generic/libnss_compat.abilist: New file.
2530 * sysdeps/generic/libnss_db.abilist: New file.
2531 * sysdeps/generic/libnss_dns.abilist: New file.
2532 * sysdeps/generic/libnss_files.abilist: New file.
2533 * sysdeps/generic/libnss_hesiod.abilist: New file.
2534 * sysdeps/generic/libnss_nis.abilist: New file.
2535 * sysdeps/generic/libnss_nisplus.abilist: New file.
2536 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2537 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2538 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2540 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2541 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2542 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2543 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2544 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2545 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2546 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2547 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2548 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2550 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2551 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2552 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2553 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2555 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2556 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2557 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2558 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2559 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2560 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2562 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2563 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2564 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2566 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2669 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2670 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2671 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2673 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2674 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2675 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2676 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2677 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2678 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2679 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2680 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2681 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2682 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2734 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2736 * conform/conformtest.pl: Fix typo in handling typed-constant from
2739 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2741 * README: Cut down references to pre-2.6 Linux kernels and
2742 Linuxthreads. Update lists of configurations in libc and ports
2743 and sort alphabetically. Say "or newer" with Linux kernel version
2746 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2748 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2751 * math/libm-test.inc (logb_test_downward): New test to expose
2752 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2755 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2758 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2760 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2761 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2763 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2765 * sysdeps/unix/i386/brk.S: Remove file.
2766 * sysdeps/unix/i386/dl-brk.S: Likewise.
2767 * sysdeps/unix/i386/pipe.S: Likewise.
2768 * sysdeps/unix/i386/sigreturn.S: Likewise.
2769 * sysdeps/unix/i386/syscall.S: Likewise.
2770 * sysdeps/unix/i386/vfork.S: Likewise.
2771 * sysdeps/unix/i386/wait.S: Likewise.
2773 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2774 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2776 * configure.in (arm*-none*): Do not allow without
2777 --enable-hacker-mode.
2778 (netbsd*): Remove case setting base_os.
2779 (386bsd*): Likewise.
2780 (freebsd*): Likewise.
2784 (ultrix*): Likewise.
2785 (newsos*): Likewise.
2795 (solaris[2-9]*): Likewise.
2797 * configure: Regenerated.
2799 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2802 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2803 overflow or cancellation in calculating denominator.
2804 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2805 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2806 down expression to avoid unexpected rounding in newer GCCs.
2807 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2809 2012-04-26 David S. Miller <davem@davemloft.net>
2811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2812 long-double compat symbols.
2813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2827 2012-04-25 David S. Miller <davem@davemloft.net>
2829 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2830 HWCAP_* values only after the memory barriers have been defined.
2831 (atomic_full_barrier): Define.
2832 (atomic_read_barrier): Define.
2833 (atomic_write_barrier): Define.
2835 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2837 * shlib-versions: Add libgcc_s version information.
2838 * sysdeps/generic/libgcc_s.h: Remove.
2839 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2841 * sysdeps/gnu/unwind-resume.c: Likewise.
2842 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2844 2012-04-25 David S. Miller <davem@davemloft.net>
2846 * sysdeps/unix/sparc/brk.S: Delete.
2847 * sysdeps/unix/sparc/dl-brk.S: Delete.
2848 * sysdeps/unix/sparc/pipe.S: Delete.
2849 * sysdeps/unix/sparc/sysdep.S: Delete.
2850 * sysdeps/unix/sparc/sysdep.h: Delete.
2851 * sysdeps/unix/sparc/vfork.S: Delete.
2852 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2853 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2854 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2855 ret_ERRVAL, r0, r1, MOVE): Define.
2856 (JUMPTARGET): Remove.
2857 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2858 sysdeps/unix/sparc/sysdep.h
2859 (ENTRY, END): Remove.
2860 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2862 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2864 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2865 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2868 * timezone/README: Update upstream location and email address for
2870 * timezone/zdump.c: Update from tzcode 2012b.
2871 * timezone/zic.c: Likewise.
2873 * configure.in (libc_cv_as_needed): Remove test.
2874 * configure: Regenerated.
2875 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2876 conditional definition.
2877 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2878 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2879 * config.make.in (have-as-needed): Remove variable.
2881 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2882 Paul Pluzhnikov <ppluzhnikov@google.com>
2884 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2887 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2889 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2890 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2891 * sysdeps/sh/strlen.S: Likewise.
2893 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2895 * sysdeps/unix/fork.S: Remove file.
2896 * sysdeps/unix/i386/fork.S: Likewise.
2897 * sysdeps/unix/sparc/fork.S: Likewise.
2899 * sysdeps/unix/system.c: Remove file.
2900 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2902 * sysdeps/unix/getegid.S: Remove file.
2903 * sysdeps/unix/geteuid.S: Likewise.
2905 2012-04-24 Roland McGrath <roland@hack.frob.com>
2907 * scripts/check-localplt.awk: New file.
2908 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2910 * scripts/data/localplt-generic.data: Add a comment.
2912 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2913 NODE when __dir_mkfile failed.
2914 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2915 Reported by Ludovic Courtès <ludo@gnu.org>.
2917 2012-04-24 Andreas Jaeger <aj@suse.de>
2919 * Makerules (common-clean): Also remove gen-as-const-headers
2922 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2924 * Makerules (native-compile): Do not change working directory for
2925 build. Use $(OUTPUT_OPTION) in command.
2926 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2928 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2931 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2932 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2933 * math/libm-test.inc (floor_test): Add more tests.
2934 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2936 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2938 * sysdeps/unix/getdents.c: Remove file.
2939 * sysdeps/unix/sysv/getdents.c: Likewise.
2940 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2942 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2943 sysdeps/unix/mman/syscalls.list.
2945 (mprotect): Likewise.
2948 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2949 * sysdeps/unix/mman/syscalls.list: Remove.
2950 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2952 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2953 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2954 * configure: Regenerated.
2955 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2957 * config.make.in (libgcc_s_suffix): Remove variable.
2959 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2961 * sysdeps/unix/sysv/gethostname.c: Move to ...
2962 * sysdeps/posix/gethostname.c: ... here.
2964 * sysdeps/unix/execve.S: Remove file.
2966 * sysdeps/unix/_exit.S: Remove file.
2968 2012-04-23 Andreas Jaeger <aj@suse.de>
2971 * manual/Makefile: Remove make dist support, there's no
2972 need for a stand-alone documentation tar ball.
2973 (TEXI2DVI): Define always, it's not in Makeconfig.
2977 (glibc-doc-$(edition).tar): Removed
2981 (ETAGS): Remove, it's in Makeconfig.
2982 (move-if-change): Remove, it's in Makeconfig.
2984 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2987 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2988 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2989 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2990 (strtod_l, strtof_l, strtold_l): Remove __wur.
2991 It is not necessarily an error to ignore strtol's return value.
2992 One can reliably look at the stored endptr to decide whether
2993 the number had valid syntax.
2995 2012-04-21 Andreas Jaeger <aj@suse.de>
2998 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3000 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3002 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3003 * sysdeps/unix/sysv/Versions: Remove file.
3005 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3010 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3013 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3014 version from __vm86.
3016 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3018 * sysdeps/unix/common/lxstat.c: Remove file.
3019 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3021 * sysdeps/unix/sysv/Makefile: Remove file.
3023 * sysdeps/unix/sysv/direct.h: Remove file.
3025 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3026 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3027 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3028 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3029 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3030 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3031 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3033 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3035 * sysdeps/unix/xmknod.c: Remove file.
3036 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3038 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3040 * sysdeps/unix/sysv/i386/time.S: Remove file.
3042 * sysdeps/unix/fxstat.c: Remove file.
3043 * sysdeps/unix/xstat.c: Likewise.
3044 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3046 * sysdeps/unix/sysv/sigaction.c: Remove file.
3048 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3049 (sysdep_headers): Remove variable.
3050 [termio.h not in sysdep_headers] (generated): Likewise.
3051 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3052 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3053 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3054 * sysdeps/unix/sysv/tcflow.c: Likewise.
3055 * sysdeps/unix/sysv/tcflush.c: Likewise.
3056 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3057 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3058 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3059 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3060 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3062 * sysdeps/unix/siglist.c: Remove file.
3064 * sysdeps/unix/getppid.S: Remove file.
3066 * sysdeps/unix/mkdir.c: Remove file.
3067 * sysdeps/unix/rmdir.c: Likewise.
3069 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3071 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3073 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3074 errlist-compat value.
3076 2012-04-18 David S. Miller <davem@davemloft.net>
3078 * sysdeps/generic/memcopy.h (reg_char): Delete.
3079 * debug/strcat_chk.c: Use char, not reg_char.
3080 * debug/strcpy_chk.c: Likewise.
3081 * debug/strncat_chk.c: Likewise.
3082 * debug/strncpy_chk.c: Likewise.
3083 * string/memchr.c: Likewise.
3084 * string/memrchr.c: Likewise.
3085 * string/rawmemchr.c: Likewise.
3086 * string/strcat.c: Likewise.
3087 * string/strchr.c: Likewise.
3088 * string/strchrnul.c: Likewise.
3089 * string/strcmp.c: Likewise.
3090 * string/strcpy.c: Likewise.
3091 * string/strncat.c: Likewise.
3092 * string/strncmp.c: Likewise.
3093 * string/strncpy.c: Likewise.
3095 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3097 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3098 __builtin_memcopy is called when src and dest ranges are known to not
3101 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3103 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3104 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3105 fwd_align_merge macro call.
3106 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3107 bwd_align_merge macro call.
3108 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3110 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3112 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3113 bwd_align_merge macros.
3114 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3115 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3116 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3118 2012-04-18 David S. Miller <davem@davemloft.net>
3120 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3122 2012-04-18 Andreas Jaeger <aj@suse.de>
3125 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3126 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3127 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3129 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3130 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3131 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3133 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3134 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3135 Adjust for changed ldbl-128 files.
3137 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3138 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3139 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3141 2012-04-17 David S. Miller <davem@davemloft.net>
3143 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3145 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3147 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3148 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3149 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3150 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3151 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3152 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3154 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3157 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3158 * math/libm-test.inc: Add ilogb errno and exception tests.
3159 * math/w_ilogb.c: New file: ilogb wrapper.
3160 * math/w_ilogbf.c: New file: ilogbf wrapper.
3161 * math/w_ilogbl.c: New file: ilogbl wrapper.
3162 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3163 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3164 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3165 exception being thrown with 0.0 as argument.
3166 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3167 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3168 exception being thrown with 0.0 as argument.
3169 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3170 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3171 exception being thrown with 0.0 as argument.
3172 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3173 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3174 exception being thrown with 0.0 as argument.
3175 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3176 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3177 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3178 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3179 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3180 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3181 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3182 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3183 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3185 2012-04-17 Petr Baudis <pasky@ucw.cz>
3187 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3190 2012-04-16 Marek Polacek <polacek@redhat.com>
3192 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3194 2012-04-16 Marek Polacek <polacek@redhat.com>
3196 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3197 operands of fdivp instruction.
3199 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3201 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3202 * elf/tst-auditmod3b.c: Likewise.
3203 * elf/tst-auditmod4b.c: Likewise.
3204 * elf/tst-auditmod5b.c: Likewise.
3205 * elf/tst-auditmod6b.c: Likewise.
3206 * elf/tst-auditmod6c.c: Likewise.
3207 * elf/tst-auditmod7b.c: Likewise.
3208 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3209 * sysdeps/x86_64/preconfigure.in: Likewise.
3210 * sysdeps/x86_64/preconfigure: Regenerated.
3212 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3214 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3217 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3219 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3220 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3222 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3225 * locale/iso-639.def: Fix gl language name. Spotted by
3228 2012-04-12 Roland McGrath <roland@hack.frob.com>
3231 * libio/libio.h (__io_write_fn): Update comment.
3233 2012-04-12 Petr Baudis <pasky@ucw.cz>
3236 * stdio.texi (Hook Functions): The user provided writer function
3237 is not allowed to return -1.
3239 2012-04-11 David S. Miller <davem@davemloft.net>
3241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3243 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3245 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3246 Add a leading slash to rtkaio.
3248 2012-04-11 Jim Meyering <meyering@redhat.com>
3251 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3252 It is not necessarily an error to ignore fwrite's return
3253 value. One can reliably use ferror to test for errors after
3256 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3258 * bits/types.h (__snseconds_t): New type.
3259 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3261 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3262 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3263 (__SNSECONDS_T_TYPE): Likewise.
3264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3265 (__SNSECONDS_T_TYPE): Likewise.
3266 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3267 (__SNSECONDS_T_TYPE): Likewise.
3269 2012-04-10 Andreas Jaeger <aj@suse.de>
3272 * manual/time.texi (Processor Time): Return type of times is
3273 elapsed real time since an arbitrary point in the past.
3274 (CPU Time): Move CLK_TCK from here...
3275 (Processor Time): ...to here. Correct description.
3276 * manual/conf.texi (Constants for Sysconf): Correct description of
3279 2012-04-10 David S. Miller <davem@davemloft.net>
3282 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3283 where the is a gap between DT_REL(A) and DT_JMPREL.
3285 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3287 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3288 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3289 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3291 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3293 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3294 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3295 (dl_main): Handle --inhibit-cache.
3296 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3298 * elf/dl-load.c (_dl_map_object): Use it.
3299 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3301 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3304 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3305 (__ieee754_powl): Saturate large exponents rather than testing for
3306 overflow of y*log2(x).
3307 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3308 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3312 * math/s_ctan.c: Include <float.h>.
3313 (__ctan): Avoid internal overflow or cancellation in calculating
3315 * math/s_ctanf.c: Likewise.
3316 * math/s_ctanl.c: Likewise.
3317 * math/s_ctanh.c: Likewise.
3318 * math/s_ctanhf.c: Likewise.
3319 * math/s_ctanhl.c: Likewise.
3320 * math/libm-test.inc (ctan_test): Add more tests.
3321 (ctanh_test): Likewise.
3322 * sysdeps/i386/fpu/libm-test-ulps: Update.
3323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3325 2012-04-09 Andreas Jaeger <aj@suse.de>
3328 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3329 is an optional BSD extension.
3332 * manual/stdio.texi (Opening Streams): Document additional fopen
3335 2012-04-09 Roland McGrath <roland@hack.frob.com>
3337 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3338 %eax without telling the compiler.
3340 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3343 * manual/install.texi: Use sourceware.org.
3345 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3348 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3349 (__ieee754_pow): Generate overflow and underflow using huge*huge
3350 and tiny*tiny rather than just returning constant infinity or zero
3351 for large exponents.
3352 * math/libm-test.inc (pow_test): Require overflow exceptions for
3353 applicable cases of large exponents.
3356 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3357 (__ieee754_pow): Use iterative multiplication algorithm only for
3358 integer exponents with absolute value below 1024. Check for odd
3359 integer exponents when using algorithm for real exponents.
3360 * math/libm-test.inc (pow_test): Add more tests.
3361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3363 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3366 * math/libm-test.inc (exp_test): Do not allow overflow exception
3369 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3372 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3373 instead of __kernel_standard_f.
3375 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3377 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3378 * sysdeps/x86_64/memset_chk.S: Likewise.
3380 2012-04-08 Andreas Jaeger <aj@suse.de>
3383 * manual/startup.texi (Environment Access): Describe return value
3384 for putenv and setenv.
3387 * manual/filesys.texi (Directory Entries): Add description for
3391 * manual/filesys.texi (Directory Entries): Clarify that it's file
3392 system not operating system in the description of DT_UNKNOWN.
3395 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3397 2012-04-08 Stephen Compall <s11@member.fsf.org>
3400 * manual/llio.texi (Opening and Closing Files): Add cross
3401 reference to explain mode argument.
3403 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3405 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3406 * sysdeps/x86_64/memset_chk.S: Likewise.
3408 2012-04-07 David S. Miller <davem@davemloft.net>
3410 * elf/elf.h (R_SPARC_WDISP10): Define.
3411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3414 R_SPARC_SIZE64 and R_SPARC_H34.
3416 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3418 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3419 conditions and remove no longer applicable assertion.
3421 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3423 * bits/byteswap.h: Include <features.h>.
3424 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3425 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3427 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3429 * bits/byteswap.h (__bswap_16): Removed.
3430 Include <bits/byteswap-16.h> to get __bswap_16.
3431 * sysdeps/i386/bits/byteswap.h: Likewise.
3432 * sysdeps/s390/bits/byteswap.h: Likewise.
3433 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3434 * bits/byteswap-16.h: New file.
3435 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3436 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3437 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3438 * string/Makefile (headers): Add bits/byteswap-16.h.
3440 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3443 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3445 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3446 * nss/tst-nss-static.c: New.
3448 2012-04-06 Robert Millan <rmh@gnu.org>
3451 * manual/llio.texi (File Position Primitive): lseek
3452 refers to WHENCE when it really means OFFSET.
3454 2012-04-06 Andreas Jaeger <aj@suse.de>
3456 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3457 strncmp declarations.
3459 * abilist/libc.abilist: Add __poll and __ppoll.
3461 2012-04-05 David S. Miller <davem@davemloft.net>
3463 * scripts/check-local-headers.sh: Accept a host triplet in the
3464 path matched by the exclude regexp.
3466 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3468 * sysdeps/powerpc/powerpc32/dl-machine.h
3469 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3470 * sysdeps/s390/s390-32/dl-machine.h
3471 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3472 * sysdeps/sparc/sparc32/dl-machine.h
3473 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3474 * sysdeps/sparc/sparc64/dl-machine.h
3475 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3477 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3479 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3480 undefined symbol errors.
3482 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3485 2012-04-05 Michael Matz <matz@suse.de>
3488 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3490 2012-04-05 Andreas Jaeger <aj@suse.de>
3493 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3496 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3498 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3499 which ROUND is no valid rounding mode.
3501 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3503 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3505 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3507 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3509 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3510 an exception using FPU order intentionally.
3512 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3514 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3515 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3516 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3517 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3519 2012-04-05 Simon Josefsson <simon@josefsson.org>
3522 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3523 EINVAL when BUFLEN is too smal.
3525 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3528 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3529 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3531 2012-04-03 Andreas Jaeger <aj@suse.de>
3534 * manual/setjmp.texi (System V contexts): Fix sentence.
3537 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3538 New macro for this case.
3539 [!__GNUC__] (__bswap_64): New inline function for this case.
3540 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3541 * bits/byteswap.h: Likewise.
3542 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3543 ull, guard with __GLIBC_HAVE_LONG_LONG.
3545 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3546 __GLIBC_HAVE_LONG_LONG.
3548 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3549 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3551 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3554 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3555 inptr and inend, rather than using last_ch.
3557 2012-04-02 David S. Miller <davem@davemloft.net>
3559 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3560 * stdio-common/printf-parse.h (read_int): Change return type to
3561 'int', return -1 on INT_MAX overflow.
3562 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3563 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3564 overflows INT_MAX. Check for overflow of in-format-string precision
3565 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3566 SIZE_MAX not INT_MAX for integer overflow test.
3567 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3568 skip the construct in the format string but do not record anything.
3569 * stdio-common/bug22.c: Adjust to test both width/prevision
3570 INT_MAX overflow as well as total length INT_MAX overflow. Check
3571 explicitly for proper errno values.
3573 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3575 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3577 * string/test-strcmp.c [! WIDE]: Likewise.
3578 * time/tst-mktime2.c: Likewise for INT_MAX.
3579 * string/test-string.h: #include <sys/param.h> for MIN.
3581 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3582 * sysdeps/i386/init-first.c (init): Likewise.
3583 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3584 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3585 * sysdeps/sh/init-first.c (init): Likewise.
3587 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3589 * po/ru.po: Update from translation team.
3590 * po/vi.po: Likewise.
3592 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3594 * resolv/nss_dns/dns-host.c: Merge copyright years.
3596 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3598 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3599 Optimize memcpy with prefetch if
3600 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3601 src, dst pointers have unequal 16 byte alignments.
3603 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3606 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3607 from a CNAME entry and return the minimum ttl for the query.
3608 (gaih_getanswer_slice): Likewise.
3610 2012-03-30 Jeff Law <law@redhat.com>
3612 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3614 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3615 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3617 * resolv/nss_dns/dns-host.c: Update copyright year.
3619 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3621 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3622 requests to save a system call. Fix check that all bytes are sent.
3624 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3625 comments for sendmmsg.
3627 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3630 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3631 with only 1 character between 0x0041 and 0x01b0.
3632 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3633 * wcsmbs/tst-mbsnrtowcs.c: New file.
3635 2012-03-29 David S. Miller <davem@davemloft.net>
3637 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3638 small copies by hand.
3640 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3643 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3644 _nss_compat_initgroups_dyn): Fall back to malloc/free
3645 for large group memberships.
3647 2012-03-28 David S. Miller <davem@davemloft.net>
3649 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3650 that branches into memcpy.
3651 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3653 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3654 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3655 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3657 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3659 * sysdeps/sparc/mempcpy.S: New file.
3661 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3662 the IFUNC routine in the libc case.
3663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3665 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3666 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3667 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3668 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3669 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3670 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3671 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3672 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3674 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3675 loop to 256 bytes instead of 64 bytes and fix test signedness.
3677 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3678 * sysdeps/sparc/sparc32/Makefile: rather than here...
3679 * sysdeps/sparc/sparc64/Makefile: and here.
3681 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3683 * malloc/mallocbug.c: Avoid warnings about unused variables.
3685 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3688 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3689 in the right place. Discard and retry query if response is
3690 larger than input buffer size.
3692 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3697 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3698 x for large integer exponent.
3699 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3700 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3701 sign of result as needed afterwards.
3702 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3703 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3704 result for underflowing pow the same as for overflow.
3705 (__kernel_standard_l): Handle powl overflow and underflow here
3706 rather than calling __kernel_standard.
3707 * math/libm-test.inc (pow_test): Add more tests.
3722 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3723 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3724 (__kernel_standard_l): New function.
3725 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3727 * math/w_acosl.c (__acosl): Likewise.
3728 * math/w_asinl.c (__asinl): Likewise.
3729 * math/w_atan2l.c (__atan2l): Likewise.
3730 * math/w_atanhl.c (__atanhl): Likewise.
3731 * math/w_coshl.c (__coshl): Likewise.
3732 * math/w_exp10l.c (__exp10l): Likewise.
3733 * math/w_exp2l.c (__exp2l): Likewise.
3734 * math/w_fmodl.c (__fmodl): Likewise.
3735 * math/w_hypotl.c (__hypotl): Likewise.
3736 * math/w_j0l.c (__j0l, __y0l): Likewise.
3737 * math/w_j1l.c (__j1l, __y1l): Likewise.
3738 * math/w_jnl.c (__jnl, __ynl): Likewise.
3739 * math/w_lgammal.c (__lgammal): Likewise.
3740 * math/w_log10l.c (__log10l): Likewise.
3741 * math/w_log2l.c (__log2l): Likewise.
3742 * math/w_logl.c (__logl): Likewise.
3743 * math/w_powl.c (__powl): Likewise.
3744 * math/w_remainderl.c (__remainderl): Likewise.
3745 * math/w_scalbl.c (sysv_scalbl): Likewise.
3746 * math/w_sinhl.c (__sinhl): Likewise.
3747 * math/w_sqrtl.c (__sqrtl): Likewise.
3748 * math/w_tgammal.c (__tgammal): Likewise.
3749 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3750 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3751 * math/libm-test.inc (acos_test): Add more tests.
3752 (acosh_test): Likewise.
3753 (asin_test): Likewise.
3754 (atanh_test): Likewise.
3755 (exp_test): Likewise.
3756 (exp10_test): Likewise.
3757 (exp2_test): Likewise.
3758 (expm1_test): Likewise.
3759 (lgamma_test): Likewise.
3760 (log_test): Likewise.
3761 (log10_test): Likewise.
3762 (log1p_test): Likewise.
3763 (log2_test): Likewise.
3764 (pow_test): Do not allow some spurious overflow exceptions.
3765 (sqrt_test): Add more tests.
3766 (tgamma_test): Likewise.
3767 (y0_test): Likewise.
3768 (y1_test): Likewise.
3769 (yn_test): Likewise.
3771 2012-03-27 Anton Blanchard <anton@samba.org>
3773 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3775 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3776 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3779 2012-03-27 David S. Miller <davem@davemloft.net>
3781 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3783 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3786 2012-03-27 Andreas Jaeger <aj@suse.de>
3788 * sysdeps/x86_64/elf/configure.in: Moved to ...
3789 * sysdeps/x86_64/configure.in: ... here.
3790 * sysdeps/x86_64/elf/start.S: Moved to ...
3791 * sysdeps/x86_64/start.S: ... here.
3792 * sysdeps/x86_64/elf/configure: Delete.
3794 * sysdeps/x86_64/configure.in: Merge contents from
3795 sysdeps/i386/configure.in (without i686 check).
3797 * sysdeps/i386/elf/Versions: Merge into ...
3798 * sysdeps/i386/Versions: ... this.
3799 * sysdeps/i386/elf/Versions: Delete file.
3800 * sysdeps/i386/elf/start.S: Moved to ...
3801 * sysdeps/i386/start.S: ...here.
3802 * sysdeps/i386/elf/configure.in: Merge into...
3803 * sysdeps/i386/configure.in: ...here.
3804 * sysdeps/i386/elf/configure.in: Delete file.
3805 * sysdeps/i386/elf/configure: Delete file.
3807 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3808 * debug/backtracesyms.c: ... here.
3809 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3810 * debug/backtracesymsfd.c: ... here.
3811 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3812 * sysdeps/generic/ifunc-sel.h: ... here.
3814 * sysdeps/unix/i386/start.c: Delete file.
3815 * sysdeps/unix/sparc/start.c: Delete file.
3816 * sysdeps/unix/start.c: Delete file.
3818 * sysdeps/sh/elf/configure.in: Moved to ...
3819 * sysdeps/sh/configure.in: ... here.
3820 * sysdeps/sh/elf/start.S: Moved to ...
3821 * sysdeps/sh/start.S: ... here.
3822 * sysdeps/sh/elf/configure: Delete file.
3824 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3825 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3826 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3827 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3828 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3829 * sysdeps/powerpc/powerpc64/start.S: here.
3830 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3831 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3832 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3833 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3834 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3836 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3837 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3838 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3839 * sysdeps/powerpc/powerpc32/start.S: ... here.
3840 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3841 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3842 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3844 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3845 * sysdeps/powerpc/ifunc-sel.h: ... here.
3846 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3847 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3849 * sysdeps/sparc/elf/configure.in: Moved to ...
3850 * sysdeps/sparc/configure.in: ... here.
3851 * sysdeps/sparc/elf/configure: Delete file.
3852 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3853 * sysdeps/sparc/sparc32/start.S: ... here.
3854 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3855 * sysdeps/sparc/sparc64/start.S: ... here.
3856 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3857 * sysdeps/sparc/sparc32/Makefile: ... this.
3858 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3859 * sysdeps/sparc/sparc64/Makefile: ... this.
3861 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3862 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3863 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3864 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3865 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3866 * sysdeps/s390/s390-32/setjmp.S: ... here.
3867 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3868 * sysdeps/s390/s390-32/configure.in: ... here.
3869 * sysdeps/s390/s390-32/elf/configure: Delete file.
3870 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3871 * sysdeps/s390/s390-32/start.S: ... here.
3873 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3874 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3875 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3876 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3877 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3878 * sysdeps/s390/s390-64/setjmp.S: ... here.
3879 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3880 * sysdeps/s390/s390-64/configure.in: ... here
3881 * sysdeps/s390/s390-64/elf/configure: Delete file.
3882 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3883 * sysdeps/s390/s390-64/start.S: ... here.
3884 * sysdeps/s390/s390-64/elf/configure: Delete.
3886 * configure.in: Remove support for elf directories in sysdeps.
3888 * configure: Regenerated.
3889 * sysdeps/i386/configure: Regenerated.
3890 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3891 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3892 * sysdeps/s390/s390-32/configure: Regenerated.
3893 * sysdeps/s390/s390-64/configure: Regenerated.
3894 * sysdeps/sh/configure: Regenerated.
3895 * sysdeps/sparc/configure: Regenerated.
3896 * sysdeps/x86_64/configure: Regenerated.
3898 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3902 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3903 denormal result into account.
3905 2012-03-25 Roland McGrath <roland@hack.frob.com>
3907 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3908 Reported by Allan McRae <allan@archlinux.org>.
3910 2012-03-23 Jeff Law <law@redhat.com>
3912 * nss/getnssent.c (__nss_getent): Fix typo.
3914 2012-03-23 David S. Miller <davem@davemloft.net>
3916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3918 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3920 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3921 to pad to uint64_t for each field.
3922 (dl_tls_index): Replace unsigned long with uint64_t.
3924 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3925 Paul Pluzhnikov <ppluzhnikov@google.com>
3928 * grp/Makefile (otherlibs): Don't set it.
3929 * inet/Makefile (otherlibs): Likewise.
3930 * login/Makefile (otherlibs): Likewise.
3931 * nscd/Makefile (otherlibs): Likewise.
3932 * posix/Makefile (otherlibs): Likewise.
3933 * pwd/Makefile (otherlibs): Likewise.
3934 * rt/Makefile (otherlibs): Likewise.
3935 * sunrpc/Makefile (otherlibs): Likewise.
3936 * nss/Makefile (otherlibs): Likewise.
3937 Add libnss_files to routines and static-only-routines.
3938 ($(objpfx)getent): Remove rule.
3939 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3940 static-only-routines.
3942 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3945 * math/s_cexp.c: Include <float.h>.
3946 (__cexp): Handle exp result overflowing not necessarily
3947 overflowing both real and imaginary parts of result.
3948 * math/s_cexpf.c: Likewise.
3949 * math/s_cexpl.c: Likewise.
3950 * math/libm-test.inc (cexp_test): Add more tests.
3951 * sysdeps/i386/fpu/libm-test-ulps: Update.
3952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3954 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3956 * include/link.h (ELFW): New macro.
3957 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3958 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3960 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3962 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3965 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3967 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3969 (struct La_x32_retval): Likewise.
3971 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3973 * sysdeps/x86_64/preconfigure.in: New file.
3974 * sysdeps/x86_64/preconfigure: New generated file.
3976 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3979 * math/e_exp2l.c: Include <float.h>.
3980 (__ieee754_exp2l): Handle overflow and underflow cases
3981 separately. Only pass fractional part of argument to
3983 * math/libm-test.inc (exp2_test): Add more tests.
3985 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3986 negating x to take absolute value.
3987 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3989 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3990 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3992 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3993 computing low part if x was negated.
3994 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3996 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3998 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4000 (pltexit): Cast int_retval to ptrdiff_t.
4001 * elf/tst-auditmod3b.c: Likewise.
4002 * elf/tst-auditmod4b.c: Likewise.
4003 * elf/tst-auditmod5b.c: Likewise.
4004 * elf/tst-auditmod6b.c: Likewise.
4005 * elf/tst-auditmod6c.c: Likewise.
4006 * elf/tst-auditmod7b.c: Likewise.
4008 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4009 and x32_gnu_pltexit.
4011 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4013 (La_x32_regs): New macro.
4014 (La_x32_retval): Likewise.
4015 (la_x32_gnu_pltenter): New function prototype.
4016 (la_x32_gnu_pltexit): Likewise.
4018 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4020 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4025 * configure.in (libc_cv_cc_nofma): Check for option to disable
4026 generation of FMA instructions.
4027 * configure: Regenerate.
4028 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4029 * sysdeps/ieee754/dbl-64/Makefile: New file.
4030 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4031 Remove brandred-fma4.
4032 (CFLAGS-brandred-fma4.c): Remove.
4033 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4034 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4036 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4039 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4041 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4042 LLONG_MAX != LONG_MAX.
4043 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4044 (_fitoa_word): Likewise.
4045 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4046 LLONG_MAX != LONG_MAX.
4047 * stdio-common/_itowa.h: Include <_itoa.h>.
4048 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4049 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4050 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4051 only if not defined.
4052 (_ITOA_WORD_TYPE): Likewise.
4053 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4054 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4056 2012-03-21 David S. Miller <davem@davemloft.net>
4058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4060 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4062 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4063 of x86_64 when setting libc_cv_slibdir, libdir and
4065 * sysdeps/unix/sysv/linux/configure: Regenerated.
4067 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4069 * manual/lang.texi (Old Varargs): Remove section.
4070 (How Variadic): Update menu.
4071 (va_start): Do not mention varargs.h.
4073 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4074 Joseph Myers <joseph@codesourcery.com>
4076 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4078 * configure: Regenerated.
4080 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4082 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4083 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4086 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4089 * Makefile (files-for-dist): Remove NOTES.
4090 (NOTES): Remove rule.
4091 * README: Don't refer to NOTES.
4092 * manual/creature.texi: Don't include macros.texi.
4093 * manual/intro.texi (creature.texi): Remove comment referring to
4096 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4097 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4098 * configure: Regenerated.
4099 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4101 (libc_cv_as_i686): Likewise.
4102 (libc_cv_cc_avx): Likewise.
4103 (libc_cv_cc_sse2avx): Likewise.
4104 (libc_cv_cc_fma4): Likewise.
4105 (libc_cv_cc_novzeroupper): Likewise.
4106 * sysdeps/i386/configure: Regenerated.
4109 * sysdeps/i386/fpu/s_cexp.S: Remove.
4110 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4111 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4112 * math/libm-test.inc (cexp_test): Add more tests.
4113 * sysdeps/i386/fpu/libm-test-ulps: Update.
4114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4116 2012-03-21 Allan McRae <allan@archlinux.org>
4118 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4120 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4123 * math/w_exp2.c: Do not include <float.h>.
4124 (o_threshold, u_threshold): Remove.
4125 (__exp2): Calculate result before checking finiteness and calling
4127 * math/w_exp2f.c: Likewise.
4128 * math/w_exp2l.c: Likewise.
4129 * math/libm-test.inc (exp2_test): Require overflow exception for
4133 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4134 range of signed 64-bit integers before using fistpll. Remove
4135 checks for whether integers fit in mantissa bits.
4136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4137 the range of signed 32-bit integers before using fistpl. Remove
4138 checks for whether integers fit in mantissa bits.
4139 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4140 (__ieee754_powl): Test for y outside the range of signed 64-bit
4141 integers before using fistpll. Reduce 64-bit values to 63-bit
4143 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4144 divide-by-zero is raised for zero to large negative powers.
4145 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4146 (__ieee754_powl): Test for y outside the range of signed 64-bit
4147 integers before using fistpll. Reduce 64-bit values to 63-bit
4149 * math/libm-test.inc (pow_test): Add more tests.
4151 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4153 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4154 <stdio-common/_itoa.h>.
4155 * debug/segfault.c: Likewise.
4156 * elf/dl-cache.c: Likewise.
4157 * elf/dl-minimal.c: Likewise.
4158 * elf/dl-misc.c: Likewise.
4159 * elf/dl-sysdep.c: Likewise.
4160 * elf/dl-version.c: Likewise.
4161 * elf/rtld.c: Likewise.
4162 * hurd/hurdsock.c: Likewise.
4163 * hurd/lookup-retry.c: Likewise.
4164 * malloc/malloc.c: Likewise.
4165 * malloc/mtrace.c: Likewise.
4166 * nscd/nscd_getgr_r.c: Likewise.
4167 * nscd/nscd_getpw_r.c: Likewise.
4168 * nscd/nscd_getserv_r.c: Likewise.
4169 * posix/getopt_init.c: Likewise.
4170 * posix/wordexp.c: Likewise.
4171 * stdio-common/_itoa.c: Likewise.
4172 * stdio-common/printf_fphex.c: Likewise.
4173 * stdio-common/vfprintf.c: Likewise.
4174 * string/_strerror.c: Likewise.
4175 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4176 * sysdeps/i386/i686/hp-timing.h: Likewise.
4177 * sysdeps/mach/_strerror.c: Likewise.
4178 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4179 * sysdeps/mach/hurd/sethostid.c: Likewise.
4180 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4181 * sysdeps/mach/xpg-strerror.c: Likewise.
4182 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4183 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4184 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4185 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4186 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4187 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4188 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4189 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4190 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4191 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4192 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4193 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4194 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4195 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4196 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4197 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4198 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4199 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4200 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4201 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4202 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4204 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4206 * stdio-common/_itoa.h: Moved to ...
4207 * sysdeps/generic/_itoa.h: Here.
4209 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4211 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4212 instead of "_itoa.h" and "_itowa.h".
4213 * stdio-common/vfprintf.: Likewise.
4215 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4217 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4219 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4220 (__signbit): Likwise.
4224 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4226 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4229 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4231 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4232 OVERFLOW_EXCEPTION_OK.
4233 * math/libm-test.inc ("Philosophy"): Update comment about
4235 (OVERFLOW_EXCEPTION): Define.
4236 (OVERFLOW_EXCEPTION_OK): Likewise.
4237 (INVALID_EXCEPTION_OK): Renumber.
4238 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4239 (IGNORE_ZERO_INF_SIGN): Likewise.
4240 (test_exceptions): Handle FE_OVERFLOW.
4241 (exp10_test): Expect overflow exceptions.
4242 (exp2_test): Likewise.
4243 (expm1_test): Likewise.
4244 (nextafter_test): Likewise.
4245 (pow_test): Likewise.
4246 (scalbn_test): Likewise.
4247 (scalbln_test): Likewise.
4249 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4251 * sysdeps/x86_64/bits/atomic.h
4252 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4254 (atomic_exchange_acq): Likewise.
4255 (__arch_exchange_and_add_body): Likewise.
4256 (__arch_add_body): Likewise.
4257 (atomic_add_negative): Likewise.
4258 (atomic_add_zero): Likewise.
4260 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4262 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4263 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4265 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4267 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4268 Check __x86_64__ instead of __WORDSIZE.
4270 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4272 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4274 2012-03-19 David S. Miller <davem@davemloft.net>
4276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4278 * sysdeps/sparc/fpu/fenv_private.h: New file.
4279 * sysdeps/sparc/fpu/math_private.h: Use it.
4280 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4282 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4283 (libc_feholdexcept_setroundl): Remove.
4284 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4286 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4287 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4291 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4292 int64_t instead of long int.
4293 (INSERT_WORDS64): Likwise.
4295 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4297 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4298 _Unwind_GetCFA return to _Unwind_Ptr first.
4300 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4303 * math/s_clog.c: Include <float.h>.
4304 (__clog): Scale large or subnormal inputs.
4305 * math/s_clogf.c: Likewise.
4306 * math/s_clogl.c: Likewise.
4307 * math/s_clog10.c: Include <float.h>.
4308 (M_LOG10_2): Define.
4309 (__clog10): Scale large or subnormal inputs.
4310 * math/s_clog10f.c: Likewise.
4311 * math/s_clog10l.c: Likewise.
4312 * math/libm-test.inc (clog_test): Add more tests.
4313 (clog10_test): Likewise.
4314 * sysdeps/i386/fpu/libm-test-ulps: Update.
4315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4318 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4320 * math/libm-test.inc (atan2_test): Add another test.
4322 * Makerules (common-objdir-compile): Remove.
4323 * sysdeps/unix/Makefile (config-generated): Do not add
4324 $(unix-generated) to variable.
4325 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4326 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4328 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4330 [generic bits/local_lim.h] (before-compile): Do not append to
4332 [generic bits/local_lim.h] (common-generated): Likewise.
4333 [generic sys/param.h] (before-compile): Do not append to variable.
4334 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4335 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4336 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4337 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4339 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4340 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4341 [generic sys/param.h] ($(addprefix
4342 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4343 [generic sys/param.h] (common-generated): Do not append to
4345 [generic sys/param.h] (sysdep_headers): Likewise.
4346 [generic bits/errno.h] (before-compile): Do not append to
4348 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4350 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4351 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4352 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4353 [generic bits/errno.h] (common-generated): Do not append to
4355 [generic bits/ioctls.h] (before-compile): Do not append to
4357 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4359 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4360 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4361 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4363 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4364 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4365 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4366 [generic bits/ioctls.h] (common-generated): Do not append to
4368 [generic sys/syscall.h] (syscall.h): Remove variable.
4369 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4371 [generic sys/syscall.h] (before-compile): Do not append to
4373 [generic sys/syscall.h] (common-generated): Likewise.
4374 * sysdeps/unix/errnos-tmpl.c: Remove file.
4375 * sysdeps/unix/errnos.awk: Likewise.
4376 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4377 * sysdeps/unix/ioctls.awk: Likewise.
4378 * sysdeps/unix/mk-local_lim.c: Likewise.
4379 * sysdeps/unix/snarf-ioctls: Likewise.
4381 2012-03-19 Richard Henderson <rth@twiddle.net>
4383 * sysdeps/i386/fpu/fenv_private.h: New file.
4384 * sysdeps/i386/fpu/math_private.h: Use it.
4385 (math_opt_barrier, math_force_eval): Remove.
4386 (libc_feholdexcept_setround_53bit): Remove.
4387 (libc_feupdateenv_53bit): Remove.
4388 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4389 (math_opt_barrier, math_force_eval): Remove.
4390 (libc_feholdexcept): Remove.
4391 (libc_feholdexcept_setround): Remove.
4392 (libc_fetestexcept, libc_fesetenv): Remove.
4393 (libc_feupdateenv_test): Remove.
4394 (libc_feupdateenv, libc_feholdsetround): Remove.
4395 (libc_feresetround): Remove.
4397 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4398 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4400 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4401 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4402 (libc_feupdateenv_testl): New.
4403 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4404 (libc_feupdateenv_testf): New.
4405 (libc_feupdateenv): Use libc_feupdateenv_test.
4406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4407 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4409 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4410 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4411 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4412 (libc_feresetround_noex): New.
4413 (libc_feresetround_noexf): New.
4414 (libc_feresetround_noexl): New.
4415 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4416 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4417 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4418 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4420 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4421 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4423 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4424 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4425 SET_RESTORE_ROUND_NOEX.
4426 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4427 SET_RESTORE_ROUND_NOEXF.
4428 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4429 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4430 (libc_feholdsetroundf): New.
4431 (libc_feresetround, libc_feresetroundf): New.
4433 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4434 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4435 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4437 * sysdeps/generic/math_private.h: Include <fenv.h>.
4438 (default_libc_feholdexcept): New.
4439 (default_libc_feholdexcept_setround): New.
4440 (default_libc_fesetenv, default_libc_feupdateenv): New.
4441 (libc_feholdexcept): Only define if undefined.
4442 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4443 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4444 (libc_feholdexcept_setroundl): Likewise.
4445 (libc_feholdexcept_setround_53bit): Likewise.
4446 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4447 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4448 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4449 (libc_feupdateenv_53bit): Likewise.
4450 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4451 (libc_feholdexcept): Convert from macro to inline function.
4452 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4453 (libc_fesetenv, libc_feupdateenv): Likewise.
4455 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4456 not previously defined.
4457 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4458 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4459 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4460 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4461 * sysdeps/ieee754/flt-32/math_private.h: New file.
4462 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4463 math_private.h below SET_FLOAT_WORD.
4464 (__isnan, __isinf_ns, __finite): Remove.
4465 (__isnanf, __isinf_nsf, __finitef): Remove.
4467 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4471 2012-03-17 David S. Miller <davem@davemloft.net>
4474 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4477 2012-03-16 David S. Miller <davem@davemloft.net>
4479 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4483 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4485 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4486 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4487 sysdep_routines when subdir is sysvipc.
4488 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4491 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4493 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4495 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4498 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4500 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4501 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4502 (__lround): Renamed to ...
4503 (__llround): This. Replace long int with long long int.
4504 Define lround functions as aliases of llround functions.
4505 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4507 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4509 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4510 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4511 adresses to uintptr_t. Replace "long int" and "unsigned long
4512 int" with "greg_t" on va_arg.
4514 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4516 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4517 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4519 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4520 Move e_machine check before EI_CLASS check. Handle x32
4521 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4522 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4523 SKIP_EM_IA_64 and include
4524 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4526 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4527 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4528 (add_system_dir): New macro.
4530 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4531 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4533 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4544 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4546 * math/w_j0f.c (j0f): Likewise.
4548 * math/w_j0l.c (__j0l): Likewise.
4550 * math/w_j1.c (j1): Likewise.
4552 * math/w_j1f.c (j1f): Likewise.
4554 * math/w_j1l.c (__j1l): Likewise.
4556 * math/w_jn.c (jn): Likewise.
4558 * math/w_jnf.c (jnf): Likewise.
4560 * math/w_jnl.c (__jnl): Likewise.
4562 * math/libm-test.inc (j0_test): Add more tests.
4563 (j1_test): Likewise.
4564 (jn_test): Likewise. Add trailing semicolon to existing test.
4565 (y0_test): Likewise.
4566 (y1_test): Likewise.
4567 * sysdeps/i386/fpu/libm-test-ulps: Update.
4568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4572 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4573 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4574 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4575 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4576 (__tanl): Set errno for infinite argument.
4577 * sysdeps/i386/fpu/mptan.c: Remove.
4578 * sysdeps/i386/fpu/s_tan.S: Likewise.
4579 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4580 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4581 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4582 * math/libm-test.inc (tan_test): Add more tests and enable more
4583 tests for double and long double.
4584 * sysdeps/i386/fpu/libm-test-ulps: Update.
4585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4587 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4589 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4590 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4592 2012-03-16 Roland McGrath <roland@hack.frob.com>
4594 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4595 * configure.in: Use it for both main tree and add-ons.
4596 * configure: Regenerated.
4598 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4600 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4602 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4604 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4608 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4609 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4610 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4611 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4612 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4614 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4615 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4617 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4618 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4619 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4620 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4621 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4622 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4623 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4624 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4625 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4626 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4627 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4628 * math/libm-test.inc (cos_test): Add more tests and enable more
4629 tests for long double.
4630 (sin_test): Likewise.
4631 (sincos_test): Likewise.
4632 * sysdeps/i386/fpu/libm-test-ulps: Update.
4633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4635 2012-03-16 David S. Miller <davem@davemloft.net>
4637 * sysdeps/sparc/fpu/math_private.h: New file.
4639 2012-03-15 David S. Miller <davem@davemloft.net>
4641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4651 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4655 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4656 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4658 * sysdeps/sparc/sparc-ifunc.h: New file.
4659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4697 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4698 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4700 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4701 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4702 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4704 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4706 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4710 2012-03-15 Andreas Jaeger <aj@suse.de>
4713 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4714 ieee754/flt-32 implementation for sin, cos and sincos.
4715 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4716 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4717 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4718 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4719 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4720 ieee754/flt-32 implementation for tan.
4722 * math/libm-test.inc (cos_test): Enable some large input tests for
4724 (sin_test): Likewise.
4725 (sincos_test): Likewise.
4726 (tan_test): Add tests for large input.
4728 * sysdeps/i386/fpu/libm-test-ulps: Update.
4730 2012-03-15 Andreas Jaeger <aj@suse.de>
4733 * math/libm-test.inc (cos_test): Add more test cases.
4734 (sin_test): Likewise.
4735 (sincos_test): Likewise.
4737 2012-03-15 Andreas Jaeger <aj@suse.de>
4740 * math/libm-test.inc (cos_test): Add a test case for large input
4742 (sin_test): Likewise.
4743 (sincos_test): Likewise.
4745 2012-03-15 Andreas Jaeger <aj@suse.de>,
4746 Joseph Myers <joseph@codesourcery.com>
4749 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4750 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4751 * sysdeps/i386/fpu/branred.c: Likewise.
4752 * sysdeps/i386/fpu/dosincos.c: Likewise.
4753 * sysdeps/i386/fpu/mpa.c: Likewise.
4754 * sysdeps/i386/fpu/s_cos.S: Likewise.
4755 * sysdeps/i386/fpu/s_sin.S: Likewise.
4756 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4757 * sysdeps/i386/fpu/sincos32.c: Likewise.
4759 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4761 (libc_feupdateenv_53bit): Define.
4762 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4764 (libc_feupdateenv_53bit): Define.
4766 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4767 53 bit (without extend i386 double precision).
4769 * math/libm-test.inc (sincos_test): Add tests for large input.
4773 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4775 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4779 2012-03-15 David S. Miller <davem@davemloft.net>
4781 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4782 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4783 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4784 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4809 fmin/fmax sysdep routines.
4810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4812 2012-03-14 David S. Miller <davem@davemloft.net>
4814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4818 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4819 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4821 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4834 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4835 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4886 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4891 * sysdeps/sparc/configure.in: New file.
4892 * sysdeps/sparc/configure: Generate.
4893 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4894 * configure: Regenerate.
4895 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4896 * config.make.in (have-as-vis3): New.
4897 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4898 available use -Av9d instead of -Av9a.
4899 * sysdeps/sparc/sparc64/Makefile: Likewise.
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4909 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4910 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4911 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4913 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4915 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4916 fzeros/fnegs to load 0x80000000 into a float register instead of
4918 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4920 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4924 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4925 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4926 ($(inst_includedir)/bits/syscall.h): Remove rule.
4927 ($(objpfx)bits/syscall.d): Include instead of
4928 $(objpfx)syscall-list.d.
4929 (generated): Change syscall-list.h and syscall-list.d to
4930 bits/syscall.h and bits/syscall.d.
4932 2012-03-14 Roland McGrath <roland@hack.frob.com>
4935 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4937 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4940 * math/s_csqrt.c: Include <float.h>.
4941 (__csqrt): Scale large or subnormal inputs.
4942 * math/s_csqrtf.c: Likewise.
4943 * math/s_csqrtl.c: Likewise.
4944 * math/libm-test.inc (csqrt_test): Add more tests.
4945 * sysdeps/i386/fpu/libm-test-ulps: Update.
4946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4949 * math/libm-test.inc (hypot_test): Add more tests.
4951 2012-03-13 David S. Miller <davem@davemloft.net>
4954 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4955 double-precision for the calculation instead of scaling.
4957 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4959 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4960 manipulate bits before adding and subtracting TWO52[sx].
4961 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4962 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4964 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4966 2012-03-13 David S. Miller <davem@davemloft.net>
4968 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4969 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4971 rtld-global-offsets.h
4972 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4974 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4977 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4979 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4980 'err' in the ifdef scope in which it is actually used.
4982 * nss/nss_db/db-init.c: Include string.h
4984 2012-03-12 David S. Miller <davem@davemloft.net>
4986 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4987 masking out of the most significant byte of random value used.
4988 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4989 Fix coding style in previous change.
4991 * sysdeps/unix/sysv/linux/kernel-features.h
4992 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4993 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4995 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4998 2012-03-11 David S. Miller <davem@davemloft.net>
5000 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5001 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5002 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5003 for 'resultvar' otherwise things get truncated on 64-bit.
5005 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5006 Fix masking out of the most significant byte of random value used.
5008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5010 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5014 2012-03-09 David S. Miller <davem@davemloft.net>
5016 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5017 variables with appropriate CPP guards.
5018 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5019 frame pointer, not the stack pointer. Correct layout comments. Fix test
5020 on resulting framesize and the management of the outregs buffer for pltexit.
5021 Preserve floating point return values across _dl_call_pltexit call.
5022 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5023 framesize and the management of the outregs buffer for pltexit.
5024 Preserve floating point return values across _dl_call_pltexit
5026 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5027 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5028 (print_exit): Fix format string for return register value.
5030 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5032 * sunrpc/Makefile (others): Add rpcgen.
5033 ($(objpfx)rpcgen): Remove special build rule and dependency on
5035 * sunrpc/rpcgen.c: New file.
5037 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5040 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5041 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5042 * sysdeps/i386/crti.S: Likewise.
5043 * sysdeps/i386/crtn.S: Likewise.
5044 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5045 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5046 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5047 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5048 * sysdeps/sh/crti.S: Likewise.
5049 * sysdeps/sh/crtn.S: Likewise.
5050 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5053 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5055 * locale/programs/locfile-kw.gperf: Likewise.
5056 * locale/programs/charmap-kw.h: Regenerated.
5057 * locale/programs/locfile-kw.h: Likewise.
5060 * intl/plural.y: Replace FSF snail mail address with URL.
5061 * intl/plural.c: Regenerated.
5063 2012-03-09 Richard Henderson <rth@twiddle.net>
5065 * include/math_private.h: Remove file.
5066 * math/math_private.h: Move file ...
5067 * sysdeps/generic/math_private.h: ... here.
5069 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5070 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5071 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5073 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5074 and <math_private.h>.
5075 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5076 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5077 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5078 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5079 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5080 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5081 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5082 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5083 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5087 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5088 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5089 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5090 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5091 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5092 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5093 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5094 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5095 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5096 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5097 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5098 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5099 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5100 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5101 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5102 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5104 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5105 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5106 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5107 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5108 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5109 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5110 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5112 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5113 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5114 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5115 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5116 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5117 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5118 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5126 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5127 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5129 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5130 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5137 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5138 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5140 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5149 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5152 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5153 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5154 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5155 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5156 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5157 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5158 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5159 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5162 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5163 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5164 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5165 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5166 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5167 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5168 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5169 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5170 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5171 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5172 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5173 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5174 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5175 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5176 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5177 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5178 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5179 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5180 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5181 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5182 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5183 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5184 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5185 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5186 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5187 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5188 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5189 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5190 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5191 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5192 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5193 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5194 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5195 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5196 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5197 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5198 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5199 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5200 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5201 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5202 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5203 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5204 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5205 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5206 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5207 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5208 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5209 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5210 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5211 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5212 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5213 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5214 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5215 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5216 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5217 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5218 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5219 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5220 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5221 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5222 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5223 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5224 * sysdeps/ieee754/k_standard.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5229 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5239 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5252 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5255 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5256 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5257 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5258 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5260 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5262 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5263 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5264 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5265 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5266 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5267 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5269 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5286 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5294 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5297 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5315 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5318 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5319 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5321 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5325 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5326 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5328 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5329 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5330 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5331 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5332 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5333 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5334 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5338 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5340 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5341 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5343 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5344 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5345 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5347 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5349 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5352 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5354 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5355 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5357 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5358 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5359 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5360 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5361 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5362 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5363 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5364 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5365 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5366 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5367 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5368 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5371 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5372 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5373 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5374 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5375 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5376 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5378 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5379 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5382 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5383 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5384 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5385 * sysdeps/ieee754/s_lib_version.c: Likewise.
5386 * sysdeps/ieee754/s_matherr.c: Likewise.
5387 * sysdeps/ieee754/s_signgam.c: Likewise.
5388 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5389 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5390 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5391 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5392 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5393 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5394 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5395 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5396 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5397 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5398 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5399 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5400 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5401 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5402 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5403 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5404 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5405 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5406 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5407 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5408 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5410 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5412 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5413 * sunrpc/rpc_main.c: Likewise.
5414 * sunrpc/rpc_svcout.c: Likewise.
5416 2012-03-09 David S. Miller <davem@davemloft.net>
5418 * include/math_private.h: New file.
5420 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5422 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5423 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5424 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5425 from <bits/socket_type.h>.
5426 (enum __socket_type): Don't define here.
5427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5432 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5435 * Makerules ($(inst_includedir)/%.h): New rule.
5436 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5437 (install-others): Remove variable setting.
5438 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5440 2012-03-08 Richard Henderson <rth@twiddle.net>
5442 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5443 from macro to inline function; merge with the
5444 !__LIBC_INTERNAL_MATH_INLINES version.
5445 (__ieee754_sqrtf): Likewise.
5447 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5449 (__rintf, __floor, __floorf): Likewise.
5451 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5452 macro to inline function.
5453 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5455 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5456 not <math/math_private.h>.
5458 2012-03-08 David S. Miller <davem@davemloft.net>
5460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5462 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5464 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5466 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5468 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5469 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5471 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5473 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5474 be defined individually, they must be defined as a block. Define
5475 S for printing a string instead of hidint the different by using a
5476 macro for adding the 'l'.
5477 * stdio-common/tst-fphex-wide.c: Adjust.
5479 2012-03-07 Marek Polacek <polacek@redhat.com>
5481 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5483 2012-03-08 Marek Polacek <polacek@redhat.com>
5486 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5487 * stdio-common/tst-fphex.c: Define a few macros to make the
5488 test reusable. Use them.
5489 * stdio-common/tst-fphex-wide.c: New file.
5491 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5494 * manual/macros.texi (gnusystems): New macro.
5495 (nongnusystems): Likewise.
5496 (gnulinuxhurdsystems): Likewise.
5497 (gnuhurdsystems): Likewise..
5498 (gnulinuxsystems): Likewise.
5499 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5500 variants of the GNU system, not "GNU system".
5501 * manual/conf.texi: Likewise.
5502 * manual/errno.texi: Likewise. Update example of errno macro
5504 * manual/filesys.texi: Likewise.
5505 (getumask): Document as specific to GNU/Hurd.
5506 * manual/install.texi: Likewise. Reword some references to
5508 * manual/intro.texi: Likewise.
5509 * manual/io.texi: Likewise.
5510 (File Name Portability): Detail which constraints are inapplicable
5511 to all GNU systems and which are only inapplicable to GNU/Hurd.
5512 * manual/job.texi: Likewise.
5513 * manual/llio.texi: Likewise.
5514 (O_NOCTTY): Document as present on GNU/Linux.
5515 * manual/maint.texi: Likewise.
5516 * manual/memory.texi: Likewise.
5517 * manual/pattern.texi: Likewise.
5518 * manual/pipe.texi: Likewise.
5519 * manual/process.texi: Likewise.
5520 * manual/resource.texi: Likewise.
5521 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5523 * manual/setjmp.texi: Likewise.
5524 * manual/signal.texi: Likewise.
5525 * manual/startup.texi: Likewise.
5526 * manual/stdio.texi: Likewise.
5527 * manual/terminal.texi: Likewise.
5528 (ONLCR): Document as POSIX.
5529 (OXTABS): Document availability on GNU/Linux as XTABS.
5530 (ONOEOT): Document availability separately from other bits.
5531 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5532 * manual/time.texi: Likewise.
5533 * manual/users.texi: Likewise.
5534 * INSTALL: Regenerated.
5535 * sysdeps/gnu/errlist.c: Regenerated.
5537 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5538 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5539 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5541 * configure: Regenerated.
5543 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5545 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5546 default includes instead of AC_HEADER_CHECK.
5547 * sysdeps/i386/configure: Regenerated.
5550 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5551 * math/s_cacoshf.c (__cacoshf): Likewise.
5552 * math/s_cacoshl.c (__cacoshl): Likewise.
5553 * math/s_casinh.c (__casinh): Set signs of result from argument.
5554 * math/s_casinhf.c (__casinhf): Likewise.
5555 * math/s_casinhl.c (__casinhl): Likewise.
5556 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5557 (casinh_test): Add more tests.
5558 * sysdeps/i386/fpu/libm-test-ulps: Update.
5559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5561 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5563 * po/zh_TW.po: Update from translation team.
5565 * login/Makefile (distribute): Remove variable.
5566 * catgets/Makefile: Likewise.
5567 * mach/Makefile: Likewise.
5568 * malloc/Makefile: Likewise.
5569 * misc/Makefile: Likewise.
5570 * iconv/Makefile: Likewise.
5571 * nscd/Makefile: Likewise.
5572 * hurd/Makefile: Likewise.
5573 * manual/Makefile: Likewise.
5574 * locale/Makefile: Likewise.
5575 * intl/Makefile: Likewise.
5576 * conform/Makefile: Likewise.
5577 * nss/Makefile: Likewise.
5578 * time/Makefile: Likewise.
5579 * soft-fp/Makefile: Likewise.
5580 * dirent/Makefile: Likewise.
5581 * gmon/Makefile: Likewise.
5582 * po/Makefile: Likewise.
5583 * rt/Makefile: Likewise.
5584 * socket/Makefile: Likewise.
5585 * math/Makefile: Likewise.
5586 * signal/Makefile: Likewise.
5587 * debug/Makefile: Likewise.
5588 * elf/Makefile: Likewise.
5589 * timezone/Makefile: Likewise.
5590 * stdlib/Makefile: Likewise.
5591 * iconvdata/Makefile: Likewise.
5592 * sunrpc/Makefile: Likewise.
5593 * io/Makefile: Likewise.
5594 * argp/Makefile: Likewise.
5595 * inet/Makefile: Likewise.
5596 * hesiod/Makefile: Likewise.
5597 * grp/Makefile: Likewise.
5598 * csu/Makefile: Likewise.
5599 * wctype/Makefile: Likewise.
5600 * crypt/Makefile: Likewise.
5601 * libio/Makefile: Likewise.
5602 * string/Makefile: Likewise.
5603 * nis/Makefile: Likewise.
5604 * resolv/Makefile: Likewise.
5605 * stdio-common/Makefile: Likewise.
5606 * wcsmbs/Makefile: Likewise.
5607 * dlfcn/Makefile: Likewise.
5608 * posix/Makefile: Likewise.
5611 * timezone/Makefile: Don't install timezone files, just the programs
5614 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5616 * nss/databases.def: Add missing gshadow entry.
5618 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5620 2012-03-06 Marek Polacek <polacek@redhat.com>
5623 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5624 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5625 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5626 * stdio-common/tst-long-dbl-fphex.c: New file.
5628 2012-03-06 David S. Miller <davem@davemloft.net>
5630 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5631 (set_obp_int): New function.
5632 (get_obp_int): New function.
5633 (__get_clockfreq_via_dev_openprom): Likewise.
5634 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5635 Avoid unused variable warnings on 'val' and use builtin_expect.
5636 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5638 (INLINE_CLONE_SYSCALL): Likewise.
5640 2012-03-05 David S. Miller <davem@davemloft.net>
5642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5644 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5648 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5650 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5652 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5654 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5655 Replace gettimeofday with __vdso_gettimeofday.
5657 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5658 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5659 __vdso_clock_gettime and __vdso_getcpu.
5661 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5662 time with __vdso_time.
5664 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5666 * manual/lang.texi (size_t): Note types to which size_t may be
5667 equivalent with the GNU C Library, but do not describe when
5668 differences between them are significant.
5670 2012-03-05 Andreas Jaeger <aj@suse.de>
5672 * sysdeps/i386/fpu/libm-test-ulps: Update.
5674 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5677 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5678 (__ieee754_pow): Save and restore rounding mode and use
5679 round-to-nearest for main computations.
5680 * math/libm-test.inc (pow_test_tonearest): New function.
5681 (pow_test_towardzero): Likewise.
5682 (pow_test_downward): Likewise.
5683 (pow_test_upward): Likewise.
5684 (main): Call the new functions.
5685 * sysdeps/i386/fpu/libm-test-ulps: Update.
5686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5689 * math/libm-test.inc (cosh_test_tonearest): New function.
5690 (cosh_test_towardzero): Likewise.
5691 (cosh_test_downward): Likewise.
5692 (cosh_test_upward): Likewise.
5693 (sinh_test_tonearest): Likewise.
5694 (sinh_test_towardzero): Likewise.
5695 (sinh_test_downward): Likewise.
5696 (sinh_test_upward): Likewise.
5697 (main): Call the new functions.
5698 * sysdeps/i386/fpu/libm-test-ulps: Update.
5699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5701 2012-03-05 Tom de Vries <tom@codesourcery.com>
5703 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5704 default stack guard is set in last bytes.
5705 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5707 2012-03-05 Kees Cook <keescook@chromium.org>
5709 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5712 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5713 possibly allocate from heap instead of stack.
5714 * stdio-common/bug-vfprintf-nargs.c: New file.
5715 * stdio-common/Makefile (tests): Add nargs overflow test.
5717 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5721 2012-03-03 Marek Polacek <polacek@redhat.com>
5723 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5724 * math/math_private.h: Likewise.
5725 * stdlib/tst-strtod.c: Likewise.
5726 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5727 * sysdeps/x86_64/bits/atomic.h: Likewise.
5729 2012-03-02 David S. Miller <davem@davemloft.net>
5731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5735 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5736 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5737 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5738 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5740 2012-03-02 Roland McGrath <roland@hack.frob.com>
5743 * manual/examples/README: New file, says the example source files
5744 can be used under GPL>=2.
5745 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5746 line containing just "*/".
5747 * manual/examples/add.c: Add copyright header (GPL>=2).
5748 * manual/examples/argp-ex1.c: Likewise.
5749 * manual/examples/argp-ex2.c: Likewise.
5750 * manual/examples/argp-ex3.c: Likewise.
5751 * manual/examples/argp-ex4.c: Likewise.
5752 * manual/examples/atexit.c: Likewise.
5753 * manual/examples/db.c: Likewise.
5754 * manual/examples/dir.c: Likewise.
5755 * manual/examples/dir2.c: Likewise.
5756 * manual/examples/execinfo.c: Likewise.
5757 * manual/examples/filecli.c: Likewise.
5758 * manual/examples/filesrv.c: Likewise.
5759 * manual/examples/fmtmsgexpl.c: Likewise.
5760 * manual/examples/genpass.c: Likewise.
5761 * manual/examples/inetcli.c: Likewise.
5762 * manual/examples/inetsrv.c: Likewise.
5763 * manual/examples/isockad.c: Likewise.
5764 * manual/examples/longopt.c: Likewise.
5765 * manual/examples/memopen.c: Likewise.
5766 * manual/examples/memstrm.c: Likewise.
5767 * manual/examples/mkfsock.c: Likewise.
5768 * manual/examples/mkisock.c: Likewise.
5769 * manual/examples/mygetpass.c: Likewise.
5770 * manual/examples/pipe.c: Likewise.
5771 * manual/examples/popen.c: Likewise.
5772 * manual/examples/rprintf.c: Likewise.
5773 * manual/examples/search.c: Likewise.
5774 * manual/examples/select.c: Likewise.
5775 * manual/examples/setjmp.c: Likewise.
5776 * manual/examples/sigh1.c: Likewise.
5777 * manual/examples/sigusr.c: Likewise.
5778 * manual/examples/stpcpy.c: Likewise.
5779 * manual/examples/strdupa.c: Likewise.
5780 * manual/examples/strftim.c: Likewise.
5781 * manual/examples/strncat.c: Likewise.
5782 * manual/examples/subopt.c: Likewise.
5783 * manual/examples/swapcontext.c: Likewise.
5784 * manual/examples/termios.c: Likewise.
5785 * manual/examples/testopt.c: Likewise.
5786 * manual/examples/testpass.c: Likewise.
5787 * manual/examples/timeval_subtract.c: Likewise.
5790 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5792 * manual/timeval_subtract.c.texi: ... here, new file.
5794 2012-03-02 David S. Miller <davem@davemloft.net>
5796 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5798 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5801 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5802 (__sin): Save and restore rounding mode and use round-to-nearest
5803 for all computations.
5804 (__cos): Save and restore rounding mode and use round-to-nearest
5805 for all computations.
5806 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5808 (tan): Save and restore rounding mode and use round-to-nearest for
5810 * math/libm-test.inc (cos_test_tonearest): New function.
5811 (cos_test_towardzero): Likewise.
5812 (cos_test_downward): Likewise.
5813 (cos_test_upward): Likewise.
5814 (sin_test_tonearest): Likewise.
5815 (sin_test_towardzero): Likewise.
5816 (sin_test_downward): Likewise.
5817 (sin_test_upward): Likewise.
5818 (tan_test_tonearest): Likewise.
5819 (tan_test_towardzero): Likewise.
5820 (tan_test_downward): Likewise.
5821 (tan_test_upward): Likewise.
5822 (main): Call the new functions.
5823 * sysdeps/i386/fpu/libm-test-ulps: Update.
5824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5827 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5828 small n, then large n, before computing and testing k+n.
5829 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5830 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5832 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5834 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5835 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5836 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5837 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5838 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5839 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5840 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5841 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5842 * math/libm-test.inc (scalbn_test): Add more tests.
5843 (scalbln_test): Likewise.
5845 * manual/filesys.texi (mode_t): Describe constraints on size and
5846 signedness, not exact equivalence to a particular type.
5848 (ino64_t): Likewise.
5850 (nlink_t): Likewise.
5851 (blkcnt_t): Likewise.
5852 (blkcnt64_t): Likewise.
5853 * manual/llio.texi (off_t): Likewise.
5856 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5857 (__ieee754_exp): Save and restore rounding mode and use
5858 round-to-nearest for all computations.
5859 * math/libm-test.inc (exp_test_tonearest): New function.
5860 (exp_test_towardzero): Likewise.
5861 (exp_test_downward): Likewise.
5862 (exp_test_upward): Likewise.
5863 (main): Call the new functions.
5864 * sysdeps/i386/fpu/libm-test-ulps: Update.
5865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5867 2012-03-01 Chris Demetriou <cgd@google.com>
5869 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5870 have predictable order.
5872 2012-03-01 David S. Miller <davem@davemloft.net>
5874 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5876 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5877 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5878 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5879 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5881 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5882 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5883 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5885 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5886 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5887 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5888 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5889 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5893 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5894 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5895 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5897 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5898 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5899 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5900 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5901 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5902 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5903 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5904 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5905 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5906 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5907 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5908 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5910 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5911 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5913 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5914 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5915 * sysdeps/sparc/elf/configure: Regenerated.
5917 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5919 * configure.in (AS, LD): Require binutils 2.20 or later.
5920 * configure: Regenerated.
5921 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5922 as required minimum version.
5923 * INSTALL: Regenerated.
5927 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5928 before squaring exponent.
5929 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5930 bottom long double and 27 bits of top long double before squaring
5932 * math/libm-test.inc (erfc_test): Add more tests.
5933 * sysdeps/i386/fpu/libm-test-ulps: Update.
5934 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5937 2012-03-01 Kai Tietz <ktietz@redhat.com>
5939 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5940 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5941 containing bit-fields.
5942 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5943 * soft-fp/single.h (_FP_UNION_S): Likewise.
5944 * soft-fp/double.h (_FP_UNION_D): Likewise.
5946 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5949 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5950 not include ../strcmp.S.
5951 [USE_AS_STRNCASECMP_L]: Likewise.
5952 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5953 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5954 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5955 (__strncasecmp_l_ia32): Define as alias to
5956 __strncasecmp_l_nonascii.
5959 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5960 * sysdeps/i386/fpu/libm-test-ulps: Update.
5961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5963 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5966 2012-02-29 Jeff Law <law@redhat.com>
5968 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5971 2012-02-29 Marek Polacek <polacek@redhat.com>
5974 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5975 * elf/Makefile: Add rules to run tst-unused-dep.out.
5977 2012-02-28 David S. Miller <davem@davemloft.net>
5979 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5980 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5981 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5982 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5983 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5984 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5986 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5988 * math/libm-test.inc (llround_test): Move one test from
5989 lround_test. Use TEST_f_L in moved test.
5990 (lround_test): Move misplaced test to llround_test. Add testcase
5993 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5995 * sysdeps/x86_64/fpu/e_expf.S: New file.
5996 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5998 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6001 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6002 of remain_len that may cause incomplete multi-byte character and
6004 * posix/bug-regex33.c: New file.
6005 * posix/Makefile (tests): Add bug-regex33.
6007 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6009 * manual/macros.texi: New file.
6010 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6011 * manual/libc.texinfo: Include macros.texi.
6012 * manual/creatute.texi: Likewise.
6013 * manual/install.texi: Likewise.
6014 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6015 @glibcadj{} in references to the GNU C Library.
6016 * manual/charset.texi: Likewise.
6017 * manual/conf.texi: Likewise.
6018 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6019 when not using those macros.
6020 * manual/creature.texi: Likewise.
6021 * manual/crypt.texi: Likewise.
6022 * manual/errno.texi: Likewise.
6023 * manual/filesys.texi: Likewise.
6024 * manual/header.texi: Likewise.
6025 * manual/install.texi: Likewise.
6026 * manual/intro.texi: Likewise.
6027 * manual/io.texi: Likewise.
6028 * manual/job.texi: Likewise.
6029 * manual/lang.texi: Likewise.
6030 * manual/libc.texiinfo: Likewise.
6031 * manual/llio.texi: Likewise.
6032 * manual/locale.texi: Likewise.
6033 * manual/maint.texi: Likewise.
6034 * manual/math.texi: Likewise.
6035 * manual/memory.texi: Likewise.
6036 * manual/message.texi: Likewise.
6037 * manual/nss.texi: Likewise.
6038 * manual/pattern.texi: Likewise.
6039 * manual/process.texi: Likewise.
6040 * manual/resource.texi: Likewise.
6041 * manual/search.texi: Likewise.
6042 * manual/setjmp.texi: Likewise.
6043 * manual/signal.texi: Likewise.
6044 * manual/socket.texi: Likewise.
6045 * manual/startup.texi: Likewise.
6046 * manual/stdio.texi: Likewise.
6047 * manual/string.texi: Likewise.
6048 * manual/sysinfo.texi: Likewise.
6049 * manual/syslog.texi: Likewise.
6050 * manual/terminal.texi: Likewise.
6051 * manual/time.texi: Likewise.
6052 * manual/users.texi: Likewise.
6053 * INSTALL: Regenerated.
6054 * NOTES: Regenerated.
6055 * sysdeps/gnu/errlist.c: Regenerated.
6057 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6059 * include/dirent.h: Include <dirstream.h> before
6062 2012-02-28 David S. Miller <davem@davemloft.net>
6064 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6065 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6066 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6067 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6069 2012-02-27 David S. Miller <davem@davemloft.net>
6071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6073 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6074 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6077 frame pointer instead of stack pointer relative arg slot.
6078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6079 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6080 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6082 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6085 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6087 2012-02-27 David S. Miller <davem@davemloft.net>
6089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6093 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6094 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6095 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6096 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6098 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6100 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6101 later. Allow versions 5-9.
6102 * configure: Regenerated.
6103 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6104 required minimum version and 4.6 as recommended version. Do not
6105 mention bugs in GCC 2.7 and 2.8.
6106 * INSTALL: Regenerated.
6108 2012-02-27 David S. Miller <davem@davemloft.net>
6110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6116 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6117 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6119 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6120 manipulate bits before adding and subtracting TWO112[sx].
6121 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6123 2012-02-27 Roland McGrath <roland@hack.frob.com>
6126 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6127 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6128 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6129 being in POSIX, because they are in 1003.1-2008.
6131 * rt/tst-aio.c: Include <fcntl.h>.
6132 * rt/tst-aio7.c: Likewise.
6133 * rt/tst-aio64.c: Likewise.
6135 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6137 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6139 * manual/install.texi (--with-headers): Describe headers as
6140 interface headers, not private headers.
6141 (Specific advice for GNU/Linux systems): Describe use of headers
6142 from "make headers_install", not private headers from older
6144 * INSTALL: Regenerated.
6145 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6147 * sysdeps/unix/sysv/linux/configure: Regenerated.
6149 * manual/llio.texi (fclean): Remove documentation.
6151 * manual/Makefile (libc-texi-generated): New variable. Include
6153 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6154 $(libc-texi-generated), not duplicated list of files.
6155 (version.texi, stamp-version): New rules.
6156 (realclean): Remove $(libc-texi-generated), not individual files
6157 from that list. Do not remove dir-add.texinfo.
6158 * manual/libc.texinfo: Comment out uses of edition numbers and
6159 references to printed manual. Remove last-updated dates.
6160 (EDITION): Comment out.
6162 (VERSION, UPDATED): Remove.
6163 (version.texi): Include.
6165 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6167 * sysdeps/posix/spawni.c: Include <signal.h>.
6168 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6169 * sysdeps/pthread/aio_fsync.c: Likewise.
6171 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6173 * conform/Makefile (tests): Run only when not cross-compiling and
6174 when fast-check is not defined.
6176 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6177 * conform/data/limits.h-data: Fixes for POSIX2008.
6178 * conform/run-conformtest.sh: Run all tests.
6179 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6181 * include/bits/dlfcn.h: Likewise.
6182 * include/langinfo.h: Likewise.
6183 * include/monetary.h: Likewise.
6184 * include/sys/poll.h: Likewise.
6186 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6188 * posix/spawn.h: Define __need_sigset_t.
6189 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6190 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6191 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6192 to get sigevent_t only.
6193 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6196 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6197 process_vm_writev only for __USE_GNU.
6198 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6200 * conform/Makefile: For now ignore errors from run-conformtest.
6201 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6202 POSIX to avoid namespace pollution. Don't prepend headers.
6203 * conform/data/aio.h-data: Fixes for POSIX testing.
6204 * conform/data/fcntl.h-data: Likewise.
6205 * conform/data/glob.h-data: Likewise.
6206 * conform/data/grp.h-data: Likewise.
6207 * conform/data/pthread.h-data: Likewise.
6208 * conform/data/pwd.h-data: Likewise.
6209 * conform/data/signal.h-data: Likewise.
6210 * conform/data/spawn.h-data: Likewise.
6211 * conform/data/stdio.h-data: Likewise.
6212 * conform/data/stdlib.h-data: Likewise.
6213 * conform/data/stropts.h-data: Likewise.
6214 * conform/data/sys/mman.h-data: Likewise.
6215 * conform/data/sys/stat.h-data: Likewise.
6216 * conform/data/sys/types.h-data: Likewise.
6217 * conform/data/sys/wait.h-data: Likewise.
6218 * conform/data/time.h-data: Likewise.
6219 * conform/data/unistd.h-data: Likewise.
6220 * conform/data/utime.h-data: Likewise.
6222 * io/sys/stat.h: fchmod was always in POSIX.
6223 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6224 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6225 * rt/aio.h: Define __need_timespec before including <time.h>.
6226 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6227 struct. Add forward declaration of pthread_attr_t and use it in
6229 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6230 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6231 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6232 always remove CLK_TCK definition.
6234 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6236 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6238 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6240 * conform/run-conformtest.sh: New file.
6241 * conform/Makefile: Run run-conformtest for tests.
6242 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6245 * conform/data/uchar.h-data: New file.
6246 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6247 * conform/data/arpa/inet.h-data: Likewise.
6248 * conform/data/assert.h-data: Likewise.
6249 * conform/data/complex.h-data: Likewise.
6250 * conform/data/cpio.h-data: Likewise.
6251 * conform/data/ctype.h-data: Likewise.
6252 * conform/data/dirent.h-data: Likewise.
6253 * conform/data/dlfcn.h-data: Likewise.
6254 * conform/data/errno.h-data: Likewise.
6255 * conform/data/fcntl.h-data: Likewise.
6256 * conform/data/float.h-data: Likewise.
6257 * conform/data/fmtmsg.h-data: Likewise.
6258 * conform/data/fnmatch.h-data: Likewise.
6259 * conform/data/ftw.h-data: Likewise.
6260 * conform/data/glob.h-data: Likewise.
6261 * conform/data/grp.h-data: Likewise.
6262 * conform/data/iconv.h-data: Likewise.
6263 * conform/data/inttypes.h-data: Likewise.
6264 * conform/data/langinfo.h-data: Likewise.
6265 * conform/data/libgen.h-data: Likewise.
6266 * conform/data/limits.h-data: Likewise.
6267 * conform/data/locale.h-data: Likewise.
6268 * conform/data/math.h-data: Likewise.
6269 * conform/data/monetary.h-data: Likewise.
6270 * conform/data/mqueue.h-data: Likewise.
6271 * conform/data/ndbm.h-data: Likewise.
6272 * conform/data/net/if.h-data: Likewise.
6273 * conform/data/netdb.h-data: Likewise.
6274 * conform/data/netinet/in.h-data: Likewise.
6275 * conform/data/nl_types.h-data: Likewise.
6276 * conform/data/poll.h-data: Likewise.
6277 * conform/data/pthread.h-data: Likewise.
6278 * conform/data/pwd.h-data: Likewise.
6279 * conform/data/regex.h-data: Likewise.
6280 * conform/data/sched.h-data: Likewise.
6281 * conform/data/search.h-data: Likewise.
6282 * conform/data/semaphore.h-data: Likewise.
6283 * conform/data/setjmp.h-data: Likewise.
6284 * conform/data/signal.h-data: Likewise.
6285 * conform/data/spawn.h-data: Likewise.
6286 * conform/data/stdarg.h-data: Likewise.
6287 * conform/data/stdio.h-data: Likewise.
6288 * conform/data/stdlib.h-data: Likewise.
6289 * conform/data/string.h-data: Likewise.
6290 * conform/data/strings.h-data: Likewise.
6291 * conform/data/stropts.h-data: Likewise.
6292 * conform/data/sys/ipc.h-data: Likewise.
6293 * conform/data/sys/mman.h-data: Likewise.
6294 * conform/data/sys/msg.h-data: Likewise.
6295 * conform/data/sys/resource.h-data: Likewise.
6296 * conform/data/sys/select.h-data: Likewise.
6297 * conform/data/sys/sem.h-data: Likewise.
6298 * conform/data/sys/shm.h-data: Likewise.
6299 * conform/data/sys/socket.h-data: Likewise.
6300 * conform/data/sys/stat.h-data: Likewise.
6301 * conform/data/sys/statvfs.h-data: Likewise.
6302 * conform/data/sys/time.h-data: Likewise.
6303 * conform/data/sys/timeb.h-data: Likewise.
6304 * conform/data/sys/times.h-data: Likewise.
6305 * conform/data/sys/types.h-data: Likewise.
6306 * conform/data/sys/uio.h-data: Likewise.
6307 * conform/data/sys/un.h-data: Likewise.
6308 * conform/data/sys/utsname.h-data: Likewise.
6309 * conform/data/sys/wait.h-data: Likewise.
6310 * conform/data/syslog.h-data: Likewise.
6311 * conform/data/tar.h-data: Likewise.
6312 * conform/data/termios.h-data: Likewise.
6313 * conform/data/utime.h-data: Likewise.
6314 * conform/data/utmpx.h-data: Likewise.
6315 * conform/data/varargs.h-data: Likewise.
6316 * conform/data/wchar.h-data: Likewise.
6317 * conform/data/wctype.h-data: Likewise.
6318 * conform/data/wordexp.h-data: Likewise.
6320 * include/stropts.h: New file.
6321 * include/uchar.h: New file.
6322 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6323 * include/assert.h: Likewise.
6324 * include/ctype.h: Likewise.
6325 * include/dirent.h: Likewise.
6326 * include/dlfcn.h: Likewise.
6327 * include/fcntl.h: Likewise.
6328 * include/fnmatch.h: Likewise.
6329 * include/glob.h: Likewise.
6330 * include/grp.h: Likewise.
6331 * include/libio.h: Likewise.
6332 * include/locale.h: Likewise.
6333 * include/math.h: Likewise.
6334 * include/net/if.h: Likewise.
6335 * include/netdb.h: Likewise.
6336 * include/netinet/in.h: Likewise.
6337 * include/pthread.h: Likewise.
6338 * include/pwd.h: Likewise.
6339 * include/regex.h: Likewise.
6340 * include/sched.h: Likewise.
6341 * include/search.h: Likewise.
6342 * include/setjmp.h: Likewise.
6343 * include/signal.h: Likewise.
6344 * include/stdio.h: Likewise.
6345 * include/stdlib.h: Likewise.
6346 * include/string.h: Likewise.
6347 * include/sys/cdefs.h: Likewise.
6348 * include/sys/mman.h: Likewise.
6349 * include/sys/msg.h: Likewise.
6350 * include/sys/resource.h: Likewise.
6351 * include/sys/select.h: Likewise.
6352 * include/sys/socket.h: Likewise.
6353 * include/sys/stat.h: Likewise.
6354 * include/sys/statvfs.h: Likewise.
6355 * include/sys/time.h: Likewise.
6356 * include/sys/times.h: Likewise.
6357 * include/sys/uio.h: Likewise.
6358 * include/sys/utsname.h: Likewise.
6359 * include/sys/wait.h: Likewise.
6360 * include/termios.h: Likewise.
6361 * include/time.h: Likewise.
6362 * include/ulimit.h: Likewise.
6363 * include/unistd.h: Likewise.
6364 * include/utime.h: Likewise.
6365 * include/wchar.h: Likewise.
6366 * include/wctype.h: Likewise.
6367 * include/wordexp.h: Likewise.
6369 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6371 * time/time.h: TIME_UTC must be a macro.
6372 Make timespec_get available for ISO C11 only as well.
6374 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6376 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6377 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6379 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6381 * configure.in: Use -o not -a in test for unsupported multi-arch.
6383 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6385 * manual/texinfo.tex: Update to version 2012-01-19.16.
6387 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6389 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6391 2012-02-24 Roland McGrath <roland@hack.frob.com>
6394 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6395 * manual/fdl-1.3.texi: New file.
6396 * manual/fdl-1.1.texi: File removed.
6399 * manual/libc.texinfo (FDL_VERSION): New @set.
6400 Use it for mention of FDL in cover text.
6401 (Documentation License): Use it in @include file name.
6403 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6404 Roland McGrath <roland@hack.frob.com>
6407 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6408 not LONG_LONG_MAX and LONG_LONG_MIN.
6409 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6410 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6412 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6414 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6418 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6419 manipulate bits before adding and subtracting TWO23[sx].
6420 * math/libm-test.inc (nearbyint_test): Add more tests.
6422 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6425 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6426 bits before adding and subtracting TWO23[sx].
6427 * math/libm-test.inc (rint_test): Add more tests.
6428 (rint_test_tonearest): Likewise.
6429 (rint_test_towardzero): Likewise.
6430 (rint_test_downward): Likewise.
6431 (rint_test_upward: Likewise.
6433 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6436 * include/stdc-predef.h: New file. Extracted from features.h.
6437 * include/features.h: Include stdc-predef.h.
6438 * Makefile (headers): Add stdc-predef.h.
6439 * CONFORMANCE (Compiler limitations): Update.
6441 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6443 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6445 2012-02-21 David S. Miller <davem@davemloft.net>
6447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6448 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6450 2012-02-20 David S. Miller <davem@davemloft.net>
6452 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6453 using a normal save/restore sequence, rather than allocating a
6454 dummy stack frame just to store a frame pointer and restore.
6455 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6457 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6459 * manual/install.texi: Fix stray word in line-wrapped comment.
6461 2012-02-20 David S. Miller <davem@davemloft.net>
6463 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6464 both binutils and gcc support GOTDATA.
6466 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6467 "rd %pc" in the PIC register setup sequences.
6469 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6470 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6471 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6472 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6473 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6475 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6476 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6478 (SYSCALL_ERROR_HANDLER): Likewise.
6479 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6480 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6482 (SYSCALL_ERROR_HANDLER): Likewise.
6484 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6485 (HAVE_GCC_GOTDATA): New.
6486 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6487 relocation support in both binutils and gcc.
6488 * sysdeps/sparc/elf/configure: Regenerate.
6490 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6491 * sysdeps/sparc/sparc32/elf/configure: Delete.
6492 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6493 * sysdeps/sparc/sparc64/elf/configure: Delete.
6494 * sysdeps/sparc/elf/configure.in: New file.
6495 * sysdeps/sparc/elf/configure: Generate.
6497 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6498 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6499 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6500 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6501 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6503 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6505 * manual/install.texi: Do not mention specific glibc version
6507 * manual/libc.texinfo (VERSION, UPDATED): Update.
6508 (@copying): Use @copyright{} and range of years.
6510 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6513 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6514 [crti.S not in sysdirs] (generated): Do not append.
6515 [crti.S not in sysdirs] (omit-deps): Likewise.
6516 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6517 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6518 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6519 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6520 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6522 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6523 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6524 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6525 * csu/defs.awk: Remove file.
6526 * sysdeps/generic/initfini.c: Likewise.
6527 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6529 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6532 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6534 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6535 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6536 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6537 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6538 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6539 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6541 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6542 (__EPOLL_PACKED): Define to empty if not defined by
6544 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6548 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6550 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6551 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6552 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6553 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6555 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6559 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6561 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6563 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6564 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6565 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6568 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6570 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6571 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6573 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6575 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6576 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6578 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6580 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6583 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6585 * math/w_acos.c: Use non-signaling floating-point comparisons.
6586 * math/w_acosf.c: Likewise.
6587 * math/w_acosh.c: Likewise.
6588 * math/w_acoshf.c: Likewise.
6589 * math/w_acoshl.c: Likewise.
6590 * math/w_acosl.c: Likewise.
6591 * math/w_asin.c: Likewise.
6592 * math/w_asinf.c: Likewise.
6593 * math/w_asinl.c: Likewise.
6594 * math/w_atanh.c: Likewise.
6595 * math/w_atanhf.c: Likewise.
6596 * math/w_atanhl.c: Likewise.
6597 * math/w_exp2.c: Likewise.
6598 * math/w_exp2f.c: Likewise.
6599 * math/w_exp2l.c: Likewise.
6600 * math/w_j0.c: Likewise.
6601 * math/w_j0f.c: Likewise.
6602 * math/w_j0l.c: Likewise.
6603 * math/w_j1.c: Likewise.
6604 * math/w_j1f.c: Likewise.
6605 * math/w_j1l.c: Likewise.
6606 * math/w_jn.c: Likewise.
6607 * math/w_jnf.c: Likewise.
6608 * math/w_log.c: Likewise.
6609 * math/w_log10.c: Likewise.
6610 * math/w_log10f.c: Likewise.
6611 * math/w_log10l.c: Likewise.
6612 * math/w_log2.c: Likewise.
6613 * math/w_log2f.c: Likewise.
6614 * math/w_log2l.c: Likewise.
6615 * math/w_logf.c: Likewise.
6616 * math/w_logl.c: Likewise.
6617 * math/w_sqrt.c: Likewise.
6618 * math/w_sqrtf.c: Likewise.
6619 * math/w_sqrtl.c: Likewise.
6620 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6621 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6622 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6623 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6624 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6626 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6629 * manual/string.texi (strnlen): Use correct parameter name in
6630 equivalent expression.
6632 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6635 * manual/users.texi (seteuid): Consistently use neweuid for
6638 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6641 * manual/nss.texi (Services in the NSS configuration): Correct
6642 list of services in example configuration file.
6644 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6647 * manual/arith.texi: Remove statements about negative zero
6648 behaving identically to zero.
6650 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6653 * manual/install.texi: Do not document upgrading from libc5.
6655 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6658 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6660 2012-02-18 David S. Miller <davem@davemloft.net>
6662 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6663 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6664 %o7 across the call.
6665 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6670 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6671 * sysdeps/sparc/crtn.S: Likewise.
6673 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6675 * aout/Makefile: Remove.
6677 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6680 * manual/examples/argp-ex1.c (main): Format definition in GNU
6682 * manual/examples/argp-ex2.c (main): Likewise.
6683 * manual/examples/argp-ex3.c (main): Likewise.
6684 * manual/examples/argp-ex4.c (main): Likewise.
6685 * manual/examples/longopt.c (main): Use new-style prototype
6687 * manual/examples/strncat.c (main): Specify return type and use
6688 (void) for arguments.
6689 * manual/examples/subopt.c (main): Use char **argv argument.
6691 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6694 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6697 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6700 * manual/string.texi (strchr): Change when strchrnul is
6703 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6706 * manual/locale.texi (setlocale): Document LOCPATH.
6708 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6711 * manual/process.texi (execle): Move @dots{} before last argument.
6713 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6716 * manual/charset.texi (Generic Charset Conversion): Fix typo
6717 (LC_TYPE -> LC_CTYPE).
6719 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6722 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6723 (scalbnf): Likewise.
6724 (scalbnl): Likewise.
6725 (scalbln): Likewise.
6726 (scalblnf): Likewise.
6727 (scalblnl): Likewise.
6728 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6732 * manual/filesys.texi (telldir): Use braces around return type.
6733 * manual/llio.texi (mmap): Add space after comma.
6735 * manual/math.texi (jn): Use @var{} on parameter names.
6741 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6743 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6745 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6746 (sched_get_priority_max): Likewise.
6747 * manual/signal.texi (sigvec): Add space after comma.
6748 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6750 (if_indextoname): Likewise.
6751 (if_freenameindex): Likewise.
6752 (sendto): Use ',' instead of '.' in prototype.
6753 * manual/startup.texi (syscall): Use @dots{} instead of literal
6755 * manual/stdio.texi (__fpending): Separate initial words of
6756 paragraph from @deftypefun line.
6757 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6759 (vsyslog): Use @var{} on parameter names.
6760 * manual/terminal.texi (stty): Use @var{} on parameter names.
6761 * manual/users.texi (getutmp): Use @var{} on parameter names.
6762 (getutmpx): Likewise.
6764 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6767 * manual/stdio.texi (fopen): Fix typos in description of
6770 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6773 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6774 get clock_id definition.
6776 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6779 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6780 (madvise): Cast every argument to void on its own.
6782 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6785 * manual/startup.texi (Exit Status): Fix typo.
6787 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6790 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6791 * manual/examples/argp-ex2.c: Likewise.
6792 * manual/examples/argp-ex3.c: Likewise.
6794 2012-02-16 Richard Henderson <rth@redhat.com>
6796 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6797 * sysdeps/s390/s390-32/initfini.c: Remove.
6798 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6799 * sysdeps/s390/s390-64/initfini.c: Remove.
6801 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6803 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6804 compiler output for sysdeps/generic/initfini.c.
6805 * sysdeps/sh/elf/initfini.c: Remove file.
6807 2012-02-16 David S. Miller <davem@davemloft.net>
6810 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6812 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6813 * sysdeps/sparc/crti.S: New file.
6814 * sysdeps/sparc/crtn.S: New file.
6815 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6816 * sysdeps/sparc/sparc64/Makefile: Likewise.
6818 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6821 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6823 2012-02-15 Roland McGrath <roland@hack.frob.com>
6826 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6828 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6829 (write, read, close): Likewise.
6830 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6832 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6834 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6835 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6837 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6839 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6843 2012-02-14 Marek Polacek <polacek@redhat.com>
6845 * sysdeps/x86_64/crti.S: New file.
6846 * sysdeps/x86_64/crtn.S: New file.
6847 * sysdeps/x86_64/elf/initfini.c: Remove file.
6849 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6851 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6852 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6853 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6854 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6856 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6860 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6862 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6863 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6864 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6865 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6867 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6871 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6873 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6874 __feraiseexcept instead of feraiseexcept.
6876 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6877 nanosleep invocations.
6878 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6879 strings, and add error checking for a nanosleep invocations.
6881 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6883 Replace FSF snail mail address with URLs, as per GNU coding standards.
6884 Most of the snail mail addresses were wrong anyway, and omitting
6885 them makes the source code easier to maintain. Almost all of the
6886 changes are to license notices and to locale LC_IDENTIFICATION
6887 addresses, except for this one:
6888 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6889 not its snail mail address.
6891 2012-02-09 Richard Henderson <rth@twiddle.net>
6893 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6894 of kernel-features.h.
6896 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6898 2012-02-08 Marek Polacek <polacek@redhat.com>
6900 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6901 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6902 * sysdeps/gnu/_G_config.h: Likewise.
6903 * sysdeps/generic/_G_config.h: Likewise.
6905 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6907 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6911 * sysdeps/powerpc/powerpc32/crti.S: New file.
6912 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6913 * sysdeps/powerpc/powerpc64/crti.S: New file.
6914 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6916 * Makeconfig (have-initfini): Don't set.
6917 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6918 * configure.in (nopic_initfini): Don't substitute.
6919 * config.h.in (HAVE_INITFINI): Don't #undef.
6920 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6921 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6923 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6925 Support crti.S and crtn.S provided directly by architectures.
6926 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6927 [crti.S in sysdirs] (omit-deps): Likewise.
6928 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6929 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6930 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6931 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6932 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6933 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6934 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6935 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6936 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6937 compiler output for sysdeps/generic/initfini.c.
6938 * sysdeps/i386/elf/Makefile: Remove file.
6939 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6941 2012-02-07 Marek Polacek <polacek@redhat.com>
6943 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6944 * sysdeps/gnu/_G_config.h: Likewise.
6945 * sysdeps/mach/hurd/_G_config.h: Likewise.
6947 2012-02-07 Marek Polacek <polacek@redhat.com>
6949 * math/Makefile (tests): Add tst-CMPLX2.
6950 * math/tst-CMPLX2.c: New file.
6952 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6954 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6956 * math/libm-test.inc (jn_test): Add missing L suffix.
6958 2012-02-06 Marek Polacek <polacek@redhat.com>
6960 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6961 * sysdeps/i386/fpu/e_powf.S: Likewise.
6962 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6963 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6964 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6965 * sysdeps/i386/fpu/e_pow.S: Likewise.
6966 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6967 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6968 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6969 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6970 * sysdeps/i386/fpu/e_log2.S: Likewise.
6971 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6972 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6973 * sysdeps/i386/fpu/e_powl.S: Likewise.
6974 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6975 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6976 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6977 * sysdeps/i386/fpu/e_logl.S: Likewise.
6978 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6979 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6980 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6981 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6982 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6983 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6984 * sysdeps/i386/fpu/e_log.S: Likewise.
6985 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6986 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6987 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6988 * sysdeps/i386/fpu/e_logf.S: Likewise.
6989 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6990 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6991 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6992 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6993 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6994 * sysdeps/i386/fpu/e_log10.S: Likewise.
6995 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6996 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6997 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6998 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6999 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7000 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7001 * sysdeps/i386/asm-syntax.h: Likewise.
7002 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7003 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7004 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7005 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7006 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7007 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7008 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7009 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7010 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7011 * sysdeps/powerpc/sysdep.h: Likewise.
7012 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7013 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7015 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7018 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7020 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7022 * sysdeps/i386/sysdep.h: Include <features.h>.
7023 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7026 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7028 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7030 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7033 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7035 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7036 (SETUP_PIC_REG): Use GET_PC_THUNK.
7037 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7040 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7042 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7043 for non-PIC compilation.
7044 (SETUP_PIC_REG): Add .p2align directive.
7045 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7046 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7047 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7048 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7049 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7050 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7051 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7052 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7053 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7054 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7055 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7056 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7057 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7058 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7059 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7060 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7061 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7062 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7063 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7064 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7065 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7067 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7068 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7069 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7070 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7071 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7072 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7073 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7074 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7075 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7076 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7077 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7078 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7079 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7080 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7081 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7082 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7083 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7084 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7085 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7087 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7089 * math/tst-CMPLX.c: Include <stdio.h>.
7091 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7093 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7095 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7096 * sysdeps/sparc/bits/mathdef.h: Likewise.
7098 2012-01-31 Marek Polacek <polacek@redhat.com>
7100 * libio/libio.h: Don't define _PARAMS.
7101 * locale/programs/config.h: Don't define PARAMS.
7102 * stdlib/strtol_l.c: Likewise.
7103 (__strtol_l): Remove PARAMS from the prototype.
7105 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7107 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7108 names. Just use the correct names. Remove unnecessary wrapper
7110 * malloc/arena.c: Likewise.
7111 * malloc/hooks.c: Likewise.
7113 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7114 ARENA_TEST says not to. Simplify test for creation of a new arena.
7115 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7117 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7119 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7121 (update_get_addr): New function.
7122 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7123 GET_ADDR_MODULE parameter.
7125 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7127 * crypt/cert.c: Remove __STDC__ conditionals.
7128 * crypt/crypt-entry.c: Likewise.
7129 * crypt/crypt_util.c: Likewise.
7130 * libio/filedoalloc.c: Likewise.
7131 * libio/fileops.c: Likewise.
7132 * libio/genops.c: Likewise.
7133 * libio/iofclose.c: Likewise.
7134 * libio/iofdopen.c: Likewise.
7135 * libio/iofopen.c: Likewise.
7136 * libio/iofopen64.c: Likewise.
7137 * libio/iogetdelim.c: Likewise.
7138 * libio/iopopen.c: Likewise.
7139 * libio/obprintf.c: Likewise.
7140 * libio/oldfileops.c: Likewise.
7141 * libio/oldiofclose.c: Likewise.
7142 * libio/oldiofdopen.c: Likewise.
7143 * libio/oldiofopen.c: Likewise.
7144 * libio/oldiopopen.c: Likewise.
7145 * libio/wfiledoalloc.c: Likewise.
7146 * libio/wgenops.c: Likewise.
7147 * locale/programs/xmalloc.c: Likewise.
7148 * misc/syslog.c: Likewise.
7149 * stdio-common/xbug.c: Likewise.
7150 * string/memchr.c: Likewise.
7151 * string/memcmp.c: Likewise.
7152 * string/memrchr.c: Likewise.
7153 * string/rawmemchr.c: Likewise.
7154 * sysdeps/posix/getcwd.c: Likewise.
7155 * time/strftime_l.c: Likewise.
7157 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7159 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7160 * config.make.in (config-cflags-sse2avx): Define.
7161 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7164 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7166 * scripts/config.guess: Update from upstream config git repository.
7167 * scripts/config.sub: Likewise.
7169 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7171 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7173 (R_TILEPRO_*, R_TILEGX_*): New macros.
7175 * scripts/firstversions.awk: Fix bug in version range handling.
7177 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7179 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7181 * include/sys/epoll.h: New file.
7182 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7185 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7187 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7188 Avoid unnecessary __WORDSIZE == 64 test.
7189 (fmaxf): Use VEX format if possible.
7194 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7195 * math/math_private.h: Remove libc_fegetround* and
7197 * sysdeps/i386/configure.in: Check for -msse2avx.
7198 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7199 also if SSE2AVX is defined.
7200 Remove libc_fegetround* and libc_fesetround*.
7201 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7202 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7203 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7205 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7206 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7207 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7208 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7209 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7211 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7213 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7215 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7217 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7219 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7222 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7224 * Makeconfig (libm): Define.
7225 * elf/Makefile: Add rules to build and run tst-relsort1.
7226 * elf/tst-relsort1.c: New file.
7227 * elf/tst-relsort1mod1.c: New file.
7228 * elf/tst-relsort1mod2.c: New file.
7230 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7232 * math/s_ldexp.c: Remove __STDC__ conditionals.
7233 * math/s_ldexpf.c: Likewise.
7234 * math/s_ldexpl.c: Likewise.
7235 * math/s_nextafter.c: Likewise.
7236 * math/s_nexttowardf.c: Likewise.
7237 * math/s_significand.c: Likewise.
7238 * math/s_significandf.c: Likewise.
7239 * math/s_significandl.c: Likewise.
7240 * math/w_jnl.c: Likewise.
7241 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7242 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7243 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7244 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7245 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7246 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7247 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7248 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7249 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7250 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7251 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7252 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7253 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7254 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7255 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7256 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7257 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7258 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7260 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7261 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7262 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7263 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7264 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7265 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7266 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7267 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7268 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7269 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7270 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7271 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7272 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7273 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7274 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7275 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7276 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7277 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7278 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7279 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7280 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7281 * sysdeps/ieee754/k_standard.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7334 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7343 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7348 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7350 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7351 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7356 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7357 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7361 * sysdeps/ieee754/s_matherr.c: Likewise.
7362 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7363 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7364 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7365 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7367 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7369 * crypt/md5.h: Remove __STDC__ conditionals.
7370 * libio/libioP.h: Likewise.
7371 * locale/programs/config.h: Likewise.
7372 * sysdeps/generic/sysdep.h: Likewise.
7373 * sysdeps/i386/asm-syntax.h: Likewise.
7374 * sysdeps/s390/asm-syntax.h: Likewise.
7375 * sysdeps/unix/sysdep.h: Likewise.
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7379 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7381 * libio/libio.h: Remove __STDC__ conditionals.
7382 * malloc/obstack.h: Likewise.
7383 * math/complex.h: Likewise.
7384 * math/math.h: Likewise.
7385 * sysdeps/generic/_G_config.h: Likewise.
7386 * sysdeps/gnu/_G_config.h: Likewise.
7387 * sysdeps/mach/hurd/_G_config.h: Likewise.
7388 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7389 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7390 * sysdeps/sparc/bits/mathdef.h: Likewise.
7392 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7395 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7396 Clean up HAS_* macros.
7397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7398 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7400 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7402 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7403 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7404 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7405 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7406 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7408 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7410 * elf/tst-unique3.cc (gets): Remove declaration.
7411 * elf/tst-unique3lib.cc (gets): Likewise.
7412 * elf/tst-unique3lib2.cc (gets): Likewise.
7413 * elf/tst-unique4.cc (gets): Likewise.
7415 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7417 * include/stdio.h: Add C++ protection. Add gets declarations and
7419 * debug/tst-chk1.c: Don't declare gets here.
7420 * stdio-common/tst-gets.c: Likewise.
7422 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7424 * posix/glob: Remove directory.
7426 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7428 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7430 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7432 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7433 of the non-standard EPFNOSUPPORT.
7435 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7437 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7438 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7439 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7441 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7443 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7445 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7447 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7449 * nscd/grpcache.c (cache_addgr): Likewise.
7450 * nscd/hstcache.c (cache_addhst): Likewise.
7451 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7452 * nscd/pwdcache.c (cache_addpw): Likewise.
7453 * nscd/servicescache.c (cache_addserv): Likewise.
7455 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7457 * malloc/malloc.c: Various cleanups.
7458 * malloc/hooks.c: Likewise.
7460 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7461 * stdlib/bug-fmtmsg1.c: New file.
7463 * stdlib/fmtmsg.c (init): Add missing unlock.
7464 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7466 2012-01-12 Marek Polacek <polacek@redhat.com>
7468 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7471 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7473 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7474 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7475 macro to ensure uniqueness of label name.
7476 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7477 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7479 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7481 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7483 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7484 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7485 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7488 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7490 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7492 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7493 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7494 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7496 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7498 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7499 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7500 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7501 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7503 * math/bits/math-finite.h: Add ldexp support.
7505 2012-01-10 Marek Polacek <polacek@redhat.com>
7507 * locale/programs/localedef.h (show_archive_content): Add noreturn
7510 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7512 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7514 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7516 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7518 * io/Makefile (headers): Add bits/poll2.h.
7520 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7523 typo #include statement.
7525 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7527 * include/sys/cdefs.h: Define __attribute_alloc_size.
7528 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7529 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7530 * elf/pldd.c: Likewise.
7531 * iconv/iconv_charmap.c: Likewise.
7532 * iconv/iconvconfig.c: Likewise.
7533 * iconv/strtab.c: Likewise.
7534 * locale/programs/locale.c: Likewise.
7535 * locale/programs/localedef.h: Likewise.
7536 * locale/programs/simple-hash.c: Likewise.
7537 * nscd/nscd.h: Likewise.
7538 * nss/makedb.c: Likewise.
7539 * sysdeps/generic/ldconfig.h: Likewise.
7540 * locale/programs/localedef.c: Remove xmalloc prototype.
7541 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7543 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7545 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7548 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7550 * math/Makefile (tests): Add tst-CMPLX.
7551 * math/tst-CMPLX.c: New file.
7553 * math/complex.h (CMPLXL): Fix typo.
7555 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7556 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7558 * debug/tst-chk1.c: Add poll and ppoll tests.
7559 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7560 * include/sys/poll.h: Add hidden proto for ppoll.
7561 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7562 * sysdeps/mach/hurd/ppoll.c: Likewise.
7563 * io/ppoll.c: Likewise.
7564 * debug/poll_chk.c: New file.
7565 * debug/ppoll_chk.c: New file.
7566 * include/bits/poll2.h: New file.
7567 * io/bits/poll2.h: New file.
7570 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7572 * configure.in: static is always set to yes. Remove.
7573 * config.make.in: Don't set build-static.
7574 * Makeconfig: Remove use of build-static.
7575 * dlfcn/Makefile: Likewise.
7576 * elf/Makefile: Likewise.
7577 * math/Makefile: Likewise.
7578 * misc/Makefile: Likewise.
7579 * nptl/Makefile: Likewise.
7580 * sysdeps/mach/hurd/Makefile: Likewise.
7582 * configure.in: PWD_P is not used anymore.
7583 * config.make.in: Remove PWD_P entry.
7585 * configure.in: Remove last remnants of RANLIB.
7586 No need to check for signed size_t anymore.
7587 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7589 Remove __builtin_expect test because we require at least gcc 3.4.
7590 * aclocal.m4: Likewise.
7592 * wcsmbs/mbrtoc16.c: Implement using towc function.
7593 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7594 * wcsmbs/wcsmbsload.c: Likewise.
7595 * iconv/gconv_simple.c: Likewise.
7596 * iconv/gconv_int.h: Likewise.
7597 * iconv/gconv_builtin.h: Likewise.
7598 * iconv/iconv_prog.c: Remove CHAR16 handling.
7600 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7602 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7604 * configure.in: Remove --with-elf and --enable-bounded options.
7605 Dont set base_machine for ia64. More non-ELF conditions removed.
7606 Remove testing and setting of leading underscore information.
7607 * config.make.in (build-bounded): Set to no.
7608 * config.h.in: Remove NO_UNDERSCORES entry.
7609 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7611 * csu/start.c: Remove !NO_UNDERSCORE code.
7612 * locale/localeinfo.h: Likewise.
7613 * sysdeps/generic/machine-gmon.h: Likewise.
7614 * sysdeps/generic/sysdep.h: Likewise.
7615 * sysdeps/i386/sysdep.h: Likewise.
7616 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7617 * sysdeps/mach/sysdep.h: Likewise.
7618 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7619 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7620 * sysdeps/sh/sysdep.h: Likewise.
7621 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7622 * sysdeps/unix/i386/sysdep.S: Likewise.
7623 * sysdeps/unix/sparc/start.c: Likewise.
7624 * sysdeps/unix/sparc/sysdep.S: Likewise.
7625 * sysdeps/unix/sparc/sysdep.h: Likewise.
7626 * sysdeps/unix/start.c: Likewise.
7627 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7628 * sysdeps/x86_64/sysdep.h: Likewise.
7630 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7633 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7635 * argp/argp-fmtstream.h: Use const instead __const.
7636 * argp/argp.h: Likewise.
7637 * assert/assert.h: Likewise.
7638 * bits/fenv.h: Likewise.
7639 * bits/sched.h: Likewise.
7640 * bits/sigset.h: Likewise.
7641 * bits/sigthread.h: Likewise.
7642 * catgets/nl_types.h: Likewise.
7643 * conform/data/pthread.h-data: Likewise.
7644 * crypt/crypt-private.h: Likewise.
7645 * crypt/crypt.h: Likewise.
7646 * crypt/crypt_util.c: Likewise.
7647 * ctype/ctype.h: Likewise.
7648 * debug/execinfo.h: Likewise.
7649 * debug/mbsnrtowcs_chk.c: Likewise.
7650 * debug/mbsrtowcs_chk.c: Likewise.
7651 * debug/wcsnrtombs_chk.c: Likewise.
7652 * debug/wcsrtombs_chk.c: Likewise.
7653 * debug/wcstombs_chk.c: Likewise.
7654 * dirent/dirent.h: Likewise.
7655 * dlfcn/dlfcn.h: Likewise.
7656 * elf/neededtest4.c: Likewise.
7657 * grp/grp.h: Likewise.
7658 * gshadow/gshadow.h: Likewise.
7659 * iconv/gconv.h: Likewise.
7660 * iconv/gconv_int.h: Likewise.
7661 * iconv/gconv_simple.c: Likewise.
7662 * iconv/iconv.h: Likewise.
7663 * iconv/loop.c: Likewise.
7664 * iconv/skeleton.c: Likewise.
7665 * include/aio.h: Likewise.
7666 * include/aliases.h: Likewise.
7667 * include/argz.h: Likewise.
7668 * include/arpa/inet.h: Likewise.
7669 * include/assert.h: Likewise.
7670 * include/dirent.h: Likewise.
7671 * include/dlfcn.h: Likewise.
7672 * include/execinfo.h: Likewise.
7673 * include/fcntl.h: Likewise.
7674 * include/fenv.h: Likewise.
7675 * include/glob.h: Likewise.
7676 * include/grp.h: Likewise.
7677 * include/libintl.h: Likewise.
7678 * include/mntent.h: Likewise.
7679 * include/netdb.h: Likewise.
7680 * include/pwd.h: Likewise.
7681 * include/rpc/netdb.h: Likewise.
7682 * include/sched.h: Likewise.
7683 * include/search.h: Likewise.
7684 * include/shadow.h: Likewise.
7685 * include/signal.h: Likewise.
7686 * include/stdio.h: Likewise.
7687 * include/stdlib.h: Likewise.
7688 * include/string.h: Likewise.
7689 * include/sys/socket.h: Likewise.
7690 * include/sys/stat.h: Likewise.
7691 * include/sys/statfs.h: Likewise.
7692 * include/sys/statvfs.h: Likewise.
7693 * include/sys/syslog.h: Likewise.
7694 * include/sys/time.h: Likewise.
7695 * include/sys/uio.h: Likewise.
7696 * include/time.h: Likewise.
7697 * include/unistd.h: Likewise.
7698 * include/utmp.h: Likewise.
7699 * include/wchar.h: Likewise.
7700 * include/wctype.h: Likewise.
7701 * inet/aliases.h: Likewise.
7702 * inet/arpa/inet.h: Likewise.
7703 * inet/netinet/ether.h: Likewise.
7704 * inet/netinet/in.h: Likewise.
7705 * intl/libintl.h: Likewise.
7706 * io/bits/fcntl2.h: Likewise.
7707 * io/fcntl.h: Likewise.
7708 * io/ftw.h: Likewise.
7709 * io/sys/poll.h: Likewise.
7710 * io/sys/stat.h: Likewise.
7711 * io/sys/statfs.h: Likewise.
7712 * io/sys/statvfs.h: Likewise.
7713 * io/utime.h: Likewise.
7714 * libio/bits/stdio.h: Likewise.
7715 * libio/bits/stdio2.h: Likewise.
7716 * libio/libio.h: Likewise.
7717 * libio/libioP.h: Likewise.
7718 * libio/stdio.h: Likewise.
7719 * locale/lc-ctype.c: Likewise.
7720 * locale/locale.h: Likewise.
7721 * login/utmp.h: Likewise.
7722 * malloc/arena.c: Likewise.
7723 * malloc/malloc.c: Likewise.
7724 * malloc/malloc.h: Likewise.
7725 * malloc/mcheck.c: Likewise.
7726 * malloc/mtrace.c: Likewise.
7727 * math/bits/mathcalls.h: Likewise.
7728 * math/fenv.h: Likewise.
7729 * math/math_private.h: Likewise.
7730 * misc/bits/error.h: Likewise.
7731 * misc/bits/syslog.h: Likewise.
7732 * misc/err.h: Likewise.
7733 * misc/error.h: Likewise.
7734 * misc/fstab.h: Likewise.
7735 * misc/mntent.h: Likewise.
7736 * misc/regexp.h: Likewise.
7737 * misc/search.h: Likewise.
7738 * misc/sgtty.h: Likewise.
7739 * misc/sys/mman.h: Likewise.
7740 * misc/sys/syslog.h: Likewise.
7741 * misc/sys/uio.h: Likewise.
7742 * misc/sys/xattr.h: Likewise.
7743 * misc/ttyent.h: Likewise.
7744 * nis/rpcsvc/ypclnt.h: Likewise.
7745 * nss/nss.h: Likewise.
7746 * posix/bits/unistd.h: Likewise.
7747 * posix/fnmatch.h: Likewise.
7748 * posix/glob.h: Likewise.
7749 * posix/sched.h: Likewise.
7750 * posix/spawn.h: Likewise.
7751 * posix/sys/wait.h: Likewise.
7752 * posix/unistd.h: Likewise.
7753 * posix/wordexp.h: Likewise.
7754 * pwd/pwd.h: Likewise.
7755 * resolv/netdb.h: Likewise.
7756 * resource/sys/resource.h: Likewise.
7757 * rt/aio.h: Likewise.
7758 * rt/bits/mqueue2.h: Likewise.
7759 * rt/mqueue.h: Likewise.
7760 * shadow/shadow.h: Likewise.
7761 * signal/signal.h: Likewise.
7762 * socket/send.c: Likewise.
7763 * socket/sendto.c: Likewise.
7764 * socket/sys/socket.h: Likewise.
7765 * stdio-common/printf.h: Likewise.
7766 * stdlib/bits/stdlib.h: Likewise.
7767 * stdlib/fmtmsg.h: Likewise.
7768 * stdlib/monetary.h: Likewise.
7769 * stdlib/stdlib.h: Likewise.
7770 * stdlib/ucontext.h: Likewise.
7771 * streams/stropts.h: Likewise.
7772 * string/argz.h: Likewise.
7773 * string/bits/string2.h: Likewise.
7774 * string/string.h: Likewise.
7775 * string/strings.h: Likewise.
7776 * sunrpc/rpc/auth.h: Likewise.
7777 * sunrpc/rpc/auth_des.h: Likewise.
7778 * sunrpc/rpc/clnt.h: Likewise.
7779 * sunrpc/rpc/netdb.h: Likewise.
7780 * sunrpc/rpc/pmap_clnt.h: Likewise.
7781 * sunrpc/rpc/xdr.h: Likewise.
7782 * sysdeps/generic/inttypes.h: Likewise.
7783 * sysdeps/generic/net/if.h: Likewise.
7784 * sysdeps/generic/sys/swap.h: Likewise.
7785 * sysdeps/gnu/net/if.h: Likewise.
7786 * sysdeps/gnu/utmpx.h: Likewise.
7787 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7788 * sysdeps/i386/i486/bits/string.h: Likewise.
7789 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7790 * sysdeps/s390/bits/string.h: Likewise.
7791 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7792 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7793 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7794 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7795 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7796 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7797 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7798 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7799 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7800 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7801 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7802 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7803 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7804 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7805 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7806 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7807 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7809 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7810 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7812 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7813 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7814 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7815 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7816 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7817 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7818 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7819 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7820 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7821 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7822 * sysvipc/sys/ipc.h: Likewise.
7823 * sysvipc/sys/msg.h: Likewise.
7824 * sysvipc/sys/sem.h: Likewise.
7825 * sysvipc/sys/shm.h: Likewise.
7826 * termios/termios.h: Likewise.
7827 * time/sys/time.h: Likewise.
7828 * time/time.h: Likewise.
7829 * wcsmbs/bits/wchar2.h: Likewise.
7830 * wcsmbs/uchar.h: Likewise.
7831 * wcsmbs/wchar.h: Likewise.
7832 * wctype/wctype.h: Likewise.
7835 * Makeconfig: Remove all but ELF support including AIX support.
7836 * Makerules: Likewise.
7837 * config.h.in: Likewise.
7838 * config.make.in: Likewise.
7839 * configure: Likewise.
7840 * configure.in: Likewise.
7841 * csu/Makefile: Likewise.
7842 * csu/version.c: Likewise.
7843 * debug/Makefile: Likewise.
7844 * dlfcn/Makefile: Likewise.
7845 * elf/Makefile: Likewise.
7846 * extra-lib.mk: Likewise.
7847 * iconv/Makefile: Likewise.
7848 * include/libc-symbols.h: Likewise.
7849 * include/shlib-compat.h: Likewise.
7850 * resolv/Makefile: Likewise.
7851 * resolv/res_libc.c: Likewise.
7852 * rt/Makefile: Likewise.
7853 * sysdeps/i386/asm-syntax.h: Likewise.
7854 * sysdeps/i386/sysdep.h: Likewise.
7855 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7856 * sysdeps/mach/sysdep.h: Likewise.
7857 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7858 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7859 * sysdeps/s390/asm-syntax.h: Likewise.
7860 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7861 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7862 * sysdeps/sh/sysdep.h: Likewise.
7863 * sysdeps/unix/sparc/sysdep.h: Likewise.
7864 * sysdeps/wordsize-32/divdi3.c: Likewise.
7865 * sysdeps/x86_64/sysdep.h: Likewise.
7867 * argp/Versions: Remove _argp_unlock_xxx.
7870 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7871 * abilist/libBrokenLocale.abilist: Likewise.
7872 * abilist/libanl.abilist: Likewise.
7873 * abilist/libc.abilist: Likewise.
7874 * abilist/libcrypt.abilist: Likewise.
7875 * abilist/libdl.abilist: Likewise.
7876 * abilist/libm.abilist: Likewise.
7877 * abilist/libnsl.abilist: Likewise.
7878 * abilist/libpthread.abilist: Likewise.
7879 * abilist/libresolv.abilist: Likewise.
7880 * abilist/librt.abilist: Likewise.
7881 * abilist/libthread_db.abilist: Likewise.
7882 * abilist/libutil.abilist: Likewise.
7883 * abilist/libnss_db.abilist: New file.
7885 * scripts/abilist.awk: Add support for indirect functions.
7887 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7889 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7891 * shlib-versions: Remove entries for ports architectures.
7893 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7895 * elf/stackguard-macros.h: Remove support for IA-64.
7896 * elf/tst-auditmod1.c: Likewise.
7897 * sysdeps/generic/ldsodefs.h: Likewise.
7899 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7900 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7904 * configure.in: Remove --enable-omitfp support.
7906 * config.make.in: Likewise.
7907 * Makeconfig: Likewise.
7908 * manual/install.texi: Likewise.
7910 In case anyone cares, the IA-64 architecture could move to ports.
7911 * sysdeps/ia64/*: Removed.
7912 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7913 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7916 * configure.in: Remove entries for unsupported architectures.
7919 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7920 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7922 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7923 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7924 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7925 fall back to using wcrtomb.
7926 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7927 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7929 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7930 * wcsmbs/tst-c16c32-1.c: New file.
7932 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7935 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7937 * elf/tst-unique3.cc: Add explicit declaration of gets.
7938 * elf/tst-unique3lib.cc: Likewise.
7939 * elf/tst-unique3lib2.cc: Likewise.
7940 * elf/tst-unique4.cc: Likewise.
7942 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7944 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7947 * assert/assert.h (static_assert): Don't define for C++.
7948 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7949 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7951 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7953 * iconv/loop.c (single loop): Fix assertion in storing of
7956 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7958 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7960 * posix/getconf.c: Update copyright year.
7961 * nss/getent.c: Likewise.
7962 * nss/makedb.c: Likewise.
7963 * iconv/iconvconfig.c: Likewise.
7964 * iconv/iconv_prog.c: Likewise.
7965 * elf/ldconfig.c: Likewise.
7966 * elf/pldd.c: Likewise.
7967 * elf/sotruss.ksh: Likewise.
7968 * catgets/gencat.c: Likewise.
7969 * csu/version.c: Likewise.
7970 * elf/ldd.bash.in: Likewise.
7971 * elf/sprof.c (print_version): Likewise.
7972 * locale/programs/locale.c: Likewise.
7973 * locale/programs/localedef.c: Likewise.
7974 * login/programs/pt_chown.c: Likewise.
7975 * nscd/nscd.c (print_version): Likewise.
7976 * debug/xtrace.sh: Likewise.
7977 * malloc/memusage.sh: Likewise.
7978 * malloc/mtrace.pl: Likewise.
7979 * debug/catchsegv.sh: Likewise.
7981 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7983 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7986 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7989 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7990 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7992 * iconv/gconv_int.h: Likewise.
7993 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7994 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7995 from libc for GLIBC_2.16.
7996 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7997 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7998 * wcsmbs/uchar.h: Really define mbstate_t.
7999 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8000 * wcsmbs/c16rtomb.c: New file.
8001 * wcsmbs/mbrtoc16.c: New file.
8002 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8004 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8005 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8007 * wcsmbs/wchar.h: Add missing __restrict.
8009 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8012 * time/Makefile (routines): Add timespec_get.
8013 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8014 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8015 timespec for ISO C11.
8016 * time/timespec_get.c: New file.
8017 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8018 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8021 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8022 * stdlib/stdlib.h: Declare aligned_alloc.
8023 * Versions.def: Add GLIBC_2.16 for libc.
8024 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8027 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8030 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8034 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8037 * assert/assert.h (static_assert): Define.
8039 * version.h: Update for 2.16 development version.
8042 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8045 * version.h (RELEASE): Bump for 2.15 release.
8046 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8048 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8049 Patch by Marek Polacek <mpolacek@redhat.com>.
8051 * bits/byteswap.h: Protect long long constants with __extension__.
8052 * sysdeps/i386/bits/byteswap.h: Likewise.
8053 * sysdeps/ia64/bits/byteswap.h: Likewise.
8054 * sysdeps/s390/bits/byteswap.h: Likewise.
8055 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8057 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8060 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8062 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8064 2011-12-23 Marek Polacek <polacek@redhat.com>
8066 * elf/dl-addr.c (determine_info): Add inline keyword.
8067 * elf/tst-auditmod4b.c (check_avx): Likewise.
8068 * elf/tst-auditmod6b.c (check_avx): Likewise.
8069 * elf/tst-auditmod6c.c (check_avx): Likewise.
8070 * elf/tst-auditmod7b.c (check_avx): Likewise.
8072 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8074 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8077 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8080 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8081 processing for last bytes.
8083 2011-08-06 Bruno Haible <bruno@clisp.org>
8086 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8087 U+0385, not to U+1FEE.
8090 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8091 entry for U+00A5 U+0301.
8093 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8096 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8097 buffer for the output is too small.
8099 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8103 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8104 SSE flags if possible.
8106 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8110 processing for last bytes.
8112 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8114 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8115 (syscall-list-default-options, syscall-list-default-condition)
8116 (syscall-list-includes): Define.
8117 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8118 list of ABIs and options and #if conditions for each ABI. Do not
8119 handle common syscalls between ABIs specially.
8120 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8122 (syscall-list-variants, syscall-list-32bit-options)
8123 (syscall-list-32bit-condition, syscall-list-64bit-options)
8124 (syscall-list-64bit-condition): Define.
8125 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8126 (syscall-list-variants, syscall-list-32bit-options)
8127 (syscall-list-32bit-condition, syscall-list-64bit-options)
8128 (syscall-list-64bit-condition): Define.
8129 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8131 (syscall-list-variants, syscall-list-32bit-options)
8132 (syscall-list-32bit-condition, syscall-list-64bit-options)
8133 (syscall-list-64bit-condition): Define.
8134 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8136 (syscall-list-variants, syscall-list-32bit-options)
8137 (syscall-list-32bit-condition, syscall-list-64bit-options)
8138 (syscall-list-64bit-condition): Define.
8140 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8142 * locale/iso-639.def: Add brx entry.
8145 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8146 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8148 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8149 __feraiseexcept_renamed.
8151 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8154 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8155 EPOLLET with unsigned values.
8156 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8157 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8159 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8160 to large cancellation.
8161 * math/s_cacoshf.c: Likewise.
8162 * math/s_cacoshl.c: Likewise.
8164 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8168 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8169 * math/s_cacoshf.c: Likewise.
8170 * math/s_cacoshl.c: Likewise.
8172 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8175 * iconv/gconv.h: Define __GCONV_SWAP.
8176 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8177 * iconvdata/utf-16.c: Likewise.
8178 * iconvdata/utf-32.c: Likewise.
8180 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8183 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8184 numerator after shifting it by one limb.
8186 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8188 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8189 under [__USE_EXTERN_INLINES].
8191 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8194 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8196 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8198 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8199 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8201 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8202 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8203 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8204 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8205 for strncasecmp/strncasecmp_l compilation.
8206 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8207 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8209 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8212 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8215 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8218 * time/tzfile.c (__tzfile_read): Check values from file header.
8220 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8222 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8223 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8224 * powerpc/powerpc32/dl-start.S: Likewise.
8225 * powerpc/powerpc32/elf/start.S: Likewise.
8226 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8227 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8228 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8229 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8230 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8231 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8232 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8233 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8234 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8235 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8236 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8237 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8238 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8239 * powerpc/powerpc32/memset.S: Likewise.
8240 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8241 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8242 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8243 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8244 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8245 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8246 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8247 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8248 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8249 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8250 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8251 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8252 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8254 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8256 * math/libm-test.inc: Added more nearbyint tests.
8257 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8258 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8259 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8260 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8262 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8264 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8267 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8269 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8270 Add wcscpy-ssse3 wcscpy-c.
8271 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8272 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8273 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8274 * sysdeps/x86_64/wcschr.S: New file.
8275 * sysdeps/x86_64/wcsrchr.S: New file.
8276 * string/test-strcmp.c: Remove checking of wcscmp function for
8278 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8279 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8280 wcsrchr-sse2 wcsrchr-c.
8281 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8282 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8283 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8284 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8285 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8286 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8287 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8288 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8289 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8290 * wcsmbc/wcschr.c (WCSCHR): New macro.
8292 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8294 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8295 * wcsmbs/test-wcsrchr.c: New file.
8296 * string/test-strrchr.c: Add wcsrchr support.
8298 * wcsmbs/test-wcscpy.c: New file.
8299 * string/test-strcpy.c: Add wcscpy support.
8302 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8304 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8307 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8310 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8312 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8314 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8315 Minor optimizations.
8317 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8318 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8319 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8321 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8323 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8324 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8325 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8326 for gcc to avoid warnings.
8327 * inet/Makefile (tests): Add tst-checks.
8328 * inet/tst-checks.c: New file.
8330 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8333 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8336 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8337 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8339 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8341 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8343 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8346 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8348 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8350 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8351 conditional on GCC version.
8352 (__arch_compare_and_exchange_val_8_acq)
8353 (__arch_compare_and_exchange_val_16_acq)
8354 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8355 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8356 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8358 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8360 * sysdeps/sh/backtrace.c: New file.
8362 2011-12-02 Andreas Schwab <schwab@redhat.com>
8364 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8367 2011-12-01 Andreas Schwab <schwab@redhat.com>
8369 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8370 falling back to utime.
8372 2011-11-30 Andreas Schwab <schwab@redhat.com>
8374 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8375 expectations for float.
8377 2011-11-29 Andreas Schwab <schwab@redhat.com>
8379 * locale/weight.h (findidx): Add parameter len.
8380 * locale/weightwc.h (findidx): Likewise.
8381 * posix/fnmatch_loop.c (FCT): Adjust caller.
8382 * posix/regcomp.c (build_equiv_class): Likewise.
8383 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8384 * posix/regexec.c (check_node_accept_bytes): Likewise.
8385 * string/strcoll_l.c (STRCOLL): Likewise.
8386 * string/strxfrm_l.c (STRXFRM): Likewise.
8388 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8390 * Makefile.in: Remove CVSOPT handling.
8391 * configure.in: Remove use of AC_REVISION.
8392 * iconvdata/Makefile (distribute): No need to filter out CVS.
8393 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8396 2011-11-16 Andreas Schwab <schwab@redhat.com>
8398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8399 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8400 [USE_AS_STRNCASECMP_L]: Likewise.
8401 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8402 NO_TLS_DIRECT_SEG_REFS.
8403 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8404 Fix argument offsets for non-PIC.
8405 [USE_AS_STRNCASECMP_L]: Likewise.
8406 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8407 NO_TLS_DIRECT_SEG_REFS.
8409 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8411 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8413 * locale/loadlocale.c (_nl_load_locale): Likewise.
8415 2011-11-15 Andreas Schwab <schwab@redhat.com>
8417 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8418 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8419 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8420 (SYSCALL_GETTIME): Set errno on error.
8422 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8423 count references to noai6ai_cached.
8425 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8427 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8429 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8430 FD_CLOEXEC for /proc/self/maps.
8432 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8433 FD_CLOEXEC for /proc/meminfo.
8435 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8438 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8439 FD_CLOEXEC for given file.
8441 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8443 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8444 FD_CLOEXEC for /etc/hosts.
8445 (_gethtent): Likewise.
8447 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8449 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8450 cancellation and set FD_CLOEXEC for /etc/netgroup.
8452 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8453 reading /etc/publickey.
8455 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8456 allow cancellation when reading /etc/group.
8458 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8460 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8462 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8463 when using data file.
8465 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8467 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8468 (write_nis_obj): Use "c" and "e" in fopen.
8470 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8472 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8474 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8476 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8478 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8481 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8483 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8485 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8487 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8488 file parsing and set FD_CLOEXEC.
8490 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8492 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8494 2011-11-14 Andreas Schwab <schwab@redhat.com>
8496 * malloc/arena.c (arena_get2): Don't call reused_arena when
8497 _int_new_arena failed.
8499 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8501 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8502 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8503 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8504 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8505 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8507 to compile strcasecmp and strncasecmp.
8508 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8509 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8511 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8513 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8515 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8516 locale-defines.sym to gen-as-const-headers.
8517 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8518 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8520 to compile strcasecmp and strncasecmp.
8521 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8522 strcasecmp_l and strncasecmp_l.
8523 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8524 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8525 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8526 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8527 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8528 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8529 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8530 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8531 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8532 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8533 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8535 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8537 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8538 result of SYSDEP_GETTIME_CPU to retval.
8539 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8540 parameter list to macro. Remove trailing semicolon. Adjust users.
8542 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8545 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8547 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8549 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8550 from unused variable.
8552 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8554 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8557 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8560 * sunrpc/rpc_prot.c (rejected): Fix case value.
8562 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8563 unsigned long long int to avoid warnings in shift.
8565 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8567 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8570 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8571 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8572 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8574 * nis/nis_table.c (nis_list): Use variable of correct type for
8575 result of __follow_path call.
8577 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8579 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8580 of math functions ceil, trunc, floor, round, and sqrt, when
8581 avaliable on the platform.
8582 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8584 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8585 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8586 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8588 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8590 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8591 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8593 2011-11-11 Roland McGrath <roland@hack.frob.com>
8595 * include/unistd.h: Fix __readlink return type.
8596 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8598 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8600 * stdlib/ucontext.h: Undo last change for makecontext.
8602 2011-11-11 Andreas Schwab <schwab@redhat.com>
8604 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8606 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8607 * setjmp/setjmp.h: Mark functions as non-leaf.
8608 * setjmp/bits/setjmp2.h: Likewise.
8609 * stdlib/ucontext.h: Likewise.
8611 2011-11-10 Andreas Schwab <schwab@redhat.com>
8613 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8614 (reused_arena): Don't check arena limit.
8615 (arena_get2): Atomically check arena limit.
8617 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8619 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8620 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8622 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8625 2011-11-07 Andreas Schwab <schwab@redhat.com>
8627 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8628 handler when locking.
8630 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8631 Fix size of allocated buffer.
8633 2011-11-04 Andreas Schwab <schwab@redhat.com>
8636 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8637 declarations for long double functions.
8638 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8640 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8642 2011-11-03 Andreas Schwab <schwab@redhat.com>
8644 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8647 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8650 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8652 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8654 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8656 * include/alloca.h (stackinfo_alloca_round): Define.
8657 (extend_alloca): Use it.
8658 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8659 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8662 * scripts/check-local-headers.sh: Ignore libaudit.h.
8664 * nscd/Makefile (extra-objs): Make recursively expanded.
8666 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8668 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8669 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8671 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8672 * posix/tst-rfc3484-2.c: Likewise.
8673 * posix/tst-rfc3484-3.c: Likewise.
8675 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8677 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8679 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8680 process_vm_writev from libc using GLIBC_2.15 version.
8682 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8684 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8686 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8689 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8692 * nss/getent.c (initgroups_keys): Show error message in case no group
8695 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8696 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8697 __bump_nl_timestamp.
8698 * nscd/connections (nscd_init): When host database is served open
8699 netlink socket and request notification about configuration changes.
8700 (main_loop_poll): Track netlink file descriptor and bump timestamp
8701 in case data becomes available.
8702 (main_loop_epoll): Likewise.
8703 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8704 (database_pers_head): Add extra_data fileds.
8705 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8706 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8707 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8709 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8710 in6ai data, call __free_in6ai.
8711 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8713 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8714 interface information. Reuse previous data if netlink timestamp
8716 (__bump_nl_timestamp): New function.
8717 (__free_in6ai): New function.
8719 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8721 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8722 close_not_cancel_no_status here.
8723 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8725 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8728 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8731 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8732 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8733 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8735 2011-07-03 Andreas Jaeger <aj@suse.de>
8738 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8739 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8740 * math/libm-test.inc (sin_test): Add test case.
8742 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8745 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8746 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8748 * elf/chroot_canon.c (chroot_canon): Cleanups.
8750 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8753 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8754 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8756 * string/test-strchr.c: Make usable for strchrnul testing.
8757 * string/test-strchrnul.c: New file.
8758 * string/Makefile (strop-tests): Add strchrnul.
8760 * po/it.po: Update from translation team.
8761 * po/es.po: Likewise.
8763 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8765 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8766 the three constants needed as parameters. Drop the others.
8767 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8768 __m128i_strloadu_tolower.
8769 Create and initialize variable zero and use it in all the places
8770 where _mm_setzero_si128 was used.
8772 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8773 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8774 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8775 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8777 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8778 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8779 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8780 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8781 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8782 __mpranred, __mptan.
8783 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8784 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8785 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8786 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8787 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8788 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8789 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8790 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8791 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8793 2011-10-28 Andreas Schwab <schwab@redhat.com>
8795 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8797 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8800 wide char related routines to wcsmbs subdir.
8802 2011-10-27 Andreas Schwab <schwab@redhat.com>
8805 * misc/sys/cdefs.h (__THROWNL): Define.
8806 * posix/unistd.h: Use __THREADNL instead of __THREAD
8807 for memory synchronization functions.
8809 2011-10-26 Roland McGrath <roland@hack.frob.com>
8812 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8814 * manual/stdio.texi (Obstack Streams): Node removed.
8816 2011-10-26 Andreas Schwab <schwab@redhat.com>
8818 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8819 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8820 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8822 * math/math_private.h (math_force_eval): Allow non-addressable
8824 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8826 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8828 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8831 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8832 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8834 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8835 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8836 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8837 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8838 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8840 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8841 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8842 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8843 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8844 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8845 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8846 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8847 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8848 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8849 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8850 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8851 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8852 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8853 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8854 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8855 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8856 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8857 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8858 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8860 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8861 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8863 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8864 place. Use VEX encoding when compiling for AVX.
8866 2011-10-25 Andreas Schwab <schwab@redhat.com>
8868 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8869 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8871 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8873 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8875 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8876 useless if() expression.
8877 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8886 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8887 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8888 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8889 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8890 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8891 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8892 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8893 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8895 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8897 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8899 2011-10-25 Andreas Schwab <schwab@redhat.com>
8901 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8903 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8905 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8907 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8908 .text section. Avoid duplicate constants.
8909 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8919 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8921 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8924 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8926 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8932 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8933 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8934 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8935 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8936 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8937 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8938 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8939 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8940 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8941 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8942 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8943 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8944 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8945 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8946 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8947 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8948 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8949 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8950 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8951 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8952 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8953 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8955 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8957 * sysdeps/x86_64/dla.h: Move to ...
8958 * sysdeps/x86_64/fpu/dla.h: ...here.
8959 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8960 situations. Use __builtin_fma only for gcc 4.6 and up.
8962 * config.make.in: Add have-mfma4 entry.
8963 * configure.in: Substitute libc_cv_cc_fma4.
8964 * math/Makefile (dbl-only-routines): Add sincostab.
8965 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8966 Use __sincostab not sincos.
8967 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8969 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8974 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8975 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8976 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8977 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8979 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8980 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8982 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8983 define aliases when function name is a macro.
8984 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8985 sysdeps/ieee754/dbl-64/sincos.tbl.
8986 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8987 fma4-enabled routines.
8988 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8989 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8990 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8991 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8992 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8993 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8994 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8995 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8996 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8997 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8998 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8999 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9000 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9001 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9002 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9003 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9004 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9005 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9006 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9007 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9008 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9009 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9010 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9011 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9012 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9013 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9014 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9015 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9016 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9017 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9019 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9030 2011-10-24 Andreas Schwab <schwab@redhat.com>
9032 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9034 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9036 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9038 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9040 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9042 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9043 Remove unused variable magic_bits.
9044 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9046 * string/strnlen.c: Define and use STRNLEN macro.
9047 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9048 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9049 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9050 * wcsmbs/wcslen.c: Define and use WCSLEN.
9051 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9052 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9053 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9054 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9055 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9056 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9057 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9059 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9062 strnlen-sse2-no-bsf.
9063 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9064 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9065 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9066 Add strnlen support.
9067 (USE_AS_STRNLEN): New macro.
9068 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9069 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9070 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9071 * sysdeps/x86_64/wcslen.S: New file.
9073 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9075 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9076 XMM-moves are used for copying on small sizes.
9078 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9080 * wcsmbs/Makefile (strop-tests): Add wcschr.
9081 * wcsmbs/test-wcschr.c: New file.
9082 * string/test-strchr.c: Update.
9086 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9088 * wcsmbs/Makefile (strop-tests): Add wcslen.
9089 * wcsmbs/test-wcslen.c: New file.
9090 * string/test-strlen.c: Update.
9094 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9096 * po/it.po: Update from translation team.
9098 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9100 * sysdeps/x86_64/wcscmp.S: Update.
9101 Fix wrong comparison semantics.
9102 wcscmp shall use signed comparison not unsigned.
9103 Don't use substraction to avoid overflow bug.
9104 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9105 * wcsmbc/wcscmp.c: Likewise.
9106 * string/test-strcmp.c: Likewise.
9107 Add new tests to check cases with negative values.
9109 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9111 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9112 * sysdeps/x86_64/dla.h: ...here. New file.
9113 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9123 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9125 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9126 __ynl_finite aliases.
9128 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9132 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9134 [DLA_FMA] (EMULV): Use DLA_FMA.
9135 [DLA_FMA] (MUL12): Use EMULV.
9136 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9137 that are not needed.
9138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9146 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9148 * math/s_nan.c: Undef __nan.
9149 * math/s_nanf.c: Undef __nanf.
9150 * math/s_nanl.c: Undef __nanl.
9151 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9154 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9156 * math/s_catan.c: Add branch predictions.
9157 * math/s_catanf.c: Likewise.
9158 * math/s_catanh.c: Likewise.
9159 * math/s_catanhf.c: Likewise.
9160 * math/s_catanhl.c: Likewise.
9161 * math/s_catanl.c: Likewise.
9162 * math/s_cexp.c: Likewise.
9163 * math/s_cexpf.c: Likewise.
9164 * math/s_cexpl.c: Likewise.
9165 * math/s_clog.c: Likewise.
9166 * math/s_clog10.c: Likewise.
9167 * math/s_clog10f.c: Likewise.
9168 * math/s_clog10l.c: Likewise.
9169 * math/s_clogf.c: Likewise.
9170 * math/s_clogl.c: Likewise.
9171 * math/s_csqrt.c: Likewise.
9172 * math/s_csqrtf.c: Likewise.
9173 * math/s_csqrtl.c: Likewise.
9174 * math/s_ctanf.c: Likewise.
9175 * math/s_ctanh.c: Likewise.
9176 * math/s_ctanhf.c: Likewise.
9177 * math/s_ctanhl.c: Likewise.
9178 * math/s_ctanl.c: Likewise.
9180 * math/math_private.h: Define __nan, __nanf, __nanl.
9181 * math/s_cacosh.c: Include <math_private.h>.
9182 * math/s_cacoshl.c: Likewise.
9183 * math/s_casinh.c: Likewise.
9184 * math/s_casinhf.c: Likewise.
9185 * math/s_casinhl.c: Likewise.
9186 * math/s_ccos.c: Rely entire on ccosh.
9187 * math/s_ccosf.c: Rely entire on ccoshf.
9188 * math/s_ccosl.c: Rely entirely on ccoshl.
9189 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9190 Remove tests for FE_INVALID.
9191 * math/s_ccoshf.c: Likewise.
9192 * math/s_ccoshl.c: Likewise.
9193 * math/s_csin.c: Likewise.
9194 * math/s_csinf.c: Likewise.
9195 * math/s_csinh.c Likewise.
9196 * math/s_csinhf.c: Likewise.
9197 * math/s_csinhl.c: Likewise.
9198 * math/s_csinl.c: Likewise.
9199 * math/s_ctan.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9201 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9202 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9204 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9207 compilation problems.
9209 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9212 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9214 * sysdeps/i386/configure.in: Test for -mfma4 option.
9215 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9216 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9217 COMMON_CPUID_INDEX_80000001.
9218 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9219 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9220 use it if FMA3 is not supported.
9221 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9223 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9224 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9226 2011-10-20 Andreas Schwab <schwab@redhat.com>
9229 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9230 it would create a cycle with a link time dependency.
9232 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9234 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9236 * string/Makefile (strop-tests): Add rawmemchr.
9237 * string/test-rawmemchr.c: New file.
9239 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9240 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9241 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9242 when compiling str{,n}casecmp and when AVX is available. Hook up
9243 new optimized code in initializers.
9245 2011-10-19 Andreas Schwab <schwab@redhat.com>
9247 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9248 __feraiseexcept instead of feraiseexcept.
9250 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9252 * math/math_private.h: Define defaults for libc_fetestexcept and
9254 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9255 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9256 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9257 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9258 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9259 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9260 libc_fetestexcept and libc_feupdateenv.
9262 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9263 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9264 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9265 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9266 libc_feholdexcept_setround.
9268 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9269 Add s_nearbyint-c and s_nearbyintf-c.
9270 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9272 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9273 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9274 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9275 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9277 * math/math_private.h: Define defaults for libc_fegetround,
9278 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9279 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9280 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9281 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9282 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9284 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9285 Remove comments and hacks for old compiler versions.
9286 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9287 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9290 2011-10-18 Andreas Schwab <schwab@redhat.com>
9292 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9293 (__feraiseexcept_renamed): Add __NTH.
9294 (feraiseexcept): Add __NTH. Rename local variables to fix
9295 namespace violations.
9297 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9299 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9301 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9303 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9304 recently added interfaces.
9305 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9307 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9308 about macro parameter expansion.
9310 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9311 __NO_MATH_INLINES is defined. Cleanups.
9313 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9314 and __floorf is target has SSE4.1.
9315 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9316 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9317 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9318 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9320 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9324 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9326 2011-10-17 Andreas Schwab <schwab@redhat.com>
9328 * misc/sys/cdefs.h: Fix last change.
9330 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9333 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9335 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9337 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9338 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9343 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9344 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9345 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9346 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9347 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9348 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9349 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9350 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9351 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9352 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9353 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9354 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9355 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9356 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9357 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9358 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9360 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9361 ceil, ceilf, floor, floorf.
9363 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9364 Perform IRELATIVE relocations last.
9366 * elf/do-rel.h: Add another parameter nrelative, replacing the
9367 local variable with the same name. Change name of the function
9368 to end in Rel or Rela (uppercase).
9369 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9370 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9371 elf_dynamic_do_##reloc function.
9373 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9375 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9376 is sufficient, at least on modern CPUs.
9378 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9380 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9381 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9383 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9385 * math/bits/math-finite.h: Add entries for exp.
9386 * math/e_expl.c: Add __*_finite alias.
9387 * sysdeps/i386/fpu/e_exp.S: Likewise.
9388 * sysdeps/i386/fpu/e_expf.S: Likewise.
9389 * sysdeps/i386/fpu/e_expl.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9391 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9392 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9393 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9395 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9396 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9398 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9399 is sufficient, at least on modern CPUs.
9401 * ctype/ctype-info.c (__ctype_init): Define.
9402 * include/ctype.h (__ctype_init): Declare.
9403 (__ctype_b_loc): The variable is always initialized.
9404 (__ctype_toupper_loc): Likewise.
9405 (__ctype_tolower_loc): Likewise.
9406 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9407 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9409 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9411 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9413 * configure.in: Also look in $cxxmachine/include for C++ system
9416 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9418 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9419 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9420 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9421 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9422 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9423 (USE_AS_WMEMCMP): New macro.
9425 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9426 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9427 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9428 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9430 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9431 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9432 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9433 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9434 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9435 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9436 (USE_AS_WMEMCMP): New macro.
9437 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9438 * sysdeps/string/test-memcmp.c: Update.
9441 * wcsmbs/wmemcmp.c: Update.
9442 (WMEMCMP): New macro.
9445 2011-10-12 Andreas Jaeger <aj@suse.de>
9448 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9450 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9452 * libio/iofwide.c (do_length): Avoid warning.
9454 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9456 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9458 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9460 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9461 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9462 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9463 * sysdeps/i386/i686/fpu/e_log.S: New file.
9464 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9465 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9467 * ctype/ctype.h: Add support for inlined isXXX functions when
9470 2011-10-14 Andreas Schwab <schwab@redhat.com>
9472 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9474 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9476 2011-10-13 Roland McGrath <roland@hack.frob.com>
9479 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9481 2011-10-13 Andreas Schwab <schwab@redhat.com>
9483 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9484 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9487 * sysdeps/x86_64/memrchr.S: Check for zero size.
9489 * string/stratcliff.c: Add memrchr tests.
9491 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9494 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9495 rawmemchr-sse2 rawmemchr-sse2-bsf.
9496 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9497 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9498 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9499 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9500 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9501 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9502 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9503 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9504 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9505 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9506 * string/memrchr.c (MEMRCHR): New macro.
9508 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9510 Add integration with gcc's -ffinite-math-only and optimize wrapper
9512 * Versions.def: Define GLIBC_2.15 version for libm.
9513 * math/Makefile (headers): Add bits/math-finite.h.
9514 * math/bits/math-finite.h: New file.
9515 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9516 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9517 * math/e_acoshl.c: Add __*_finite alias.
9518 * math/e_acosl.c: Likewise.
9519 * math/e_asinl.c: Likewise.
9520 * math/e_atan2l.c: Likewise.
9521 * math/e_atanhl.c: Likewise.
9522 * math/e_coshl.c: Likewise.
9523 * math/e_exp10.c: Likewise.
9524 * math/e_exp10f.c: Likewise.
9525 * math/e_exp10l.c: Likewise.
9526 * math/e_exp2l.c: Likewise.
9527 * math/e_fmodl.c: Likewise.
9528 * math/e_gammal_r.c: Likewise.
9529 * math/e_hypotl.c: Likewise.
9530 * math/e_j0l.c: Likewise.
9531 * math/e_j1l.c: Likewise.
9532 * math/e_jnl.c: Likewise.
9533 * math/e_lgammal_r.c: Likewise.
9534 * math/e_log10l.c: Likewise.
9535 * math/e_log2l.c: Likewise.
9536 * math/e_logl.c: Likewise.
9537 * math/e_powl.c: Likewise.
9538 * math/e_sinhl.c: Likewise.
9539 * math/e_sqrtl.c: Likewise.
9540 * math/e_scalb.c: Completely rewritten and optimized.
9541 * math/e_scalbf.c: Likewise.
9542 * math/e_scalbl.c: Likewise.
9543 * math/w_acos.c: Likewise.
9544 * math/w_acosf.c: Likewise.
9545 * math/w_acosl.c: Likewise.
9546 * math/w_acosh.c: Likewise.
9547 * math/w_acoshf.c: Likewise.
9548 * math/w_acoshl.c: Likewise.
9549 * math/w_asin.c: Likewise.
9550 * math/w_asinf.c: Likewise.
9551 * math/w_asinl.c: Likewise.
9552 * math/w_atan2.c: Likewise.
9553 * math/w_atan2f.c: Likewise.
9554 * math/w_atan2l.c: Likewise.
9555 * math/w_atanh.c: Likewise.
9556 * math/w_atanhf.c: Likewise.
9557 * math/w_atanhl.c: Likewise.
9558 * math/w_exp10.c: Likewise.
9559 * math/w_exp10f.c: Likewise.
9560 * math/w_exp10l.c: Likewise.
9561 * math/w_fmod.c: Likewise.
9562 * math/w_fmodf.c: Likewise.
9563 * math/w_fmodl.c: Likewise.
9564 * math/w_j0.c: Likewise.
9565 * math/w_j0f.c: Likewise.
9566 * math/w_j0l.c: Likewise.
9567 * math/w_j1.c: Likewise.
9568 * math/w_j1f.c: Likewise.
9569 * math/w_j1l.c: Likewise.
9570 * math/w_jn.c: Likewise.
9571 * math/w_jnf.c: Likewise.
9572 * math/w_log.c: Likewise.
9573 * math/w_logf.c: Likewise.
9574 * math/w_logl.c: Likewise.
9575 * math/w_log10.c: Likewise.
9576 * math/w_log10f.c: Likewise.
9577 * math/w_log10l.c: Likewise.
9578 * math/w_log2.c: Likewise.
9579 * math/w_log2f.c: Likewise.
9580 * math/w_log2l.c: Likewise.
9581 * math/w_pow.c: Likewise.
9582 * math/w_powf.c: Likewise.
9583 * math/w_powl.c: Likewise.
9584 * math/w_remainder.c: Likewise.
9585 * math/w_remainderf.c: Likewise.
9586 * math/w_remainderl.c: Likewise.
9587 * math/w_scalb.c: Likewise.
9588 * math/w_scalbf.c: Likewise.
9589 * math/w_scalbl.c: Likewise.
9590 * math/w_sqrt.c: Likewise.
9591 * math/w_sqrtf.c: Likewise.
9592 * math/w_sqrtl.c: Likewise.
9593 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9594 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9596 * math/math_private.h: Declare __kernel_standard_f.
9597 * math/w_cosh.c: Remove cruft and optimize a bit.
9598 * math/w_coshf.c: Likewise.
9599 * math/w_coshl.c: Likewise.
9600 * math/w_exp2.c: Likewise.
9601 * math/w_exp2f.c: Likewise.
9602 * math/w_exp2l.c: Likewise.
9603 * math/w_hypot.c: Likewise.
9604 * math/w_hypotf.c: Likewise.
9605 * math/w_hypotl.c: Likewise.
9606 * math/w_lgamma.c: Likewise.
9607 * math/w_lgamma_r.c: Likewise.
9608 * math/w_lgammaf.c: Likewise.
9609 * math/w_lgammaf_r.c: Likewise.
9610 * math/w_lgammal.c: Likewise.
9611 * math/w_lgammal_r.c: Likewise.
9612 * math/w_sinh.c: Likewise.
9613 * math/w_sinhf.c: Likewise.
9614 * math/w_sinhl.c: Likewise.
9615 * math/w_tgamma.c: Likewise.
9616 * math/w_tgammaf.c: Likewise.
9617 * math/w_tgammal.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9619 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9620 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9621 Minor optimizations. Pretty printing. Remove cruft.
9622 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9623 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9624 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9625 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9626 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9627 * sysdeps/i386/fpu/e_asin.S: Likewise.
9628 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9629 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9630 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9631 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9632 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9633 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9634 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9635 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9636 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9637 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9638 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9639 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9640 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9641 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9642 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9643 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9644 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9645 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9646 * sysdeps/i386/fpu/e_log.S: Likewise.
9647 * sysdeps/i386/fpu/e_log10.S: Likewise.
9648 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9649 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9650 * sysdeps/i386/fpu/e_log2.S: Likewise.
9651 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9652 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9653 * sysdeps/i386/fpu/e_logf.S: Likewise.
9654 * sysdeps/i386/fpu/e_logl.S: Likewise.
9655 * sysdeps/i386/fpu/e_pow.S: Likewise.
9656 * sysdeps/i386/fpu/e_powf.S: Likewise.
9657 * sysdeps/i386/fpu/e_powl.S: Likewise.
9658 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9659 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9660 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9661 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9662 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9663 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9664 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9665 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9666 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9667 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9668 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9670 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9671 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9672 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9673 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9674 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9675 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9676 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9677 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9678 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9680 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9681 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9683 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9684 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9685 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9687 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9688 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9689 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9690 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9691 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9692 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9693 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9694 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9695 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9696 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9697 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9698 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9699 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9700 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9701 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9702 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9703 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9704 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9705 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9706 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9707 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9708 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9747 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9750 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9752 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9753 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9755 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9758 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9759 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9760 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9761 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9762 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9763 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9764 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9765 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9766 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9767 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9768 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9769 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9770 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9771 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9772 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9773 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9774 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9775 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9776 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9777 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9778 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9779 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9780 (__isnanf): Likewise.
9781 (__isinf_ns): Likewise.
9782 (__isinf_nsf): Likewise.
9783 (__finite): Likewise.
9784 (__finitef): Likewise.
9785 (__ieee754_sqrt): Define as macro.
9786 (__ieee754_sqrtf): Define as macro.
9787 (__ieee754_sqrtl): Define as macro.
9788 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9790 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9791 __FINITE_MATH_ONLY__ consistent.
9792 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9794 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9796 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9799 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9801 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9803 * po/ja.po: Update from translation team.
9805 2011-10-08 Roland McGrath <roland@hack.frob.com>
9807 * locale/programs/locarchive.c (prepare_address_space): New function.
9808 (create_archive, enlarge_archive, open_archive): Use it.
9810 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9811 inside [SHARED], where it is used.
9813 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9815 * nss/getent.c (netgroup_keys): Remove unused variable.
9816 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9818 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9820 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9821 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9822 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9823 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9824 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9825 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9826 * math/Makefile (libm-calls): Add s_isinf_ns.
9827 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9828 * math/multc3.c: Likewise.
9829 * math/s_casin.c: Likewise.
9830 * math/s_casinf.c: Likewise.
9831 * math/s_casinl.c: Likewise.
9832 * math/s_ccos.c: Likewise.
9833 * math/s_ccosf.c: Likewise.
9834 * math/s_ccosl.c: Likewise.
9835 * math/s_ctan.c: Likewise.
9836 * math/s_ctanf.c: Likewise.
9837 * math/s_ctanh.c: Likewise.
9838 * math/s_ctanhf.c: Likewise.
9839 * math/s_ctanhl.c: Likewise.
9840 * math/s_ctanl.c: Likewise.
9841 * math/w_fmod.c: Likewise.
9842 * math/w_fmodf.c: Likewise.
9843 * math/w_fmodl.c: Likewise.
9844 * math/w_remainder.c: Likewise.
9845 * math/w_remainderf.c: Likewise.
9846 * math/w_remainderl.c: Likewise.
9847 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9848 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9849 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9850 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9851 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9852 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9853 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9854 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9856 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9858 * stdio-common/printf_fphex.c: Likewise.
9859 * stdio-common/printf_size.c: Likewise.
9861 * math/e_exp10.c: Include math_private.h using <...> not "...".
9862 * math/e_exp10f.c: Likewise.
9863 * math/e_exp10l.c: Likewise.
9864 * math/e_exp2l.c: Likewise.
9865 * math/e_j0l.c: Likewise.
9866 * math/e_j1l.c: Likewise.
9867 * math/e_jnl.c: Likewise.
9868 * math/e_lgammal_r.c: Likewise.
9869 * math/e_rem_pio2l.c: Likewise.
9870 * math/e_scalb.c: Likewise.
9871 * math/e_scalbf.c: Likewise.
9872 * math/e_scalbl.c: Likewise.
9873 * math/k_cosl.c: Likewise.
9874 * math/k_sinl.c: Likewise.
9875 * math/k_tanl.c: Likewise.
9876 * math/s_cacoshf.c: Likewise.
9877 * math/s_catan.c: Likewise.
9878 * math/s_catanf.c: Likewise.
9879 * math/s_catanh.c: Likewise.
9880 * math/s_catanhf.c: Likewise.
9881 * math/s_catanhl.c: Likewise.
9882 * math/s_catanl.c: Likewise.
9883 * math/s_ccosh.c: Likewise.
9884 * math/s_ccoshf.c: Likewise.
9885 * math/s_ccoshl.c: Likewise.
9886 * math/s_cexp.c: Likewise.
9887 * math/s_cexpf.c: Likewise.
9888 * math/s_cexpl.c: Likewise.
9889 * math/s_clog.c: Likewise.
9890 * math/s_clog10.c: Likewise.
9891 * math/s_clog10f.c: Likewise.
9892 * math/s_clog10l.c: Likewise.
9893 * math/s_clogf.c: Likewise.
9894 * math/s_clogl.c: Likewise.
9895 * math/s_csin.c: Likewise.
9896 * math/s_csinf.c: Likewise.
9897 * math/s_csinh.c: Likewise.
9898 * math/s_csinhf.c: Likewise.
9899 * math/s_csinhl.c: Likewise.
9900 * math/s_csinl.c: Likewise.
9901 * math/s_csqrt.c: Likewise.
9902 * math/s_csqrtf.c: Likewise.
9903 * math/s_csqrtl.c: Likewise.
9904 * math/s_ctan.c: Likewise.
9905 * math/s_ctanf.c: Likewise.
9906 * math/s_ctanh.c: Likewise.
9907 * math/s_ctanhf.c: Likewise.
9908 * math/s_ctanhl.c: Likewise.
9909 * math/s_ctanl.c: Likewise.
9910 * math/s_ldexp.c: Likewise.
9911 * math/s_ldexpf.c: Likewise.
9912 * math/s_ldexpl.c: Likewise.
9913 * math/s_significand.c: Likewise.
9914 * math/s_significandf.c: Likewise.
9915 * math/s_significandl.c: Likewise.
9916 * math/w_acos.c: Likewise.
9917 * math/w_acosf.c: Likewise.
9918 * math/w_acosh.c: Likewise.
9919 * math/w_acoshf.c: Likewise.
9920 * math/w_acoshl.c: Likewise.
9921 * math/w_acosl.c: Likewise.
9922 * math/w_asin.c: Likewise.
9923 * math/w_asinf.c: Likewise.
9924 * math/w_asinl.c: Likewise.
9925 * math/w_atan2.c: Likewise.
9926 * math/w_atan2f.c: Likewise.
9927 * math/w_atan2l.c: Likewise.
9928 * math/w_atanh.c: Likewise.
9929 * math/w_atanhf.c: Likewise.
9930 * math/w_atanhl.c: Likewise.
9931 * math/w_cosh.c: Likewise.
9932 * math/w_coshf.c: Likewise.
9933 * math/w_coshl.c: Likewise.
9934 * math/w_dremf.c: Likewise.
9935 * math/w_exp10.c: Likewise.
9936 * math/w_exp10f.c: Likewise.
9937 * math/w_exp10l.c: Likewise.
9938 * math/w_exp2.c: Likewise.
9939 * math/w_exp2f.c: Likewise.
9940 * math/w_fmod.c: Likewise.
9941 * math/w_fmodf.c: Likewise.
9942 * math/w_fmodl.c: Likewise.
9943 * math/w_hypot.c: Likewise.
9944 * math/w_hypotf.c: Likewise.
9945 * math/w_hypotl.c: Likewise.
9946 * math/w_j0.c: Likewise.
9947 * math/w_j0f.c: Likewise.
9948 * math/w_j0l.c: Likewise.
9949 * math/w_j1.c: Likewise.
9950 * math/w_j1f.c: Likewise.
9951 * math/w_j1l.c: Likewise.
9952 * math/w_jn.c: Likewise.
9953 * math/w_jnf.c: Likewise.
9954 * math/w_jnl.c: Likewise.
9955 * math/w_lgamma.c: Likewise.
9956 * math/w_lgamma_r.c: Likewise.
9957 * math/w_lgammaf.c: Likewise.
9958 * math/w_lgammaf_r.c: Likewise.
9959 * math/w_lgammal.c: Likewise.
9960 * math/w_lgammal_r.c: Likewise.
9961 * math/w_log.c: Likewise.
9962 * math/w_log10.c: Likewise.
9963 * math/w_log10f.c: Likewise.
9964 * math/w_log10l.c: Likewise.
9965 * math/w_log2.c: Likewise.
9966 * math/w_log2f.c: Likewise.
9967 * math/w_log2l.c: Likewise.
9968 * math/w_logf.c: Likewise.
9969 * math/w_logl.c: Likewise.
9970 * math/w_pow.c: Likewise.
9971 * math/w_powf.c: Likewise.
9972 * math/w_powl.c: Likewise.
9973 * math/w_remainder.c: Likewise.
9974 * math/w_remainderf.c: Likewise.
9975 * math/w_remainderl.c: Likewise.
9976 * math/w_scalb.c: Likewise.
9977 * math/w_scalbf.c: Likewise.
9978 * math/w_scalbl.c: Likewise.
9979 * math/w_sinh.c: Likewise.
9980 * math/w_sinhf.c: Likewise.
9981 * math/w_sinhl.c: Likewise.
9982 * math/w_sqrt.c: Likewise.
9983 * math/w_sqrtf.c: Likewise.
9984 * math/w_sqrtl.c: Likewise.
9985 * math/w_tgamma.c: Likewise.
9986 * math/w_tgammaf.c: Likewise.
9987 * math/w_tgammal.c: Likewise.
9989 * po/ja.po: Update from translation team.
9991 2011-09-29 Andreas Jaeger <aj@suse.de>
9994 * sunrpc/netname.c (netname2host): Fix logic.
9998 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10000 * math/w_remainder.c (__remainder): Likewise.
10001 * math/w_remainderf.c (__remainderf): Likewise.
10002 * math/libm-test.inc (remainder_test): Add test cases.
10004 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10006 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10009 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10011 * string/test-memcmp.c: Avoid unncessary #defines.
10012 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10014 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10016 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10017 Use new sse2 version for core i3 - i7 as it's faster
10018 than sse42 version.
10019 (bit_Prefer_PMINUB_for_stringop): New.
10020 * sysdeps/x86_64/rawmemchr.S: Update.
10021 Replace with faster SSE2 version.
10022 * sysdeps/x86_64/memrchr.S: New file.
10023 * sysdeps/x86_64/memchr.S: Update.
10024 Replace with faster SSE2 version.
10026 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10028 * elf/dl-load.c (lose): Add cast to avoid warning.
10030 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10032 * po/ca.po: Update from translation team.
10034 * inet/getnetgrent_r.c: Hook up nscd.
10035 * nscd/Makefile (routines): Add nscd_netgroup.
10036 (nscd-modules): Add netgroupcache.
10037 (CFLAGS-netgroupcache.c): Define.
10038 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10039 (cache_search): Add const to second parameter.
10040 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10042 (dbs): Add netgrdb entry.
10043 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10044 (verify_persistent_db): Handle netgrdb.
10045 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10046 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10048 (netgroup_response_header): Define.
10049 (innetgroup_response_header): Define.
10050 (datahead): Add netgroup_response_header and innetgroup_response_header
10052 * nscd/nscd.conf: Add entries for netgroup cache.
10053 * nscd/nscd.h (dbtype): Add netgrdb.
10054 (_PATH_NSCD_NETGROUP_DB): Define.
10055 (netgroup_iov_disabled): Declare.
10056 (xmalloc, xcalloc, xrealloc): Move declarations here.
10057 (cache_search): Adjust prototype.
10058 Add netgroup-related prototypes.
10059 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10060 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10061 (__nscd_innetgr): Declare.
10062 * nscd/selinux.c (perms): Use access_vector_t as element type and
10063 add netgroup-related initializers.
10064 * nscd/netgroupcache.c: New file.
10065 * nscd/nscd_netgroup.c: New file.
10066 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10067 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10068 For four parameters use innetgr.
10069 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10070 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10071 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10072 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10074 * nscd/connections.c (register_traced_file): Don't register file
10075 for disabled databases.
10077 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10079 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10081 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10082 from tree and freeing node.
10084 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10086 * nss/nsswitch.c (__nss_database_lookup): Handle
10087 nss_parse_service_list out of memory case.
10089 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10091 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10092 out of memory case.
10094 2011-10-04 Andreas Schwab <schwab@redhat.com>
10096 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10097 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10099 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10100 elf_machine_rela, elf_machine_lazy_rel.
10101 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10102 (ELF_DYNAMIC_DO_REL): Likewise.
10103 (ELF_DYNAMIC_DO_RELA): Likewise.
10104 (ELF_DYNAMIC_RELOCATE): Likewise.
10105 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10106 to ELF_DYNAMIC_DO_REL.
10107 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10108 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10109 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10111 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10112 skip_ifunc, don't call ifunc function if non-zero.
10113 (elf_machine_rela): Likewise.
10114 (elf_machine_lazy_rel): Likewise.
10115 (elf_machine_lazy_rela): Likewise.
10116 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10117 (elf_machine_lazy_rel): Likewise.
10118 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10120 (elf_machine_lazy_rel): Likewise.
10121 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10123 (elf_machine_lazy_rel): Likewise.
10124 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10125 (elf_machine_lazy_rel): Likewise.
10126 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10127 (elf_machine_lazy_rel): Likewise.
10128 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10129 (elf_machine_lazy_rel): Likewise.
10130 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10131 (elf_machine_lazy_rel): Likewise.
10132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10133 (elf_machine_lazy_rel): Likewise.
10134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10135 (elf_machine_lazy_rel): Likewise.
10137 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10139 * nss/nss_files/files-init.c (_nss_files_init): Use static
10140 initialization for all the *_traced_file variables.
10142 2011-09-28 Andreas Schwab <schwab@redhat.com>
10144 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10146 2011-09-27 Roland McGrath <roland@hack.frob.com>
10149 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10151 2011-09-27 Andreas Schwab <schwab@redhat.com>
10153 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10154 Reread the line before reparsing it.
10156 2011-09-26 Andreas Schwab <schwab@redhat.com>
10158 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10160 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10161 Maxim Kuvyrkov <maxim@codesourcery.com>
10162 Joseph Myers <joseph@codesourcery.com>
10164 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10165 if needed for __stack_chk_guard.
10167 2011-09-19 Roland McGrath <roland@hack.frob.com>
10169 * sysdeps/posix/spawni.c (script_execute): Always define it.
10170 It will be optimized away if unused.
10171 (maybe_script_execute): New function.
10172 (__spawni): Call it.
10174 * Makerules: Don't include tls.make.
10175 (config-tls): Always set to thread.
10176 * tls.make.c: File removed.
10178 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10180 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10181 * config.make.in (CPPFLAGS-config): New substituted variable.
10183 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10185 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10188 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10189 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10191 2011-09-15 Roland McGrath <roland@hack.frob.com>
10193 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10194 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10195 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10196 (CALL_FAIL): Likewise.
10197 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10198 (CALL_FAIL): Macro removed.
10199 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10201 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10203 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10204 for __FINITE_MATH_ONLY__ == 1.
10206 2011-09-15 Andreas Schwab <schwab@redhat.com>
10208 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10209 __ieee754_sqrt instead of sqrt.
10210 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10211 __ieee754_sqrtf instead of sqrtf.
10212 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10213 __floorf instead of floorf.
10214 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10215 __floorf, __truncf instead of floorf, truncf.
10217 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10219 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10221 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10222 __extern_always_inline.
10223 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10226 2011-09-14 Andreas Schwab <schwab@redhat.com>
10228 * elf/rtld.c (dl_main): Also relocate in dependency order when
10229 doing symbol dependency testing.
10231 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10233 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10234 Always define `refsym'.
10236 2011-09-13 Andreas Schwab <schwab@redhat.com>
10238 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10239 (__FD_ELT): Renamed from __FDELT.
10240 * misc/bits/select2.h (__FD_ELT): Likewise.
10241 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10242 __FD_MASK instead of __FDELT, __FDMASK.
10243 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10245 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10248 * elf/Makefile (gen-ldd): Fix pattern.
10250 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10251 (init_tls): Likewise.
10253 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10255 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10257 2011-09-12 Andreas Schwab <schwab@redhat.com>
10259 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10260 `struct cmsghdr *' instead of `void *'.
10261 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10264 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10266 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10268 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10269 ldd_rewrite_script.
10271 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10273 * configure.in: Remove --with-tls option.
10274 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10275 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10276 out in case it is missing.
10277 * sysdeps/ia64/elf/configure.in: Likewise.
10278 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10279 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10280 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10281 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10282 * sysdeps/sh/elf/configure.in: Likewise.
10283 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10284 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10285 * sysdeps/x86_64/elf/configure.in: Likewise.
10286 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10287 * sysdeps/mach/hurd/tls.h: Likewise.
10290 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10293 * configure.in: Fix use of AC_INIT.
10295 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10297 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10299 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10301 * malloc/hooks.c: Likewise.
10304 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10305 variables statically.
10306 (narenas): Initialize.
10307 (list_lock): Initialize.
10308 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10309 initializtion of main_arena and list_lock. Small cleanups.
10310 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10311 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10312 Add initializers to main_arena and mp_.
10313 (malloc_state): Remove pagesize member. Change all users to use
10316 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10317 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10318 is always initialized.
10320 * malloc/malloc.c: Removed unused configurations and dead code.
10321 * malloc/arena.c: Likewise.
10322 * malloc/hooks.c: Likewise.
10323 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10325 * include/tls.h: Removed. USE___THREAD must always be defined.
10326 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10327 * elf/dl-libc.c: Likewise.
10328 * elf/dl-tsd.c: Likewise.
10329 * include/errno.h: Likewise.
10330 * include/netdb.h: Likewise.
10331 * include/resolv.h: Likewise.
10332 * inet/herrno-loc.c: Likewise.
10333 * inet/herrno.c: Likewise.
10334 * malloc/arena.c: Likewise.
10335 * malloc/hooks.c: Likewise.
10336 * malloc/malloc.c: Likewise.
10337 * resolv/res-state.c: Likewise.
10338 * resolv/res_libc.c: Likewise.
10339 * sysdeps/i386/dl-machine.h: Likewise.
10340 * sysdeps/ia64/dl-machine.h: Likewise.
10341 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10342 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10343 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10344 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10345 * sysdeps/sh/dl-machine.h: Likewise.
10346 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10347 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10348 * sysdeps/unix/i386/sysdep.S: Likewise.
10349 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10350 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10353 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10354 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10355 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10357 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10359 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10360 * sysdeps/x86_64/dl-machine.h: Likewise.
10361 * tls.make.c: Likewise.
10363 * configure.in: Remove --with-__thread option. Make tests for
10364 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10365 tls_model attribute fail if no support is available. Remove
10367 * Makeconfig: Adjust for dropped configure option. All features are
10369 * Makerules: Likewise.
10370 * Versions.def: Likewise.
10371 * argp/argp-fmtstream.c: Likewise.
10372 * argp/argp-fmtstream.h: Likewise.
10373 * argp/argp-help.c: Likewise.
10374 * assert/assert.c: Likewise.
10375 * config.h.in: Likewise.
10376 * config.make.in: Likewise.
10377 * configure: Likewise.
10378 * configure.in: Likewise.
10379 * csu/Versions: Likewise.
10380 * csu/init.c: Likewise.
10381 * elf/tst-audit2.c: Likewise.
10382 * elf/tst-tls10.c: Likewise.
10383 * elf/tst-tls10.h: Likewise.
10384 * elf/tst-tls11.c: Likewise.
10385 * elf/tst-tls12.c: Likewise.
10386 * elf/tst-tls14.c: Likewise.
10387 * elf/tst-tlsmod11.c: Likewise.
10388 * elf/tst-tlsmod12.c: Likewise.
10389 * elf/tst-tlsmod13.c: Likewise.
10390 * elf/tst-tlsmod13a.c: Likewise.
10391 * elf/tst-tlsmod14a.c: Likewise.
10392 * elf/tst-tlsmod15b.c: Likewise.
10393 * elf/tst-tlsmod16a.c: Likewise.
10394 * elf/tst-tlsmod16b.c: Likewise.
10395 * elf/tst-tlsmod7.c: Likewise.
10396 * elf/tst-tlsmod8.c: Likewise.
10397 * elf/tst-tlsmod9.c: Likewise.
10398 * gmon/gmon.c: Likewise.
10399 * grp/fgetgrent_r.c: Likewise.
10400 * grp/putgrent.c: Likewise.
10401 * hurd/fopenport.c: Likewise.
10402 * include/libc-symbols.h: Likewise.
10403 * include/tls.h: Likewise.
10404 * intl/gettextP.h: Likewise.
10405 * intl/loadinfo.h: Likewise.
10406 * locale/global-locale.c: Likewise.
10407 * locale/localeinfo.h: Likewise.
10408 * mach/devstream.c: Likewise.
10409 * malloc/arena.c: Likewise.
10410 * malloc/set-freeres.c: Likewise.
10411 * misc/err.c: Likewise.
10412 * misc/getttyent.c: Likewise.
10413 * misc/mntent_r.c: Likewise.
10414 * posix/getopt.c: Likewise.
10415 * posix/wordexp.c: Likewise.
10416 * pwd/fgetpwent_r.c: Likewise.
10417 * resolv/Versions: Likewise.
10418 * resolv/res_hconf.c: Likewise.
10419 * shadow/fgetspent_r.c: Likewise.
10420 * shadow/putspent.c: Likewise.
10421 * stdio-common/printf_fphex.c: Likewise.
10422 * stdio-common/tmpfile.c: Likewise.
10423 * stdlib/abort.c: Likewise.
10424 * stdlib/fmtmsg.c: Likewise.
10425 * sunrpc/auth_unix.c: Likewise.
10426 * sunrpc/clnt_perr.c: Likewise.
10427 * sunrpc/clnt_tcp.c: Likewise.
10428 * sunrpc/clnt_udp.c: Likewise.
10429 * sunrpc/clnt_unix.c: Likewise.
10430 * sunrpc/openchild.c: Likewise.
10431 * sunrpc/svc_simple.c: Likewise.
10432 * sunrpc/svc_tcp.c: Likewise.
10433 * sunrpc/svc_udp.c: Likewise.
10434 * sunrpc/svc_unix.c: Likewise.
10435 * sunrpc/xdr.c: Likewise.
10436 * sunrpc/xdr_array.c: Likewise.
10437 * sunrpc/xdr_rec.c: Likewise.
10438 * sunrpc/xdr_ref.c: Likewise.
10439 * sunrpc/xdr_stdio.c: Likewise.
10441 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10443 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10445 2011-07-03 Andreas Jaeger <aj@suse.de>
10447 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10448 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10449 regenerate with gen-libm-tests.pl.
10451 2010-05-12 Petr Baudis <pasky@suse.cz>
10454 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10455 around j0() zero points by switching to j1().
10456 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10461 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10463 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10465 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10468 Patch in part by Pavel Roskin <proski@gnu.org>.
10471 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10473 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10474 Free memory block if necessary.
10477 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10478 be NULL. Don't lock in this case.
10480 2011-09-09 Roland McGrath <roland@hack.frob.com>
10482 * elf/elf.h (ELFOSABI_GNU): New macro.
10483 (ELFOSABI_LINUX): Define to that.
10485 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10487 * string/strncat.c (strncat): Undef the symbol in case it has been
10488 defined in bits/string.h.
10490 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10492 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10494 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10497 2011-08-17 Andreas Jaeger <aj@suse.de>
10499 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10501 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10502 Ian Lance Taylor <iant@google.com>
10504 * math/libm-test.inc (lround_test): New testcase.
10505 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10507 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10509 * Makefile: Remove support for automatic cvs check-ins.
10510 * Makerules: Likewise.
10511 * config.make.in: Likewise.
10512 * configure.in: Likewise.
10513 * intl/Makefile: Likewise.
10514 * locale/Makefile: Likewise.
10515 * po/Makefile: Likewise.
10516 * posix/Makefile: Likewise.
10517 * sysdeps/gnu/Makefile: Likewise.
10518 * sysdeps/mach/hurd/Makefile: Likewise.
10519 * sysdeps/sparc/sparc32/Makefile: Likewise.
10522 * posix/Makefile (bug-regex32-ENV): Define.
10523 Patch by John Stanley <jpsinthemix@verizon.net>.
10525 * misc/Makefile (headers): Add bits/select2.h.
10526 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10527 * misc/bits/select2.h: New file.
10528 * include/bits/select2.h: New file.
10529 * debug/Makefile (routines): Add fdelt_chk.
10530 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10531 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10533 * debug/fdelt_chk.c: New file.
10535 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10536 * wcsmbs/test-wmemcmp.c: Likewise.
10537 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10538 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10540 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10542 * string/Makefile (strop-tests): Add memcmp.
10543 * string/test-wmemcmp.c: New file.
10544 * string/test-memcmp.c: Add wmemcmp support.
10546 2011-09-08 Roland McGrath <roland@hack.frob.com>
10549 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10552 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10553 garbage value in a __mach_port_mod_refs call in the cases of the
10554 task-self and thread-self ports.
10556 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10558 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10560 2011-09-08 Andreas Schwab <schwab@redhat.com>
10562 * elf/dl-load.c (lose): Check for non-null L.
10564 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10566 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10568 * elf/dl-libc.c (dlerror_run): Pass back error code from
10572 * elf/dl-load.c (lose): Free l_origin if it is valid.
10574 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10576 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10577 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10578 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10579 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10580 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10581 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10583 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10585 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10586 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10587 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10588 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10589 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10590 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10591 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10592 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10593 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10594 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10596 2011-08-15 Alan Modra <amodra@gmail.com>
10599 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10600 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10601 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10602 ppc_mcount to static-only-routines.
10603 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10605 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10606 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10608 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10610 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10611 for finite and infinity parameters.
10613 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10615 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10616 and add nop instructions for throughput optimization.
10617 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10619 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10621 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10622 aligned copy for power7 with vector-scalar instructions.
10623 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10625 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10627 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10630 2011-09-07 Andreas Schwab <schwab@redhat.com>
10633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10636 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10638 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10639 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10640 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10641 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10644 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10646 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10647 Forgot to demangle the pointer.
10649 * sysdeps/i386/sysdep.h: Define atom_text_section.
10650 * sysdeps/x86_64/sysdep.h: Likewise.
10651 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10652 section with atom_text_section.
10653 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10654 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10655 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10656 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10657 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10659 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10660 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10661 already be defined. Change to take two parameters and don't assign
10662 result to variable. Adjust all users.
10663 Define INTERNAL_GETTIME if not already defined.
10664 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10666 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10667 HAVE_CLOCK_GETTIME_VSYSCALL.
10668 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10670 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10671 gettimeofday vsyscall, just use time.
10673 2011-09-06 Andreas Schwab <schwab@redhat.com>
10675 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10678 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10680 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10684 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10685 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10686 syscall if possible.
10688 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10690 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10691 e_ident. Don't pass to find_mapsXX.
10692 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10694 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10697 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10698 * sysdeps/x86_64/multiarch/strchr.S: Update.
10699 Check bit_slow_BSF bit.
10700 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10701 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10702 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10704 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10707 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10709 (tryshell): Define.
10710 (__spawni): Change last parameter to be flag. Test
10711 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10712 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10713 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10714 * posix/spawni.c: Likewise.
10715 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10716 * posix/spawnp.c: Likewise. Change normal version to use
10717 SPAWN_XFLAGS_USE_PATH.
10718 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10719 SPAWN_XFLAGS_TRY_SHELL.
10722 * posix/glob.h: Remove gcc 1.x support.
10725 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10727 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10730 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10732 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10733 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10734 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10735 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10736 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10737 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10739 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10741 * sysdeps/x86_64/wcscmp.S: New file.
10743 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10744 wcscmp-c wcscmp-sse2
10745 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10746 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10747 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10748 * wcsmbs/wcscmp.c: Allow renaming.
10750 2011-09-05 David S. Miller <davem@davemloft.net>
10752 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10753 stack slot, rather than the struct return pointer slot.
10754 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10755 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10757 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10759 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10761 * po/ja.po: Update from translation team.
10764 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10765 kernel in 64-bit binaries.
10767 2011-09-01 David S. Miller <davem@davemloft.net>
10769 * elf/elf.h (HWCAP_SPARC_*): Move to..
10770 * sysdeps/sparc/sysdep.h: this new file and add new values.
10771 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10772 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10773 _DL_HWCAP_COUNT to 24.
10774 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10776 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10777 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10778 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10780 instead of magic constants.
10781 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10783 2011-08-31 David S. Miller <davem@davemloft.net>
10785 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10787 Reimplement to do errno handling inline.
10788 (SYSCALL_ERROR_HANDLER): New macro.
10789 (__SYSCALL_STRING): Do not do errno handling in asm.
10790 (__CLONE_SYSCALL_STRING): Delete.
10791 (__INTERNAL_SYSCALL_STRING): Delete.
10792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10793 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10794 (PSEUDO): Reimplement to do errno handling inline.
10795 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10796 (SYSCALL_ERROR_HANDLER): New macro.
10797 (__SYSCALL_STRING): Do not do errno handling in asm.
10798 (__CLONE_SYSCALL_STRING): Delete.
10799 (__INTERNAL_SYSCALL_STRING): Delete.
10800 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10801 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10803 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10804 (inline_syscall*): Add 'err' argument.
10805 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10806 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10807 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10808 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10810 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10811 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10813 2011-08-30 Andreas Schwab <schwab@redhat.com>
10815 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10817 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10819 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10822 2011-08-24 David S. Miller <davem@davemloft.net>
10824 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10826 2011-08-24 Andreas Schwab <schwab@redhat.com>
10828 * elf/Makefile: Add rules to build and run unload8 test.
10829 * elf/unload8.c: New file.
10830 * elf/unload8mod1.c: New file.
10831 * elf/unload8mod1x.c: New file.
10832 * elf/unload8mod2.c: New file.
10833 * elf/unload8mod3.c: New file.
10835 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10838 2011-08-23 David S. Miller <davem@davemloft.net>
10840 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10841 subtract stack bias.
10842 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10843 %sp not %fp in calculations.
10844 (_JMPBUF_UNWINDS_ADJ): Likewise.
10846 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10847 (aio_suspend): Call it to force an exception region around the
10848 AIO_MISC_WAIT() invocation.
10850 2011-08-23 Andreas Schwab <schwab@redhat.com>
10852 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10855 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10857 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10859 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10860 and <dl-machine.h>.
10861 (Elf64_FuncDesc): Remove.
10863 2011-08-22 David S. Miller <davem@davemloft.net>
10865 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10866 sigaltstack check, add missing cfi directives.
10867 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10868 missing cfi directives, and sigaltstack handling.
10870 2011-08-16 Andreas Schwab <schwab@redhat.com>
10873 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10874 object is seen twice.
10875 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10877 * elf/Makefile (distribute): Add tst-initorder2.c.
10878 (tests): Add tst-initorder2.
10879 (modules-names): Add tst-initorder2a tst-initorder2b
10880 tst-initorder2c tst-initorder2d. Add rules to build them.
10881 ($(objpfx)tst-initorder2.out): New rule.
10882 * elf/tst-initorder2.c: New file.
10883 * elf/tst-initorder2.exp: New file.
10885 2011-08-22 Andreas Schwab <schwab@redhat.com>
10887 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10889 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10890 dependencies back to end of function.
10892 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10893 $(elfobjdir)/ld.so.
10895 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10898 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10900 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10901 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10902 of __vdso_gettimeofday.
10903 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10904 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10906 (_libc_vdso_platform_setup): Remove initialization of
10907 __vdso_gettimeofday and __vdso_time.
10909 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10911 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10912 and fgetc_unlocked.
10913 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10916 * elf/dl-open.c (add_to_global): Report additions to the global scope
10917 for LD_DEBUG=scopes.
10918 (dl_open_worker): Also print scope of newly loaded dependencies.
10919 (_dl_show_scope): Indicate if there is no scope.
10922 * stdio-common/Makefile (tests): Add bug24.
10923 * stdio-common/bug24.c: New file.
10925 2011-08-19 Andreas Jaeger <aj@suse.de>
10928 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10929 non-existant file when using close-on-exec mode.
10931 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10933 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10934 the very first instruction.
10936 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10937 the CFI state in the end.
10938 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10939 inclusion of dl-trampoline.h.
10940 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10942 2011-08-19 Andreas Schwab <schwab@redhat.com>
10944 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10945 expectations for long double.
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10948 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10950 2011-08-14 David S. Miller <davem@davemloft.net>
10952 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10953 artificual limit depends upon the system page size.
10955 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10957 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10958 * resolv/Makefile: Define CFLAGS-libresolv.
10960 2011-08-17 Andreas Schwab <schwab@redhat.com>
10962 * nss/makedb.c (compute_tables): Make variables used in nested
10965 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10967 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10968 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10969 if buffer was too small.
10971 * elf/pldd.c (main): Attach to all threads in the process.
10972 Rewrite /proc handling to use *at functions.
10974 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10976 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10977 specifies first scope to show.
10978 (dl_open_worker): Update callers. Move printing scope of new
10979 object to before the relocation.
10980 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10981 * sysdeps/generic/ldsodefs.h: Update declaration.
10983 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10984 string for the scope number.
10986 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10988 * nscd/servicescache.c (cache_addserv): Make sure written is always
10991 2011-08-14 Roland McGrath <roland@hack.frob.com>
10993 * sysdeps/i386/i486/bits/atomic.h
10994 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10995 statement expression, so as to suppress "set but not used" warning.
10996 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10998 * string/strncat.c (STRNCAT): Use prototype definition.
11000 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11001 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11003 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11004 (localedef-modules): Add localedef.
11005 (locale-modules): Add locale.
11007 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11008 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11009 to avoid a warning.
11011 2011-08-14 David S. Miller <davem@davemloft.net>
11013 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11014 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11016 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11018 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11019 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11020 * elf/rtld.c (dl_main): Set l_name of vDSO.
11021 Call _dl_show_scope when DL_DEBUG_SCOPES.
11022 (process_dl_debug): Recognize scopes flag and also set it for all.
11023 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11024 Declare _dl_show_scope.
11026 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11027 (do_dlopen): Pass caller_dlopen to dl_open.
11028 (__libc_dlopen_mode): Initialize caller_dlopen.
11030 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11031 of libc. Make tolower call locale-independent. Optimize a bit by
11032 using isdigit instead of isalnum.
11033 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11035 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11037 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11038 was a dependency or dynamically loaded.
11040 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11042 * intl/l10nflist.c: Allow architecture-specific pop function.
11043 * sysdeps/x86_64/l10nflist.c: New file.
11045 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11048 2011-08-10 Andreas Schwab <schwab@redhat.com>
11050 * include/dirent.h: Add libc_hidden_proto for scandirat and
11051 scandirat64. Don't declare __scandirat64.
11052 * dirent/scandirat.c: Add libc_hidden_def.
11053 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11054 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11056 2011-08-10 David S. Miller <davem@davemloft.net>
11058 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11060 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11061 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11062 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11064 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11066 * Versions.def [libc]: Add GLIBC_2.15.
11067 * dirent/Makefile (routines): Add scandirat and scandirat64.
11068 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11070 * dirent/dirent.h: Declare scandirat and scandirat64.
11071 * dirent/scandirat.c: New file.
11072 * dirent/scandirat64.c: New file.
11073 * sysdeps/wordsize-64/scandirat.c: New file.
11074 * sysdeps/wordsize-64/scandirat64.c: New file.
11075 * dirent/opendir.c: Define opendirat.
11076 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11078 * dirent/scandir64.c: Adjust for scandir.c change.
11079 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11080 __scandirat64, and __scandir_cancel_handler.
11081 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11082 additional parameter and use openat instead of open (outside of ld.so).
11083 Add new __opendir as wrapper around __opendirat.
11084 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11085 here without requiring old scandirat implementation.
11087 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11089 * dirent/scandir.c (cancel_handler): Renamed to
11090 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11091 defined. Adjust users.
11092 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11093 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11095 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11097 * string/test-string.h (IMPL): Use __STRING to expand name and then
11100 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11103 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11105 * string/Makefile: Update.
11106 (strop-tests): Append strncat.
11107 * string/test-wcscmp.c: New file.
11108 New comprehensive test for wcscmp.
11109 * string/test-strcmp.c: Update.
11110 (WIDE): New define.
11112 2011-07-22 Andreas Schwab <schwab@redhat.com>
11114 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11117 2011-07-26 Andreas Schwab <schwab@redhat.com>
11119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11120 encoding to ACE if AI_IDN.
11122 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11124 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11125 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11127 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11129 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11130 Fix overflow bug in strncat.
11131 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11133 * string/test-strncat.c: Update.
11134 Add new tests for checking overflow bugs.
11136 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11139 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11140 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11141 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11142 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11143 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11144 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11145 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11146 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11148 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11149 (USE_AS_STRCAT): Define.
11150 Add strcat and strncat support.
11151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11153 2011-07-25 Andreas Schwab <schwab@redhat.com>
11155 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11156 __n bigger than INT_MAX+1.
11157 (__strncmp_g): Likewise.
11159 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11161 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11162 * libio/stido.h: Likewise.
11164 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11166 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11169 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11170 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11171 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11172 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11173 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11176 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11181 (_dl_x86_64_save_sse): Likewise.
11183 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11185 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11187 (_dl_x86_64_save_sse): Likewise.
11189 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11191 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11193 2011-07-21 Andreas Schwab <schwab@redhat.com>
11195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11197 (_dl_x86_64_save_sse): Use correct AVX check.
11199 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11201 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11202 bug in strncpy/strncat.
11203 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11205 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11207 * string/tester.c (test_strcat): Add tests for different alignments
11208 of source and destination.
11209 (test_strncat): Likewise.
11211 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11214 * posix/glob.c (glob): Check passed in values before using them in
11215 expressions to avoid some overflows.
11216 (glob_in_dir): Likewise.
11219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11220 check for AVX enablement so that we don't crash with old kernels and
11222 * elf/tst-audit4.c: Add same checks here.
11223 * elf/tst-audit6.c: Likewise.
11225 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11227 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11229 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11231 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11233 * po/cs.po: Update from translation team.
11234 * po/bg.po: Likewise.
11236 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11238 * misc/sys/cdefs.h: Add support for const attribute.
11239 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11240 to gnu_dev_{major,minor,makedev} functions.
11242 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11244 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11246 2011-07-20 Andreas Schwab <schwab@redhat.com>
11248 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11251 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11253 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11254 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11255 register in order to avoid conflicts with the soft frame pointer
11256 being held in r11 when necessary.
11257 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11258 (INTERNAL_VSYSCALL_NCS): Likewise.
11260 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11262 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11263 * elf/dl-fini.c (_dl_fini): Adjust caller.
11264 * elf/dl-close.c (_dl_close_worker): Likewise.
11265 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11267 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11269 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11270 "aux_cache->nlibs < 0".
11272 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11273 in the reload-count case.
11275 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11278 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11279 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11280 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11281 * sysdeps/x86_64/multiarch/strcat.S: New file.
11282 * sysdeps/x86_64/multiarch/strncat.S: New file.
11283 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11284 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11285 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11286 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11287 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11288 (USE_AS_STRCAT): Define.
11289 Add strcat and strncat support.
11290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11291 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11292 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11293 * string/strncat.c: Update.
11294 (USE_AS_STRNCAT): Define.
11295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11296 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11298 * sysdeps/x86_64/multiarch/init-arch.h
11299 (bit_Prefer_PMINUB_for_stringop): New.
11300 (index_Prefer_PMINUB_for_stringop): Likewise.
11301 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11302 bit_Prefer_PMINUB_for_stringop.
11304 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11306 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11308 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11309 of casting of buffer.
11310 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11311 buffer32 and buffer64.
11312 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11313 writes instead of casting of buffer.
11314 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11316 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11319 2011-07-19 Andreas Schwab <schwab@redhat.com>
11321 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11323 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11325 * nscd/nscd.c (termination_handler): Don't do anything for a database
11326 if it has not yet been initialized.
11328 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11330 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11332 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11334 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11336 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11338 * po/nl.po: Update from translation team.
11339 * po/sv.po: Likewise.
11341 2011-07-16 Roland McGrath <roland@hack.frob.com>
11343 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11344 now disallowed by GCC.
11346 * configure.in (use-default-link): Default to yes if a test -shared
11347 link meets our qualifications.
11348 * configure: Regenerated.
11350 * config.make.in (output-format): New variable.
11351 * configure.in: Check for ld --print-output-format support.
11352 * configure: Regenerated.
11353 * Makerules ($(common-objpfx)format.lds)
11354 [$(output-format) != unknown]: Just use $(output-format),
11355 instead of the linker-script munging.
11357 2011-07-14 Roland McGrath <roland@hack.frob.com>
11359 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11360 of $(common-objpfx)shlib.lds.
11361 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11363 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11364 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11366 * configure.in (-z relro check): Adjust test code to add a large
11367 writable data section after it.
11368 * configure: Regenerated.
11370 2011-07-11 Roland McGrath <roland@hack.frob.com>
11372 * configure.in (-z relro check): Fix test code to make the variable
11374 * configure: Regenerated.
11376 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11378 * nscd/nscd.h (struct traced_file): Define.
11379 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11380 elements. Add traced_files.
11381 (inotify_fd): Declare.
11382 (register_traced_file): Declare.
11383 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11384 (inotify_fd): Export.
11385 (resolv_conf_descr): Remove.
11386 (nscd_init): Move inotify descriptor creation to main.
11387 Don't register files for notification here.
11388 (register_traced_file): New function.
11389 (invalidate_cache): Don't use reset_res to determine whether to call
11390 res_init, go through the list of registered files.
11391 (main_loop_poll): The inotify descriptors are now stored in the
11392 structures for the traced files.
11393 (main_loop_epoll): Likewise
11394 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11395 to __nss_disable_nscd.
11396 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11397 for a database anymore. Check the records for all the registered
11399 * nss/Makefile (libnss_files-routines): Add files-init.
11400 (libnss_db-routines): Add db-init.
11401 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11402 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11403 * nss/nss_db/db-init.c: New file.
11404 * nss/nss_files/files-init.c: New file.
11405 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11406 __nss_lookup_function.
11407 (__nss_lookup_function): Call nss_load_library.
11408 (nss_load_all_libraries): New function.
11409 (__nss_disable_nscd): Take parameter with callback function for files
11410 to register. Set is_nscd. Load all the DSOs for the NSS modules
11411 used for the cached services.
11412 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11413 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11414 options for features to all the files in nscd.
11416 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11418 2011-07-10 Roland McGrath <roland@hack.frob.com>
11420 * csu/elf-init.c (__libc_csu_init): Comment typo.
11422 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11424 * po/pl.po: Update from translation team.
11425 * po/ja.po: Likewise.
11426 * po/ru.po: Likewise.
11427 * po/ko.po: Likewise.
11428 * po/fr.po: Likewise.
11430 2011-07-09 Roland McGrath <roland@hack.frob.com>
11432 * configure.in (.ctors/.dtors header and trailer check):
11433 Use an empirical test on a built program.
11434 * configure: Regenerated.
11436 * configure.in (-z relro check): Use an empirical test on a built DSO.
11437 Detect, but do not require, on ia64.
11438 * configure: Regenerated.
11440 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11441 Update tests that use readelf to use $READELF instead.
11442 * configure: Regenerated.
11444 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11446 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11447 if the result is not used.
11449 2011-07-05 Andreas Jaeger <aj@suse.de>
11452 * stdlib/tst-strtod.c: Add testcase.
11454 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11456 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11457 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11458 The latter has a higher limit. Take additional parameter to pass to
11460 (__pathconf): Pass file to __statfs_link_max.
11461 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11463 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11467 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11470 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11471 (__statfs_filesize_max): Likewise.
11472 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11474 2011-07-05 Andreas Jaeger <aj@suse.de>
11476 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11478 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11480 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11482 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11485 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11487 * Makefile (strop-tests): Add strncat.
11488 * string/test-strncat.c: New file.
11490 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11492 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11494 2011-06-21 Andreas Jaeger <aj@suse.de>
11496 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11497 Copy rule from iconvdata/Makefile.
11499 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11502 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11503 but no long options are defined, just return 'W'.
11505 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11508 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11510 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11512 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11514 (innetgr): Likewise.
11516 2011-07-05 Roland McGrath <roland@hack.frob.com>
11518 * config.make.in (install_root): Default to $(DESTDIR).
11520 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11522 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11524 2011-07-02 Roland McGrath <roland@hack.frob.com>
11526 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11528 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11529 containing directory rather than embedding absolute directory names.
11531 * scripts/check-local-headers.sh: Rewritten using awk.
11532 Match by word, not by line. Print error messages for matches.
11533 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11535 * Makerules [shlib-lds-flags empty]:
11536 ($(common-objpfx)libc_pic.opts): New target.
11537 ($(common-objpfx)libc_pic.os.clean): New target.
11538 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11540 * config.make.in (OBJCOPY): New variable.
11541 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11542 * configure: Regenerated.
11544 * config.make.in (use-default-link): New variable.
11545 * configure.in (use_default_link): Grok --with-default-link to set it.
11546 * configure: Regenerated.
11547 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11548 (shlib-lds, shlib-lds-flags): Define to empty.
11550 * Makerules (shlib-lds): New variable.
11551 (shlib-lds-flags): New variable.
11552 (build-shlib, build-moduile, build-module-asneeded): Use it.
11553 ($(common-objpfx)libc.so): Use $(shlib-lds).
11554 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11555 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11557 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11558 DT_FLAGS/DT_FLAGS_1 with zero flags.
11560 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11561 linker script munging.
11563 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11565 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11567 * crypt/sha512.c (sha512_process_block): Perform total addition using
11568 128-bit if possible.
11569 (__sha512_finish_ctx): Likewise.
11570 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11572 * crypt/sha256.c (SWAP64): Define.
11573 (sha256_process_block): Perform total addition using 64-bit if
11575 (__sha256_finish_ctx): Likewise.
11577 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11579 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11580 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11581 * nscd/hstcache.c (cache_addhst): Likewise.
11582 * nscd/grpcache.c (cache_addgr): Likewise.
11583 * nscd/aicache.c (addhstaiX): Likewise
11584 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11586 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11588 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11589 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11590 * nscd/hstcache.c (cache_addhst): Likewise.
11591 * nscd/grpcache.c (cache_addgr): Likewise.
11592 * nscd/aicache.c (addhstaiX): Likewise
11594 2011-07-01 Andreas Schwab <schwab@redhat.com>
11596 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11597 domain only when needed.
11599 2011-06-30 Andreas Schwab <schwab@redhat.com>
11601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11602 is always restored.
11604 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11606 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11607 are re-adding the entry.
11608 * nscd/servicescache.c (cache_addserv): Likewise.
11610 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11612 * sysdeps/generic/dl-irel.h: fix protection against multiple
11614 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11616 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11619 * malloc/memusage.sh: Fix quoting in message.
11620 * debug/xtrace.sh: Likewise.
11622 * configure.in: Remove support for --experimental-malloc option, make
11624 * config.make.in: Likewise.
11625 * malloc/Makefile: Likewise.
11627 2011-06-27 Andreas Schwab <schwab@redhat.com>
11629 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11630 two-byte characters.
11632 2011-06-27 Roland McGrath <roland@hack.frob.com>
11634 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11635 AC_CACHE_CHECK invocation.
11636 * configure: Regenerated.
11638 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11640 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11643 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11644 bit from old_res_options.
11646 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11648 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11649 value type for setfct.
11651 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11653 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11654 __gettimeofday instead of gettimeofday.
11656 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11658 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11660 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11662 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11667 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11670 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11671 strcpy-sse2-unaligned strncpy-sse2-unaligned
11672 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11673 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11674 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11675 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11676 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11677 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11678 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11679 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11680 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11681 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11682 (STRCPY): Support SSE2 and SSSE3 versions.
11684 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11687 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11688 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11689 kernels which artificially limit size of requests.
11691 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11694 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11695 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11696 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11697 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11698 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11699 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11700 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11701 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11702 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11703 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11704 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11705 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11706 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11707 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11709 Enable unaligned load optimization for Intel Core i3, i5 and i7
11711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11713 (index_Fast_Unaligned_Load): Define.
11714 (HAS_FAST_UNALIGNED_LOAD): Define.
11716 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11718 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11720 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11724 until it is clear that the information is realy needed.
11725 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11727 2011-06-22 Andreas Schwab <schwab@redhat.com>
11729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11731 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11733 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11734 /sys/devices/system/cpu/online if it is usable.
11736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11737 reading the information from the /proc filesystem to once a second.
11739 2011-06-21 Andreas Jaeger <aj@suse.de>
11741 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11742 NULL after inclusion of kernel headers.
11744 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11746 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11747 calls to internal_setent.
11750 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11751 addresses using gethostbyname4_r ignore IPv4 addresses.
11753 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11754 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11756 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11758 2011-06-20 David S. Miller <davem@davemloft.net>
11760 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11762 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11764 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11765 (elf_irel): Use it.
11766 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11767 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11768 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11769 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11770 * sysdeps/x86_64/dl-irel.h: Likewise.
11772 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11773 * elf/dl-sym.c: Likewise.
11775 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11777 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11778 need to dereference resplen2.
11780 2011-06-14 Andreas Schwab <schwab@redhat.com>
11782 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11784 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11786 * Makeconfig: Define vardbdir and inst_vardbdir.
11787 * nss/Makefile: Add rules to install db-Makefile.
11789 * nss/nss_db/db-XXX.c: Cleanup.
11791 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11792 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11794 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11795 * nss/makedb.c: Implement -g option to specify that value strings
11796 are generated and should not be added to table iterated over for
11798 * nss/nss_db/db-initgroups.c: New file.
11800 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11803 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11804 (internal_getgrouplist): Adjust to name change.
11805 Update use_initgroups_entry if this is not the first call.
11806 * nss/databases.def: Add initgroups entry.
11808 * nss/makedb.c (compute_tables): Check result of multiple hash table
11809 sizes to minimize maximum chain length.
11811 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11813 * Versions.def: Add entry for libnss_db.
11814 * shlib-versions: Likewise.
11815 * nss/Makefile: Add rules to build libnss_db.
11816 * nss/Versions: Add libnss_db information. Organize libnss_files
11818 * nss/db-Makefile: Add gshadow support. Change rules for the new
11819 makedb progra. Some minor improvements to generate smaller files.
11820 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11822 * nss/makedb.c: ...here.
11823 Improve database format to be smaller and require less memory at
11825 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11827 * nss/nss_db/db-netgrp.c: Likewise.
11828 * nss/nss_db/db-open.c: Likewise.
11829 * nss/nss_files/flies-XXX.x: Adjust comments.
11830 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11831 * nss/nss_files/files-grp.c: Likewise.
11832 * nss/nss_files/files-hosts.c: Likewise.
11833 * nss/nss_files/files-network.c: Likewise.
11834 * nss/nss_files/files-proto.c: Likewise.
11835 * nss/nss_files/files-pwd.c: Likewise.
11836 * nss/nss_files/files-rpc.c: Likewise.
11837 * nss/nss_files/files-service.c: Likewise.
11838 * nss/nss_files/files-sgrp.c: Likewise.
11839 * nss/nss_files/files-spwd.c: Likewise.
11840 * nss/nss_db/db-alias.c: Removed.
11841 * nss/nss_db/dummy-db.h: Removed.
11843 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11845 * nss/makedb.c: Rewritten to not use database library.
11846 * nss/Makefile: Update to build new makedb program.
11848 2011-06-14 Andreas Jaeger <aj@suse.de>
11850 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11851 memset declaration.
11853 2011-06-10 Andreas Schwab <schwab@redhat.com>
11855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11858 2011-06-10 Roland McGrath <roland@hack.frob.com>
11860 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11861 * elf/Makefile ($(objpfx)ld.so): Likewise.
11863 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11864 Don't list ld.so twice in dependencies.
11866 * posix/bug-regex31.c: Include <stdlib.h>.
11868 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11870 * nis/nss_compat/compat-spwd.c
11871 (getspent_next_nss_netgr): Remove unused variable.
11872 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11874 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11875 nonmembers" output to use the right array.
11877 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11879 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11881 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11882 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11883 * catgets/gencat.c (read_input_file): Likewise.
11884 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11886 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11887 variable definition inside #if's controlling its use.
11889 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11891 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11893 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11895 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11898 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11900 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11901 * configure: Regenerated.
11903 * Makerules: Revert last change.
11904 * elf/Makefile: Likewise.
11906 2011-06-09 Roland McGrath <roland@hack.frob.com>
11908 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11909 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11910 (reloc-link): Likewise.
11912 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11914 * elf/Makefile: Add rules to build pldd.
11915 * elf/pldd.c: New file.
11916 * elf/pldd-xx.c: New file.
11918 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11920 * version.h: Update for 2.15 development version.
11922 2011-06-07 David S. Miller <davem@davemloft.net>
11924 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11926 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11927 elf_machine_lazy_rel): Likewise.
11928 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11930 elf_machine_lazy_rel): Likewise.
11931 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11932 dl_hwcap via passed in argument.
11933 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11936 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11938 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11940 2011-06-06 Roland McGrath <roland@hack.frob.com>
11943 * manual/fdl-1.1.texi: New file, verbatim from:
11944 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11945 * manual/lgpl-2.1.texi: New file, verbatim from:
11946 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11947 * manual/Makefile (licenses): New variable, list those new file names.
11949 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11951 * manual/fdl.texi: File removed.
11952 * manual/lesser.texi: File removed.
11953 * manual/libc.texinfo (Copying, Documentation License):
11954 Use new @include file names, put @appendix directive before @include.
11956 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11959 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11960 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11961 (mq_open): Add __NTH.
11963 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11966 Assume Intel Core i3/i5/i7 processor if AVX is available.
11968 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11970 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11973 2011-05-31 Andreas Schwab <schwab@redhat.com>
11975 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11976 memory. Use alloca_account. Fix memory leak when retrying.
11978 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11980 * version.h (RELEASE): Bump for 2.14 release.
11981 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11983 * config.make.in (RANLIB): Remove entry.
11985 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11987 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11988 (libc.pot): Work around missing support for .ksh extension in xgettext.
11991 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11992 if both request failed.
11993 (send_dg): In case of server errors clear resplen or *resplen2.
11996 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11997 when there are multiple maps.
11998 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11999 (_dl_fini): Remove test here.
12001 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12003 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12006 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12007 bit from old_res_options.
12008 (gaih_inet): Likewise.
12011 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12014 * resolv/res_init.c (res_setoptions): Make the code more compact.
12017 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12021 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12023 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12026 * malloc/malloc.h: Declare malloc hook variables as volatile.
12028 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12032 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12033 raise in the comment.
12034 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12035 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12036 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12038 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12041 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12042 grow the buffers more if it already has to be sufficient.
12043 (build_wcs_upper_buffer): Likewise.
12044 * posix/regexec.c (check_matching): Likewise.
12045 (clean_state_log_if_needed): Likewise.
12046 (extend_buffers): Don't enlarge buffers beyond size of the input
12048 Patches mostly by Emil Wojak <emil@wojak.eu>.
12049 * posix/bug-regex32.c: New file.
12050 * posix/Makefile (tests): Add bug-regex32.
12052 * locale/findlocale.c (_nl_find_locale): Return right away if
12053 _nl_explode_name failed.
12054 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12056 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12058 * debug/xtrace.sh: Unify messages.
12059 * malloc/memusage.sh: Likewise.
12062 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12063 time symbol from vDSO. Substitute with vsyscall if not available.
12064 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12067 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12068 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12069 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12070 Add sendmmsg and internal_sendmmsg.
12071 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12072 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12073 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12075 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12076 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12077 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12079 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12082 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12083 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12085 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12089 * iconvdata/Makefile (tests): Add bug-iconv9.
12090 * iconvdata/bug-iconv9.c: New file.
12092 2011-05-27 Andreas Schwab <schwab@redhat.com>
12095 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12097 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12099 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12100 (struct user_regs_struct): Change intcs field back to cs.
12102 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12104 * po/ja.po: Update from translation team.
12106 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12109 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12110 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12112 2011-05-20 Andreas Schwab <schwab@redhat.com>
12114 * stdlib/longlong.h: Update from GCC.
12116 2011-05-23 Andreas Schwab <schwab@redhat.com>
12118 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12120 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12121 Add parameter name.
12122 (__sysconf): Pass it down.
12124 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12127 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12129 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12130 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12131 add in in __libc_use_alloca calls. Adjust callers.
12132 (glob): Use malloc in some situations.
12134 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12135 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12138 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12140 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12141 and CLOCK_BOOTTIME_ALARM.
12144 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12147 * string/_strerror.c (__strerror_r): Print negative errors as signed
12151 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12152 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12153 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12155 * configure.in: Fix typo in redirection and correct removal of test
12156 files in two cases.
12159 * locale/setlocale.c (new_composite_name): Fix test to check for
12160 identical name of all categories.
12163 * libio/filedoalloc.c (local_isatty): New function.
12164 (_IO_file_doallocate): Use local_isatty.
12165 * stdio-common/perror.c (perror): In case a new stream is used
12166 forward the stream error.
12167 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12170 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12175 * include/alloca.h (extend_alloca_account): Define.
12178 * posix/regex.h: Fix comments with documentation of user-accessible
12179 fields after compilation and describe correct free'ing of pattern
12180 after re_compile_pattern.
12181 Patch by Reuben Thomas <rrt@sc3d.org>.
12183 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12185 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12186 and -mno-altivec to prevent the compiler from using Altivec and/or
12187 VSX instructions when the corresponding registers are not available.
12189 2011-05-19 Andreas Schwab <schwab@redhat.com>
12191 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12193 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12195 * libio/freopen.c (freopen): Use __dup2, not dup2.
12196 * libio/freopen64.c (freopen64): Likewise.
12198 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12201 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12202 * math/Makefile (tests): Add test-powl.
12203 (CFLAGS-test-powl.c): Define.
12204 * math/test-powl.c: New file.
12206 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12208 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12210 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12213 * iconvdata/gb18030.c: Update to GB18020-2005.
12215 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12217 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12218 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12219 Patch by Aharon Robbins <arnold@skeeve.com>.
12222 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12226 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12227 through underflows.
12230 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12231 point to strings before performing equality test for error_one_per_line
12235 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12238 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12239 (struct user_fpregs_struct): Avoid __uint*_t types.
12242 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12243 symbol info. Use it instead of calling _dl_addr locally.
12244 (lock_and_info): New function.
12245 (tr_freehook): Call lock_and_info and pass symbol info as additional
12246 parameter to tr_where.
12247 (tr_mallochook): Likewise.
12248 (tr_reallochook): Likewise.
12249 (tr_memalignhook): Likewise.
12251 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12252 used and couldn't be at all thread-safe.
12254 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12256 * libio/freopen.c (freopen): Don't close old file descriptor
12257 before the new one is opened. Instead dup the new file descriptor
12258 to the old one after the new stream is created.
12259 * libio/freopen64.c (freopen64): Likewise.
12260 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12261 * libio/fileops.c (_IO_new_file_close_it): Handle new
12262 _IO_FLAGS2_NOCLOSE flag.
12263 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12264 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12265 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12266 _IO_FLAGS2_NOCLOSE flag.
12267 * include/unistd.h: Add hidden_proto for dup3.
12268 Define __have_dup3.
12269 * io/dup3.c: Define hidden symbol.
12270 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12273 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12274 when an incomplete long option is used.
12275 * posix/tst-getopt_long1.c: New file.
12276 * posix/Makefile (tests): Add tst-getopt_long1.
12279 * scripts/config.guess: Update from autoconf-2.68.
12280 * scripts/config.sub: Likewise.
12283 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12285 (has_cpuclock): ...this. New function.
12286 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12287 macro here based on has_cpuclock code.
12290 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12291 First byte (not low byte) is now always NUL.
12292 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12294 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12295 Use non-cancelable interfaces.
12298 * locale/iso-639.def: Add entry for Sorani.
12301 * include/stdlib.h: Move include protection to the right place.
12302 Define abort_msg_s. Declare __abort_msg with it.
12303 * stdlib/abort.c (__abort_msg): Adjust type.
12304 * assert/assert.c (__assert_fail_base): New function. Majority
12305 of code from __assert_fail. Allocate memory for __abort_msg with
12307 (__assert_fail): Now call __assert_fail_base.
12308 * assert/assert-perr.c: Remove bulk of implementation. Use
12309 __assert_fail_base.
12310 * include/assert.hL Declare __assert_fail_base.
12311 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12313 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12315 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12319 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12320 until all modules are registered in the DTV.
12321 * elf/Makefile: Add rules to build and run tst-tls19.
12322 * elf/tst-tls19.c: New file.
12323 * elf/tst-tls19mod1.c: New file.
12324 * elf/tst-tls19mod2.c: New file.
12325 * elf/tst-tls19mod3.c: New file.
12326 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12329 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12333 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12334 two-byte sequence errors.
12335 * iconvdata/Makefile (tests): Add bug-iconv8.
12336 * iconvdata/bug-iconv8.c: New file.
12339 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12342 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12345 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12346 (dummy_getcfa): New function.
12347 (init): Get _Unwind_GetCFA address, use dummy if not found.
12348 (backtrace_helper): In recursion check, also check whether CFA changes.
12349 (__backtrace): Completely initialize arg.
12351 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12352 storing incomplete byte sequence in state object. Avoid testing for
12353 guaranteed too small input if we know there is enough data available.
12355 2011-05-11 Andreas Schwab <schwab@redhat.com>
12357 * Makeconfig (+link-pie): Indent.
12358 * Rules (binaries-pie): Define if $(have-fpie) and
12360 (binaries-shared): Also filter out $(binaries-pie).
12361 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12362 * nscd/Makefile (others-pie): Add nscd.
12363 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12364 ($(objpfx)nscd): Remove command override.
12365 * login/Makefile (others-pie): Add pt_chown.
12366 ($(objpfx)pt_chown): Remove command override.
12367 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12368 remove command overrides.
12370 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12372 * libio/tst_putwc.c: Fix error messages.
12375 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12376 currently writing and seek to current position when not.
12377 * libio/Makefile (tests): Add bug-fclose1.
12378 * libio/bug-fclose1.c: New file.
12380 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12383 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12384 don't set DF_1_NODELETE here.
12385 (do_lookup_x): When entering new entry test for copy relocation
12386 and if necessary set DF_1_NODELETE flag.
12387 * elf/tst-unique4.cc: New file.
12388 * elf/tst-unique4.h: New file.
12389 * elf/tst-unique4lib.cc: New file.
12390 * elf/Makefile: Add rules to build and run tst-unique4.
12391 Patch by Piotr Bury <pbury@goahead.com>.
12393 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12396 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12399 * misc/mntent_r.c (addmntent): Flush the stream after the output
12402 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12403 (is_trusted_path_normalize): Skip initial colon. Append slash
12404 to empty buffer. Duplicate is_trusted_path code but allow
12405 constructed patch to be prefix.
12406 (is_dst): Allow $ORIGIN followed by /.
12407 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12408 Correct testing of result of is_trusted_path_normalize
12409 (decompose_rpath): Fix warning.
12411 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12414 * grp/initgroups.c (internal_getgrouplist): When we found the service
12415 list through the initgroups entry in nsswitch.conf do not always
12416 continue on a successful lookup. Don't always use the
12417 __nss_group_database value if it is set.
12418 * nss/nsswitch.conf (initgroups): Change action for successful db
12419 lookup to continue for compatibility.
12421 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12424 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12426 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12428 * iconvdata/tst-tables.sh: Likewise.
12429 * iconvdata/cp770.c: New file.
12430 * iconvdata/cp771.c: New file.
12431 * iconvdata/cp772.c: New file.
12432 * iconvdata/cp773.c: New file.
12433 * iconvdata/cp774.c: New file.
12434 * iconvdata/testdata/CP770: New file.
12435 * iconvdata/testdata/CP770..UTF8: New file.
12436 * iconvdata/testdata/CP771: New file.
12437 * iconvdata/testdata/CP771..UTF8: New file.
12438 * iconvdata/testdata/CP772: New file.
12439 * iconvdata/testdata/CP772..UTF8: New file.
12440 * iconvdata/testdata/CP773: New file.
12441 * iconvdata/testdata/CP773..UTF8: New file.
12442 * iconvdata/testdata/CP774: New file.
12443 * iconvdata/testdata/CP774..UTF8: New file.
12445 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12447 * iconvdata/gen-8bit-gap.sh: Likewise.
12448 * iconvdata/gen-8bit.sh: Likewise.
12450 * locale/iso-639.def: Add ary entry.
12453 * locale/C-translit.h.in: Add U20A1 transliteration.
12456 * locale/iso-639.def: Add wae entry.
12457 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12460 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12464 * locale/C-translit.h.in: Add entry for U20B9.
12465 Patch by pravin.d.s@gmail.com.
12467 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12470 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12471 ENAMETOOLONG use generic getcwd.
12472 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12473 in rtld. Use *stat64.
12474 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12475 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12476 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12477 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12478 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12479 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12480 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12481 __fstatat64 macros.
12482 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12483 * dirent/rewinddir.c: Add libc_hidden_def.
12484 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12485 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12487 * include/dirent.h (__alloc_dir): Add flags parameter.
12488 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12489 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12491 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12492 from fdopendir if O_CLOEXEC is already set.
12494 2011-03-15 Alan Modra <amodra@gmail.com>
12496 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12497 l_tls_firstbyte_offset non-zero. Save padding offset in
12498 l_tls_firstbyte_offset for later use.
12499 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12500 freeing static tls block.
12502 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12504 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12505 where #ifdef was intended. The intent is to prevent ARG_MAX from
12506 being defined by the kernel headers.
12508 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12511 * resolv/resolv.h: Define RES_NOTLDQUERY.
12512 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12513 no-tld-query and set RES_NOTLDQUERY.
12514 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12515 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12516 modern BIND to search name as TLD unless forbidden.
12518 2011-05-07 Petr Baudis <pasky@suse.cz>
12519 Ulrich Drepper <drepper@gmail.com>
12522 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12523 (is_trusted_path): ...to here.
12524 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12525 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12526 using is_trusted_path_normalize() in setuid scripts.
12528 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12530 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12531 __BEGIN/__END_DECLS.
12533 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12535 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12536 NSS_STATUS_NOTFOUND if no record was found.
12538 2011-05-05 Andreas Schwab <schwab@redhat.com>
12540 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12541 (headers-not-in-tirpc): Remove rpc/netdb.h
12542 * resolv/netdb.h: Revert last change.
12544 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12546 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12547 circular dependency between libgcc.a and libc.a.
12549 2011-05-05 Andreas Schwab <schwab@redhat.com>
12551 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12552 * nis/Makefile: Don't install rpcsvc/*.
12553 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12554 instead of <rpc/types.h>.
12555 (MAXHOSTNAMELEN): Define.
12557 2011-05-03 Andreas Schwab <schwab@redhat.com>
12559 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12561 2011-04-28 Maciej Babinski <mbabinski@google.com>
12564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12565 gethostbyname4_r when IPv6 results are possible.
12567 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12570 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12571 _PC_PIPE_BUF handling.
12573 2011-04-30 Bruno Haible <bruno@clisp.org>
12576 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12577 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12579 * inet/getnameinfo.c (getnameinfo): Likewise.
12581 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12583 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12584 to groups setting in database lookup.
12585 * nss/nsswitch.conf: Add initgroups entry.
12587 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12590 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12592 Patch by Eric Blake <eblake@redhat.com>.
12594 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12596 * sunrpc/Makefile (need-export-routines): Add svc_run.
12597 (routines): Remove svc_run.
12598 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12599 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12600 * sunrpc/svc_run.c (svc_run): Likewise.
12601 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12603 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12605 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12606 problem in reallocation in last patch.
12608 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12610 * sunrpc/Makefile: Move inclusion of Rules.
12612 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12614 * nss/nss_files/files-initgroups.c: New file.
12615 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12616 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12617 _nss_files_initgroups_dyn.
12619 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12621 * elf/elf.h (R_ARM_IRELATIVE): Define.
12623 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12625 * po/ru.po: Update from translation team.
12627 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12629 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12632 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12635 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12636 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12637 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12638 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12639 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12641 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12643 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12645 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12646 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12647 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12649 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12652 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12654 * stdlib/bug-getcontext.c: New file.
12655 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12657 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12659 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12660 instructions into .machine "z9-109".
12661 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12662 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12664 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12666 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12667 between environment variables and auxiliary vector.
12669 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12671 * Makefile: Add rules to build linkobj/libc.so.
12672 * include/libc-symbols.h: Define libc_hidden_nolink.
12673 * include/rpc/auth.h: Mark functions which are to be hidden.
12674 * include/rpc/auth_des.h: Likewise.
12675 * include/rpc/auth_unix.h: Likewise.
12676 * include/rpc/clnt.h: Likewise.
12677 * include/rpc/des_crypt.h: Likewise.
12678 * include/rpc/key_prot.h: Likewise.
12679 * include/rpc/pmap_clnt.h: Likewise.
12680 * include/rpc/pmap_prot.h: Likewise.
12681 * include/rpc/pmap_rmt.h: Likewise.
12682 * include/rpc/rpc_msg.h: Likewise.
12683 * include/rpc/svc.h: Likewise.
12684 * include/rpc/svc_auth.h: Likewise.
12685 * include/rpc/xdr.h: Likewise.
12686 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12687 * nss/Makefile: Likewise.
12688 * sunrpc/Makefile: Don't install headers. Build library with normal
12689 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12690 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12691 for the compat linking library. Remove use of INTDEF/INTUSE.
12692 * sunrpc/auth_none.c: Likewise.
12693 * sunrpc/auth_unix.c: Likewise.
12694 * sunrpc/authdes_prot.c: Likewise.
12695 * sunrpc/authuxprot.c: Likewise.
12696 * sunrpc/clnt_gen.c: Likewise.
12697 * sunrpc/clnt_perr.c: Likewise.
12698 * sunrpc/clnt_raw.c: Likewise.
12699 * sunrpc/clnt_simp.c: Likewise.
12700 * sunrpc/clnt_tcp.c: Likewise.
12701 * sunrpc/clnt_udp.c: Likewise.
12702 * sunrpc/clnt_unix.c: Likewise.
12703 * sunrpc/des_crypt.c: Likewise.
12704 * sunrpc/des_soft.c: Likewise.
12705 * sunrpc/get_myaddr.c: Likewise.
12706 * sunrpc/key_call.c: Likewise.
12707 * sunrpc/key_prot.c: Likewise.
12708 * sunrpc/netname.c: Likewise.
12709 * sunrpc/pm_getmaps.c: Likewise.
12710 * sunrpc/pm_getport.c: Likewise.
12711 * sunrpc/pmap_clnt.c: Likewise.
12712 * sunrpc/pmap_prot.c: Likewise.
12713 * sunrpc/pmap_prot2.c: Likewise.
12714 * sunrpc/pmap_rmt.c: Likewise.
12715 * sunrpc/publickey.c: Likewise.
12716 * sunrpc/rpc_cmsg.c: Likewise.
12717 * sunrpc/rpc_common.c: Likewise.
12718 * sunrpc/rpc_dtable.c: Likewise.
12719 * sunrpc/rpc_prot.c: Likewise.
12720 * sunrpc/rpc_thread.c: Likewise.
12721 * sunrpc/rtime.c: Likewise.
12722 * sunrpc/svc.c: Likewise.
12723 * sunrpc/svc_auth.c: Likewise.
12724 * sunrpc/svc_authux.c: Likewise.
12725 * sunrpc/svc_raw.c: Likewise.
12726 * sunrpc/svc_run.c: Likewise.
12727 * sunrpc/svc_simple.c: Likewise.
12728 * sunrpc/svc_tcp.c: Likewise.
12729 * sunrpc/svc_udp.c: Likewise.
12730 * sunrpc/svc_unix.c: Likewise.
12731 * sunrpc/svcauth_des.c: Likewise.
12732 * sunrpc/xcrypt.c: Likewise.
12733 * sunrpc/xdr.c: Likewise.
12734 * sunrpc/xdr_array.c: Likewise.
12735 * sunrpc/xdr_float.c: Likewise.
12736 * sunrpc/xdr_intXX_t.c: Likewise.
12737 * sunrpc/xdr_mem.c: Likewise.
12738 * sunrpc/xdr_rec.c: Likewise.
12739 * sunrpc/xdr_ref.c: Likewise.
12740 * sunrpc/xdr_sizeof.c: Likewise.
12741 * sunrpc/xdr_stdio.c: Likewise.
12743 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12746 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12747 * sysdeps/ia64/dl-tls.h: Likewise.
12748 * sysdeps/powerpc/dl-tls.h: Likewise.
12749 * sysdeps/s390/dl-tls.h: Likewise.
12750 * sysdeps/sh/dl-tls.h: Likewise.
12751 * sysdeps/sparc/dl-tls.h: Likewise.
12752 * sysdeps/x86_64/dl-tls.h: Likewise.
12753 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12755 2011-03-14 Andreas Schwab <schwab@redhat.com>
12757 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12758 rpath element also skip the following colon.
12759 (expand_dynamic_string_token): Add is_path parameter and pass
12760 down to DL_DST_REQUIRED and _dl_dst_substitute.
12761 (decompose_rpath): Call expand_dynamic_string_token with
12762 non-zero is_path. Ignore empty rpaths.
12763 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12766 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12771 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12774 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12775 Patch by Filipe David Manana <fdmanana@apache.org>.
12777 2011-04-07 Andreas Schwab <schwab@redhat.com>
12779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12780 Maintain aligned stack.
12781 (CHECK_RSP): Remove unused macro.
12783 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12785 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12786 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12788 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12790 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12792 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12794 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12797 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12798 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12799 * sysdeps/x86_64/memmove.c: New file.
12800 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12801 (memcpy): Renamed to ...
12802 (__new_memcpy): This.
12803 (memcpy): Provide GLIBC_2_14 memcpy.
12804 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12805 (memcpy): Provide GLIBC_2_2_5 memcpy.
12807 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12810 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12812 2011-03-30 Andreas Schwab <schwab@redhat.com>
12814 * misc/syncfs.c: New file.
12815 * misc/Makefile (routines): Add syncfs.
12816 * posix/unistd.h: Declare syncfs.
12817 * sysdeps/unix/syscalls.list: Add syncfs.
12819 2011-04-01 Andreas Schwab <schwab@redhat.com>
12821 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12823 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12824 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12825 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12826 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12828 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12829 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12831 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12833 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12834 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12835 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12837 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12839 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12841 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12842 sync_file_range.c with -fexceptions.
12843 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12844 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12845 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12846 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12847 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12848 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12849 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12850 sync_file_range as cancellation point
12851 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12852 now a wrapper around __call_sync_file_range with cancellation handling.
12853 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12854 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12855 function name to __call_sync_file_range.
12856 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12857 Add call_sync_file_range.
12859 2011-04-01 Andreas Schwab <schwab@redhat.com>
12861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12864 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12866 * iconv/iconv.h: Fix typo in comment.
12867 * io/fcntl.h: Likewise.
12868 * libio/stdio.h: Likewise.
12869 * posix/spawn.h: Likewise.
12870 * posix/unistd.h: Likewise.
12871 * stdlib/stdlib.h: Likewise.
12872 * time/time.h: Likewise.
12873 * wcsmbs/wchar.h: Likewise.
12875 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12876 open_by_handle): Add.
12877 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12878 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12879 Augment a few comments.
12880 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12882 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12884 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12885 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12888 * io/fcntl.h (AT_EMPTY_PATH): Define.
12890 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12892 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12893 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12894 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12896 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12897 * Versions.def: Add GLIBC_2.14.
12898 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12901 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12903 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12905 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12907 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12910 * string/test-strncmp.c (do_page_test): New function.
12911 (check2): Likewise.
12912 (test_main): Call check2.
12913 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12915 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12918 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12919 Handle cache information in CPU leaf 4.
12920 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12922 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12925 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12926 character representation.
12927 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12929 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12931 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12932 END(__isnan) to END(__isnanf) to match function entry point/label
12933 EALIGN(__isnanf,...).
12935 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12937 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12939 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12942 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12943 copy from the symbol referenced in the relocation to initialize the
12945 Patch by Piotr Bury <pbury@goahead.com>.
12946 * elf/Makefile: Add rules to build and tst-unique3.
12947 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12948 * elf/tst-unique3.cc: New file.
12949 * elf/tst-unique3.h: New file.
12950 * elf/tst-unique3lib.cc: New file.
12951 * elf/tst-unique3lib2.cc: New file.
12953 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12955 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12957 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12958 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12961 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12963 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12964 to-be-loaded object along a path to loader is ld.so.
12966 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12967 Ulrich Drepper <drepper@gmail.com>
12969 * sysdeps/x86_64/memset.S: After aligning destination, code
12970 branches to different locations depending on the value of
12971 misalignment, when multiarch is enabled. Fix this.
12973 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12975 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12976 Set _x86_64_preferred_memory_instruction for AMD processsors.
12977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12978 Set bit_Prefer_SSE_for_memop for AMD processors.
12980 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12982 * libio/fmemopen.c (fmemopen): Optimize a bit.
12984 2011-03-03 Andreas Schwab <schwab@redhat.com>
12986 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12988 2011-03-03 Roland McGrath <roland@redhat.com>
12990 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12992 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12994 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12995 __bzero_ultra1 instead of __memset_ultra1.
12997 2011-02-23 Andreas Schwab <schwab@redhat.com>
12998 Ulrich Drepper <drepper@gmail.com>
13001 * include/link.h (struct link_map): Add l_orig_initfini.
13002 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13003 returning unsuccessfully.
13004 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13005 close of a file loaded at startup, restore the original l_initfini
13007 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13008 list, store the pointer.
13009 * elf/Makefile ($(objpfx)noload-mem): New rule.
13010 (noload-ENV): Define.
13011 (tests): Add $(objpfx)noload-mem.
13012 * elf/noload.c: Include <memcheck.h>.
13013 (main): Call mtrace. Close all opened handles.
13015 2011-02-17 Andreas Schwab <schwab@redhat.com>
13018 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13019 dependencies are missing.
13021 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13023 Fix __if_freereq crash: Unlike the generic version which uses free,
13025 * sysdeps/mach/hurd/ifreq.h: New file.
13027 2011-01-27 Petr Baudis <pasky@suse.cz>
13028 Ulrich Drepper <drepper@gmail.com>
13031 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13032 to extend_alloca().
13033 * stdio-common/bug23.c: New file.
13034 * stdio-common/Makefile (tests): Add bug23.
13036 2010-09-28 Andreas Schwab <schwab@redhat.com>
13037 Ulrich Drepper <drepper@gmail.com>
13040 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13041 before performing relro protection. At old place add assertion
13042 to make sure nothing changed.
13044 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13045 Glauber de Oliveira Costa <glommer@gmail.com>
13047 * elf/elf.h: Add new ARM TLS relocs.
13049 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13052 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13054 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13056 * sysdeps/wordsize-64/tst-writev.c: New file.
13058 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13060 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13061 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13062 insns in _dl_start to prevent a TOC reference before relocs are
13065 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13068 * Makeconfig: Remove RANLIB definition.
13069 * Makerules: Don't use RANLIB.
13070 * aclocal.m4: Remove ranlib test.
13071 * configure.in: No need to check for ranlib.
13072 * elf/rtld-Rules: Don't use RANLIB.
13074 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13076 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13078 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13079 inclusion protection macro.
13081 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13082 SIGRTMIN and SIGRTMAX and print information in that case only when
13083 SIGRTMIN is defined.
13085 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13087 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13088 arginfo fn returning -1.
13090 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13091 and thousands string is zero terminated.
13093 2011-02-03 Andreas Schwab <schwab@redhat.com>
13095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13096 sysdeps/unix/sysv/linux/bits/socket.h.
13098 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13100 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13101 (__CPU_COUNT): Remove old macros.
13102 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13103 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13104 (__CPU_ALLOC, __CPU_FREE): Add macros.
13105 (__sched_cpualloc, __sched_cpufree): Add declarations.
13107 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13109 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13110 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13111 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13112 (readdhstai): Return value of addhstaiX call.
13113 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13114 (addgrbyX): Return value returned by cache_addgr.
13115 (readdgrbyname): Return value returned by addgrbyX.
13116 (readdgrbygid): Likewise.
13117 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13118 (addpwbyX): Return value returned by cache_addpw.
13119 (readdpwbyname): Return value returned by addhstbyX.
13120 (readdpwbyuid): Likewise.
13121 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13122 (addservbyX): Return value returned by cache_addserv.
13123 (readdservbyname): Return value returned by addservbyX:
13124 (readdservbyport): Likewise.
13125 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13126 (addhstbyX): Return value returned by cache_addhst.
13127 (readdhstbyname): Return value returned by addhstbyX.
13128 (readdhstbyaddr): Likewise.
13129 (readdhstbynamev6): Likewise.
13130 (readdhstbyaddrv6): Likewise.
13131 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13132 (readdinitgroups): Return value returned by addinitgroupsX.
13133 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13134 (prune_cache): Keep track of timeout value of re-added entries.
13135 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13136 * nscd/nscd.h: Adjust prototypes of readd* functions.
13138 2011-02-04 Roland McGrath <roland@redhat.com>
13140 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13141 (nis_stats): Likewise.
13142 * nis/nis_modify.c (nis_modify): Likewise.
13143 * nis/nis_remove.c (nis_remove): Likewise.
13144 * nis/nis_add.c (nis_add): Likewise.
13146 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13148 * posix/fnmatch_loop.c: Add some consts.
13150 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13152 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13155 * config.make.in (config-cflags-novzeroupper): Define.
13156 * configure.in: Substitute libc_cv_cc_novzeroupper.
13157 * elf/Makefile (AVX-CFLAGS): Define.
13158 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13159 (CFLAGS-tst-auditmod4a.c): Likewise.
13160 (CFLAGS-tst-auditmod4b.c): Likewise.
13161 (CFLAGS-tst-auditmod6b.c): Likewise.
13162 (CFLAGS-tst-auditmod6c.c): Likewise.
13163 (CFLAGS-tst-auditmod7b.c): Likewise.
13164 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13166 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13168 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13169 function to the callback.
13170 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13172 2011-02-02 Andreas Schwab <schwab@redhat.com>
13174 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13177 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13180 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13182 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13184 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13187 * elf/Makefile: Add rules to build and run new test.
13188 * elf/tst-initorder.c: New file.
13189 * elf/tst-initorder.exp: New file.
13190 * elf/tst-initordera1.c: New file.
13191 * elf/tst-initordera2.c: New file.
13192 * elf/tst-initordera3.c: New file.
13193 * elf/tst-initordera4.c: New file.
13194 * elf/tst-initorderb1.c: New file.
13195 * elf/tst-initorderb2.c: New file.
13196 * elf/tst-order-a1.c: New file.
13197 * elf/tst-order-a2.c: New file.
13198 * elf/tst-order-a3.c: New file.
13199 * elf/tst-order-a4.c: New file.
13200 * elf/tst-order-b1.c: New file.
13201 * elf/tst-order-b2.c: New file.
13202 * elf/tst-order-main.c: New file.
13203 New test case by George Gensure <werkt0@gmail.com>.
13205 2010-10-01 Andreas Schwab <schwab@redhat.com>
13207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13208 decoding ACE if AI_CANONIDN.
13210 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13212 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13214 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13216 * version.h (RELEASE): Bump for 2.13 release.
13217 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13219 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13221 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13223 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13224 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13225 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13226 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13227 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13228 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13230 * posix/getconf.c: Update copyright year.
13231 * catgets/gencat.c: Likewise.
13232 * csu/version.c: Likewise.
13233 * debug/catchsegv.sh: Likewise.
13234 * debug/xtrace.sh: Likewise.
13235 * elf/ldconfig.c: Likewise.
13236 * elf/ldd.bash.in: Likewise.
13237 * elf/sprof.c (print_version): Likewise.
13238 * iconv/iconv_prog.c: Likewise.
13239 * iconv/iconvconfig.c: Likewise.
13240 * locale/programs/locale.c: Likewise.
13241 * locale/programs/localedef.c: Likewise.
13242 * malloc/memusage.sh: Likewise.
13243 * malloc/mtrace.pl: Likewise.
13244 * nscd/nscd.c (print_version): Likewise.
13245 * nss/getent.c: Likewise.
13247 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13248 PF_CAIF, and PF_ALG.
13249 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13251 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13253 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13254 (modules-names): Use them.
13255 (ifunc-test-modules, ifunc-pie-tests): Define.
13256 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13257 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13258 (test-extras): Likewise.
13259 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13260 $(compile-command.c).
13261 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13262 (all-built-dso): Define.
13263 (check-textrel.out, check-execstack.out): Depend on it.
13265 * configure.in: Don't override --enable-multi-arch.
13267 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13270 * nscd/hstcache.c (tryagain): Define.
13271 (cache_addhst): Return tryagain not notfound for temporary errors.
13272 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13275 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13278 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13279 to make the syscall.
13280 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13283 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13284 and fall back to matching as normal character if the string ends before
13285 the matching ']' is found. This is what POSIX requires.
13286 * posix/testfnm.c: Adjust test result.
13287 * posix/globtest.sh: Adjust test result. Add new test.
13288 * posix/tst-fnmatch.input: Likewise.
13289 * posix/tst-fnmatch2.c: Add new test.
13291 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13293 * elf/Makefile (check-execstack): Revert last change. Depend on
13295 (check-execstack.h): New target.
13296 (generated): Add check-execstack.h.
13297 * elf/check-execstack.c: Include "check-execstack.h".
13298 (main): Revert last change.
13299 (handle_file): Return zero if GNU_STACK is absent and
13300 DEFAULT_STACK_PERMS doesn't include PF_X.
13302 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13304 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13305 in child fails because the descriptor is already closed.
13306 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13307 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13308 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13311 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13315 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13316 temporary buffer used to handle multi lookups locally.
13317 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13319 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13321 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13324 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13326 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13327 alignment for SSE2.
13329 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13332 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13333 characters. When rounding increased number of integer digits recompute
13335 * stdio-common/tst-grouping.c: New file.
13336 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13338 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13340 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13341 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13343 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13345 * bits/select.h: Likewise.
13347 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13349 * po/ja.po: Update from translation team.
13351 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13354 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13355 implementation just like for lxstat, fxstatat, et al.
13357 2010-12-27 Jim Meyering <meyering@redhat.com>
13360 * posix/regexec.c (build_trtable): Return failure indication upon
13361 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13363 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13366 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13367 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13368 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13369 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13372 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13375 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13376 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13378 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13380 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13381 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13382 script has SORT_BY_INIT_PRIORITY.
13383 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13384 NO_CTORS_DTORS_SECTIONS is defined.
13385 * elf/soinit.c: Likewise.
13386 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13387 NO_CTORS_DTORS_SECTIONS is defined.
13388 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13389 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13390 * sysdeps/sh/init-first.c: Likewise.
13391 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13393 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13395 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13396 always use the slow path.
13398 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13400 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13401 similar rule which adds the sysdep directories to the header search in
13402 order to pick up the correct platform stackinfo.h.
13403 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13404 perform test if it is, otherwise return successfully without testing.
13405 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13406 DEFAULT_STACK_PERMS define in stackinfo.h.
13407 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13408 defined in stackinfo.h.
13409 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13410 DEFAULT_STACK_PERMS defined in stackinfo.h.
13411 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13412 * sysdeps/ia64/stackinfo.h: Likewise.
13413 * sysdeps/s390/stackinfo.h: Likewise.
13414 * sysdeps/sh/stackinfo.h: Likewise.
13415 * sysdeps/sparc/stackinfo.h: Likewise.
13416 * sysdeps/x86_64/stackinfo.h: Likewise.
13417 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13418 PF_X for powerpc64. Retain PF_X for powerpc32.
13420 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13422 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13424 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13425 GETDENTS_64BIT_ALIGNED.
13427 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13429 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13431 2010-12-10 Andreas Schwab <schwab@redhat.com>
13433 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13436 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13437 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13439 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13440 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13442 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13445 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13448 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13450 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13452 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13454 * po/it.po: Update from translation team.
13456 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13461 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13463 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13465 2010-11-24 Andreas Schwab <schwab@redhat.com>
13467 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13469 (gaih_getanswer_slice): Likewise.
13471 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13475 2010-05-31 Petr Baudis <pasky@suse.cz>
13478 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13479 silently even in the chroot mode.
13481 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13483 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13484 last patch a bit. Pretty printing
13486 2010-05-31 Petr Baudis <pasky@suse.cz>
13489 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13490 initialization of skip_initgroups_dyn.
13492 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13494 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13495 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13497 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13499 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13501 2010-11-11 Andreas Schwab <schwab@redhat.com>
13503 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13504 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13505 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13506 ($(objpfx)tst-fnmatch-mem): New rule.
13507 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13508 * posix/tst-fnmatch.c (main): Call mtrace.
13510 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13513 Support Intel processor model 6 and model 0x2c.
13515 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13517 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13520 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13523 * string/test-strncasecmp.c (check_result): New function.
13524 (do_one_test): Use it.
13525 (check1): New function.
13526 (test_main): Use it.
13527 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13528 Support strcasecmp and strncasecmp.
13530 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13533 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13534 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13536 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13538 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13542 * sysdeps/x86_64/multiarch/bzero.S: New file.
13543 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13544 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13545 * sysdeps/x86_64/multiarch/memset.S: New file.
13546 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13548 Set bit_Prefer_SSE_for_memop for Intel processors.
13549 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13551 (index_Prefer_SSE_for_memop): Define.
13552 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13554 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13556 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13557 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13559 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13562 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13563 (__x86_64_raw_data_cache_size_half): Likewise.
13564 (__x86_64_raw_shared_cache_size): Likewise.
13565 (__x86_64_raw_shared_cache_size_half): Likewise.
13567 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13568 (__x86_64_raw_data_cache_size_half): Likewise.
13569 (__x86_64_raw_shared_cache_size): Likewise.
13570 (__x86_64_raw_shared_cache_size_half): Likewise.
13571 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13572 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13573 and __x86_64_raw_shared_cache_size_half. Round
13574 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13575 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13576 to multiple of 256 bytes.
13578 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13581 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13582 of inacessible symlinks. Verify result of symlink before returning it.
13583 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13584 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13586 2010-10-28 Erich Ritz <erichritz@gmail.com>
13588 * math/math.h (isinf): Fix typo in comment.
13590 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13592 * po/da.po: Update from translation team.
13594 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13596 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13597 is added to the list.
13599 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13600 Ulrich Drepper <drepper@gmail.com>
13602 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13603 the global list here. Move code to...
13604 (_dl_add_to_namespace_list): ...here. New function.
13605 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13606 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13607 * elf/dl-load.c (lose): Don't remove the element from the list.
13608 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13609 (_dl_map_object): Likewise.
13611 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13614 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13615 into all bytes of SSE register.
13616 Patch by Richard Li <richardpku@gmail.com>.
13618 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13621 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13624 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13626 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13627 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13628 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13629 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13634 2010-10-22 Andreas Schwab <schwab@redhat.com>
13636 * include/dlfcn.h (__RTLD_SECURE): Define.
13637 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13638 mode & __RTLD_SECURE instead.
13639 (open_path): Rename preloaded parameter to secure.
13640 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13641 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13642 * elf/dl-deps.c (openaux): Likewise.
13643 * elf/rtld.c (struct map_args): Remove is_preloaded.
13644 (map_doit): Don't use it.
13645 (dl_main): Likewise.
13646 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13647 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13649 2010-09-09 Andreas Schwab <schwab@redhat.com>
13651 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13652 (sysd-rules-targets): Remove duplicates.
13653 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13654 rtld-%.$o dependency.
13656 2010-10-18 Andreas Schwab <schwab@redhat.com>
13658 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13659 _dl_map_object do it.
13661 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13663 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13664 fast fma builtins, define the macros in the C99 standard.
13665 (FP_FAST_FMAF): Likewise.
13666 (FP_FAST_FMAL): Likewise.
13667 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13669 * bits/mathdef.h: Update copyright year.
13670 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13672 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13674 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13675 builtins, define the macros in the C99 standard.
13676 (FP_FAST_FMAF): Likewise.
13677 (FP_FAST_FMAL): Likewise.
13678 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13680 (FP_FAST_FMAF): Likewise.
13682 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13685 * math/libm-test.inc (fma_test): Some new testcases.
13686 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13687 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13688 y and infinite z. Do multiplication by C already in long double.
13689 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13691 y and infinite z. Do bitwise or of inexact bit into u.d.
13692 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13693 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13694 * sysdeps/i386/fpu/s_fma.S: Removed.
13695 * sysdeps/i386/fpu/s_fmal.S: Removed.
13697 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13700 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13702 computation is not scheduled after fetestexcept. Fix value
13703 of minimum denormal long double.
13705 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13708 * math/libm-test.inc (fma_test): Add some more tests.
13709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13712 2010-10-15 Andreas Schwab <schwab@redhat.com>
13714 * scripts/data/localplt-s390-linux-gnu.data: New file.
13715 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13717 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13720 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13721 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13723 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13725 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13727 if one of x and y is very large and the other is subnormal.
13728 * sysdeps/s390/fpu/s_fmaf.c: New file.
13729 * sysdeps/s390/fpu/s_fma.c: New file.
13730 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13731 * sysdeps/powerpc/fpu/s_fma.S: New file.
13732 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13733 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13734 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13736 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13739 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13741 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13742 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13743 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13744 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13745 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13746 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13749 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13752 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13753 * posix/bug-regex31.input: Add test case.
13755 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13757 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13758 * posix/bug-regex31.input: New file.
13761 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13762 (parse_sub_exp): Fix last change, use postorder.
13764 * posix/bug-regex31.c: New file.
13765 * posix/Makefile: Add rules to build and run bug-regex31.
13767 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13770 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13773 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13774 to have entries in sys_siglist.
13777 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13780 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13783 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13784 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13785 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13786 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13787 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13788 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13789 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13790 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13791 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13792 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13793 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13794 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13795 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13796 * math/ftestexcept.c (fetestexcept): Likewise.
13797 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13798 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13799 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13800 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13801 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13802 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13803 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13805 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13808 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13811 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13813 * string/bug-strstr1.c: New file.
13814 * string/Makefile: Add rules to build and run bug-strstr1.
13816 2010-10-05 Eric Blake <eblake@redhat.com>
13819 * string/str-two-way.h (two_way_long_needle): Always clear memory
13820 when skipping input due to the shift table.
13822 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13825 * malloc/mcheck.c: Handle large requests.
13828 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13829 for strncmp and strncasecmp.
13830 * string/stratcliff.c: Add tests for strcmp and strncmp.
13831 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13833 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13835 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13838 2010-09-30 Andreas Jaeger <aj@suse.de>
13840 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13841 (CGROUP_SUPER_MAGIC): Define.
13842 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13843 Handle btrfs and cgroup file systems.
13844 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13847 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13849 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13850 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13852 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13855 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13856 trying to locate the ELF header.
13858 2010-09-27 Andreas Schwab <schwab@redhat.com>
13861 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13862 Mask out sign-bit copies when constructing f_fsid.
13864 2010-09-24 Petr Baudis <pasky@suse.cz>
13866 * debug/stack_chk_fail_local.c: Add missing licence exception.
13867 * debug/warning-nop.c: Likewise.
13869 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13871 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13872 implementing getdents64 using getdents syscall, set d_type if
13873 __ASSUME_GETDENTS32_D_TYPE.
13875 2010-09-16 Andreas Schwab <schwab@redhat.com>
13877 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13878 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13880 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13883 * posix/unistd.h: Undo change of feature selection for ftruncate from
13886 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13888 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13891 2010-09-20 Andreas Schwab <schwab@redhat.com>
13893 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13895 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13897 2010-09-14 Andreas Schwab <schwab@redhat.com>
13899 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13900 variables after CHECK_SP call.
13901 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13903 2010-09-13 Andreas Schwab <schwab@redhat.com>
13904 Ulrich Drepper <drepper@redhat.com>
13906 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13907 re-relocationg ld.so.
13908 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13909 _dl_init_paths call.
13910 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13913 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13915 * resolv/res_init.c (__res_vinit): Count the default server we added.
13917 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13918 Ulrich Drepper <drepper@redhat.com>
13921 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13922 (____longjmp_chk): Use %ebx for saving value across system call.
13925 2010-09-06 Andreas Schwab <schwab@redhat.com>
13927 * manual/Makefile: Don't mix pattern rules with normal rules.
13929 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13931 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13933 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13934 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13935 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13936 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13937 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13940 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13943 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13944 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13946 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13948 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13949 * sysdeps/x86_64/addmul_1.S: Likewise.
13950 * sysdeps/x86_64/lshift.S: Likewise.
13951 * sysdeps/x86_64/mul_1.S: Likewise.
13952 * sysdeps/x86_64/rshift.S: Likewise.
13953 * sysdeps/x86_64/sub_n.S: Likewise.
13954 * sysdeps/x86_64/submul_1.S: Likewise.
13956 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13958 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13959 Define __sched_param instead of SCHED_* and sched_param when
13960 <bits/sched.h> is included with __need_schedparam defined.
13961 * bits/sched.h [__need_schedparam]
13962 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13963 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13964 (__defined_schedparam): Define to 1.
13965 (__sched_param): New structure, identical to sched_param.
13966 (__need_schedparam): Undefine.
13968 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13970 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13971 (epoll_create1): Declare.
13973 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13975 2010-08-31 Andreas Schwab <schwab@redhat.com>
13978 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13979 shifting retval into place.
13981 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13983 * nis/rpcsvc/nis.h: Update copyright notice.
13984 * nis/rpcsvc/nis.x: Likewise.
13985 * nis/rpcsvc/nis_callback.h: Likewise.
13986 * nis/rpcsvc/nis_callback.x: Likewise.
13987 * nis/rpcsvc/nis_object.x: Likewise.
13988 * nis/rpcsvc/nis_tags.h: Likewise.
13989 * nis/rpcsvc/yp.h: Likewise.
13990 * nis/rpcsvc/yp.x: Likewise.
13991 * nis/rpcsvc/ypupd.h: Likewise.
13992 * nis/yp_xdr.c: Likewise.
13993 * nis/ypupdate_xdr.c: Likewise.
13995 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13996 mainly the body of pmap_getport. Add parameters to specify timeouts.
13997 (pmap_getport): Use __libc_rpc_getport.
13998 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13999 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14000 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14002 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14007 2010-08-27 Roland McGrath <roland@redhat.com>
14009 * sysdeps/i386/i686/multiarch/Makefile
14010 (CFLAGS-varshift.c): New variable.
14012 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14014 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14015 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14017 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14019 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14021 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14023 * sysdeps/x86_64/strlen.S: Unroll the loop.
14024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14025 strlen-sse2 strlen-sse2-bsf.
14026 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14027 __strlen_no_bsf if bit_Slow_BSF is set.
14028 (__strlen_sse42): Removed.
14029 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14030 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14032 2010-08-25 Roland McGrath <roland@redhat.com>
14034 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14035 * sysdeps/x86_64/multiarch/varshift.c: New file.
14036 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14037 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14038 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14039 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14041 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14044 strlen-sse2 strlen-sse2-bsf.
14045 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14046 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14047 (__strlen_sse2): Removed.
14048 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14049 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14051 bit_Slow_BSF for Atom.
14052 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14053 (index_Slow_BSF): Define.
14054 (HAS_SLOW_BSF): Define.
14056 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14059 * resolv/res_init.c (__res_vinit): When no server address at all
14060 is given default to loopback.
14062 2010-08-24 Roland McGrath <roland@redhat.com>
14064 * configure.in: Remove config-name.h generation.
14065 * configure: Regenerated.
14066 * config-name.in: File removed.
14067 * scripts/config-uname.sh: New file.
14068 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14069 ($(objdir)config-name.h): New target.
14071 * sunrpc/rpc_parse.h: Avoid nested comment.
14073 2010-08-24 Richard Henderson <rth@redhat.com>
14074 Ulrich Drepper <drepper@redhat.com>
14075 H.J. Lu <hongjiu.lu@intel.com>
14077 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14079 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14080 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14081 _mm_alignr_epi8 with _mm_loadu_si128.
14082 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14083 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14084 (__m128i_shift_right): Removed.
14085 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14086 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14087 * sysdeps/x86_64/multiarch/varshift.h: New file.
14088 * sysdeps/x86_64/multiarch/varshift.S: New file.
14090 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14092 * configure.in: Move assembler checks to before sysdep dir checking.
14094 2010-08-20 Petr Baudis <pasky@suse.cz>
14096 * LICENSES: Sync the sunrpc license.
14098 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14100 * sunrpc/auth_des.c: Update copyright notice once again.
14101 * sunrpc/auth_none.c: Likewise.
14102 * sunrpc/auth_unix.c: Likewise.
14103 * sunrpc/authdes_prot.c: Likewise.
14104 * sunrpc/authuxprot.c: Likewise.
14105 * sunrpc/bindrsvprt.c: Likewise.
14106 * sunrpc/clnt_gen.c: Likewise.
14107 * sunrpc/clnt_perr.c: Likewise.
14108 * sunrpc/clnt_raw.c: Likewise.
14109 * sunrpc/clnt_simp.c: Likewise.
14110 * sunrpc/clnt_tcp.c: Likewise.
14111 * sunrpc/clnt_udp.c: Likewise.
14112 * sunrpc/clnt_unix.c: Likewise.
14113 * sunrpc/des_crypt.c: Likewise.
14114 * sunrpc/des_soft.c: Likewise.
14115 * sunrpc/get_myaddr.c: Likewise.
14116 * sunrpc/getrpcport.c: Likewise.
14117 * sunrpc/key_call.c: Likewise.
14118 * sunrpc/key_prot.c: Likewise.
14119 * sunrpc/openchild.c: Likewise.
14120 * sunrpc/pm_getmaps.c: Likewise.
14121 * sunrpc/pm_getport.c: Likewise.
14122 * sunrpc/pmap_clnt.c: Likewise.
14123 * sunrpc/pmap_prot.c: Likewise.
14124 * sunrpc/pmap_prot2.c: Likewise.
14125 * sunrpc/pmap_rmt.c: Likewise.
14126 * sunrpc/rpc/auth.h: Likewise.
14127 * sunrpc/rpc/auth_unix.h: Likewise.
14128 * sunrpc/rpc/clnt.h: Likewise.
14129 * sunrpc/rpc/des_crypt.h: Likewise.
14130 * sunrpc/rpc/key_prot.h: Likewise.
14131 * sunrpc/rpc/netdb.h: Likewise.
14132 * sunrpc/rpc/pmap_clnt.h: Likewise.
14133 * sunrpc/rpc/pmap_prot.h: Likewise.
14134 * sunrpc/rpc/pmap_rmt.h: Likewise.
14135 * sunrpc/rpc/rpc.h: Likewise.
14136 * sunrpc/rpc/rpc_des.h: Likewise.
14137 * sunrpc/rpc/rpc_msg.h: Likewise.
14138 * sunrpc/rpc/svc.h: Likewise.
14139 * sunrpc/rpc/svc_auth.h: Likewise.
14140 * sunrpc/rpc/types.h: Likewise.
14141 * sunrpc/rpc/xdr.h: Likewise.
14142 * sunrpc/rpc_clntout.c: Likewise.
14143 * sunrpc/rpc_cmsg.c: Likewise.
14144 * sunrpc/rpc_common.c: Likewise.
14145 * sunrpc/rpc_cout.c: Likewise.
14146 * sunrpc/rpc_dtable.c: Likewise.
14147 * sunrpc/rpc_hout.c: Likewise.
14148 * sunrpc/rpc_main.c: Likewise.
14149 * sunrpc/rpc_parse.c: Likewise.
14150 * sunrpc/rpc_parse.h: Likewise.
14151 * sunrpc/rpc_prot.c: Likewise.
14152 * sunrpc/rpc_sample.c: Likewise.
14153 * sunrpc/rpc_scan.c: Likewise.
14154 * sunrpc/rpc_scan.h: Likewise.
14155 * sunrpc/rpc_svcout.c: Likewise.
14156 * sunrpc/rpc_tblout.c: Likewise.
14157 * sunrpc/rpc_util.c: Likewise.
14158 * sunrpc/rpc_util.h: Likewise.
14159 * sunrpc/rpcinfo.c: Likewise.
14160 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14161 * sunrpc/rpcsvc/key_prot.x: Likewise.
14162 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14163 * sunrpc/rpcsvc/mount.x: Likewise.
14164 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14165 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14166 * sunrpc/rpcsvc/rex.x: Likewise.
14167 * sunrpc/rpcsvc/rstat.x: Likewise.
14168 * sunrpc/rpcsvc/rusers.x: Likewise.
14169 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14170 * sunrpc/rpcsvc/spray.x: Likewise.
14171 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14172 * sunrpc/rtime.c: Likewise.
14173 * sunrpc/svc.c: Likewise.
14174 * sunrpc/svc_auth.c: Likewise.
14175 * sunrpc/svc_authux.c: Likewise.
14176 * sunrpc/svc_raw.c: Likewise.
14177 * sunrpc/svc_run.c: Likewise.
14178 * sunrpc/svc_simple.c: Likewise.
14179 * sunrpc/svc_tcp.c: Likewise.
14180 * sunrpc/svc_udp.c: Likewise.
14181 * sunrpc/svc_unix.c: Likewise.
14182 * sunrpc/svcauth_des.c: Likewise.
14183 * sunrpc/xcrypt.c: Likewise.
14184 * sunrpc/xdr.c: Likewise.
14185 * sunrpc/xdr_array.c: Likewise.
14186 * sunrpc/xdr_float.c: Likewise.
14187 * sunrpc/xdr_mem.c: Likewise.
14188 * sunrpc/xdr_rec.c: Likewise.
14189 * sunrpc/xdr_ref.c: Likewise.
14190 * sunrpc/xdr_sizeof.c: Likewise.
14191 * sunrpc/xdr_stdio.c: Likewise.
14193 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14196 2010-08-19 Andreas Schwab <schwab@redhat.com>
14198 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14200 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14202 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14203 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14204 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14205 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14206 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14207 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14208 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14209 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14210 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14211 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14212 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14213 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14214 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14215 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14217 2010-07-26 Anton Blanchard <anton@samba.org>
14219 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14220 * malloc/arena.c (heap_trim): Likewise.
14222 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14224 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14226 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14227 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14229 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14231 * sysdeps/i386/elf/Makefile: New file.
14233 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14235 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14236 from fanotify_init.
14237 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14238 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14240 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14242 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14244 * sysdeps/multiarch/strcmp.S: Likewise.
14246 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14248 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14249 strncase_l-nonascii.
14250 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14251 Add strncase_l-ssse3.
14252 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14253 * sysdeps/x86_64/strcmp.S: Likewise.
14254 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14255 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14256 * sysdeps/x86_64/strncase.S: New file.
14257 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14258 * sysdeps/x86_64/strncase_l.S: New file.
14259 * string/Makefile (strop-tests): Add strncasecmp.
14260 * string/test-strncasecmp.c: New file.
14262 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14265 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14266 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14268 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14270 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14272 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14274 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14275 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14276 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14278 2010-05-01 Alan Modra <amodra@gmail.com>
14280 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14281 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14282 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14283 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14284 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14285 tidying. Don't tail-call __sigjmp_save for static lib.
14286 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14288 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14289 (CALL_MCOUNT): Add eh info, and nop after bl.
14290 (TAIL_CALL_SYSCALL_ERROR): New macro.
14291 (PSEUDO_RET): Use it.
14292 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14293 Correct save location of integer regs and cr.
14294 (_dl_profile_resolve): Correct cr save location. Delete nops
14295 after bl when SHARED. Reduce cfi size a little by better
14296 placement of cfi directives.
14297 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14298 make a stack frame. Instead use parm save area as a temp.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14300 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14302 Don't make a stack frame for parent, use parm save area.
14303 Increase child stack frame to 112 bytes. Don't save unused reg,
14304 and adjust reg usage. Set up cfi on error recovery and
14305 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14307 (__makecontext): Add dummy nop after jump to exit.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14309 Use correct parm save area and cr save, reduce stack frame.
14310 Correct cfi for possible PSEUDO_RET frame setup.
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14312 Branch to local label emitted by PSEUDO_RET rather than
14315 2010-08-12 Andreas Schwab <schwab@redhat.com>
14318 * locale/programs/locale.c (print_assignment): New function.
14319 (show_locale_vars): Use it.
14321 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14323 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14325 (struct statfs64): Likewise.
14326 (_STATFS_F_FLAGS): Define.
14327 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14328 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14329 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14330 (ST_VALID): Define locally.
14331 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14332 __statvfs_getflags, use the provided value.
14333 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14334 __ASSUME_STATFS_F_FLAGS.
14336 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14338 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14339 Add sys/fanotify.h.
14340 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14341 fanotify_mask for GLIBC_2.13.
14342 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14343 fanotify_init and fanotify_mark.
14344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14345 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14347 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14349 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14350 prlimit64 for GLIBC_2.13.
14351 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14353 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14356 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14357 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14358 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14359 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14361 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14364 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14365 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14367 * nss/Makefile: Add rules to build and run tst-nss-test1.
14368 * shlib-versions: Add entry for libnss_test1.
14369 * nss/nss_test1.c: New file.
14370 * nss/tst-nss-test1.c: New file.
14372 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14373 (__nss_configure_lookup): Set appropriate entry in
14374 __nss_configure_lookup to true.
14375 * nss/nsswitch.h: Define enum with indeces of databases in
14376 databases and __nss_database_custom arrays. Declare
14377 __nss_database_custom.
14378 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14379 to avoid using nscd when custom rules are installed.
14380 * nss/getXXbyYY_r.c: Likewise.
14381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14383 * nss/nss_files/files-parse.c: Whitespace fixes.
14385 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14388 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14389 * posix/fnmatch_loop.c: Likewise.
14391 2010-07-17 Andi Kleen <ak@linux.intel.com>
14393 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14394 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14395 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14396 * Versions.def [GLIBC_2.13]: Add.
14398 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14400 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14401 Also fail if tpwd after pwuid call is NULL.
14403 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14405 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14406 when converting to ms.
14408 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14410 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14411 EOPNOTSUPP errors with ENOTTY.
14412 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14413 EOPNOTSUPP errors with ENOTTY.
14415 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14417 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14418 Add strcasecmp_l-ssse3.
14419 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14421 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14422 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14423 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14425 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14427 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14429 * string/Makefile (strop-tests): Add strcasecmp.
14430 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14431 strcasecmp_l-nonascii.
14432 (gen-as-const-headers): Add locale-defines.sym.
14433 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14434 * sysdeps/x86_64/strcasecmp.S: New file.
14435 * sysdeps/x86_64/strcasecmp_l.S: New file.
14436 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14437 * sysdeps/x86_64/locale-defines.sym: New file.
14438 * string/test-strcasecmp.c: New file.
14440 * string/test-strcasestr.c: Test both ends of the range of characters.
14441 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14443 2010-07-29 Roland McGrath <roland@redhat.com>
14446 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14448 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14450 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14453 2010-07-27 Andreas Schwab <schwab@redhat.com>
14455 * manual/memory.texi (Malloc Tunable Parameters): Document
14458 2010-07-26 Roland McGrath <roland@redhat.com>
14461 * configure.in (-fgnu89-inline check): Set and substitute
14462 gnu89_inline, not libc_cv_gnu89_inline.
14463 * configure: Regenerated.
14464 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14466 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14468 * string/test-strnlen.c: New file.
14469 * string/Makefile (strop-tests): Add strnlen.
14470 * string/tester.c (test_strnlen): Add a few more test cases.
14471 * string/tst-strlen.c: Better error reporting.
14473 * sysdeps/x86_64/strnlen.S: New file.
14475 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14477 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14478 lower-latency instructions.
14480 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14482 * string/test-strcasestr.c: New file.
14483 * string/test-strstr.c: New file.
14484 * string/Makefile (strop-tests): Add strstr and strcasestr.
14485 * string/str-two-way.h: Don't undefine MAX.
14486 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14488 2010-07-21 Andreas Schwab <schwab@redhat.com>
14490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14491 strcasestr-nonascii.
14492 (CFLAGS-strcasestr-nonascii.c): Define.
14493 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14494 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14495 Remove unused attribute.
14497 2010-07-20 Roland McGrath <roland@redhat.com>
14499 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14500 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14501 ld.so.cache was broken. With it, there is no way to disable dsocaps
14502 like LD_HWCAP_MASK can disable hwcaps.
14504 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14506 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14508 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14510 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14511 call in strcasestr.
14512 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14513 __strcasestr_sse42_nonascii.
14514 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14515 strcasestr-nonascii.c.
14516 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14518 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14520 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14521 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14522 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14523 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14525 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14527 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14530 2010-07-06 Andreas Schwab <schwab@redhat.com>
14533 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14536 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14538 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14539 _PC_PIPE_BUF using F_GETPIPE_SZ.
14541 2010-07-05 Roland McGrath <roland@redhat.com>
14543 * manual/arith.texi (Rounding Functions): Fix rint description
14544 implicit in round description.
14546 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14548 * elf/Makefile: Fix linking for a few tests to make recent linker
14551 2010-06-30 Andreas Schwab <schwab@redhat.com>
14553 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14554 $(common-objpfx)libc_nonshared.a.
14556 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14558 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14559 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14560 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14561 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14562 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14563 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14564 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14565 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14580 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14581 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14582 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14583 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14584 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14585 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14586 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14587 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14588 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14589 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14590 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14591 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14607 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14609 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14610 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14611 * string/memmove.c (memmove): Renamed to ...
14612 (MEMMOVE): ...this. Default to memmove.
14613 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14614 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14617 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14618 mempcpy-ssse3-back memmove-ssse3-back.
14619 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14620 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14621 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14622 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14623 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14624 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14625 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14626 * sysdeps/x86_64/multiarch/memmove.c: New file.
14627 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14628 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14629 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14630 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14631 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14632 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14634 (index_Fast_Copy_Backward): Define.
14635 (HAS_ARCH_FEATURE): Define.
14636 (HAS_FAST_REP_STRING): Define.
14637 (HAS_FAST_COPY_BACKWARD): Define.
14639 2010-06-21 Andreas Schwab <schwab@redhat.com>
14641 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14642 Restore proper fallback handling.
14644 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14647 * posix/group_member.c (__group_member): Correct checking loop.
14649 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14650 OOM in getpwuid_r correctly. Return error number when the caller
14651 should return, otherwise -1.
14652 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14653 call returning > 0 value.
14654 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14656 2010-06-07 Andreas Schwab <schwab@redhat.com>
14658 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14659 libc_nonshared.a from targets in modules-names.
14661 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14663 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14666 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14668 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14669 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14671 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14673 2010-06-02 Andreas Schwab <schwab@redhat.com>
14675 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14677 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14679 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14681 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14682 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14685 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14686 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14688 2010-06-14 Roland McGrath <roland@redhat.com>
14690 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14692 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14694 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14695 __REDIRECT followed by __THROW.
14696 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14697 * posix/getopt.h (getopt): Likewise.
14699 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14701 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14702 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14703 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14705 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14706 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14708 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14710 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14712 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14716 Properly check family and model.
14718 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14720 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14722 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14724 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14726 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14728 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14731 2010-05-19 Andreas Schwab <schwab@redhat.com>
14733 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14736 2010-05-21 Andreas Schwab <schwab@redhat.com>
14738 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14739 and internal_recvmmsg.
14740 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14741 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14742 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14743 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14745 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14746 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14747 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14749 2010-05-20 Andreas Schwab <schwab@redhat.com>
14751 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14753 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14755 POWER7 optimizations.
14756 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14757 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14759 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14761 * version.h: Update for 2.13 development version.
14763 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14765 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14766 exceptions. Return 0.
14768 2010-05-07 Roland McGrath <roland@redhat.com>
14770 * elf/ldconfig.c (main): Add a const.
14772 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14774 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14775 (args_options): Add no-idn option.
14776 (ahosts_keys_int): Add idn_flags to ai_flags.
14777 (parse_option): Handle 'i' option to clear idn_flags.
14779 * malloc/malloc.c (_int_free): Possible race in the most recently
14780 added check. Only act on the data if no current modification
14783 See ChangeLog.17 for earlier changes.