1 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/x86_64/x32/_itoa.h: New file.
5 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6 getdents system call only if kernel and user dirents have the
9 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10 LLONG_MAX != LONG_MAX.
11 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12 (_fitoa_word): Likewise.
14 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21 include <bits/wordsize.h>. Check __x86_64__ instead of
23 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24 if __x86_64__ is defined. Use anonymous union on fpstate.
26 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34 Refer to _rtld_local_ro instead of _rtld_global_ro.
35 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45 * sysdeps/powerpc/powerpc32/dl-machine.c
46 (__elf_machine_runtime_setup) [PROF]: Don't reference
49 2012-05-18 Andreas Jaeger <aj@suse.de>
51 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
52 function only available for GCCs before 3.4 since GCC 3.4
63 (nearbyint): Likewise.
64 (nearbyintf): Likewise.
70 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
72 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73 on both fields and cast pointer to __syscall_ulong_t.
75 * bits/types.h (__fsword_t): New type.
76 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
77 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79 (__FSWORD_T_TYPE): Likewise.
80 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81 (__FSWORD_T_TYPE): Likewise.
82 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83 (__FSWORD_T_TYPE): Likewise.
84 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
85 (__FSWORD_T_TYPE): Likewise.
86 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
87 __SWORD_TYPE with __fsword_t.
90 2012-05-17 David S. Miller <davem@davemloft.net>
92 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
94 2012-05-17 Andreas Jaeger <aj@suse.de>
96 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
99 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
101 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
103 2012-05-17 Andreas Jaeger <aj@suse.de>
105 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
108 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
110 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
112 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
114 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
115 * sysdeps/x86_64/tst-mallocalign1.c: New file.
117 2012-05-17 Andreas Jaeger <aj@suse.de>
118 Carlos O'Donell <carlos_odonell@mentor.com>
121 * sysdeps/x86_64/multiarch/init-arch.h
122 (bit_YMM_Usable): Rename to...
123 (bit_AVX_Usable): ... this.
124 (bit_FMA4_Usable): New macro.
125 (bit_XMM_state): New macro.
126 (bit_YMM_state): New macro.
127 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
128 [__ASSEMBLER__] (index_AVX_Usable): ... this.
129 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
130 (CPUID_OSXSAVE): New macro.
131 (CPUID_AVX): New macro.
132 (CPUID_FMA4): New macro.
133 (index_YMM_Usable): Rename to...
134 (index_AVX_Usable): ... this.
135 (HAS_AVX): Use HAS_ARCH_FEATURE.
136 (HAS_FMA4): Likewise.
137 (HAS_YMM_USABLE): Remove.
138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
139 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
141 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
142 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
143 * sysdeps/x86_64/multiarch/Makefile: Likewise.
144 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
145 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
147 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
149 * math/libm-test.c: Support platforms without multiple rounding modes.
150 * math/bug-nextafter.c: Support platforms without FP exceptions.
151 * math/bug-nexttoward.c: Likewise.
152 * math/test-fenv.c: Likewise.
153 * math/test-misc.c: Likewise.
154 * stdlib/bug-getcontext.c: Likewise.
156 2012-05-17 Andreas Jaeger <aj@suse.de>
158 * manual/examples/search.c (critter_cmp): Change signature to
160 * manual/string.texi (Collation Functions): Likewise.
162 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
164 * bits/types.h: Fold copyright years.
165 * bits/typesizes.h: Likewise.
166 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
170 * time/time.h: Likewise.
172 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
175 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
176 in instead of returning them. Return void.
177 (__libc_mallinfo): Accumulate over all arenas.
178 (__malloc_stats): Adjust for change in int_mallinfo interface.
180 2012-05-16 Roland McGrath <roland@hack.frob.com>
183 * configure.in (NM): Add AC_CHECK_TOOL for it.
184 (libc_extra_cflags): New substituted variable.
185 Check for -fstack-protector being used implicitly.
186 * configure: Regenerated.
187 * config.make.in (config-extra-cflags): New variable,
188 gets @libc_extra_cflags@.
189 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
192 * configure.in: Check for _FORTIFY_SOURCE being predefined.
193 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
194 * configure: Regenerated.
195 * config.make.in (CPPUNDEFS): New substituted variable.
196 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
197 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
198 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
200 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
202 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
203 (mq_attr): Use __syscall_slong_t.
205 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
207 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
208 Check __x86_64__ instead of __WORDSIZE.
209 (_STAT_VER_LINUX): Likewise.
210 (stat): Check __x86_64__ instead of __WORDSIZE. Use
211 __syscall_ulong_t and __syscall_slong_t.
214 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
218 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
220 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
222 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
224 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
227 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
228 include <bits/wordsize.h>. Check __x86_64__ instead of
230 (greg_t): Use "__extension__ long long int" if __x86_64__ is
232 (mcontext_t): Replace "unsigned long" with "unsigned long long".
234 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
235 include <bits/wordsize.h>. Check __x86_64__ instead of
237 (user_regs_struct): Use "__extension__ unsigned long long"
238 instead of "unsigned long" if __x86_64__ is defined.
239 (user): Likewise. Pad after pointer field if __ILP32__ is
242 2012-05-16 Joseph Myers <joseph@codesourcery.com>
244 * configure.in (makeinfo): Require version 4.5 or later. Allow
246 * configure: Regenerated.
247 * manual/install.texi (texinfo): Increase version requirement to
249 * INSTALL: Regenerated.
251 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
253 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
255 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
257 * sysdeps/x86_64/x32/ffs.c: New file.
259 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
261 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
262 defined. Use __syscall_ulong_t.
263 (shminfo): Use __syscall_ulong_t.
264 (shm_info): Likewise.
266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
269 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
271 (msgqnum_t): Use __syscall_ulong_t.
272 (msglen_t): Likewise.
273 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
276 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
277 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
279 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
281 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
282 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
284 * sysvipc/sys/msg.h (msgbuf): Replace long int with
287 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
288 include <bits/wordsize.h>. Check __x86_64__ instead of
291 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
292 "unsigned long long int" if __x86_64__ is defined.
293 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
295 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
296 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
297 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
299 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
301 (GET_PC): Cast to uintptr_t first.
302 (GET_FRAME): Likewise.
303 (GET_STACK): Likewise.
305 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
306 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
307 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
308 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
309 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
310 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
311 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
312 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
313 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
314 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
315 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
316 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
318 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
319 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
320 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
321 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
322 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
323 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
324 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
326 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
327 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
328 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
329 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
330 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
331 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
332 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
333 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
335 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
337 * Makerules (+depfiles): Also collect depfiles from .oS in
339 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
340 .oS, $(libnldbl-routines)).
342 * Makerules (native-compile-mkdep-flags): Define.
343 * sunrpc/Makefile (extra-objs): Add $(addprefix
344 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
345 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
346 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
347 calling $(make-target-directory).
349 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
351 * bits/types.h (__snseconds_t): Removed.
352 * time/time.h (struct timespec): Replace __snseconds_t with
354 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
355 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
357 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
358 (__SNSECONDS_T_TYPE): Likewise.
359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
360 (__SNSECONDS_T_TYPE): Likewise.
361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
362 (__SNSECONDS_T_TYPE): Likewise.
364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
366 * sysdeps/mach/hurd/bits/typesizes.h
367 (__SYSCALL_SLONG_TYPE): New macro.
368 (__SYSCALL_ULONG_TYPE): Likewise.
370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
372 * bits/types.h (__syscall_slong_t): New type.
373 (__syscall_ulong_t): Likewise.
375 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
376 (__SYSCALL_ULONG_TYPE): Likewise.
377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
378 (__SYSCALL_SLONG_TYPE): Likewise.
379 (__SYSCALL_ULONG_TYPE): Likewise.
380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
381 (__SYSCALL_SLONG_TYPE): Likewise.
382 (__SYSCALL_ULONG_TYPE): Likewise.
383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
384 (__SYSCALL_SLONG_TYPE): Likewise.
385 (__SYSCALL_ULONG_TYPE): Likewise.
387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
389 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
390 Add sigaltstack-offsets.sym.
391 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
392 <sigaltstack-offsets.h>.
393 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
395 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
396 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
398 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
400 2012-05-15 Joseph Myers <joseph@codesourcery.com>
402 * elf/stackguard-macros.h: Remove file.
403 * sysdeps/generic/stackguard-macros.h: New file.
404 * sysdeps/i386/stackguard-macros.h: Likewise.
405 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
406 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
407 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
408 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
409 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
410 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
411 * sysdeps/x86_64/stackguard-macros.h: Likewise.
412 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
413 <elf/stackguard-macros.h>.
416 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
417 __aligned__ in attribute.
418 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
419 (gregset_t): Likewise.
421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
423 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
424 * sysdeps/x86_64/64/Implies-after: Here. New file.
425 * sysdeps/x86_64/x32/Implies-after: New file.
427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
429 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
430 and access return value for _dl_profile_fixup. Use R10_LP to
433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
435 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
439 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
440 * sysdeps/x86_64/x32/sysdep.h: New file.
442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
444 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
445 * sysdeps/x86_64/setjmp.S: Likewise.
447 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
450 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
451 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
453 remove unused global constant.
455 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
457 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
458 include of <not-cancel.h>.
460 2012-05-15 Roland McGrath <roland@hack.frob.com>
462 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
464 2012-05-15 Jeff Law <law@redhat.com>
465 Andreas Jaeger <aj@suse.de>
468 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
470 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
471 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
472 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
473 code changing __hst_map_handle.map.
475 2012-05-15 Roland McGrath <roland@hack.frob.com>
477 * configure.in (sysnames): Look for Implies-before and Implies-after
479 * configure: Regenerated.
481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
484 8-byte data alignment with LP_SIZE alignment.
486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
488 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
493 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
497 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
498 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
499 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
505 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
506 (stackinfo_sub_sp): Likewise.
508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
525 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
527 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
529 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
530 into R11_LP and load __x86_64_shared_cache_size_half into
533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
538 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
546 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
547 powerpc32/power7/fpu/s_logb.c via #include.
548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
549 powerpc32/power7/fpu/s_logbf.c via #include.
550 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
551 powerpc32/power7/fpu/s_logbl.c via #include.
553 2012-05-15 Joseph Myers <joseph@codesourcery.com>
555 * README.libm: Remove file.
557 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
559 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
560 count for x32. Use R*_LP and omit operand-size suffix.
562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
564 * shlib-versions: Move x86_64-.*-linux.* entries to ...
565 * sysdeps/x86_64/64/shlib-versions: Here. New file.
566 * sysdeps/x86_64/x32/shlib-versions: New file.
568 2012-05-14 Roland McGrath <roland@hack.frob.com>
570 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
571 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
572 Use _dl_fatal_printf instead.
574 2012-05-14 Joseph Myers <joseph@codesourcery.com>
576 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
577 set if not set by the user. Do not allow for being unset.
578 * sysdeps/unix/sysv/linux/configure: Regenerated.
580 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
582 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
583 the `q' suffix from lea and replace .quad with ASM_ADDR.
585 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
588 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
590 (PTR_DEMANGLE): Likewise.
592 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
594 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
596 (ASM_ADDR): Likewise.
614 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
616 * sysdeps/x86_64/x32/dl-machine.h: New file.
618 2012-05-14 Andreas Jaeger <aj@suse.de>
620 * manual/Makefile (subdir): Remove export of subdir.
621 (all): Remove target.
622 (.PHONY): Remove all from list.
623 (mkinstalldirs): Remove.
624 (.PHONY): Remove installdirs from list.
625 ($(inst_infodir)/libc.info): Use make-target-directory.
626 (installdirs): Remove.
628 (glibc-targets): Remove.
631 ($(objpfx)stubs ../po/manual.pot): Remove.
632 ($(objpfx)stamp%): Remove.
633 (make-target-directory): Remove.
634 (subdir_install): Remove.
642 * manual/.gitignore: Remove, it's not needed anymore.
643 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
645 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
647 (texis): Renamed to $(objpfx)texis.
648 (texis-path): New, contains path to generated files.
649 (chapters.%): Use texis-path for complete path, add extra argument
651 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
652 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
653 (summary,texi, stamp-summary): Use complete path of
654 files. Generate files in build dir.
655 (dir-add.texi): Build in build dir.
656 (libm-err.texi,stamp-libm-err): Likewise.
657 (version.texi, stamp-version): Likewise.
658 (.%c.texi): Likewise.
659 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
660 (mostlyclean): Remove target.
661 (realclean): Remove target.
662 (generated): Add new variable with contents from mostlyclean and
663 realclean, remove entries duplicated in common-mostlyclean, add
664 stamp-libm-err and stamp-version.
665 (generated-dirs): Add libc directory.
666 ($(inst_infodir)/libc.info): Install files from build dir.
668 * manual/install.texi (Configuring and compiling): Adjust since
669 the info files are not part of the tar ball anymore.
671 2012-05-14 Andreas Jaeger <aj@suse.de>
673 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
676 2012-05-14 Joseph Myers <joseph@codesourcery.com>
679 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
680 to 2.2.0 where earlier.
681 * sysdeps/unix/sysv/linux/configure: Regenerated.
682 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
683 Remove conditional code.
684 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
685 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
686 Remove conditional code.
687 [!__NR_lchown]: Likewise.
688 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
689 [__NR_lchown]: Likewise.
690 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
691 comment referencing __ASSUME_LCHOWN_SYSCALL.
692 * sysdeps/unix/sysv/linux/i386/sigaction.c
693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
695 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
696 Remove conditional code.
697 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
698 (__protocol_available): Remove #if 0 code.
699 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
701 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
702 * sysdeps/unix/sysv/linux/kernel-features.h
703 (__ASSUME_GETCWD_SYSCALL): Don't define.
704 (__ASSUME_REALTIME_SIGNALS): Likewise.
705 (__ASSUME_PREAD_SYSCALL): Likewise.
706 (__ASSUME_PWRITE_SYSCALL): Likewise.
707 (__ASSUME_POLL_SYSCALL): Likewise.
708 (__ASSUME_LCHOWN_SYSCALL): Likewise.
709 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
711 (__ASSUME_SIOCGIFNAME): Don't define.
712 (__ASSUME_MSG_NOSIGNAL): Likewise.
713 (__ASSUME_SENDFILE): Define unconditionally.
714 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
715 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
717 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
718 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
719 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
720 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
721 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
722 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
723 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
725 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
728 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
734 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
737 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
743 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
748 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
749 Remove conditional code.
750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
751 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
752 Remove conditional code.
753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
754 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
755 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
756 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
757 Remove conditional code.
758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
759 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
760 Remove conditional code.
761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
762 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
763 Remove conditional code.
764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
765 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
766 Remove conditional code.
767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
768 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
769 Remove conditional code.
770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
771 * sysdeps/unix/sysv/linux/sh/pwrite64.c
772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
774 * sysdeps/unix/sysv/linux/sigaction.c
775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
777 * sysdeps/unix/sysv/linux/sigpending.c
778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
780 * sysdeps/unix/sysv/linux/sigprocmask.c
781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
783 * sysdeps/unix/sysv/linux/sigsuspend.c
784 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
785 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
786 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
787 (__libc_missing_rt_sigs): Remove.
788 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
789 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
790 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
791 Remove conditional code.
792 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
793 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
795 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
796 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
797 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
798 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
800 2012-05-14 Andreas Jaeger <aj@suse.de>
802 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
803 it's not used in glibc.
804 (__coshm1): Likewise.
805 (__acosh1p): Likewise.
808 * manual/string.texi (Copying and Concatenation): Add missing
809 variable in concat example.
810 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
812 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
815 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
816 __builtin_clzl with __builtin_clzll.
818 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
821 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
824 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
826 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
827 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
828 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
829 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
831 2012-05-14 Mike Frysinger <vapier@gentoo.org>
833 * NEWS: Update ia64 info.
835 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
837 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
840 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
842 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
843 * sysdeps/unix/syscalls.list (dup3): Likewise.
844 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
845 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
847 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
849 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
850 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
852 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
854 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
856 (TLS_IE): Use mov/add instead of movq/addq to load thread
858 (TLS_GD_PREFIX): New.
861 2012-05-11 David S. Miller <davem@davemloft.net>
863 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
864 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
865 (_FPU_SETCW): Likewise.
867 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
869 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
872 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
875 * iconvdata/gb18030.c: Update tables.
876 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
877 characters specially.
878 (BODY for TO_LOOP): Add encoding of missing ranges.
880 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
883 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
884 * sysdeps/mach/hurd/dup3.c: Likewise.
885 * sysdeps/mach/hurd/readlinkat.c: Likewise.
886 * sysdeps/powerpc/memmove.c:: Likewise.
888 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
891 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
893 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
895 * elf/elf.h (R_X86_64_RELATIVE64): New.
896 (R_X86_64_NUM): Updated.
897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
898 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
899 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
900 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
901 tst-quad1pie tst-quad2pie
902 (modules-names): Add tst-quadmod1 tst-quadmod2.
903 ($(objpfx)tst-quad1): New dependency.
904 ($(objpfx)tst-quad2): Likewise.
905 ($(objpfx)tst-quad1pie): Likewise.
906 ($(objpfx)tst-quad2pie): Likewise.
907 * sysdeps/x86_64/tst-quad1.c: New file.
908 * sysdeps/x86_64/tst-quad1pie.c: New file.
909 * sysdeps/x86_64/tst-quad2.c: Likewise.
910 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
911 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
912 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
913 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
914 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
916 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
918 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
919 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
920 * streams/stropts.h (t_scalar_t): Define type.
922 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
923 (_PATH_PRESERVE): Set to "/var/lib".
924 (_PATH_RWHODIR): Set to "/var/spool/rwho".
926 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
929 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
930 if __dir_mkfile succeeded.
932 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
933 checking for _hurd_dtablesize. Unlock it right after having
934 finished _hurd_dtable allocation.
936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
938 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
939 * sysdeps/mach/hurd/configure: Regenerated.
940 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
942 * sysdeps/gnu/configure.in: ... this new file.
943 * sysdeps/unix/sysv/linux/configure: Regenerated.
944 * sysdeps/gnu/configure: New generated file.
946 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
947 for Linux: use nsec instead of usec, as well as:
948 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
949 members of type struct timespec.
950 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
952 (struct stat64): Likewise.
953 (_STATBUF_ST_NSEC): New macro.
954 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
956 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
957 __strtoul_internal rather than strtoul.
959 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
961 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
966 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
967 which preserves existing values.
968 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
970 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
972 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
973 TIMEOUT values. Return EINVAL for NFDS values either negative or
974 greater than FD_SETSIZE.
976 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
978 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
979 allocated, call __vm_protect to finish enabling the existing space, and
980 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
981 allocate the remainder.
983 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
985 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
986 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
990 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
991 sysdeps/mach/hurd/readlink.c.
993 * posix/tst-sysconf.c (posix_options): Only use
994 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
995 _POSIX_SYNCHRONIZED_IO when they are defined
996 * sysdeps/mach/hurd/bits/posix_opt.h:
997 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
998 (_XOPEN_REALTIME): Undefine macro.
999 (_XOPEN_REALTIME_THREADS): Undefine macro.
1000 (_XOPEN_SHM): Undefine macro.
1001 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1003 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1005 (_POSIX_ASYNC_IO): Undefine macro.
1006 (_POSIX_PRIORITIZED_IO): Undefine macro.
1007 (_POSIX_SPIN_LOCKS): Define macro to -1.
1009 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1010 SA_NODEFER, SA_RESETHAND.
1011 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1012 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1015 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1017 * elf/Makefile (pldd-modules): Define unconditionally.
1019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1021 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1023 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1025 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1026 Return ENOENT when name is empty.
1027 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1031 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1033 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1035 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1037 Fix mlock in all cases except non-readable pages.
1038 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1039 instead of VM_PROT_ALL as parameter to __vm_wire function.
1041 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1042 (__mkdir): When path is `/', just fail with EEXIST.
1043 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1045 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1047 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1048 <sys/uio.h> (for writev).
1049 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1050 and <sys/param.h> (for MIN).
1052 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1054 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1055 REQUESTED_TIME. Properly set the remaining time and return EINTR
1058 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1060 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1061 Depend on against $(link-rpcuserlibs).
1063 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1065 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1066 (__libc_stack_end): Do not use attribute_relro.
1067 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1068 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1069 to libthread-provided value.
1070 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1076 * bits/libc-lock.h (__libc_once_get): New macro.
1077 * sysdeps/mach/bits/libc-lock.h: Likewise.
1078 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1079 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1080 instead of using implementation details.
1082 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1083 * libio/freopen.c: Likewise.
1084 * libio/freopen64.c: Likewise.
1085 * misc/syslog.c: Likewise.
1086 * nscd/connections.c: Likewise.
1087 * nscd/netgroupcache.c: Likewise.
1088 * sysdeps/posix/getcwd.c: Likewise.
1090 2012-05-10 Roland McGrath <roland@hack.frob.com>
1092 * math/w_ilogbf.c: Add #include <limits.h>.
1094 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1096 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1097 path instead of returning without unlocking.
1099 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1100 immediate-write ioctls.
1101 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1103 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1105 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1106 __builtin_frame_address instead of making assumptions about the
1107 location of the return address relative to DATA. Force early load of
1109 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1110 __builtin_frame_address.
1113 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1114 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1115 implement dup3 and do some further code clean-ups.
1116 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1117 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1119 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1121 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1123 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1124 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1125 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1126 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1127 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1130 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1131 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1132 when handler == SIG_ERR, not when handler != SIG_ERR.
1134 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1136 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1137 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1140 accept4 for GNU Hurd.
1141 * include/sys/socket.h (__libc_accept4): New prototype.
1142 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1143 to implement __libc_accept4.
1144 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1146 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1148 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1149 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1150 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1153 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1155 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1159 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1160 assertion on O_CLOEXEC flag.
1161 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1162 * hurd/intern-fd.c: Likewise.
1163 * hurd/port2fd.c: Likewise.
1165 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1168 * bits/in.h (IPV6_PKTINFO): Define new macro.
1169 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1171 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1176 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1178 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1179 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1181 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1182 * math/libm-test.inc (logb_test) : Additional logb tests.
1184 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1185 Andreas Jaeger <aj@suse.de>
1187 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1188 * configure: Regenerated.
1189 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1190 * config.make.in (link-obsolete-rpc): New substituted variable.
1191 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1192 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1193 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1194 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1195 so that libc.a contains the symbols.
1196 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1197 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1198 * sunrpc/auth_none.c: Likewise.
1199 * sunrpc/auth_unix.c: Likewise.
1200 * sunrpc/authdes_prot.c: Likewise.
1201 * sunrpc/authuxprot.c: Likewise.
1202 * sunrpc/clnt_gen.c: Likewise.
1203 * sunrpc/clnt_perr.c: Likewise.
1204 * sunrpc/clnt_raw.c: Likewise.
1205 * sunrpc/clnt_simp.c: Likewise.
1206 * sunrpc/clnt_tcp.c: Likewise.
1207 * sunrpc/clnt_udp.c: Likewise.
1208 * sunrpc/clnt_unix.c: Likewise.
1209 * sunrpc/des_crypt.c: Likewise.
1210 * sunrpc/des_soft.c: Likewise.
1211 * sunrpc/get_myaddr.c: Likewise.
1212 * sunrpc/key_call.c: Likewise.
1213 * sunrpc/key_prot.c: Likewise.
1214 * sunrpc/netname.c: Likewise.
1215 * sunrpc/pm_getmaps.c: Likewise.
1216 * sunrpc/pm_getport.c: Likewise.
1217 * sunrpc/pmap_clnt.c: Likewise.
1218 * sunrpc/pmap_prot.c: Likewise.
1219 * sunrpc/pmap_prot2.c: Likewise.
1220 * sunrpc/pmap_rmt.c: Likewise.
1221 * sunrpc/publickey.c: Likewise.
1222 * sunrpc/rpc_cmsg.c: Likewise.
1223 * sunrpc/rpc_common.c: Likewise.
1224 * sunrpc/rpc_dtable.c: Likewise.
1225 * sunrpc/rpc_prot.c: Likewise.
1226 * sunrpc/rpc_thread.c: Likewise.
1227 * sunrpc/rtime.c: Likewise.
1228 * sunrpc/svc.c: Likewise.
1229 * sunrpc/svc_auth.c: Likewise.
1230 * sunrpc/svc_raw.c: Likewise.
1231 * sunrpc/svc_run.c: Likewise.
1232 * sunrpc/svc_tcp.c: Likewise.
1233 * sunrpc/svc_udp.c: Likewise.
1234 * sunrpc/svc_unix.c: Likewise.
1235 * sunrpc/svcauth_des.c: Likewise.
1236 * sunrpc/xcrypt.c: Likewise.
1237 * sunrpc/xdr.c: Likewise.
1238 * sunrpc/xdr_array.c: Likewise.
1239 * sunrpc/xdr_float.c: Likewise.
1240 * sunrpc/xdr_intXX_t.c: Likewise.
1241 * sunrpc/xdr_mem.c: Likewise.
1242 * sunrpc/xdr_rec.c: Likewise.
1243 * sunrpc/xdr_ref.c: Likewise.
1244 * sunrpc/xdr_sizeof.c: Likewise.
1245 * sunrpc/xdr_stdio.c: Likewise.
1247 2012-05-10 Roland McGrath <roland@hack.frob.com>
1249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1250 change. Update copyright years.
1252 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1254 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1256 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1257 Joseph Myers <joseph@codesourcery.com>
1258 Paul Pluzhnikov <ppluzhnikov@google.com>
1261 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1263 [cross-compiling] (extra-libs): Likewise.
1264 [cross-compiling] (extra-libs-others): Likewise.
1265 [cross-compiling] (librpcsvc-routines): Likewise.
1266 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1267 [cross-compiling] (omit-deps): Likewise.
1268 (sunrpc-CPPFLAGS): New variable.
1269 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1270 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1271 (cross-rpcgen-objs): New variable.
1272 (extra-objs): Append $(cross-rpcgen-objs).
1273 ($(cross-rpcgen-objs)): New rule.
1274 ($(objpfx)cross-rpcgen): Likewise.
1275 (rpcgen-cmd): Define to use $(built-program-file). Expand
1277 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1278 ($(objpfx)x%.stmp): Likewise.
1279 * sunrpc/proto.h [IS_IN_build] (_): Define.
1280 [IS_IN_build] (_libc_intl_domainname): Likewise.
1282 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1285 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1286 and R_X86_64_TPOFF64.
1288 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1290 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1291 sysdeps/unix/sysv/syscalls.list.
1294 * sysdeps/unix/sysv/syscalls.list: Remove file.
1296 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1299 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1300 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1301 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1302 (__LC_IDENTIFICATION): Make these macros useful in #if
1303 expressions, as required by C99.
1305 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1307 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1308 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1311 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1313 * stdlib/longlong.h: Updated from GCC.
1315 2012-05-09 Andreas Jaeger <aj@suse.de>
1317 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1318 default is first entry.
1319 (run_mode): Set type.
1320 (main): Remove informal message about syslog.
1321 (options): Fix typo.
1324 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1327 (llrintf): Likewise.
1331 (nearbyint): Likewise.
1332 (nearbyintf): Likewise.
1334 2012-05-09 Andreas Jaeger <aj@suse.de>
1335 Pedro Alves <palves@redhat.com>
1337 * nscd/nscd.c (run_mode): Use enum.
1338 (main): Cleanup coding style issue.
1340 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1341 Andreas Jaeger <aj@suse.de>
1343 * nscd/nscd.c (go_background): Replaced with...
1344 (run_mode): ... this.
1345 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1346 (options): Add -F --foreground.
1347 (main): Implement it.
1348 (parse_opt): Parse it.
1350 2012-05-09 Andreas Jaeger <aj@suse.de>
1353 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1354 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1355 -Wconversion warning.
1356 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1359 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1361 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1363 (LC_ALL): Use macro-int-constant.
1364 (LC_COLLATE): Likewise.
1365 (LC_CTYPE): Likewise.
1366 (LC_MESSAGES): Likewise.
1367 (LC_MONETARY): Likewise.
1368 (LC_NUMERIC): Likewise.
1369 (LC_TIME): Likewise.
1370 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1371 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1373 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1375 [C99-based standards] (float_t): Expect type.
1376 [C99-based standards] (double_t): Expect type.
1377 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1379 [C99-based standards] (HUGE_VALL): Likewise.
1380 [C99-based standards] (INFINITY): Likewise.
1381 [C99-based standards] (NAN): Likewise.
1382 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1383 [C99-based standards] (FP_NAN): Likewise.
1384 [C99-based standards] (FP_NORMAL): Likewise.
1385 [C99-based standards] (FP_SUBNORMAL): Likewise.
1386 [C99-based standards] (FP_ZERO): Likewise.
1387 [C99-based standards] (FP_FAST_FMA): Use
1388 optional-macro-int-constant. Specify type. Require == 1.
1389 [C99-based standards] (FP_FAST_FMAF): Likewise.
1390 [C99-based standards] (FP_FAST_FMAL): Likewise.
1391 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1392 [C99-based standards] (FP_ILOGBNAN): Likewise.
1393 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1395 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1396 [C99-based standards] (math_errhandling): Specify type.
1397 [ISO99 || ISO11] (signgam): Do not allow.
1398 [non-C99-based standards] (copysignf): Do not allow.
1399 [non-C99-based standards] (exp2f): Likewise.
1400 [non-C99-based standards] (log2f): Likewise.
1401 [non-C99-based standards] (modff): Allow.
1402 [non-C99-based standards] (erff): Do not allow.
1403 [non-C99-based standards] (erfcf): Likewise.
1404 [non-C99-based standards] (gammaf): Likewise.
1405 [non-C99-based standards] (hypotf): Likewise.
1406 [non-C99-based standards] (j0f): Likewise.
1407 [non-C99-based standards] (j1f): Likewise.
1408 [non-C99-based standards] (jnf): Likewise.
1409 [non-C99-based standards] (lgammaf): Likewise.
1410 [non-C99-based standards] (tgammaf): Likewise.
1411 [non-C99-based standards] (y0f): Likewise.
1412 [non-C99-based standards] (y1f): Likewise.
1413 [non-C99-based standards] (ynf): Likewise.
1414 [non-C99-based standards] (isnanf): Likewise.
1415 [non-C99-based standards] (acoshf): Likewise.
1416 [non-C99-based standards] (asinhf): Likewise.
1417 [non-C99-based standards] (atanhf): Likewise.
1418 [non-C99-based standards] (cbrtf): Likewise.
1419 [non-C99-based standards] (expm1f): Likewise.
1420 [non-C99-based standards] (ilogbf): Likewise.
1421 [non-C99-based standards] (log1pf): Likewise.
1422 [non-C99-based standards] (logbf): Likewise.
1423 [non-C99-based standards] (nextafterf): Likewise.
1424 [non-C99-based standards] (remainderf): Likewise.
1425 [non-C99-based standards] (rintf): Likewise.
1426 [non-C99-based standards] (scalbf): Likewise.
1427 [non-C99-based standards] (copysignl): Likewise.
1428 [non-C99-based standards] (exp2l): Likewise.
1429 [non-C99-based standards] (log2l): Likewise.
1430 [non-C99-based standards] (modfl): Allow.
1431 [non-C99-based standards] (erfl): Do not allow.
1432 [non-C99-based standards] (erfcl): Likewise.
1433 [non-C99-based standards] (gammal): Likewise.
1434 [non-C99-based standards] (hypotl): Likewise.
1435 [non-C99-based standards] (j0l): Likewise.
1436 [non-C99-based standards] (j1l): Likewise.
1437 [non-C99-based standards] (jnl): Likewise.
1438 [non-C99-based standards] (lgammal): Likewise.
1439 [non-C99-based standards] (tgammal): Likewise.
1440 [non-C99-based standards] (y0l): Likewise.
1441 [non-C99-based standards] (y1l): Likewise.
1442 [non-C99-based standards] (ynl): Likewise.
1443 [non-C99-based standards] (isnanl): Likewise.
1444 [non-C99-based standards] (acoshl): Likewise.
1445 [non-C99-based standards] (asinhl): Likewise.
1446 [non-C99-based standards] (atanhl): Likewise.
1447 [non-C99-based standards] (cbrtl): Likewise.
1448 [non-C99-based standards] (expm1l): Likewise.
1449 [non-C99-based standards] (ilogbl): Likewise.
1450 [non-C99-based standards] (log1pl): Likewise.
1451 [non-C99-based standards] (logbl): Likewise.
1452 [non-C99-based standards] (nextafterl): Likewise.
1453 [non-C99-based standards] (remainderl): Likewise.
1454 [non-C99-based standards] (rintl): Likewise.
1455 [non-C99-based standards] (scalbl): Likewise.
1456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1457 [non-C99-based standards] (FP_*): Do not allow.
1458 [C99-based standards] (FP_*): Change to
1459 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1460 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1462 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1463 (SIG_ERR): Likewise.
1464 [X/Open-based standards] (SIG_HOLD): Likewise.
1465 (SIG_IGN): Likewise.
1466 (SIGABRT): Use macro-int-constant. Specify type. Require
1471 (SIGSEGV): Likewise.
1473 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1474 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1475 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1476 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1477 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1478 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1479 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1480 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1481 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1482 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1483 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1484 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1485 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1486 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1487 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1488 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1489 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1490 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1491 [X/Open-based standards] (SIGTRAP): Likewise.
1492 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1493 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1494 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1495 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1496 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1499 2012-05-08 Ian Wienand <ianw@vmware.com>
1502 * time/tzset.c (__tzset_parse_tz): Update default rules for
1503 daylight time changes in the Energy Policy Act of 2005.
1505 2012-05-09 Andreas Jaeger <aj@suse.de>
1508 * elf/ldconfig.c (parse_conf): Change string to make clear that
1509 ldconfig only issued a warning if ld.so.conf does not exist.
1511 2012-05-08 David S. Miller <davem@davemloft.net>
1513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1514 movxtod instead of popping the value on the stack.
1516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1518 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1520 * config.h.in: Add HAVE_ARM_PCS_VFP.
1522 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1525 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1526 checking but the checks are disabled for any reason.
1528 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1530 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1531 and ELF64_R_TYPE with ELFW(R_TYPE).
1533 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1535 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1538 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1539 (settimeofday): Likewise.
1541 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1543 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1544 a struct th_u2 inside the union, and move tu_block/tu_code into
1545 a new th_u3 union of tu_block/tu_code inside of that. Move
1546 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1547 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1548 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1549 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1550 (th_stuff): Change to th_u1.tu_stuff.
1552 (th_msg): Change to th_u1.th_u2.tu_data.
1554 2012-05-07 David S. Miller <davem@davemloft.net>
1556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1559 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1560 (SETUP_PIC_REG): Use it.
1561 (SETUP_PIC_REG_LEAF): Use it.
1563 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1567 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1569 (EXPL_FINITE): Likewise.
1571 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1572 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1574 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1576 (EXPL_FINITE): Likewise.
1578 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1579 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1581 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1582 test of -max_value argument for long double.
1583 * sysdeps/i386/fpu/libm-test-ulps: Update.
1584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1586 2012-05-06 David S. Miller <davem@davemloft.net>
1588 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1589 quad soft-float symbols whose references which are compiler
1591 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1593 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1597 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1599 (EXPL_FINITE): Likewise.
1603 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1604 Adjust comments for base varying.
1605 (__expl_finite): Change alias to EXPL_FINITE.
1606 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1608 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1609 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1611 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1614 (EXPL_FINITE): Likewise.
1618 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1619 Adjust comments for base varying.
1620 (__expl_finite): Change alias to EXPL_FINITE.
1621 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1626 * math/libm-test.inc (check_float_internal): Correct ulp
1627 calculation for subnormal expected results.
1629 2012-05-06 Andreas Jaeger <aj@suse.de>
1631 * Makeconfig (+math-flags): New, set to -frounding-math.
1632 (+cflags): Add +math-flags so that all of glibc gets compiled with
1635 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1637 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1639 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1645 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1646 (__ieee754_expl): Allow for and saturate large arguments.
1647 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1648 (u_threshold): Likewise.
1649 (__exp): Call __ieee754_exp before checking for overflow and
1651 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1652 (u_threshold): Likewise.
1653 (__expf): Call __ieee754_expf before checking for overflow and
1655 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1656 (u_threshold): Likewise.
1657 (__expl): Call __ieee754_expl before checking for overflow and
1659 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1660 (__ieee754_expl): Allow for and saturate large arguments.
1661 * math/libm-test.inc (exp_test): Add another test. Do not allow
1662 missing overflow exception on overflow.
1663 (expm1_test): Do not allow missing overflow exception on overflow.
1665 * sysdeps/i386/fpu/e_expl.c: Move to ...
1666 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1667 rather than using inline asm.
1668 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1669 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1670 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1672 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1679 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1681 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1682 sysdeps/unix/common/syscalls.list.
1685 (ftruncate): Likewise.
1686 (getrusage): Likewise.
1687 (gettimeofday): Likewise.
1688 (setpgid): Likewise.
1689 (setregid): Likewise.
1690 (setreuid): Likewise.
1691 (sigaction): Likewise.
1692 (truncate): Likewise.
1693 (vhangup): Likewise.
1694 * sysdeps/unix/common/syscalls.list: Remove file.
1695 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1696 * sysdeps/unix/sysv/linux/Implies: Likewise.
1698 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1700 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1702 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1706 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1709 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1712 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1715 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1718 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1721 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1724 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1728 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1732 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1735 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1739 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1743 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1745 * sysdeps/unix/common/bits/dirent.h: Remove file.
1746 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1748 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1749 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1750 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1751 * sysdeps/unix/bsd/isatty.c: Likewise.
1752 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1753 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1754 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1756 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1759 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1760 long double comparison inaccuracies.
1761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1764 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1766 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1769 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1772 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1773 nonzero digits before rounding a hex value.
1774 * stdlib/tst-strtod.c (tests): Add another test.
1776 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1778 * sysdeps/s390/fpu/libm-test-ulps: Update.
1780 2012-05-03 Andreas Jaeger <aj@suse.de>
1782 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1783 does not get optimized out.
1784 (malloc_opt_barrier): New.
1786 2012-05-03 Andreas Jaeger <aj@suse.de>
1787 Roland McGrath <roland@hack.frob.com>
1789 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1790 intermediate file deletion.
1791 (generated): Add .symlist files.
1793 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1796 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1797 Redirect under this condition.
1798 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1799 [__USE_GNU] (__dprintf_chk): Not under this condition.
1800 [__USE_GNU] (__vdprintf_chk): Likewise.
1801 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1802 under this condition.
1803 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1804 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1805 [__USE_XOPEN2K8] (vdprintf): Likewise.
1806 [__USE_GNU] (__dprintf_chk): Not under this condition.
1807 [__USE_GNU] (__vdprintf_chk): Likewise.
1808 [__USE_GNU] (dprintf): Likewise.
1809 [__USE_GNU] (vdprintf): Likewise.
1811 2012-05-03 Roland McGrath <roland@hack.frob.com>
1813 * elf/Makefile (common-generated): Set this instead of generated for
1814 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1815 $(all-built-dso)-derived lists.
1817 2012-05-03 Andreas Jaeger <aj@suse.de>
1819 * sysdeps/i386/fpu/libm-test-ulps: Update.
1823 * scripts/gen-FAQ.pl: Likewise.
1824 * manual/install.texi (Installation): Point to online location of
1826 * Makefile (files-for-dist): Remove FAQ.
1829 2012-05-02 Allan McRae <allan@archlinux.org>
1831 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1832 (LDFLAGS-reldepmod5.so): Likewise.
1833 (LDFLAGS-reldep6mod1.so): Likewise.
1834 (LDFLAGS-reldep6mod4.so): Likewise.
1835 (LDFLAGS-reldep8mod3.so): Likewise.
1836 (LDFLAGS-unload4mod1.so): Likewise.
1837 (LDFLAGS-unload4mod2.so): Likewise.
1838 (LDFLAGS-tst-initorder): Likewise.
1839 (LDFLAGS-tst-initordera2.so): Likewise.
1840 (LDFLAGS-tst-initordera3.so): Likewise.
1841 (LDFLAGS-tst-initordera4.so): Likewise.
1842 (LDFLAGS-tst-initorderb2.so): Likewise.
1843 (LDFLAGS-noload): Likewise.
1844 (LDFLAGS-next): Likewise.
1845 (LDFLAGS-order2mod1.so): Likewise.
1846 (LDFLAGS-order2mod2.so): Likewise.
1847 (LDFLAGS-tst-initorder2): Likewise.
1848 (LDFLAGS-tst-initorder2a.so): Likewise.
1849 (LDFLAGS-tst-initorder2b.so): Likewise.
1850 (LDFLAGS-tst-initorder2c.so): Likewise.
1851 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1853 2012-05-02 David S. Miller <davem@davemloft.net>
1855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1857 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1860 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1862 2012-05-02 Andreas Jaeger <aj@suse.de>
1864 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1865 since we manipulate rounding mode.
1866 (CPPFLAGS-test-idouble.c): Likewise.
1867 (CPPFLAGS-test-ifloat.c): Likewise.
1868 (CFLAGS-test-ldouble.c): Likewise.
1869 (CFLAGS-test-double.c): Likewise.
1870 (CFLAGS-test-float.c): Likewise.
1871 (CFLAGS-test-misc.c): Likewise.
1872 (CFLAGS-test-test-fenv.c): Likewise.
1874 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1878 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1879 comparisons to determine direction to adjust input.
1881 2012-05-01 Roland McGrath <roland@hack.frob.com>
1883 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1884 output to the target.
1886 * scripts/localplt.awk: New file.
1887 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1888 (check-localplt-CFLAGS): Variable removed.
1889 ($(all-built-dso:=.jmprel)): New static pattern rule.
1890 (generated): Add those targets.
1891 (localplt-built-dso): New variable.
1892 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1894 * elf/check-localplt.c: File removed.
1896 * scripts/check-execstack.awk: New file.
1897 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1898 (check-execstack-CFLAGS): Variable removed.
1899 ($(objpfx)check-execstack.h): Target removed.
1900 ($(objpfx)execstack-default): New target.
1901 (generated): Add that instead of check-execstack.h.
1902 ($(all-built-dso:=.phdr)): New static pattern rule.
1903 (generated): Add those targets.
1904 * elf/check-execstack.c: File removed.
1906 * scripts/check-textrel.awk: New file.
1907 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1908 (check-textrel-CFLAGS): Variable removed.
1909 (all-built-dso): Use := to define.o
1910 ($(all-built-dso:=.dyn)): New static pattern rule.
1911 (generated): Add those targets.
1912 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1913 * config.make.in (READELF): New substituted variable.
1914 * elf/check-textrel.c: File removed.
1916 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1918 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1920 * conform/data/ctype.h-data [C99-based standards] (isblank):
1922 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1923 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1924 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1925 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1926 Specify type. Require positive value.
1929 [ISO || POSIX] (EILSEQ): Do not expect.
1930 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1931 Specify type. Require positive value.
1932 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1933 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1934 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1935 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1936 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1937 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1938 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1939 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1940 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1941 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1942 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1943 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1944 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1945 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1946 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1947 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1948 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1949 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1950 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1951 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1952 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1953 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1954 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1955 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1956 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1957 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1958 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1959 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1960 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1961 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1962 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1963 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1964 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1965 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1966 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1967 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1968 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1969 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1970 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1971 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1972 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1973 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1974 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1975 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1976 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1977 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1978 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1979 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1980 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1981 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1982 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1983 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1984 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1985 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1986 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1987 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1988 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1989 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1990 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1991 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1992 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1993 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1994 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1995 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1996 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1997 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1998 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1999 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2000 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2001 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2002 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2003 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2004 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2005 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2006 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2007 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2008 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2010 (FLT_ROUNDS): Expect as macro, not constant.
2011 (FLT_MANT_DIG): Use macro-int-constant.
2012 (DBL_MANT_DIG): Likewise.
2013 (LDBL_MANT_DIG): Likewise.
2014 (FLT_DIG): Likewise.
2015 (DBL_DIG): Likewise.
2016 (LDBL_DIG): Likewise.
2017 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2018 (DBL_MIN_EXP): Likewise.
2019 (LDBL_MIN_EXP): Likewise.
2020 (FLT_MAX_EXP): Use macro-int-constant.
2021 (DBL_MAX_EXP): Likewise.
2022 (LDBL_MAX_EXP): Likewise.
2023 (FLT_MAX_10_EXP): Likewise.
2024 (DBL_MAX_10_EXP): Likewise.
2025 (LDBL_MAX_10_EXP): Likewise.
2026 (FLT_MAX): Use macro-constant.
2027 (DBL_MAX): Likewise.
2028 (LDBL_MAX): Likewise.
2029 (FLT_EPSILON): Use macro-constant. Give upper bound.
2030 (DBL_EPSILON): Likewise.
2031 (LDBL_EPSILON): Likewise.
2032 (FLT_MIN): Likewise.
2033 (DBL_MIN): Likewise.
2034 (LDBL_MIN): Likewise.
2035 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2036 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2037 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2038 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2039 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2040 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2041 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2042 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2043 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2044 [ISO11] (FLT_TRUE_MIN): Likewise.
2045 [ISO11] (LDBL_TRUE_MIN): Likewise.
2046 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2047 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2048 (SCHAR_MIN): Use macro-int-constant. Specify type.
2049 (SCHAR_MAX): Likewise.
2050 (UCHAR_MAX): Likewise.
2051 (CHAR_MIN): Likewise.
2052 (CHAR_MAX): Likewise.
2053 (MB_LEN_MAX): Use macro-int-constant.
2054 (SHRT_MIN): Use macro-int-constant. Specify type.
2055 (SHRT_MAX): Likewise.
2056 (USHRT_MAX): Likewise.
2057 (INT_MAX): Likewise.
2058 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2060 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2062 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2064 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2065 bound negative. Suffix upper bound with "L".
2066 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2068 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2070 [C99-based standards] (LLONG_MAX): Likewise.
2071 [C99-based standards] (ULLONG_MAX): Likewise.
2072 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2074 [ISO11] (max_align_t): Require type.
2075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2077 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2078 from $CFLAGS, without defining away __attribute__ calls.
2079 (checknamespace): Use $CFLAGS_namespace.
2081 * conform/conformtest.pl (@keywords): Only include C99 keywords
2082 for standards based on C99 or C11.
2084 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2086 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2089 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2090 usability of symbols in #if.
2092 * conform/conformtest.pl: If macro or constant types start
2093 "promoted:", expect the symbol to be of the following type
2094 promoted by the integer promotions.
2096 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2097 in one place. Also handle "macro-constant".
2099 * conform/conformtest.pl: Only accept expected macro values with
2100 "==". Parse all "macro" lines in one place.
2101 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2103 * conform/conformtest.pl: Handle braced types on "constant" lines
2104 instead of handling "typed-constant".
2105 * conform/data/signal.h-data: Use "constant" instead of
2108 * conform/conformtest.pl: Handle "optional-" at start of lines in
2109 one place rather than duplicating several cases. Handle each
2110 format of "macro" line with initial "optional-".
2112 * conform/conformtest.pl: Only accept expected constant or
2113 optional-constant values with "==". Parse all "constant" lines in
2114 one place. Parse all "optional-constant" lines in one place.
2115 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2116 * conform/data/fmtmsg.h-data: Likewise.
2117 * conform/data/netinet/in.h-data: Likewise.
2118 * conform/data/tar.h-data: Likewise.
2119 * conform/data/limits.h-data: Use "==" form on "constant" and
2120 "optional-constant" lines.
2122 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2123 Use -std=c99 for XOPEN2K.
2124 (@knownproblems): Remove.
2125 (newtoken): Don't check %isknown.
2127 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2128 Do not expect macro.
2129 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2130 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2131 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2132 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2133 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2134 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2135 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2136 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2137 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2138 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2139 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2140 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2141 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2142 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2143 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2144 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2145 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2146 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2147 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2148 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2149 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2150 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2151 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2152 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2153 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2154 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2155 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2156 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2157 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2158 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2159 [XPG3] (acosh): Likewise.
2160 [XPG3] (asinh): Likewise.
2161 [XPG3] (atanh): Likewise.
2162 [XPG3] (cbrt): Likewise.
2163 [XPG3] (expm1): Likewise.
2164 [XPG3] (ilogb): Likewise.
2165 [XPG3] (log1p): Likewise.
2166 [XPG3] (logb): Likewise.
2167 [XPG3] (nextafter): Likewise.
2168 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2169 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2170 [XPG3] (remainder): Likewise.
2171 [XPG3] (rint): Likewise.
2172 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2173 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2174 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2175 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2176 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2177 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2178 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2179 [UNIX98 || XOPEN2K] (scalb): Expect.
2180 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2181 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2182 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2183 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2184 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2185 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2186 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2187 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2188 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2189 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2190 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2191 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2192 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2193 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2194 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2195 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2196 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2197 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2198 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2199 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2200 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2201 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2202 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2203 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2204 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2205 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2206 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2207 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2208 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2209 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2210 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2211 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2212 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2213 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2214 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2215 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2216 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2217 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2218 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2219 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2220 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2221 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2222 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2223 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2224 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2225 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2226 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2227 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2228 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2229 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2230 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2231 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2232 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2233 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2234 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2235 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2236 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2237 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2238 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2239 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2240 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2241 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2242 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2243 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2244 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2245 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2246 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2247 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2248 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2249 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2250 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2251 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2252 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2253 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2254 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2255 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2256 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2257 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2258 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2259 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2260 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2261 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2262 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2263 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2264 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2265 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2266 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2267 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2268 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2269 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2270 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2271 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2272 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2273 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2274 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2275 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2276 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2277 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2278 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2280 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2281 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2285 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2286 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2287 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2289 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2290 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2291 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2292 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2293 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2294 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2295 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2296 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2297 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2298 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2299 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2300 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2301 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2302 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2303 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2304 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2305 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2306 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2307 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2308 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2309 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2310 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2311 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2312 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2313 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2314 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2315 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2316 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2318 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2319 _XOPEN_SOURCE_EXTENDED for XPG4.
2321 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2323 * Makeconfig (localtime): Remove variable.
2324 (inst_localtime-file): Likewise.
2326 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2347 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2351 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2352 comparisons to determine direction to adjust input.
2353 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2354 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2361 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2362 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2364 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2366 * math/libm-test.inc (nexttoward_test): Add more tests.
2368 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2371 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2372 in version GLIBC_2.1, not GLIBC_2.0.
2373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2376 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2379 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2381 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2382 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2383 * math/libm-test.inc (acos_test): Add more tests.
2384 (asin_test): Likewise.
2385 * sysdeps/i386/fpu/libm-test-ulps: Update.
2386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2389 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2391 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2392 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2393 * math/libm-test.inc (acos_test_tonearest): New function.
2394 (acos_test_towardzero): Likewise.
2395 (acos_test_downward): Likewise.
2396 (acos_test_upward): Likewise.
2397 (asin_test_tonearest): Likewise.
2398 (asin_test_towardzero): Likewise.
2399 (asin_test_downward): Likewise.
2400 (asin_test_upward): Likewise.
2401 (main): Call the new functions.
2402 * sysdeps/i386/fpu/libm-test-ulps: Update.
2403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2407 * math/e_exp10.c: Include <float.h>.
2408 (__ieee754_exp10): Handle underflow here rather than multiplying
2409 large negative argument by M_LN10.
2410 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2412 * math/e_exp10l.c: Include <float.h>.
2413 (__ieee754_exp10l): Handle underflow here rather than multiplying
2414 large negative argument by M_LN10l.
2415 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2416 spurious overflow exception on underflow.
2418 2012-04-29 Marek Polacek <polacek@redhat.com>
2420 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2421 (__fortify_function): New macro.
2422 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2423 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2424 __extern_always_inline.
2425 * libio/bits/stdio2.h: Likewise.
2426 * libio/bits/stdio.h: Likewise.
2427 * string/string.h: Likewise.
2428 * string/bits/string3.h: Likewise.
2429 * include/stdio.h: Likewise.
2430 * stdlib/bits/stdlib.h: Likewise.
2431 * stdlib/stdlib.h: Likewise.
2432 * rt/bits/mqueue2.h: Likewise.
2433 * rt/mqueue.h: Likewise.
2434 * posix/bits/unistd.h: Likewise.
2435 * posix/unistd.h: Likewise.
2436 * io/bits/poll2.h: Likewise.
2437 * io/bits/fcntl2.h: Likewise.
2438 * io/fcntl.h: Likewise.
2439 * io/sys/poll.h: Likewise.
2440 * misc/bits/syslog.h: Likewise.
2441 * misc/bits/syslog-ldbl.h: Likewise.
2442 * misc/sys/syslog.h: Likewise.
2443 * socket/bits/socket2.h: Likewise.
2444 * socket/sys/socket.h: Likewise.
2445 * debug/tst-chk1.c: Likewise.
2446 * wcsmbs/bits/wchar2.h: Likewise.
2447 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2448 * wcsmbs/wchar.h: Likewise.
2450 2012-04-29 Andreas Jaeger <aj@suse.de>
2452 * Makerules (tests): Remove enable-check-abi protection.
2453 (check-abi-warn): Remove.
2454 (check-abi-%): Remove check-abi-warn usage.
2456 * configure.in: Remove check-abi configure option.
2457 * configure: Regenerated.
2458 * config.make.in (enable-check-abi): Remove.
2460 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2463 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2464 double functions to double *_finite functions.
2467 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2468 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2470 * stdio-common/Makefile (tests): Add tst-sprintf3.
2471 * stdio-common/tst-sprintf3.c: New file.
2473 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2474 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2476 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2478 * conform/conformtest.pl: Remove duplicate typed-constant
2481 2012-04-28 David S. Miller <davem@davemloft.net>
2483 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2484 (check-abi-%): Remove AWK script prerequisite and explicit
2486 (check-abi): Rewrite to just diff the symlist with the abilist.
2487 (config-tls, config-abi-config): Delete, no longer used.
2488 (update-abi-%): Remove AWK script and explicit abilist directory.
2489 (update-abi): Rewrite to simply compare and conditionally copy the
2490 symlist and the sysdep abilist file. Remove update-abi-config
2492 * abilist/ld.abilist: Remove.
2493 * abilist/libBrokenLocale.abilist: Remove.
2494 * abilist/libanl.abilist: Remove.
2495 * abilist/libcrypt.abilist: Remove.
2496 * abilist/libdl.abilist: Remove.
2497 * abilist/librt.abilist: Remove.
2498 * abilist/libthread_db.abilist: Remove.
2499 * abilist/libutil.abilist: Remove.
2500 * scripts/extract-abilist.awk: Remove.
2501 * scripts/merge-abilist.awk: Remove.
2502 * sysdeps/generic/libcidn.abilist: New file.
2503 * sysdeps/generic/libnss_compat.abilist: New file.
2504 * sysdeps/generic/libnss_db.abilist: New file.
2505 * sysdeps/generic/libnss_dns.abilist: New file.
2506 * sysdeps/generic/libnss_files.abilist: New file.
2507 * sysdeps/generic/libnss_hesiod.abilist: New file.
2508 * sysdeps/generic/libnss_nis.abilist: New file.
2509 * sysdeps/generic/libnss_nisplus.abilist: New file.
2510 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2511 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2512 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2514 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2515 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2516 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2517 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2518 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2519 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2520 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2521 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2522 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2524 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2525 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2526 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2527 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2529 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2530 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2531 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2532 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2533 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2534 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2536 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2537 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2538 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2540 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2643 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2644 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2645 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2648 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2649 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2650 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2651 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2652 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2653 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2654 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2655 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2656 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2708 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2710 * conform/conformtest.pl: Fix typo in handling typed-constant from
2713 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2715 * README: Cut down references to pre-2.6 Linux kernels and
2716 Linuxthreads. Update lists of configurations in libc and ports
2717 and sort alphabetically. Say "or newer" with Linux kernel version
2720 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2722 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2725 * math/libm-test.inc (logb_test_downward): New test to expose
2726 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2729 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2732 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2734 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2735 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2737 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2739 * sysdeps/unix/i386/brk.S: Remove file.
2740 * sysdeps/unix/i386/dl-brk.S: Likewise.
2741 * sysdeps/unix/i386/pipe.S: Likewise.
2742 * sysdeps/unix/i386/sigreturn.S: Likewise.
2743 * sysdeps/unix/i386/syscall.S: Likewise.
2744 * sysdeps/unix/i386/vfork.S: Likewise.
2745 * sysdeps/unix/i386/wait.S: Likewise.
2747 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2748 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2750 * configure.in (arm*-none*): Do not allow without
2751 --enable-hacker-mode.
2752 (netbsd*): Remove case setting base_os.
2753 (386bsd*): Likewise.
2754 (freebsd*): Likewise.
2758 (ultrix*): Likewise.
2759 (newsos*): Likewise.
2769 (solaris[2-9]*): Likewise.
2771 * configure: Regenerated.
2773 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2776 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2777 overflow or cancellation in calculating denominator.
2778 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2780 down expression to avoid unexpected rounding in newer GCCs.
2781 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2783 2012-04-26 David S. Miller <davem@davemloft.net>
2785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2786 long-double compat symbols.
2787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2801 2012-04-25 David S. Miller <davem@davemloft.net>
2803 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2804 HWCAP_* values only after the memory barriers have been defined.
2805 (atomic_full_barrier): Define.
2806 (atomic_read_barrier): Define.
2807 (atomic_write_barrier): Define.
2809 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2811 * shlib-versions: Add libgcc_s version information.
2812 * sysdeps/generic/libgcc_s.h: Remove.
2813 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2815 * sysdeps/gnu/unwind-resume.c: Likewise.
2816 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2818 2012-04-25 David S. Miller <davem@davemloft.net>
2820 * sysdeps/unix/sparc/brk.S: Delete.
2821 * sysdeps/unix/sparc/dl-brk.S: Delete.
2822 * sysdeps/unix/sparc/pipe.S: Delete.
2823 * sysdeps/unix/sparc/sysdep.S: Delete.
2824 * sysdeps/unix/sparc/sysdep.h: Delete.
2825 * sysdeps/unix/sparc/vfork.S: Delete.
2826 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2827 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2829 ret_ERRVAL, r0, r1, MOVE): Define.
2830 (JUMPTARGET): Remove.
2831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2832 sysdeps/unix/sparc/sysdep.h
2833 (ENTRY, END): Remove.
2834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2836 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2838 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2839 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2842 * timezone/README: Update upstream location and email address for
2844 * timezone/zdump.c: Update from tzcode 2012b.
2845 * timezone/zic.c: Likewise.
2847 * configure.in (libc_cv_as_needed): Remove test.
2848 * configure: Regenerated.
2849 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2850 conditional definition.
2851 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2852 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2853 * config.make.in (have-as-needed): Remove variable.
2855 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2856 Paul Pluzhnikov <ppluzhnikov@google.com>
2858 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2861 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2863 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2864 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2865 * sysdeps/sh/strlen.S: Likewise.
2867 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2869 * sysdeps/unix/fork.S: Remove file.
2870 * sysdeps/unix/i386/fork.S: Likewise.
2871 * sysdeps/unix/sparc/fork.S: Likewise.
2873 * sysdeps/unix/system.c: Remove file.
2874 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2876 * sysdeps/unix/getegid.S: Remove file.
2877 * sysdeps/unix/geteuid.S: Likewise.
2879 2012-04-24 Roland McGrath <roland@hack.frob.com>
2881 * scripts/check-localplt.awk: New file.
2882 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2884 * scripts/data/localplt-generic.data: Add a comment.
2886 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2887 NODE when __dir_mkfile failed.
2888 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2889 Reported by Ludovic Courtès <ludo@gnu.org>.
2891 2012-04-24 Andreas Jaeger <aj@suse.de>
2893 * Makerules (common-clean): Also remove gen-as-const-headers
2896 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2898 * Makerules (native-compile): Do not change working directory for
2899 build. Use $(OUTPUT_OPTION) in command.
2900 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2902 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2905 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2906 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2907 * math/libm-test.inc (floor_test): Add more tests.
2908 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2910 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2912 * sysdeps/unix/getdents.c: Remove file.
2913 * sysdeps/unix/sysv/getdents.c: Likewise.
2914 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2916 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2917 sysdeps/unix/mman/syscalls.list.
2919 (mprotect): Likewise.
2922 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2923 * sysdeps/unix/mman/syscalls.list: Remove.
2924 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2926 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2927 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2928 * configure: Regenerated.
2929 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2931 * config.make.in (libgcc_s_suffix): Remove variable.
2933 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2935 * sysdeps/unix/sysv/gethostname.c: Move to ...
2936 * sysdeps/posix/gethostname.c: ... here.
2938 * sysdeps/unix/execve.S: Remove file.
2940 * sysdeps/unix/_exit.S: Remove file.
2942 2012-04-23 Andreas Jaeger <aj@suse.de>
2945 * manual/Makefile: Remove make dist support, there's no
2946 need for a stand-alone documentation tar ball.
2947 (TEXI2DVI): Define always, it's not in Makeconfig.
2951 (glibc-doc-$(edition).tar): Removed
2955 (ETAGS): Remove, it's in Makeconfig.
2956 (move-if-change): Remove, it's in Makeconfig.
2958 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2961 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2962 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2963 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2964 (strtod_l, strtof_l, strtold_l): Remove __wur.
2965 It is not necessarily an error to ignore strtol's return value.
2966 One can reliably look at the stored endptr to decide whether
2967 the number had valid syntax.
2969 2012-04-21 Andreas Jaeger <aj@suse.de>
2972 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2974 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2976 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2977 * sysdeps/unix/sysv/Versions: Remove file.
2979 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2984 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2988 version from __vm86.
2990 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2992 * sysdeps/unix/common/lxstat.c: Remove file.
2993 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2995 * sysdeps/unix/sysv/Makefile: Remove file.
2997 * sysdeps/unix/sysv/direct.h: Remove file.
2999 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3000 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3001 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3002 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3003 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3004 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3005 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3007 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3009 * sysdeps/unix/xmknod.c: Remove file.
3010 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3012 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3014 * sysdeps/unix/sysv/i386/time.S: Remove file.
3016 * sysdeps/unix/fxstat.c: Remove file.
3017 * sysdeps/unix/xstat.c: Likewise.
3018 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3020 * sysdeps/unix/sysv/sigaction.c: Remove file.
3022 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3023 (sysdep_headers): Remove variable.
3024 [termio.h not in sysdep_headers] (generated): Likewise.
3025 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3026 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3027 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3028 * sysdeps/unix/sysv/tcflow.c: Likewise.
3029 * sysdeps/unix/sysv/tcflush.c: Likewise.
3030 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3031 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3032 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3033 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3034 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3036 * sysdeps/unix/siglist.c: Remove file.
3038 * sysdeps/unix/getppid.S: Remove file.
3040 * sysdeps/unix/mkdir.c: Remove file.
3041 * sysdeps/unix/rmdir.c: Likewise.
3043 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3045 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3047 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3048 errlist-compat value.
3050 2012-04-18 David S. Miller <davem@davemloft.net>
3052 * sysdeps/generic/memcopy.h (reg_char): Delete.
3053 * debug/strcat_chk.c: Use char, not reg_char.
3054 * debug/strcpy_chk.c: Likewise.
3055 * debug/strncat_chk.c: Likewise.
3056 * debug/strncpy_chk.c: Likewise.
3057 * string/memchr.c: Likewise.
3058 * string/memrchr.c: Likewise.
3059 * string/rawmemchr.c: Likewise.
3060 * string/strcat.c: Likewise.
3061 * string/strchr.c: Likewise.
3062 * string/strchrnul.c: Likewise.
3063 * string/strcmp.c: Likewise.
3064 * string/strcpy.c: Likewise.
3065 * string/strncat.c: Likewise.
3066 * string/strncmp.c: Likewise.
3067 * string/strncpy.c: Likewise.
3069 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3071 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3072 __builtin_memcopy is called when src and dest ranges are known to not
3075 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3077 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3078 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3079 fwd_align_merge macro call.
3080 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3081 bwd_align_merge macro call.
3082 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3084 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3086 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3087 bwd_align_merge macros.
3088 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3089 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3090 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3092 2012-04-18 David S. Miller <davem@davemloft.net>
3094 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3096 2012-04-18 Andreas Jaeger <aj@suse.de>
3099 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3100 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3101 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3104 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3105 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3107 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3108 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3109 Adjust for changed ldbl-128 files.
3111 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3112 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3113 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3115 2012-04-17 David S. Miller <davem@davemloft.net>
3117 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3119 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3121 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3122 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3123 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3124 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3125 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3126 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3128 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3131 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3132 * math/libm-test.inc: Add ilogb errno and exception tests.
3133 * math/w_ilogb.c: New file: ilogb wrapper.
3134 * math/w_ilogbf.c: New file: ilogbf wrapper.
3135 * math/w_ilogbl.c: New file: ilogbl wrapper.
3136 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3137 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3138 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3139 exception being thrown with 0.0 as argument.
3140 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3141 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3142 exception being thrown with 0.0 as argument.
3143 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3144 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3145 exception being thrown with 0.0 as argument.
3146 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3147 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3148 exception being thrown with 0.0 as argument.
3149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3150 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3152 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3153 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3154 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3155 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3156 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3157 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3159 2012-04-17 Petr Baudis <pasky@ucw.cz>
3161 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3164 2012-04-16 Marek Polacek <polacek@redhat.com>
3166 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3168 2012-04-16 Marek Polacek <polacek@redhat.com>
3170 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3171 operands of fdivp instruction.
3173 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3175 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3176 * elf/tst-auditmod3b.c: Likewise.
3177 * elf/tst-auditmod4b.c: Likewise.
3178 * elf/tst-auditmod5b.c: Likewise.
3179 * elf/tst-auditmod6b.c: Likewise.
3180 * elf/tst-auditmod6c.c: Likewise.
3181 * elf/tst-auditmod7b.c: Likewise.
3182 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3183 * sysdeps/x86_64/preconfigure.in: Likewise.
3184 * sysdeps/x86_64/preconfigure: Regenerated.
3186 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3188 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3191 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3194 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3196 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3199 * locale/iso-639.def: Fix gl language name. Spotted by
3202 2012-04-12 Roland McGrath <roland@hack.frob.com>
3205 * libio/libio.h (__io_write_fn): Update comment.
3207 2012-04-12 Petr Baudis <pasky@ucw.cz>
3210 * stdio.texi (Hook Functions): The user provided writer function
3211 is not allowed to return -1.
3213 2012-04-11 David S. Miller <davem@davemloft.net>
3215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3217 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3219 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3220 Add a leading slash to rtkaio.
3222 2012-04-11 Jim Meyering <meyering@redhat.com>
3225 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3226 It is not necessarily an error to ignore fwrite's return
3227 value. One can reliably use ferror to test for errors after
3230 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3232 * bits/types.h (__snseconds_t): New type.
3233 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3235 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3237 (__SNSECONDS_T_TYPE): Likewise.
3238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3239 (__SNSECONDS_T_TYPE): Likewise.
3240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3241 (__SNSECONDS_T_TYPE): Likewise.
3243 2012-04-10 Andreas Jaeger <aj@suse.de>
3246 * manual/time.texi (Processor Time): Return type of times is
3247 elapsed real time since an arbitrary point in the past.
3248 (CPU Time): Move CLK_TCK from here...
3249 (Processor Time): ...to here. Correct description.
3250 * manual/conf.texi (Constants for Sysconf): Correct description of
3253 2012-04-10 David S. Miller <davem@davemloft.net>
3256 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3257 where the is a gap between DT_REL(A) and DT_JMPREL.
3259 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3261 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3262 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3263 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3265 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3267 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3268 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3269 (dl_main): Handle --inhibit-cache.
3270 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3272 * elf/dl-load.c (_dl_map_object): Use it.
3273 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3275 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3278 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3279 (__ieee754_powl): Saturate large exponents rather than testing for
3280 overflow of y*log2(x).
3281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3282 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3286 * math/s_ctan.c: Include <float.h>.
3287 (__ctan): Avoid internal overflow or cancellation in calculating
3289 * math/s_ctanf.c: Likewise.
3290 * math/s_ctanl.c: Likewise.
3291 * math/s_ctanh.c: Likewise.
3292 * math/s_ctanhf.c: Likewise.
3293 * math/s_ctanhl.c: Likewise.
3294 * math/libm-test.inc (ctan_test): Add more tests.
3295 (ctanh_test): Likewise.
3296 * sysdeps/i386/fpu/libm-test-ulps: Update.
3297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3299 2012-04-09 Andreas Jaeger <aj@suse.de>
3302 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3303 is an optional BSD extension.
3306 * manual/stdio.texi (Opening Streams): Document additional fopen
3309 2012-04-09 Roland McGrath <roland@hack.frob.com>
3311 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3312 %eax without telling the compiler.
3314 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3317 * manual/install.texi: Use sourceware.org.
3319 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3322 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3323 (__ieee754_pow): Generate overflow and underflow using huge*huge
3324 and tiny*tiny rather than just returning constant infinity or zero
3325 for large exponents.
3326 * math/libm-test.inc (pow_test): Require overflow exceptions for
3327 applicable cases of large exponents.
3330 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3331 (__ieee754_pow): Use iterative multiplication algorithm only for
3332 integer exponents with absolute value below 1024. Check for odd
3333 integer exponents when using algorithm for real exponents.
3334 * math/libm-test.inc (pow_test): Add more tests.
3335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3337 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3340 * math/libm-test.inc (exp_test): Do not allow overflow exception
3343 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3346 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3347 instead of __kernel_standard_f.
3349 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3351 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3352 * sysdeps/x86_64/memset_chk.S: Likewise.
3354 2012-04-08 Andreas Jaeger <aj@suse.de>
3357 * manual/startup.texi (Environment Access): Describe return value
3358 for putenv and setenv.
3361 * manual/filesys.texi (Directory Entries): Add description for
3365 * manual/filesys.texi (Directory Entries): Clarify that it's file
3366 system not operating system in the description of DT_UNKNOWN.
3369 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3371 2012-04-08 Stephen Compall <s11@member.fsf.org>
3374 * manual/llio.texi (Opening and Closing Files): Add cross
3375 reference to explain mode argument.
3377 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3379 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3380 * sysdeps/x86_64/memset_chk.S: Likewise.
3382 2012-04-07 David S. Miller <davem@davemloft.net>
3384 * elf/elf.h (R_SPARC_WDISP10): Define.
3385 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3387 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3388 R_SPARC_SIZE64 and R_SPARC_H34.
3390 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3392 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3393 conditions and remove no longer applicable assertion.
3395 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3397 * bits/byteswap.h: Include <features.h>.
3398 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3399 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3401 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3403 * bits/byteswap.h (__bswap_16): Removed.
3404 Include <bits/byteswap-16.h> to get __bswap_16.
3405 * sysdeps/i386/bits/byteswap.h: Likewise.
3406 * sysdeps/s390/bits/byteswap.h: Likewise.
3407 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3408 * bits/byteswap-16.h: New file.
3409 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3410 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3411 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3412 * string/Makefile (headers): Add bits/byteswap-16.h.
3414 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3417 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3419 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3420 * nss/tst-nss-static.c: New.
3422 2012-04-06 Robert Millan <rmh@gnu.org>
3425 * manual/llio.texi (File Position Primitive): lseek
3426 refers to WHENCE when it really means OFFSET.
3428 2012-04-06 Andreas Jaeger <aj@suse.de>
3430 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3431 strncmp declarations.
3433 * abilist/libc.abilist: Add __poll and __ppoll.
3435 2012-04-05 David S. Miller <davem@davemloft.net>
3437 * scripts/check-local-headers.sh: Accept a host triplet in the
3438 path matched by the exclude regexp.
3440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3442 * sysdeps/powerpc/powerpc32/dl-machine.h
3443 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3444 * sysdeps/s390/s390-32/dl-machine.h
3445 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3446 * sysdeps/sparc/sparc32/dl-machine.h
3447 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3448 * sysdeps/sparc/sparc64/dl-machine.h
3449 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3451 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3453 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3454 undefined symbol errors.
3456 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3459 2012-04-05 Michael Matz <matz@suse.de>
3462 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3464 2012-04-05 Andreas Jaeger <aj@suse.de>
3467 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3470 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3472 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3473 which ROUND is no valid rounding mode.
3475 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3477 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3479 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3481 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3483 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3484 an exception using FPU order intentionally.
3486 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3488 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3489 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3490 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3491 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3493 2012-04-05 Simon Josefsson <simon@josefsson.org>
3496 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3497 EINVAL when BUFLEN is too smal.
3499 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3502 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3503 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3505 2012-04-03 Andreas Jaeger <aj@suse.de>
3508 * manual/setjmp.texi (System V contexts): Fix sentence.
3511 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3512 New macro for this case.
3513 [!__GNUC__] (__bswap_64): New inline function for this case.
3514 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3515 * bits/byteswap.h: Likewise.
3516 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3517 ull, guard with __GLIBC_HAVE_LONG_LONG.
3519 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3520 __GLIBC_HAVE_LONG_LONG.
3522 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3523 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3525 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3528 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3529 inptr and inend, rather than using last_ch.
3531 2012-04-02 David S. Miller <davem@davemloft.net>
3533 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3534 * stdio-common/printf-parse.h (read_int): Change return type to
3535 'int', return -1 on INT_MAX overflow.
3536 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3537 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3538 overflows INT_MAX. Check for overflow of in-format-string precision
3539 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3540 SIZE_MAX not INT_MAX for integer overflow test.
3541 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3542 skip the construct in the format string but do not record anything.
3543 * stdio-common/bug22.c: Adjust to test both width/prevision
3544 INT_MAX overflow as well as total length INT_MAX overflow. Check
3545 explicitly for proper errno values.
3547 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3549 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3551 * string/test-strcmp.c [! WIDE]: Likewise.
3552 * time/tst-mktime2.c: Likewise for INT_MAX.
3553 * string/test-string.h: #include <sys/param.h> for MIN.
3555 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3556 * sysdeps/i386/init-first.c (init): Likewise.
3557 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3558 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3559 * sysdeps/sh/init-first.c (init): Likewise.
3561 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3563 * po/ru.po: Update from translation team.
3564 * po/vi.po: Likewise.
3566 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3568 * resolv/nss_dns/dns-host.c: Merge copyright years.
3570 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3573 Optimize memcpy with prefetch if
3574 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3575 src, dst pointers have unequal 16 byte alignments.
3577 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3580 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3581 from a CNAME entry and return the minimum ttl for the query.
3582 (gaih_getanswer_slice): Likewise.
3584 2012-03-30 Jeff Law <law@redhat.com>
3586 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3588 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3589 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3591 * resolv/nss_dns/dns-host.c: Update copyright year.
3593 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3595 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3596 requests to save a system call. Fix check that all bytes are sent.
3598 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3599 comments for sendmmsg.
3601 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3604 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3605 with only 1 character between 0x0041 and 0x01b0.
3606 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3607 * wcsmbs/tst-mbsnrtowcs.c: New file.
3609 2012-03-29 David S. Miller <davem@davemloft.net>
3611 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3612 small copies by hand.
3614 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3617 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3618 _nss_compat_initgroups_dyn): Fall back to malloc/free
3619 for large group memberships.
3621 2012-03-28 David S. Miller <davem@davemloft.net>
3623 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3624 that branches into memcpy.
3625 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3626 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3627 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3628 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3631 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3633 * sysdeps/sparc/mempcpy.S: New file.
3635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3636 the IFUNC routine in the libc case.
3637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3639 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3640 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3641 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3642 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3643 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3644 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3645 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3646 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3648 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3649 loop to 256 bytes instead of 64 bytes and fix test signedness.
3651 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3652 * sysdeps/sparc/sparc32/Makefile: rather than here...
3653 * sysdeps/sparc/sparc64/Makefile: and here.
3655 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3657 * malloc/mallocbug.c: Avoid warnings about unused variables.
3659 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3662 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3663 in the right place. Discard and retry query if response is
3664 larger than input buffer size.
3666 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3671 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3672 x for large integer exponent.
3673 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3674 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3675 sign of result as needed afterwards.
3676 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3677 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3678 result for underflowing pow the same as for overflow.
3679 (__kernel_standard_l): Handle powl overflow and underflow here
3680 rather than calling __kernel_standard.
3681 * math/libm-test.inc (pow_test): Add more tests.
3696 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3697 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3698 (__kernel_standard_l): New function.
3699 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3701 * math/w_acosl.c (__acosl): Likewise.
3702 * math/w_asinl.c (__asinl): Likewise.
3703 * math/w_atan2l.c (__atan2l): Likewise.
3704 * math/w_atanhl.c (__atanhl): Likewise.
3705 * math/w_coshl.c (__coshl): Likewise.
3706 * math/w_exp10l.c (__exp10l): Likewise.
3707 * math/w_exp2l.c (__exp2l): Likewise.
3708 * math/w_fmodl.c (__fmodl): Likewise.
3709 * math/w_hypotl.c (__hypotl): Likewise.
3710 * math/w_j0l.c (__j0l, __y0l): Likewise.
3711 * math/w_j1l.c (__j1l, __y1l): Likewise.
3712 * math/w_jnl.c (__jnl, __ynl): Likewise.
3713 * math/w_lgammal.c (__lgammal): Likewise.
3714 * math/w_log10l.c (__log10l): Likewise.
3715 * math/w_log2l.c (__log2l): Likewise.
3716 * math/w_logl.c (__logl): Likewise.
3717 * math/w_powl.c (__powl): Likewise.
3718 * math/w_remainderl.c (__remainderl): Likewise.
3719 * math/w_scalbl.c (sysv_scalbl): Likewise.
3720 * math/w_sinhl.c (__sinhl): Likewise.
3721 * math/w_sqrtl.c (__sqrtl): Likewise.
3722 * math/w_tgammal.c (__tgammal): Likewise.
3723 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3724 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3725 * math/libm-test.inc (acos_test): Add more tests.
3726 (acosh_test): Likewise.
3727 (asin_test): Likewise.
3728 (atanh_test): Likewise.
3729 (exp_test): Likewise.
3730 (exp10_test): Likewise.
3731 (exp2_test): Likewise.
3732 (expm1_test): Likewise.
3733 (lgamma_test): Likewise.
3734 (log_test): Likewise.
3735 (log10_test): Likewise.
3736 (log1p_test): Likewise.
3737 (log2_test): Likewise.
3738 (pow_test): Do not allow some spurious overflow exceptions.
3739 (sqrt_test): Add more tests.
3740 (tgamma_test): Likewise.
3741 (y0_test): Likewise.
3742 (y1_test): Likewise.
3743 (yn_test): Likewise.
3745 2012-03-27 Anton Blanchard <anton@samba.org>
3747 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3750 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3753 2012-03-27 David S. Miller <davem@davemloft.net>
3755 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3757 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3760 2012-03-27 Andreas Jaeger <aj@suse.de>
3762 * sysdeps/x86_64/elf/configure.in: Moved to ...
3763 * sysdeps/x86_64/configure.in: ... here.
3764 * sysdeps/x86_64/elf/start.S: Moved to ...
3765 * sysdeps/x86_64/start.S: ... here.
3766 * sysdeps/x86_64/elf/configure: Delete.
3768 * sysdeps/x86_64/configure.in: Merge contents from
3769 sysdeps/i386/configure.in (without i686 check).
3771 * sysdeps/i386/elf/Versions: Merge into ...
3772 * sysdeps/i386/Versions: ... this.
3773 * sysdeps/i386/elf/Versions: Delete file.
3774 * sysdeps/i386/elf/start.S: Moved to ...
3775 * sysdeps/i386/start.S: ...here.
3776 * sysdeps/i386/elf/configure.in: Merge into...
3777 * sysdeps/i386/configure.in: ...here.
3778 * sysdeps/i386/elf/configure.in: Delete file.
3779 * sysdeps/i386/elf/configure: Delete file.
3781 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3782 * debug/backtracesyms.c: ... here.
3783 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3784 * debug/backtracesymsfd.c: ... here.
3785 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3786 * sysdeps/generic/ifunc-sel.h: ... here.
3788 * sysdeps/unix/i386/start.c: Delete file.
3789 * sysdeps/unix/sparc/start.c: Delete file.
3790 * sysdeps/unix/start.c: Delete file.
3792 * sysdeps/sh/elf/configure.in: Moved to ...
3793 * sysdeps/sh/configure.in: ... here.
3794 * sysdeps/sh/elf/start.S: Moved to ...
3795 * sysdeps/sh/start.S: ... here.
3796 * sysdeps/sh/elf/configure: Delete file.
3798 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3799 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3800 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3801 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3802 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3803 * sysdeps/powerpc/powerpc64/start.S: here.
3804 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3805 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3806 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3807 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3808 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3810 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3811 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3812 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3813 * sysdeps/powerpc/powerpc32/start.S: ... here.
3814 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3815 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3816 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3818 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3819 * sysdeps/powerpc/ifunc-sel.h: ... here.
3820 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3821 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3823 * sysdeps/sparc/elf/configure.in: Moved to ...
3824 * sysdeps/sparc/configure.in: ... here.
3825 * sysdeps/sparc/elf/configure: Delete file.
3826 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3827 * sysdeps/sparc/sparc32/start.S: ... here.
3828 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3829 * sysdeps/sparc/sparc64/start.S: ... here.
3830 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3831 * sysdeps/sparc/sparc32/Makefile: ... this.
3832 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3833 * sysdeps/sparc/sparc64/Makefile: ... this.
3835 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3836 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3837 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3838 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3839 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3840 * sysdeps/s390/s390-32/setjmp.S: ... here.
3841 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3842 * sysdeps/s390/s390-32/configure.in: ... here.
3843 * sysdeps/s390/s390-32/elf/configure: Delete file.
3844 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3845 * sysdeps/s390/s390-32/start.S: ... here.
3847 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3848 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3849 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3850 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3851 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3852 * sysdeps/s390/s390-64/setjmp.S: ... here.
3853 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3854 * sysdeps/s390/s390-64/configure.in: ... here
3855 * sysdeps/s390/s390-64/elf/configure: Delete file.
3856 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3857 * sysdeps/s390/s390-64/start.S: ... here.
3858 * sysdeps/s390/s390-64/elf/configure: Delete.
3860 * configure.in: Remove support for elf directories in sysdeps.
3862 * configure: Regenerated.
3863 * sysdeps/i386/configure: Regenerated.
3864 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3865 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3866 * sysdeps/s390/s390-32/configure: Regenerated.
3867 * sysdeps/s390/s390-64/configure: Regenerated.
3868 * sysdeps/sh/configure: Regenerated.
3869 * sysdeps/sparc/configure: Regenerated.
3870 * sysdeps/x86_64/configure: Regenerated.
3872 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3876 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3877 denormal result into account.
3879 2012-03-25 Roland McGrath <roland@hack.frob.com>
3881 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3882 Reported by Allan McRae <allan@archlinux.org>.
3884 2012-03-23 Jeff Law <law@redhat.com>
3886 * nss/getnssent.c (__nss_getent): Fix typo.
3888 2012-03-23 David S. Miller <davem@davemloft.net>
3890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3892 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3894 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3895 to pad to uint64_t for each field.
3896 (dl_tls_index): Replace unsigned long with uint64_t.
3898 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3899 Paul Pluzhnikov <ppluzhnikov@google.com>
3902 * grp/Makefile (otherlibs): Don't set it.
3903 * inet/Makefile (otherlibs): Likewise.
3904 * login/Makefile (otherlibs): Likewise.
3905 * nscd/Makefile (otherlibs): Likewise.
3906 * posix/Makefile (otherlibs): Likewise.
3907 * pwd/Makefile (otherlibs): Likewise.
3908 * rt/Makefile (otherlibs): Likewise.
3909 * sunrpc/Makefile (otherlibs): Likewise.
3910 * nss/Makefile (otherlibs): Likewise.
3911 Add libnss_files to routines and static-only-routines.
3912 ($(objpfx)getent): Remove rule.
3913 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3914 static-only-routines.
3916 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3919 * math/s_cexp.c: Include <float.h>.
3920 (__cexp): Handle exp result overflowing not necessarily
3921 overflowing both real and imaginary parts of result.
3922 * math/s_cexpf.c: Likewise.
3923 * math/s_cexpl.c: Likewise.
3924 * math/libm-test.inc (cexp_test): Add more tests.
3925 * sysdeps/i386/fpu/libm-test-ulps: Update.
3926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3928 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3930 * include/link.h (ELFW): New macro.
3931 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3932 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3934 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3936 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3939 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3941 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3943 (struct La_x32_retval): Likewise.
3945 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3947 * sysdeps/x86_64/preconfigure.in: New file.
3948 * sysdeps/x86_64/preconfigure: New generated file.
3950 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3953 * math/e_exp2l.c: Include <float.h>.
3954 (__ieee754_exp2l): Handle overflow and underflow cases
3955 separately. Only pass fractional part of argument to
3957 * math/libm-test.inc (exp2_test): Add more tests.
3959 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3960 negating x to take absolute value.
3961 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3966 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3967 computing low part if x was negated.
3968 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3970 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3972 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3974 (pltexit): Cast int_retval to ptrdiff_t.
3975 * elf/tst-auditmod3b.c: Likewise.
3976 * elf/tst-auditmod4b.c: Likewise.
3977 * elf/tst-auditmod5b.c: Likewise.
3978 * elf/tst-auditmod6b.c: Likewise.
3979 * elf/tst-auditmod6c.c: Likewise.
3980 * elf/tst-auditmod7b.c: Likewise.
3982 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3983 and x32_gnu_pltexit.
3985 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3987 (La_x32_regs): New macro.
3988 (La_x32_retval): Likewise.
3989 (la_x32_gnu_pltenter): New function prototype.
3990 (la_x32_gnu_pltexit): Likewise.
3992 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3994 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3999 * configure.in (libc_cv_cc_nofma): Check for option to disable
4000 generation of FMA instructions.
4001 * configure: Regenerate.
4002 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4003 * sysdeps/ieee754/dbl-64/Makefile: New file.
4004 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4005 Remove brandred-fma4.
4006 (CFLAGS-brandred-fma4.c): Remove.
4007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4008 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4010 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4013 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4015 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4016 LLONG_MAX != LONG_MAX.
4017 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4018 (_fitoa_word): Likewise.
4019 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4020 LLONG_MAX != LONG_MAX.
4021 * stdio-common/_itowa.h: Include <_itoa.h>.
4022 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4023 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4024 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4025 only if not defined.
4026 (_ITOA_WORD_TYPE): Likewise.
4027 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4028 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4030 2012-03-21 David S. Miller <davem@davemloft.net>
4032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4034 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4036 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4037 of x86_64 when setting libc_cv_slibdir, libdir and
4039 * sysdeps/unix/sysv/linux/configure: Regenerated.
4041 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4043 * manual/lang.texi (Old Varargs): Remove section.
4044 (How Variadic): Update menu.
4045 (va_start): Do not mention varargs.h.
4047 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4048 Joseph Myers <joseph@codesourcery.com>
4050 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4052 * configure: Regenerated.
4054 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4056 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4057 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4060 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4063 * Makefile (files-for-dist): Remove NOTES.
4064 (NOTES): Remove rule.
4065 * README: Don't refer to NOTES.
4066 * manual/creature.texi: Don't include macros.texi.
4067 * manual/intro.texi (creature.texi): Remove comment referring to
4070 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4071 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4072 * configure: Regenerated.
4073 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4075 (libc_cv_as_i686): Likewise.
4076 (libc_cv_cc_avx): Likewise.
4077 (libc_cv_cc_sse2avx): Likewise.
4078 (libc_cv_cc_fma4): Likewise.
4079 (libc_cv_cc_novzeroupper): Likewise.
4080 * sysdeps/i386/configure: Regenerated.
4083 * sysdeps/i386/fpu/s_cexp.S: Remove.
4084 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4085 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4086 * math/libm-test.inc (cexp_test): Add more tests.
4087 * sysdeps/i386/fpu/libm-test-ulps: Update.
4088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4090 2012-03-21 Allan McRae <allan@archlinux.org>
4092 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4094 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4097 * math/w_exp2.c: Do not include <float.h>.
4098 (o_threshold, u_threshold): Remove.
4099 (__exp2): Calculate result before checking finiteness and calling
4101 * math/w_exp2f.c: Likewise.
4102 * math/w_exp2l.c: Likewise.
4103 * math/libm-test.inc (exp2_test): Require overflow exception for
4107 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4108 range of signed 64-bit integers before using fistpll. Remove
4109 checks for whether integers fit in mantissa bits.
4110 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4111 the range of signed 32-bit integers before using fistpl. Remove
4112 checks for whether integers fit in mantissa bits.
4113 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4114 (__ieee754_powl): Test for y outside the range of signed 64-bit
4115 integers before using fistpll. Reduce 64-bit values to 63-bit
4117 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4118 divide-by-zero is raised for zero to large negative powers.
4119 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4120 (__ieee754_powl): Test for y outside the range of signed 64-bit
4121 integers before using fistpll. Reduce 64-bit values to 63-bit
4123 * math/libm-test.inc (pow_test): Add more tests.
4125 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4127 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4128 <stdio-common/_itoa.h>.
4129 * debug/segfault.c: Likewise.
4130 * elf/dl-cache.c: Likewise.
4131 * elf/dl-minimal.c: Likewise.
4132 * elf/dl-misc.c: Likewise.
4133 * elf/dl-sysdep.c: Likewise.
4134 * elf/dl-version.c: Likewise.
4135 * elf/rtld.c: Likewise.
4136 * hurd/hurdsock.c: Likewise.
4137 * hurd/lookup-retry.c: Likewise.
4138 * malloc/malloc.c: Likewise.
4139 * malloc/mtrace.c: Likewise.
4140 * nscd/nscd_getgr_r.c: Likewise.
4141 * nscd/nscd_getpw_r.c: Likewise.
4142 * nscd/nscd_getserv_r.c: Likewise.
4143 * posix/getopt_init.c: Likewise.
4144 * posix/wordexp.c: Likewise.
4145 * stdio-common/_itoa.c: Likewise.
4146 * stdio-common/printf_fphex.c: Likewise.
4147 * stdio-common/vfprintf.c: Likewise.
4148 * string/_strerror.c: Likewise.
4149 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4150 * sysdeps/i386/i686/hp-timing.h: Likewise.
4151 * sysdeps/mach/_strerror.c: Likewise.
4152 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4153 * sysdeps/mach/hurd/sethostid.c: Likewise.
4154 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4155 * sysdeps/mach/xpg-strerror.c: Likewise.
4156 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4157 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4158 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4159 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4160 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4161 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4162 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4163 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4164 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4165 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4166 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4167 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4168 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4169 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4170 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4171 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4172 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4173 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4174 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4175 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4176 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4178 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4180 * stdio-common/_itoa.h: Moved to ...
4181 * sysdeps/generic/_itoa.h: Here.
4183 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4185 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4186 instead of "_itoa.h" and "_itowa.h".
4187 * stdio-common/vfprintf.: Likewise.
4189 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4191 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4193 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4194 (__signbit): Likwise.
4198 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4200 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4203 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4205 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4206 OVERFLOW_EXCEPTION_OK.
4207 * math/libm-test.inc ("Philosophy"): Update comment about
4209 (OVERFLOW_EXCEPTION): Define.
4210 (OVERFLOW_EXCEPTION_OK): Likewise.
4211 (INVALID_EXCEPTION_OK): Renumber.
4212 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4213 (IGNORE_ZERO_INF_SIGN): Likewise.
4214 (test_exceptions): Handle FE_OVERFLOW.
4215 (exp10_test): Expect overflow exceptions.
4216 (exp2_test): Likewise.
4217 (expm1_test): Likewise.
4218 (nextafter_test): Likewise.
4219 (pow_test): Likewise.
4220 (scalbn_test): Likewise.
4221 (scalbln_test): Likewise.
4223 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4225 * sysdeps/x86_64/bits/atomic.h
4226 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4228 (atomic_exchange_acq): Likewise.
4229 (__arch_exchange_and_add_body): Likewise.
4230 (__arch_add_body): Likewise.
4231 (atomic_add_negative): Likewise.
4232 (atomic_add_zero): Likewise.
4234 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4236 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4237 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4239 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4241 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4242 Check __x86_64__ instead of __WORDSIZE.
4244 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4246 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4248 2012-03-19 David S. Miller <davem@davemloft.net>
4250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4252 * sysdeps/sparc/fpu/fenv_private.h: New file.
4253 * sysdeps/sparc/fpu/math_private.h: Use it.
4254 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4256 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4257 (libc_feholdexcept_setroundl): Remove.
4258 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4260 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4261 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4263 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4265 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4266 int64_t instead of long int.
4267 (INSERT_WORDS64): Likwise.
4269 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4271 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4272 _Unwind_GetCFA return to _Unwind_Ptr first.
4274 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4277 * math/s_clog.c: Include <float.h>.
4278 (__clog): Scale large or subnormal inputs.
4279 * math/s_clogf.c: Likewise.
4280 * math/s_clogl.c: Likewise.
4281 * math/s_clog10.c: Include <float.h>.
4282 (M_LOG10_2): Define.
4283 (__clog10): Scale large or subnormal inputs.
4284 * math/s_clog10f.c: Likewise.
4285 * math/s_clog10l.c: Likewise.
4286 * math/libm-test.inc (clog_test): Add more tests.
4287 (clog10_test): Likewise.
4288 * sysdeps/i386/fpu/libm-test-ulps: Update.
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4292 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4294 * math/libm-test.inc (atan2_test): Add another test.
4296 * Makerules (common-objdir-compile): Remove.
4297 * sysdeps/unix/Makefile (config-generated): Do not add
4298 $(unix-generated) to variable.
4299 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4300 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4302 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4304 [generic bits/local_lim.h] (before-compile): Do not append to
4306 [generic bits/local_lim.h] (common-generated): Likewise.
4307 [generic sys/param.h] (before-compile): Do not append to variable.
4308 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4309 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4310 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4311 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4313 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4314 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4315 [generic sys/param.h] ($(addprefix
4316 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4317 [generic sys/param.h] (common-generated): Do not append to
4319 [generic sys/param.h] (sysdep_headers): Likewise.
4320 [generic bits/errno.h] (before-compile): Do not append to
4322 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4324 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4325 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4326 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4327 [generic bits/errno.h] (common-generated): Do not append to
4329 [generic bits/ioctls.h] (before-compile): Do not append to
4331 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4333 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4334 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4335 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4337 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4338 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4339 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4340 [generic bits/ioctls.h] (common-generated): Do not append to
4342 [generic sys/syscall.h] (syscall.h): Remove variable.
4343 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4345 [generic sys/syscall.h] (before-compile): Do not append to
4347 [generic sys/syscall.h] (common-generated): Likewise.
4348 * sysdeps/unix/errnos-tmpl.c: Remove file.
4349 * sysdeps/unix/errnos.awk: Likewise.
4350 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4351 * sysdeps/unix/ioctls.awk: Likewise.
4352 * sysdeps/unix/mk-local_lim.c: Likewise.
4353 * sysdeps/unix/snarf-ioctls: Likewise.
4355 2012-03-19 Richard Henderson <rth@twiddle.net>
4357 * sysdeps/i386/fpu/fenv_private.h: New file.
4358 * sysdeps/i386/fpu/math_private.h: Use it.
4359 (math_opt_barrier, math_force_eval): Remove.
4360 (libc_feholdexcept_setround_53bit): Remove.
4361 (libc_feupdateenv_53bit): Remove.
4362 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4363 (math_opt_barrier, math_force_eval): Remove.
4364 (libc_feholdexcept): Remove.
4365 (libc_feholdexcept_setround): Remove.
4366 (libc_fetestexcept, libc_fesetenv): Remove.
4367 (libc_feupdateenv_test): Remove.
4368 (libc_feupdateenv, libc_feholdsetround): Remove.
4369 (libc_feresetround): Remove.
4371 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4372 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4374 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4375 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4376 (libc_feupdateenv_testl): New.
4377 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4378 (libc_feupdateenv_testf): New.
4379 (libc_feupdateenv): Use libc_feupdateenv_test.
4380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4381 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4383 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4384 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4385 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4386 (libc_feresetround_noex): New.
4387 (libc_feresetround_noexf): New.
4388 (libc_feresetround_noexl): New.
4389 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4390 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4391 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4392 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4397 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4398 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4399 SET_RESTORE_ROUND_NOEX.
4400 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4401 SET_RESTORE_ROUND_NOEXF.
4402 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4403 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4404 (libc_feholdsetroundf): New.
4405 (libc_feresetround, libc_feresetroundf): New.
4407 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4408 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4409 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4411 * sysdeps/generic/math_private.h: Include <fenv.h>.
4412 (default_libc_feholdexcept): New.
4413 (default_libc_feholdexcept_setround): New.
4414 (default_libc_fesetenv, default_libc_feupdateenv): New.
4415 (libc_feholdexcept): Only define if undefined.
4416 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4417 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4418 (libc_feholdexcept_setroundl): Likewise.
4419 (libc_feholdexcept_setround_53bit): Likewise.
4420 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4421 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4422 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4423 (libc_feupdateenv_53bit): Likewise.
4424 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4425 (libc_feholdexcept): Convert from macro to inline function.
4426 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4427 (libc_fesetenv, libc_feupdateenv): Likewise.
4429 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4430 not previously defined.
4431 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4432 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4433 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4434 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4435 * sysdeps/ieee754/flt-32/math_private.h: New file.
4436 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4437 math_private.h below SET_FLOAT_WORD.
4438 (__isnan, __isinf_ns, __finite): Remove.
4439 (__isnanf, __isinf_nsf, __finitef): Remove.
4441 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4445 2012-03-17 David S. Miller <davem@davemloft.net>
4448 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4451 2012-03-16 David S. Miller <davem@davemloft.net>
4453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4457 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4459 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4460 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4461 sysdep_routines when subdir is sysvipc.
4462 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4465 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4467 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4469 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4472 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4474 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4475 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4476 (__lround): Renamed to ...
4477 (__llround): This. Replace long int with long long int.
4478 Define lround functions as aliases of llround functions.
4479 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4481 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4483 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4484 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4485 adresses to uintptr_t. Replace "long int" and "unsigned long
4486 int" with "greg_t" on va_arg.
4488 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4490 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4491 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4493 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4494 Move e_machine check before EI_CLASS check. Handle x32
4495 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4496 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4497 SKIP_EM_IA_64 and include
4498 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4500 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4501 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4502 (add_system_dir): New macro.
4504 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4505 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4507 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4518 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4520 * math/w_j0f.c (j0f): Likewise.
4522 * math/w_j0l.c (__j0l): Likewise.
4524 * math/w_j1.c (j1): Likewise.
4526 * math/w_j1f.c (j1f): Likewise.
4528 * math/w_j1l.c (__j1l): Likewise.
4530 * math/w_jn.c (jn): Likewise.
4532 * math/w_jnf.c (jnf): Likewise.
4534 * math/w_jnl.c (__jnl): Likewise.
4536 * math/libm-test.inc (j0_test): Add more tests.
4537 (j1_test): Likewise.
4538 (jn_test): Likewise. Add trailing semicolon to existing test.
4539 (y0_test): Likewise.
4540 (y1_test): Likewise.
4541 * sysdeps/i386/fpu/libm-test-ulps: Update.
4542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4546 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4547 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4548 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4549 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4550 (__tanl): Set errno for infinite argument.
4551 * sysdeps/i386/fpu/mptan.c: Remove.
4552 * sysdeps/i386/fpu/s_tan.S: Likewise.
4553 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4554 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4555 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4556 * math/libm-test.inc (tan_test): Add more tests and enable more
4557 tests for double and long double.
4558 * sysdeps/i386/fpu/libm-test-ulps: Update.
4559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4561 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4563 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4564 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4566 2012-03-16 Roland McGrath <roland@hack.frob.com>
4568 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4569 * configure.in: Use it for both main tree and add-ons.
4570 * configure: Regenerated.
4572 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4574 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4576 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4578 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4582 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4583 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4584 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4585 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4586 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4588 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4589 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4591 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4592 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4593 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4594 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4595 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4596 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4597 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4598 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4599 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4600 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4601 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4602 * math/libm-test.inc (cos_test): Add more tests and enable more
4603 tests for long double.
4604 (sin_test): Likewise.
4605 (sincos_test): Likewise.
4606 * sysdeps/i386/fpu/libm-test-ulps: Update.
4607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4609 2012-03-16 David S. Miller <davem@davemloft.net>
4611 * sysdeps/sparc/fpu/math_private.h: New file.
4613 2012-03-15 David S. Miller <davem@davemloft.net>
4615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4629 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4630 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4632 * sysdeps/sparc/sparc-ifunc.h: New file.
4633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4659 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4673 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4678 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4680 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4684 2012-03-15 Andreas Jaeger <aj@suse.de>
4687 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4688 ieee754/flt-32 implementation for sin, cos and sincos.
4689 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4690 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4691 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4692 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4693 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4694 ieee754/flt-32 implementation for tan.
4696 * math/libm-test.inc (cos_test): Enable some large input tests for
4698 (sin_test): Likewise.
4699 (sincos_test): Likewise.
4700 (tan_test): Add tests for large input.
4702 * sysdeps/i386/fpu/libm-test-ulps: Update.
4704 2012-03-15 Andreas Jaeger <aj@suse.de>
4707 * math/libm-test.inc (cos_test): Add more test cases.
4708 (sin_test): Likewise.
4709 (sincos_test): Likewise.
4711 2012-03-15 Andreas Jaeger <aj@suse.de>
4714 * math/libm-test.inc (cos_test): Add a test case for large input
4716 (sin_test): Likewise.
4717 (sincos_test): Likewise.
4719 2012-03-15 Andreas Jaeger <aj@suse.de>,
4720 Joseph Myers <joseph@codesourcery.com>
4723 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4724 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4725 * sysdeps/i386/fpu/branred.c: Likewise.
4726 * sysdeps/i386/fpu/dosincos.c: Likewise.
4727 * sysdeps/i386/fpu/mpa.c: Likewise.
4728 * sysdeps/i386/fpu/s_cos.S: Likewise.
4729 * sysdeps/i386/fpu/s_sin.S: Likewise.
4730 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4731 * sysdeps/i386/fpu/sincos32.c: Likewise.
4733 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4735 (libc_feupdateenv_53bit): Define.
4736 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4738 (libc_feupdateenv_53bit): Define.
4740 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4741 53 bit (without extend i386 double precision).
4743 * math/libm-test.inc (sincos_test): Add tests for large input.
4747 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4749 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4753 2012-03-15 David S. Miller <davem@davemloft.net>
4755 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4756 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4758 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4783 fmin/fmax sysdep routines.
4784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4786 2012-03-14 David S. Miller <davem@davemloft.net>
4788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4793 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4813 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4860 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4865 * sysdeps/sparc/configure.in: New file.
4866 * sysdeps/sparc/configure: Generate.
4867 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4868 * configure: Regenerate.
4869 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4870 * config.make.in (have-as-vis3): New.
4871 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4872 available use -Av9d instead of -Av9a.
4873 * sysdeps/sparc/sparc64/Makefile: Likewise.
4874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4885 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4886 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4889 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4890 fzeros/fnegs to load 0x80000000 into a float register instead of
4892 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4894 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4898 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4899 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4900 ($(inst_includedir)/bits/syscall.h): Remove rule.
4901 ($(objpfx)bits/syscall.d): Include instead of
4902 $(objpfx)syscall-list.d.
4903 (generated): Change syscall-list.h and syscall-list.d to
4904 bits/syscall.h and bits/syscall.d.
4906 2012-03-14 Roland McGrath <roland@hack.frob.com>
4909 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4911 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4914 * math/s_csqrt.c: Include <float.h>.
4915 (__csqrt): Scale large or subnormal inputs.
4916 * math/s_csqrtf.c: Likewise.
4917 * math/s_csqrtl.c: Likewise.
4918 * math/libm-test.inc (csqrt_test): Add more tests.
4919 * sysdeps/i386/fpu/libm-test-ulps: Update.
4920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4923 * math/libm-test.inc (hypot_test): Add more tests.
4925 2012-03-13 David S. Miller <davem@davemloft.net>
4928 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4929 double-precision for the calculation instead of scaling.
4931 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4933 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4934 manipulate bits before adding and subtracting TWO52[sx].
4935 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4936 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4938 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4940 2012-03-13 David S. Miller <davem@davemloft.net>
4942 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4943 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4945 rtld-global-offsets.h
4946 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4948 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4951 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4953 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4954 'err' in the ifdef scope in which it is actually used.
4956 * nss/nss_db/db-init.c: Include string.h
4958 2012-03-12 David S. Miller <davem@davemloft.net>
4960 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4961 masking out of the most significant byte of random value used.
4962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4963 Fix coding style in previous change.
4965 * sysdeps/unix/sysv/linux/kernel-features.h
4966 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4967 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4969 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4972 2012-03-11 David S. Miller <davem@davemloft.net>
4974 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4975 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4976 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4977 for 'resultvar' otherwise things get truncated on 64-bit.
4979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4980 Fix masking out of the most significant byte of random value used.
4982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4984 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4988 2012-03-09 David S. Miller <davem@davemloft.net>
4990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4991 variables with appropriate CPP guards.
4992 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4993 frame pointer, not the stack pointer. Correct layout comments. Fix test
4994 on resulting framesize and the management of the outregs buffer for pltexit.
4995 Preserve floating point return values across _dl_call_pltexit call.
4996 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4997 framesize and the management of the outregs buffer for pltexit.
4998 Preserve floating point return values across _dl_call_pltexit
5000 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5001 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5002 (print_exit): Fix format string for return register value.
5004 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5006 * sunrpc/Makefile (others): Add rpcgen.
5007 ($(objpfx)rpcgen): Remove special build rule and dependency on
5009 * sunrpc/rpcgen.c: New file.
5011 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5014 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5015 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5016 * sysdeps/i386/crti.S: Likewise.
5017 * sysdeps/i386/crtn.S: Likewise.
5018 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5019 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5020 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5021 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5022 * sysdeps/sh/crti.S: Likewise.
5023 * sysdeps/sh/crtn.S: Likewise.
5024 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5027 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5029 * locale/programs/locfile-kw.gperf: Likewise.
5030 * locale/programs/charmap-kw.h: Regenerated.
5031 * locale/programs/locfile-kw.h: Likewise.
5034 * intl/plural.y: Replace FSF snail mail address with URL.
5035 * intl/plural.c: Regenerated.
5037 2012-03-09 Richard Henderson <rth@twiddle.net>
5039 * include/math_private.h: Remove file.
5040 * math/math_private.h: Move file ...
5041 * sysdeps/generic/math_private.h: ... here.
5043 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5044 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5045 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5047 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5048 and <math_private.h>.
5049 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5050 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5051 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5052 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5053 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5054 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5055 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5058 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5060 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5061 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5062 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5063 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5068 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5070 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5071 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5073 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5074 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5075 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5076 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5077 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5078 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5079 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5081 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5082 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5083 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5086 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5087 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5089 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5090 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5091 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5092 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5093 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5094 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5095 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5096 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5097 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5098 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5099 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5100 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5101 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5102 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5103 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5104 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5105 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5106 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5107 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5108 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5109 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5110 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5112 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5113 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5114 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5115 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5116 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5117 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5118 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5129 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5130 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5137 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5138 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5139 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5140 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5141 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5142 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5143 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5144 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5145 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5146 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5147 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5148 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5149 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5150 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5151 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5152 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5154 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5155 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5156 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5157 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5158 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5159 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5160 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5161 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5162 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5163 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5164 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5165 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5166 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5167 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5168 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5169 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5170 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5171 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5172 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5173 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5174 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5175 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5176 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5177 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5178 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5179 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5180 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5181 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5182 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5183 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5184 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5185 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5186 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5187 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5188 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5189 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5190 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5191 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5192 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5193 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5194 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5195 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5196 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5197 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5198 * sysdeps/ieee754/k_standard.c: Likewise.
5199 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5230 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5232 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5240 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5249 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5251 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5252 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5255 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5256 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5257 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5260 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5265 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5266 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5269 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5286 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5294 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5296 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5297 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5314 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5315 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5316 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5318 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5319 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5321 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5325 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5326 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5329 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5330 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5331 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5332 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5333 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5334 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5338 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5340 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5341 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5343 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5345 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5347 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5348 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5349 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5354 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5355 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5357 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5358 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5359 * sysdeps/ieee754/s_lib_version.c: Likewise.
5360 * sysdeps/ieee754/s_matherr.c: Likewise.
5361 * sysdeps/ieee754/s_signgam.c: Likewise.
5362 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5363 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5364 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5365 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5366 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5367 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5368 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5369 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5370 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5371 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5372 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5373 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5374 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5375 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5376 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5377 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5378 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5379 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5380 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5384 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5386 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5387 * sunrpc/rpc_main.c: Likewise.
5388 * sunrpc/rpc_svcout.c: Likewise.
5390 2012-03-09 David S. Miller <davem@davemloft.net>
5392 * include/math_private.h: New file.
5394 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5396 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5397 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5398 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5399 from <bits/socket_type.h>.
5400 (enum __socket_type): Don't define here.
5401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5406 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5409 * Makerules ($(inst_includedir)/%.h): New rule.
5410 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5411 (install-others): Remove variable setting.
5412 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5414 2012-03-08 Richard Henderson <rth@twiddle.net>
5416 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5417 from macro to inline function; merge with the
5418 !__LIBC_INTERNAL_MATH_INLINES version.
5419 (__ieee754_sqrtf): Likewise.
5421 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5423 (__rintf, __floor, __floorf): Likewise.
5425 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5426 macro to inline function.
5427 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5429 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5430 not <math/math_private.h>.
5432 2012-03-08 David S. Miller <davem@davemloft.net>
5434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5436 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5438 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5440 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5442 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5443 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5445 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5447 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5448 be defined individually, they must be defined as a block. Define
5449 S for printing a string instead of hidint the different by using a
5450 macro for adding the 'l'.
5451 * stdio-common/tst-fphex-wide.c: Adjust.
5453 2012-03-07 Marek Polacek <polacek@redhat.com>
5455 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5457 2012-03-08 Marek Polacek <polacek@redhat.com>
5460 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5461 * stdio-common/tst-fphex.c: Define a few macros to make the
5462 test reusable. Use them.
5463 * stdio-common/tst-fphex-wide.c: New file.
5465 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5468 * manual/macros.texi (gnusystems): New macro.
5469 (nongnusystems): Likewise.
5470 (gnulinuxhurdsystems): Likewise.
5471 (gnuhurdsystems): Likewise..
5472 (gnulinuxsystems): Likewise.
5473 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5474 variants of the GNU system, not "GNU system".
5475 * manual/conf.texi: Likewise.
5476 * manual/errno.texi: Likewise. Update example of errno macro
5478 * manual/filesys.texi: Likewise.
5479 (getumask): Document as specific to GNU/Hurd.
5480 * manual/install.texi: Likewise. Reword some references to
5482 * manual/intro.texi: Likewise.
5483 * manual/io.texi: Likewise.
5484 (File Name Portability): Detail which constraints are inapplicable
5485 to all GNU systems and which are only inapplicable to GNU/Hurd.
5486 * manual/job.texi: Likewise.
5487 * manual/llio.texi: Likewise.
5488 (O_NOCTTY): Document as present on GNU/Linux.
5489 * manual/maint.texi: Likewise.
5490 * manual/memory.texi: Likewise.
5491 * manual/pattern.texi: Likewise.
5492 * manual/pipe.texi: Likewise.
5493 * manual/process.texi: Likewise.
5494 * manual/resource.texi: Likewise.
5495 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5497 * manual/setjmp.texi: Likewise.
5498 * manual/signal.texi: Likewise.
5499 * manual/startup.texi: Likewise.
5500 * manual/stdio.texi: Likewise.
5501 * manual/terminal.texi: Likewise.
5502 (ONLCR): Document as POSIX.
5503 (OXTABS): Document availability on GNU/Linux as XTABS.
5504 (ONOEOT): Document availability separately from other bits.
5505 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5506 * manual/time.texi: Likewise.
5507 * manual/users.texi: Likewise.
5508 * INSTALL: Regenerated.
5509 * sysdeps/gnu/errlist.c: Regenerated.
5511 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5512 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5513 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5515 * configure: Regenerated.
5517 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5519 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5520 default includes instead of AC_HEADER_CHECK.
5521 * sysdeps/i386/configure: Regenerated.
5524 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5525 * math/s_cacoshf.c (__cacoshf): Likewise.
5526 * math/s_cacoshl.c (__cacoshl): Likewise.
5527 * math/s_casinh.c (__casinh): Set signs of result from argument.
5528 * math/s_casinhf.c (__casinhf): Likewise.
5529 * math/s_casinhl.c (__casinhl): Likewise.
5530 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5531 (casinh_test): Add more tests.
5532 * sysdeps/i386/fpu/libm-test-ulps: Update.
5533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5535 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5537 * po/zh_TW.po: Update from translation team.
5539 * login/Makefile (distribute): Remove variable.
5540 * catgets/Makefile: Likewise.
5541 * mach/Makefile: Likewise.
5542 * malloc/Makefile: Likewise.
5543 * misc/Makefile: Likewise.
5544 * iconv/Makefile: Likewise.
5545 * nscd/Makefile: Likewise.
5546 * hurd/Makefile: Likewise.
5547 * manual/Makefile: Likewise.
5548 * locale/Makefile: Likewise.
5549 * intl/Makefile: Likewise.
5550 * conform/Makefile: Likewise.
5551 * nss/Makefile: Likewise.
5552 * time/Makefile: Likewise.
5553 * soft-fp/Makefile: Likewise.
5554 * dirent/Makefile: Likewise.
5555 * gmon/Makefile: Likewise.
5556 * po/Makefile: Likewise.
5557 * rt/Makefile: Likewise.
5558 * socket/Makefile: Likewise.
5559 * math/Makefile: Likewise.
5560 * signal/Makefile: Likewise.
5561 * debug/Makefile: Likewise.
5562 * elf/Makefile: Likewise.
5563 * timezone/Makefile: Likewise.
5564 * stdlib/Makefile: Likewise.
5565 * iconvdata/Makefile: Likewise.
5566 * sunrpc/Makefile: Likewise.
5567 * io/Makefile: Likewise.
5568 * argp/Makefile: Likewise.
5569 * inet/Makefile: Likewise.
5570 * hesiod/Makefile: Likewise.
5571 * grp/Makefile: Likewise.
5572 * csu/Makefile: Likewise.
5573 * wctype/Makefile: Likewise.
5574 * crypt/Makefile: Likewise.
5575 * libio/Makefile: Likewise.
5576 * string/Makefile: Likewise.
5577 * nis/Makefile: Likewise.
5578 * resolv/Makefile: Likewise.
5579 * stdio-common/Makefile: Likewise.
5580 * wcsmbs/Makefile: Likewise.
5581 * dlfcn/Makefile: Likewise.
5582 * posix/Makefile: Likewise.
5585 * timezone/Makefile: Don't install timezone files, just the programs
5588 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5590 * nss/databases.def: Add missing gshadow entry.
5592 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5594 2012-03-06 Marek Polacek <polacek@redhat.com>
5597 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5598 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5599 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5600 * stdio-common/tst-long-dbl-fphex.c: New file.
5602 2012-03-06 David S. Miller <davem@davemloft.net>
5604 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5605 (set_obp_int): New function.
5606 (get_obp_int): New function.
5607 (__get_clockfreq_via_dev_openprom): Likewise.
5608 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5609 Avoid unused variable warnings on 'val' and use builtin_expect.
5610 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5612 (INLINE_CLONE_SYSCALL): Likewise.
5614 2012-03-05 David S. Miller <davem@davemloft.net>
5616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5618 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5622 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5626 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5629 Replace gettimeofday with __vdso_gettimeofday.
5631 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5632 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5633 __vdso_clock_gettime and __vdso_getcpu.
5635 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5636 time with __vdso_time.
5638 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5640 * manual/lang.texi (size_t): Note types to which size_t may be
5641 equivalent with the GNU C Library, but do not describe when
5642 differences between them are significant.
5644 2012-03-05 Andreas Jaeger <aj@suse.de>
5646 * sysdeps/i386/fpu/libm-test-ulps: Update.
5648 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5651 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5652 (__ieee754_pow): Save and restore rounding mode and use
5653 round-to-nearest for main computations.
5654 * math/libm-test.inc (pow_test_tonearest): New function.
5655 (pow_test_towardzero): Likewise.
5656 (pow_test_downward): Likewise.
5657 (pow_test_upward): Likewise.
5658 (main): Call the new functions.
5659 * sysdeps/i386/fpu/libm-test-ulps: Update.
5660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5663 * math/libm-test.inc (cosh_test_tonearest): New function.
5664 (cosh_test_towardzero): Likewise.
5665 (cosh_test_downward): Likewise.
5666 (cosh_test_upward): Likewise.
5667 (sinh_test_tonearest): Likewise.
5668 (sinh_test_towardzero): Likewise.
5669 (sinh_test_downward): Likewise.
5670 (sinh_test_upward): Likewise.
5671 (main): Call the new functions.
5672 * sysdeps/i386/fpu/libm-test-ulps: Update.
5673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5675 2012-03-05 Tom de Vries <tom@codesourcery.com>
5677 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5678 default stack guard is set in last bytes.
5679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5681 2012-03-05 Kees Cook <keescook@chromium.org>
5683 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5686 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5687 possibly allocate from heap instead of stack.
5688 * stdio-common/bug-vfprintf-nargs.c: New file.
5689 * stdio-common/Makefile (tests): Add nargs overflow test.
5691 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5695 2012-03-03 Marek Polacek <polacek@redhat.com>
5697 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5698 * math/math_private.h: Likewise.
5699 * stdlib/tst-strtod.c: Likewise.
5700 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5701 * sysdeps/x86_64/bits/atomic.h: Likewise.
5703 2012-03-02 David S. Miller <davem@davemloft.net>
5705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5709 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5710 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5711 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5712 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5714 2012-03-02 Roland McGrath <roland@hack.frob.com>
5717 * manual/examples/README: New file, says the example source files
5718 can be used under GPL>=2.
5719 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5720 line containing just "*/".
5721 * manual/examples/add.c: Add copyright header (GPL>=2).
5722 * manual/examples/argp-ex1.c: Likewise.
5723 * manual/examples/argp-ex2.c: Likewise.
5724 * manual/examples/argp-ex3.c: Likewise.
5725 * manual/examples/argp-ex4.c: Likewise.
5726 * manual/examples/atexit.c: Likewise.
5727 * manual/examples/db.c: Likewise.
5728 * manual/examples/dir.c: Likewise.
5729 * manual/examples/dir2.c: Likewise.
5730 * manual/examples/execinfo.c: Likewise.
5731 * manual/examples/filecli.c: Likewise.
5732 * manual/examples/filesrv.c: Likewise.
5733 * manual/examples/fmtmsgexpl.c: Likewise.
5734 * manual/examples/genpass.c: Likewise.
5735 * manual/examples/inetcli.c: Likewise.
5736 * manual/examples/inetsrv.c: Likewise.
5737 * manual/examples/isockad.c: Likewise.
5738 * manual/examples/longopt.c: Likewise.
5739 * manual/examples/memopen.c: Likewise.
5740 * manual/examples/memstrm.c: Likewise.
5741 * manual/examples/mkfsock.c: Likewise.
5742 * manual/examples/mkisock.c: Likewise.
5743 * manual/examples/mygetpass.c: Likewise.
5744 * manual/examples/pipe.c: Likewise.
5745 * manual/examples/popen.c: Likewise.
5746 * manual/examples/rprintf.c: Likewise.
5747 * manual/examples/search.c: Likewise.
5748 * manual/examples/select.c: Likewise.
5749 * manual/examples/setjmp.c: Likewise.
5750 * manual/examples/sigh1.c: Likewise.
5751 * manual/examples/sigusr.c: Likewise.
5752 * manual/examples/stpcpy.c: Likewise.
5753 * manual/examples/strdupa.c: Likewise.
5754 * manual/examples/strftim.c: Likewise.
5755 * manual/examples/strncat.c: Likewise.
5756 * manual/examples/subopt.c: Likewise.
5757 * manual/examples/swapcontext.c: Likewise.
5758 * manual/examples/termios.c: Likewise.
5759 * manual/examples/testopt.c: Likewise.
5760 * manual/examples/testpass.c: Likewise.
5761 * manual/examples/timeval_subtract.c: Likewise.
5764 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5766 * manual/timeval_subtract.c.texi: ... here, new file.
5768 2012-03-02 David S. Miller <davem@davemloft.net>
5770 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5772 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5775 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5776 (__sin): Save and restore rounding mode and use round-to-nearest
5777 for all computations.
5778 (__cos): Save and restore rounding mode and use round-to-nearest
5779 for all computations.
5780 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5782 (tan): Save and restore rounding mode and use round-to-nearest for
5784 * math/libm-test.inc (cos_test_tonearest): New function.
5785 (cos_test_towardzero): Likewise.
5786 (cos_test_downward): Likewise.
5787 (cos_test_upward): Likewise.
5788 (sin_test_tonearest): Likewise.
5789 (sin_test_towardzero): Likewise.
5790 (sin_test_downward): Likewise.
5791 (sin_test_upward): Likewise.
5792 (tan_test_tonearest): Likewise.
5793 (tan_test_towardzero): Likewise.
5794 (tan_test_downward): Likewise.
5795 (tan_test_upward): Likewise.
5796 (main): Call the new functions.
5797 * sysdeps/i386/fpu/libm-test-ulps: Update.
5798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5801 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5802 small n, then large n, before computing and testing k+n.
5803 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5808 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5809 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5810 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5811 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5812 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5813 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5816 * math/libm-test.inc (scalbn_test): Add more tests.
5817 (scalbln_test): Likewise.
5819 * manual/filesys.texi (mode_t): Describe constraints on size and
5820 signedness, not exact equivalence to a particular type.
5822 (ino64_t): Likewise.
5824 (nlink_t): Likewise.
5825 (blkcnt_t): Likewise.
5826 (blkcnt64_t): Likewise.
5827 * manual/llio.texi (off_t): Likewise.
5830 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5831 (__ieee754_exp): Save and restore rounding mode and use
5832 round-to-nearest for all computations.
5833 * math/libm-test.inc (exp_test_tonearest): New function.
5834 (exp_test_towardzero): Likewise.
5835 (exp_test_downward): Likewise.
5836 (exp_test_upward): Likewise.
5837 (main): Call the new functions.
5838 * sysdeps/i386/fpu/libm-test-ulps: Update.
5839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5841 2012-03-01 Chris Demetriou <cgd@google.com>
5843 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5844 have predictable order.
5846 2012-03-01 David S. Miller <davem@davemloft.net>
5848 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5850 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5851 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5852 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5853 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5855 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5856 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5857 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5859 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5860 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5861 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5862 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5863 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5867 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5868 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5869 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5871 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5872 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5873 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5874 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5875 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5876 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5878 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5879 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5880 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5881 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5882 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5884 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5885 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5887 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5888 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5889 * sysdeps/sparc/elf/configure: Regenerated.
5891 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5893 * configure.in (AS, LD): Require binutils 2.20 or later.
5894 * configure: Regenerated.
5895 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5896 as required minimum version.
5897 * INSTALL: Regenerated.
5901 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5902 before squaring exponent.
5903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5904 bottom long double and 27 bits of top long double before squaring
5906 * math/libm-test.inc (erfc_test): Add more tests.
5907 * sysdeps/i386/fpu/libm-test-ulps: Update.
5908 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5911 2012-03-01 Kai Tietz <ktietz@redhat.com>
5913 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5914 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5915 containing bit-fields.
5916 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5917 * soft-fp/single.h (_FP_UNION_S): Likewise.
5918 * soft-fp/double.h (_FP_UNION_D): Likewise.
5920 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5923 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5924 not include ../strcmp.S.
5925 [USE_AS_STRNCASECMP_L]: Likewise.
5926 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5927 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5928 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5929 (__strncasecmp_l_ia32): Define as alias to
5930 __strncasecmp_l_nonascii.
5933 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5934 * sysdeps/i386/fpu/libm-test-ulps: Update.
5935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5937 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5940 2012-02-29 Jeff Law <law@redhat.com>
5942 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5945 2012-02-29 Marek Polacek <polacek@redhat.com>
5948 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5949 * elf/Makefile: Add rules to run tst-unused-dep.out.
5951 2012-02-28 David S. Miller <davem@davemloft.net>
5953 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5954 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5955 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5956 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5957 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5958 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5960 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5962 * math/libm-test.inc (llround_test): Move one test from
5963 lround_test. Use TEST_f_L in moved test.
5964 (lround_test): Move misplaced test to llround_test. Add testcase
5967 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5969 * sysdeps/x86_64/fpu/e_expf.S: New file.
5970 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5972 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5975 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5976 of remain_len that may cause incomplete multi-byte character and
5978 * posix/bug-regex33.c: New file.
5979 * posix/Makefile (tests): Add bug-regex33.
5981 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5983 * manual/macros.texi: New file.
5984 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5985 * manual/libc.texinfo: Include macros.texi.
5986 * manual/creatute.texi: Likewise.
5987 * manual/install.texi: Likewise.
5988 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5989 @glibcadj{} in references to the GNU C Library.
5990 * manual/charset.texi: Likewise.
5991 * manual/conf.texi: Likewise.
5992 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5993 when not using those macros.
5994 * manual/creature.texi: Likewise.
5995 * manual/crypt.texi: Likewise.
5996 * manual/errno.texi: Likewise.
5997 * manual/filesys.texi: Likewise.
5998 * manual/header.texi: Likewise.
5999 * manual/install.texi: Likewise.
6000 * manual/intro.texi: Likewise.
6001 * manual/io.texi: Likewise.
6002 * manual/job.texi: Likewise.
6003 * manual/lang.texi: Likewise.
6004 * manual/libc.texiinfo: Likewise.
6005 * manual/llio.texi: Likewise.
6006 * manual/locale.texi: Likewise.
6007 * manual/maint.texi: Likewise.
6008 * manual/math.texi: Likewise.
6009 * manual/memory.texi: Likewise.
6010 * manual/message.texi: Likewise.
6011 * manual/nss.texi: Likewise.
6012 * manual/pattern.texi: Likewise.
6013 * manual/process.texi: Likewise.
6014 * manual/resource.texi: Likewise.
6015 * manual/search.texi: Likewise.
6016 * manual/setjmp.texi: Likewise.
6017 * manual/signal.texi: Likewise.
6018 * manual/socket.texi: Likewise.
6019 * manual/startup.texi: Likewise.
6020 * manual/stdio.texi: Likewise.
6021 * manual/string.texi: Likewise.
6022 * manual/sysinfo.texi: Likewise.
6023 * manual/syslog.texi: Likewise.
6024 * manual/terminal.texi: Likewise.
6025 * manual/time.texi: Likewise.
6026 * manual/users.texi: Likewise.
6027 * INSTALL: Regenerated.
6028 * NOTES: Regenerated.
6029 * sysdeps/gnu/errlist.c: Regenerated.
6031 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6033 * include/dirent.h: Include <dirstream.h> before
6036 2012-02-28 David S. Miller <davem@davemloft.net>
6038 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6039 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6040 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6041 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6043 2012-02-27 David S. Miller <davem@davemloft.net>
6045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6047 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6048 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6051 frame pointer instead of stack pointer relative arg slot.
6052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6053 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6054 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6056 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6059 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6061 2012-02-27 David S. Miller <davem@davemloft.net>
6063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6067 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6068 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6069 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6070 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6072 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6074 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6075 later. Allow versions 5-9.
6076 * configure: Regenerated.
6077 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6078 required minimum version and 4.6 as recommended version. Do not
6079 mention bugs in GCC 2.7 and 2.8.
6080 * INSTALL: Regenerated.
6082 2012-02-27 David S. Miller <davem@davemloft.net>
6084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6088 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6089 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6090 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6091 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6094 manipulate bits before adding and subtracting TWO112[sx].
6095 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6097 2012-02-27 Roland McGrath <roland@hack.frob.com>
6100 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6101 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6102 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6103 being in POSIX, because they are in 1003.1-2008.
6105 * rt/tst-aio.c: Include <fcntl.h>.
6106 * rt/tst-aio7.c: Likewise.
6107 * rt/tst-aio64.c: Likewise.
6109 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6111 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6113 * manual/install.texi (--with-headers): Describe headers as
6114 interface headers, not private headers.
6115 (Specific advice for GNU/Linux systems): Describe use of headers
6116 from "make headers_install", not private headers from older
6118 * INSTALL: Regenerated.
6119 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6121 * sysdeps/unix/sysv/linux/configure: Regenerated.
6123 * manual/llio.texi (fclean): Remove documentation.
6125 * manual/Makefile (libc-texi-generated): New variable. Include
6127 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6128 $(libc-texi-generated), not duplicated list of files.
6129 (version.texi, stamp-version): New rules.
6130 (realclean): Remove $(libc-texi-generated), not individual files
6131 from that list. Do not remove dir-add.texinfo.
6132 * manual/libc.texinfo: Comment out uses of edition numbers and
6133 references to printed manual. Remove last-updated dates.
6134 (EDITION): Comment out.
6136 (VERSION, UPDATED): Remove.
6137 (version.texi): Include.
6139 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6141 * sysdeps/posix/spawni.c: Include <signal.h>.
6142 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6143 * sysdeps/pthread/aio_fsync.c: Likewise.
6145 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6147 * conform/Makefile (tests): Run only when not cross-compiling and
6148 when fast-check is not defined.
6150 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6151 * conform/data/limits.h-data: Fixes for POSIX2008.
6152 * conform/run-conformtest.sh: Run all tests.
6153 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6155 * include/bits/dlfcn.h: Likewise.
6156 * include/langinfo.h: Likewise.
6157 * include/monetary.h: Likewise.
6158 * include/sys/poll.h: Likewise.
6160 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6162 * posix/spawn.h: Define __need_sigset_t.
6163 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6164 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6165 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6166 to get sigevent_t only.
6167 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6170 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6171 process_vm_writev only for __USE_GNU.
6172 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6174 * conform/Makefile: For now ignore errors from run-conformtest.
6175 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6176 POSIX to avoid namespace pollution. Don't prepend headers.
6177 * conform/data/aio.h-data: Fixes for POSIX testing.
6178 * conform/data/fcntl.h-data: Likewise.
6179 * conform/data/glob.h-data: Likewise.
6180 * conform/data/grp.h-data: Likewise.
6181 * conform/data/pthread.h-data: Likewise.
6182 * conform/data/pwd.h-data: Likewise.
6183 * conform/data/signal.h-data: Likewise.
6184 * conform/data/spawn.h-data: Likewise.
6185 * conform/data/stdio.h-data: Likewise.
6186 * conform/data/stdlib.h-data: Likewise.
6187 * conform/data/stropts.h-data: Likewise.
6188 * conform/data/sys/mman.h-data: Likewise.
6189 * conform/data/sys/stat.h-data: Likewise.
6190 * conform/data/sys/types.h-data: Likewise.
6191 * conform/data/sys/wait.h-data: Likewise.
6192 * conform/data/time.h-data: Likewise.
6193 * conform/data/unistd.h-data: Likewise.
6194 * conform/data/utime.h-data: Likewise.
6196 * io/sys/stat.h: fchmod was always in POSIX.
6197 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6198 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6199 * rt/aio.h: Define __need_timespec before including <time.h>.
6200 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6201 struct. Add forward declaration of pthread_attr_t and use it in
6203 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6204 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6205 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6206 always remove CLK_TCK definition.
6208 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6210 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6212 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6214 * conform/run-conformtest.sh: New file.
6215 * conform/Makefile: Run run-conformtest for tests.
6216 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6219 * conform/data/uchar.h-data: New file.
6220 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6221 * conform/data/arpa/inet.h-data: Likewise.
6222 * conform/data/assert.h-data: Likewise.
6223 * conform/data/complex.h-data: Likewise.
6224 * conform/data/cpio.h-data: Likewise.
6225 * conform/data/ctype.h-data: Likewise.
6226 * conform/data/dirent.h-data: Likewise.
6227 * conform/data/dlfcn.h-data: Likewise.
6228 * conform/data/errno.h-data: Likewise.
6229 * conform/data/fcntl.h-data: Likewise.
6230 * conform/data/float.h-data: Likewise.
6231 * conform/data/fmtmsg.h-data: Likewise.
6232 * conform/data/fnmatch.h-data: Likewise.
6233 * conform/data/ftw.h-data: Likewise.
6234 * conform/data/glob.h-data: Likewise.
6235 * conform/data/grp.h-data: Likewise.
6236 * conform/data/iconv.h-data: Likewise.
6237 * conform/data/inttypes.h-data: Likewise.
6238 * conform/data/langinfo.h-data: Likewise.
6239 * conform/data/libgen.h-data: Likewise.
6240 * conform/data/limits.h-data: Likewise.
6241 * conform/data/locale.h-data: Likewise.
6242 * conform/data/math.h-data: Likewise.
6243 * conform/data/monetary.h-data: Likewise.
6244 * conform/data/mqueue.h-data: Likewise.
6245 * conform/data/ndbm.h-data: Likewise.
6246 * conform/data/net/if.h-data: Likewise.
6247 * conform/data/netdb.h-data: Likewise.
6248 * conform/data/netinet/in.h-data: Likewise.
6249 * conform/data/nl_types.h-data: Likewise.
6250 * conform/data/poll.h-data: Likewise.
6251 * conform/data/pthread.h-data: Likewise.
6252 * conform/data/pwd.h-data: Likewise.
6253 * conform/data/regex.h-data: Likewise.
6254 * conform/data/sched.h-data: Likewise.
6255 * conform/data/search.h-data: Likewise.
6256 * conform/data/semaphore.h-data: Likewise.
6257 * conform/data/setjmp.h-data: Likewise.
6258 * conform/data/signal.h-data: Likewise.
6259 * conform/data/spawn.h-data: Likewise.
6260 * conform/data/stdarg.h-data: Likewise.
6261 * conform/data/stdio.h-data: Likewise.
6262 * conform/data/stdlib.h-data: Likewise.
6263 * conform/data/string.h-data: Likewise.
6264 * conform/data/strings.h-data: Likewise.
6265 * conform/data/stropts.h-data: Likewise.
6266 * conform/data/sys/ipc.h-data: Likewise.
6267 * conform/data/sys/mman.h-data: Likewise.
6268 * conform/data/sys/msg.h-data: Likewise.
6269 * conform/data/sys/resource.h-data: Likewise.
6270 * conform/data/sys/select.h-data: Likewise.
6271 * conform/data/sys/sem.h-data: Likewise.
6272 * conform/data/sys/shm.h-data: Likewise.
6273 * conform/data/sys/socket.h-data: Likewise.
6274 * conform/data/sys/stat.h-data: Likewise.
6275 * conform/data/sys/statvfs.h-data: Likewise.
6276 * conform/data/sys/time.h-data: Likewise.
6277 * conform/data/sys/timeb.h-data: Likewise.
6278 * conform/data/sys/times.h-data: Likewise.
6279 * conform/data/sys/types.h-data: Likewise.
6280 * conform/data/sys/uio.h-data: Likewise.
6281 * conform/data/sys/un.h-data: Likewise.
6282 * conform/data/sys/utsname.h-data: Likewise.
6283 * conform/data/sys/wait.h-data: Likewise.
6284 * conform/data/syslog.h-data: Likewise.
6285 * conform/data/tar.h-data: Likewise.
6286 * conform/data/termios.h-data: Likewise.
6287 * conform/data/utime.h-data: Likewise.
6288 * conform/data/utmpx.h-data: Likewise.
6289 * conform/data/varargs.h-data: Likewise.
6290 * conform/data/wchar.h-data: Likewise.
6291 * conform/data/wctype.h-data: Likewise.
6292 * conform/data/wordexp.h-data: Likewise.
6294 * include/stropts.h: New file.
6295 * include/uchar.h: New file.
6296 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6297 * include/assert.h: Likewise.
6298 * include/ctype.h: Likewise.
6299 * include/dirent.h: Likewise.
6300 * include/dlfcn.h: Likewise.
6301 * include/fcntl.h: Likewise.
6302 * include/fnmatch.h: Likewise.
6303 * include/glob.h: Likewise.
6304 * include/grp.h: Likewise.
6305 * include/libio.h: Likewise.
6306 * include/locale.h: Likewise.
6307 * include/math.h: Likewise.
6308 * include/net/if.h: Likewise.
6309 * include/netdb.h: Likewise.
6310 * include/netinet/in.h: Likewise.
6311 * include/pthread.h: Likewise.
6312 * include/pwd.h: Likewise.
6313 * include/regex.h: Likewise.
6314 * include/sched.h: Likewise.
6315 * include/search.h: Likewise.
6316 * include/setjmp.h: Likewise.
6317 * include/signal.h: Likewise.
6318 * include/stdio.h: Likewise.
6319 * include/stdlib.h: Likewise.
6320 * include/string.h: Likewise.
6321 * include/sys/cdefs.h: Likewise.
6322 * include/sys/mman.h: Likewise.
6323 * include/sys/msg.h: Likewise.
6324 * include/sys/resource.h: Likewise.
6325 * include/sys/select.h: Likewise.
6326 * include/sys/socket.h: Likewise.
6327 * include/sys/stat.h: Likewise.
6328 * include/sys/statvfs.h: Likewise.
6329 * include/sys/time.h: Likewise.
6330 * include/sys/times.h: Likewise.
6331 * include/sys/uio.h: Likewise.
6332 * include/sys/utsname.h: Likewise.
6333 * include/sys/wait.h: Likewise.
6334 * include/termios.h: Likewise.
6335 * include/time.h: Likewise.
6336 * include/ulimit.h: Likewise.
6337 * include/unistd.h: Likewise.
6338 * include/utime.h: Likewise.
6339 * include/wchar.h: Likewise.
6340 * include/wctype.h: Likewise.
6341 * include/wordexp.h: Likewise.
6343 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6345 * time/time.h: TIME_UTC must be a macro.
6346 Make timespec_get available for ISO C11 only as well.
6348 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6350 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6351 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6353 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6355 * configure.in: Use -o not -a in test for unsupported multi-arch.
6357 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6359 * manual/texinfo.tex: Update to version 2012-01-19.16.
6361 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6363 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6365 2012-02-24 Roland McGrath <roland@hack.frob.com>
6368 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6369 * manual/fdl-1.3.texi: New file.
6370 * manual/fdl-1.1.texi: File removed.
6373 * manual/libc.texinfo (FDL_VERSION): New @set.
6374 Use it for mention of FDL in cover text.
6375 (Documentation License): Use it in @include file name.
6377 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6378 Roland McGrath <roland@hack.frob.com>
6381 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6382 not LONG_LONG_MAX and LONG_LONG_MIN.
6383 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6384 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6386 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6388 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6392 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6393 manipulate bits before adding and subtracting TWO23[sx].
6394 * math/libm-test.inc (nearbyint_test): Add more tests.
6396 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6399 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6400 bits before adding and subtracting TWO23[sx].
6401 * math/libm-test.inc (rint_test): Add more tests.
6402 (rint_test_tonearest): Likewise.
6403 (rint_test_towardzero): Likewise.
6404 (rint_test_downward): Likewise.
6405 (rint_test_upward: Likewise.
6407 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6410 * include/stdc-predef.h: New file. Extracted from features.h.
6411 * include/features.h: Include stdc-predef.h.
6412 * Makefile (headers): Add stdc-predef.h.
6413 * CONFORMANCE (Compiler limitations): Update.
6415 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6417 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6419 2012-02-21 David S. Miller <davem@davemloft.net>
6421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6422 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6424 2012-02-20 David S. Miller <davem@davemloft.net>
6426 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6427 using a normal save/restore sequence, rather than allocating a
6428 dummy stack frame just to store a frame pointer and restore.
6429 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6431 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6433 * manual/install.texi: Fix stray word in line-wrapped comment.
6435 2012-02-20 David S. Miller <davem@davemloft.net>
6437 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6438 both binutils and gcc support GOTDATA.
6440 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6441 "rd %pc" in the PIC register setup sequences.
6443 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6444 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6445 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6446 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6447 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6452 (SYSCALL_ERROR_HANDLER): Likewise.
6453 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6456 (SYSCALL_ERROR_HANDLER): Likewise.
6458 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6459 (HAVE_GCC_GOTDATA): New.
6460 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6461 relocation support in both binutils and gcc.
6462 * sysdeps/sparc/elf/configure: Regenerate.
6464 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6465 * sysdeps/sparc/sparc32/elf/configure: Delete.
6466 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6467 * sysdeps/sparc/sparc64/elf/configure: Delete.
6468 * sysdeps/sparc/elf/configure.in: New file.
6469 * sysdeps/sparc/elf/configure: Generate.
6471 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6472 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6473 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6474 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6475 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6477 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6479 * manual/install.texi: Do not mention specific glibc version
6481 * manual/libc.texinfo (VERSION, UPDATED): Update.
6482 (@copying): Use @copyright{} and range of years.
6484 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6487 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6488 [crti.S not in sysdirs] (generated): Do not append.
6489 [crti.S not in sysdirs] (omit-deps): Likewise.
6490 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6491 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6492 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6493 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6494 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6496 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6497 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6498 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6499 * csu/defs.awk: Remove file.
6500 * sysdeps/generic/initfini.c: Likewise.
6501 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6503 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6506 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6508 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6509 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6510 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6511 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6512 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6513 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6515 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6516 (__EPOLL_PACKED): Define to empty if not defined by
6518 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6522 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6524 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6525 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6526 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6527 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6529 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6533 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6535 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6537 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6538 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6539 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6542 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6544 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6545 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6547 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6549 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6550 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6552 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6554 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6557 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6559 * math/w_acos.c: Use non-signaling floating-point comparisons.
6560 * math/w_acosf.c: Likewise.
6561 * math/w_acosh.c: Likewise.
6562 * math/w_acoshf.c: Likewise.
6563 * math/w_acoshl.c: Likewise.
6564 * math/w_acosl.c: Likewise.
6565 * math/w_asin.c: Likewise.
6566 * math/w_asinf.c: Likewise.
6567 * math/w_asinl.c: Likewise.
6568 * math/w_atanh.c: Likewise.
6569 * math/w_atanhf.c: Likewise.
6570 * math/w_atanhl.c: Likewise.
6571 * math/w_exp2.c: Likewise.
6572 * math/w_exp2f.c: Likewise.
6573 * math/w_exp2l.c: Likewise.
6574 * math/w_j0.c: Likewise.
6575 * math/w_j0f.c: Likewise.
6576 * math/w_j0l.c: Likewise.
6577 * math/w_j1.c: Likewise.
6578 * math/w_j1f.c: Likewise.
6579 * math/w_j1l.c: Likewise.
6580 * math/w_jn.c: Likewise.
6581 * math/w_jnf.c: Likewise.
6582 * math/w_log.c: Likewise.
6583 * math/w_log10.c: Likewise.
6584 * math/w_log10f.c: Likewise.
6585 * math/w_log10l.c: Likewise.
6586 * math/w_log2.c: Likewise.
6587 * math/w_log2f.c: Likewise.
6588 * math/w_log2l.c: Likewise.
6589 * math/w_logf.c: Likewise.
6590 * math/w_logl.c: Likewise.
6591 * math/w_sqrt.c: Likewise.
6592 * math/w_sqrtf.c: Likewise.
6593 * math/w_sqrtl.c: Likewise.
6594 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6595 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6597 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6598 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6600 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6603 * manual/string.texi (strnlen): Use correct parameter name in
6604 equivalent expression.
6606 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6609 * manual/users.texi (seteuid): Consistently use neweuid for
6612 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6615 * manual/nss.texi (Services in the NSS configuration): Correct
6616 list of services in example configuration file.
6618 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6621 * manual/arith.texi: Remove statements about negative zero
6622 behaving identically to zero.
6624 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6627 * manual/install.texi: Do not document upgrading from libc5.
6629 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6632 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6634 2012-02-18 David S. Miller <davem@davemloft.net>
6636 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6637 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6638 %o7 across the call.
6639 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6644 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6645 * sysdeps/sparc/crtn.S: Likewise.
6647 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6649 * aout/Makefile: Remove.
6651 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6654 * manual/examples/argp-ex1.c (main): Format definition in GNU
6656 * manual/examples/argp-ex2.c (main): Likewise.
6657 * manual/examples/argp-ex3.c (main): Likewise.
6658 * manual/examples/argp-ex4.c (main): Likewise.
6659 * manual/examples/longopt.c (main): Use new-style prototype
6661 * manual/examples/strncat.c (main): Specify return type and use
6662 (void) for arguments.
6663 * manual/examples/subopt.c (main): Use char **argv argument.
6665 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6668 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6671 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6674 * manual/string.texi (strchr): Change when strchrnul is
6677 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6680 * manual/locale.texi (setlocale): Document LOCPATH.
6682 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6685 * manual/process.texi (execle): Move @dots{} before last argument.
6687 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6690 * manual/charset.texi (Generic Charset Conversion): Fix typo
6691 (LC_TYPE -> LC_CTYPE).
6693 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6696 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6697 (scalbnf): Likewise.
6698 (scalbnl): Likewise.
6699 (scalbln): Likewise.
6700 (scalblnf): Likewise.
6701 (scalblnl): Likewise.
6702 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6706 * manual/filesys.texi (telldir): Use braces around return type.
6707 * manual/llio.texi (mmap): Add space after comma.
6709 * manual/math.texi (jn): Use @var{} on parameter names.
6715 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6717 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6719 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6720 (sched_get_priority_max): Likewise.
6721 * manual/signal.texi (sigvec): Add space after comma.
6722 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6724 (if_indextoname): Likewise.
6725 (if_freenameindex): Likewise.
6726 (sendto): Use ',' instead of '.' in prototype.
6727 * manual/startup.texi (syscall): Use @dots{} instead of literal
6729 * manual/stdio.texi (__fpending): Separate initial words of
6730 paragraph from @deftypefun line.
6731 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6733 (vsyslog): Use @var{} on parameter names.
6734 * manual/terminal.texi (stty): Use @var{} on parameter names.
6735 * manual/users.texi (getutmp): Use @var{} on parameter names.
6736 (getutmpx): Likewise.
6738 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6741 * manual/stdio.texi (fopen): Fix typos in description of
6744 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6747 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6748 get clock_id definition.
6750 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6753 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6754 (madvise): Cast every argument to void on its own.
6756 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6759 * manual/startup.texi (Exit Status): Fix typo.
6761 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6764 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6765 * manual/examples/argp-ex2.c: Likewise.
6766 * manual/examples/argp-ex3.c: Likewise.
6768 2012-02-16 Richard Henderson <rth@redhat.com>
6770 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6771 * sysdeps/s390/s390-32/initfini.c: Remove.
6772 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6773 * sysdeps/s390/s390-64/initfini.c: Remove.
6775 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6777 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6778 compiler output for sysdeps/generic/initfini.c.
6779 * sysdeps/sh/elf/initfini.c: Remove file.
6781 2012-02-16 David S. Miller <davem@davemloft.net>
6784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6786 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6787 * sysdeps/sparc/crti.S: New file.
6788 * sysdeps/sparc/crtn.S: New file.
6789 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6790 * sysdeps/sparc/sparc64/Makefile: Likewise.
6792 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6795 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6797 2012-02-15 Roland McGrath <roland@hack.frob.com>
6800 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6802 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6803 (write, read, close): Likewise.
6804 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6806 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6808 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6809 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6810 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6811 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6813 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6817 2012-02-14 Marek Polacek <polacek@redhat.com>
6819 * sysdeps/x86_64/crti.S: New file.
6820 * sysdeps/x86_64/crtn.S: New file.
6821 * sysdeps/x86_64/elf/initfini.c: Remove file.
6823 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6825 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6826 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6828 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6830 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6834 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6836 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6837 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6838 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6839 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6841 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6845 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6847 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6848 __feraiseexcept instead of feraiseexcept.
6850 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6851 nanosleep invocations.
6852 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6853 strings, and add error checking for a nanosleep invocations.
6855 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6857 Replace FSF snail mail address with URLs, as per GNU coding standards.
6858 Most of the snail mail addresses were wrong anyway, and omitting
6859 them makes the source code easier to maintain. Almost all of the
6860 changes are to license notices and to locale LC_IDENTIFICATION
6861 addresses, except for this one:
6862 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6863 not its snail mail address.
6865 2012-02-09 Richard Henderson <rth@twiddle.net>
6867 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6868 of kernel-features.h.
6870 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6872 2012-02-08 Marek Polacek <polacek@redhat.com>
6874 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6875 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6876 * sysdeps/gnu/_G_config.h: Likewise.
6877 * sysdeps/generic/_G_config.h: Likewise.
6879 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6881 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6885 * sysdeps/powerpc/powerpc32/crti.S: New file.
6886 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6887 * sysdeps/powerpc/powerpc64/crti.S: New file.
6888 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6890 * Makeconfig (have-initfini): Don't set.
6891 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6892 * configure.in (nopic_initfini): Don't substitute.
6893 * config.h.in (HAVE_INITFINI): Don't #undef.
6894 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6895 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6897 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6899 Support crti.S and crtn.S provided directly by architectures.
6900 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6901 [crti.S in sysdirs] (omit-deps): Likewise.
6902 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6903 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6904 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6905 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6906 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6907 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6908 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6909 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6910 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6911 compiler output for sysdeps/generic/initfini.c.
6912 * sysdeps/i386/elf/Makefile: Remove file.
6913 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6915 2012-02-07 Marek Polacek <polacek@redhat.com>
6917 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6918 * sysdeps/gnu/_G_config.h: Likewise.
6919 * sysdeps/mach/hurd/_G_config.h: Likewise.
6921 2012-02-07 Marek Polacek <polacek@redhat.com>
6923 * math/Makefile (tests): Add tst-CMPLX2.
6924 * math/tst-CMPLX2.c: New file.
6926 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6928 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6930 * math/libm-test.inc (jn_test): Add missing L suffix.
6932 2012-02-06 Marek Polacek <polacek@redhat.com>
6934 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6935 * sysdeps/i386/fpu/e_powf.S: Likewise.
6936 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6937 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6938 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6939 * sysdeps/i386/fpu/e_pow.S: Likewise.
6940 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6941 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6942 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6943 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6944 * sysdeps/i386/fpu/e_log2.S: Likewise.
6945 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6946 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6947 * sysdeps/i386/fpu/e_powl.S: Likewise.
6948 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6949 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6950 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6951 * sysdeps/i386/fpu/e_logl.S: Likewise.
6952 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6953 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6954 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6955 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6956 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6957 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6958 * sysdeps/i386/fpu/e_log.S: Likewise.
6959 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6960 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6961 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6962 * sysdeps/i386/fpu/e_logf.S: Likewise.
6963 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6964 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6965 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6966 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6967 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6968 * sysdeps/i386/fpu/e_log10.S: Likewise.
6969 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6970 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6971 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6972 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6973 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6974 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6975 * sysdeps/i386/asm-syntax.h: Likewise.
6976 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6978 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6979 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6980 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6981 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6982 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6983 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6984 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6985 * sysdeps/powerpc/sysdep.h: Likewise.
6986 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6987 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6989 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6992 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6994 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6996 * sysdeps/i386/sysdep.h: Include <features.h>.
6997 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7000 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7002 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7004 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7007 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7009 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7010 (SETUP_PIC_REG): Use GET_PC_THUNK.
7011 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7014 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7016 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7017 for non-PIC compilation.
7018 (SETUP_PIC_REG): Add .p2align directive.
7019 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7020 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7021 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7022 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7023 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7024 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7026 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7027 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7028 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7029 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7030 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7031 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7032 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7033 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7034 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7035 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7036 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7037 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7038 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7039 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7040 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7041 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7042 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7043 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7045 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7046 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7047 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7048 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7049 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7050 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7051 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7052 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7053 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7054 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7055 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7056 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7057 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7058 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7059 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7061 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7063 * math/tst-CMPLX.c: Include <stdio.h>.
7065 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7067 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7069 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7070 * sysdeps/sparc/bits/mathdef.h: Likewise.
7072 2012-01-31 Marek Polacek <polacek@redhat.com>
7074 * libio/libio.h: Don't define _PARAMS.
7075 * locale/programs/config.h: Don't define PARAMS.
7076 * stdlib/strtol_l.c: Likewise.
7077 (__strtol_l): Remove PARAMS from the prototype.
7079 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7081 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7082 names. Just use the correct names. Remove unnecessary wrapper
7084 * malloc/arena.c: Likewise.
7085 * malloc/hooks.c: Likewise.
7087 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7088 ARENA_TEST says not to. Simplify test for creation of a new arena.
7089 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7091 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7093 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7095 (update_get_addr): New function.
7096 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7097 GET_ADDR_MODULE parameter.
7099 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7101 * crypt/cert.c: Remove __STDC__ conditionals.
7102 * crypt/crypt-entry.c: Likewise.
7103 * crypt/crypt_util.c: Likewise.
7104 * libio/filedoalloc.c: Likewise.
7105 * libio/fileops.c: Likewise.
7106 * libio/genops.c: Likewise.
7107 * libio/iofclose.c: Likewise.
7108 * libio/iofdopen.c: Likewise.
7109 * libio/iofopen.c: Likewise.
7110 * libio/iofopen64.c: Likewise.
7111 * libio/iogetdelim.c: Likewise.
7112 * libio/iopopen.c: Likewise.
7113 * libio/obprintf.c: Likewise.
7114 * libio/oldfileops.c: Likewise.
7115 * libio/oldiofclose.c: Likewise.
7116 * libio/oldiofdopen.c: Likewise.
7117 * libio/oldiofopen.c: Likewise.
7118 * libio/oldiopopen.c: Likewise.
7119 * libio/wfiledoalloc.c: Likewise.
7120 * libio/wgenops.c: Likewise.
7121 * locale/programs/xmalloc.c: Likewise.
7122 * misc/syslog.c: Likewise.
7123 * stdio-common/xbug.c: Likewise.
7124 * string/memchr.c: Likewise.
7125 * string/memcmp.c: Likewise.
7126 * string/memrchr.c: Likewise.
7127 * string/rawmemchr.c: Likewise.
7128 * sysdeps/posix/getcwd.c: Likewise.
7129 * time/strftime_l.c: Likewise.
7131 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7133 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7134 * config.make.in (config-cflags-sse2avx): Define.
7135 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7138 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7140 * scripts/config.guess: Update from upstream config git repository.
7141 * scripts/config.sub: Likewise.
7143 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7145 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7147 (R_TILEPRO_*, R_TILEGX_*): New macros.
7149 * scripts/firstversions.awk: Fix bug in version range handling.
7151 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7153 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7155 * include/sys/epoll.h: New file.
7156 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7159 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7161 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7162 Avoid unnecessary __WORDSIZE == 64 test.
7163 (fmaxf): Use VEX format if possible.
7168 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7169 * math/math_private.h: Remove libc_fegetround* and
7171 * sysdeps/i386/configure.in: Check for -msse2avx.
7172 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7173 also if SSE2AVX is defined.
7174 Remove libc_fegetround* and libc_fesetround*.
7175 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7176 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7177 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7179 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7180 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7181 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7185 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7187 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7189 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7191 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7193 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7196 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7198 * Makeconfig (libm): Define.
7199 * elf/Makefile: Add rules to build and run tst-relsort1.
7200 * elf/tst-relsort1.c: New file.
7201 * elf/tst-relsort1mod1.c: New file.
7202 * elf/tst-relsort1mod2.c: New file.
7204 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7206 * math/s_ldexp.c: Remove __STDC__ conditionals.
7207 * math/s_ldexpf.c: Likewise.
7208 * math/s_ldexpl.c: Likewise.
7209 * math/s_nextafter.c: Likewise.
7210 * math/s_nexttowardf.c: Likewise.
7211 * math/s_significand.c: Likewise.
7212 * math/s_significandf.c: Likewise.
7213 * math/s_significandl.c: Likewise.
7214 * math/w_jnl.c: Likewise.
7215 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7216 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7217 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7218 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7219 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7221 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7223 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7224 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7225 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7228 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7229 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7230 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7231 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7232 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7234 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7235 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7236 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7237 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7238 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7239 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7240 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7241 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7242 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7243 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7244 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7245 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7246 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7247 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7248 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7249 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7250 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7251 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7252 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7253 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7254 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7255 * sysdeps/ieee754/k_standard.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7260 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7304 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7305 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7313 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7314 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7317 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7322 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7329 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7330 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7331 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7334 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7335 * sysdeps/ieee754/s_matherr.c: Likewise.
7336 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7337 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7341 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7343 * crypt/md5.h: Remove __STDC__ conditionals.
7344 * libio/libioP.h: Likewise.
7345 * locale/programs/config.h: Likewise.
7346 * sysdeps/generic/sysdep.h: Likewise.
7347 * sysdeps/i386/asm-syntax.h: Likewise.
7348 * sysdeps/s390/asm-syntax.h: Likewise.
7349 * sysdeps/unix/sysdep.h: Likewise.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7353 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7355 * libio/libio.h: Remove __STDC__ conditionals.
7356 * malloc/obstack.h: Likewise.
7357 * math/complex.h: Likewise.
7358 * math/math.h: Likewise.
7359 * sysdeps/generic/_G_config.h: Likewise.
7360 * sysdeps/gnu/_G_config.h: Likewise.
7361 * sysdeps/mach/hurd/_G_config.h: Likewise.
7362 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7363 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7364 * sysdeps/sparc/bits/mathdef.h: Likewise.
7366 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7369 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7370 Clean up HAS_* macros.
7371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7372 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7376 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7377 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7378 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7379 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7380 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7382 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7384 * elf/tst-unique3.cc (gets): Remove declaration.
7385 * elf/tst-unique3lib.cc (gets): Likewise.
7386 * elf/tst-unique3lib2.cc (gets): Likewise.
7387 * elf/tst-unique4.cc (gets): Likewise.
7389 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7391 * include/stdio.h: Add C++ protection. Add gets declarations and
7393 * debug/tst-chk1.c: Don't declare gets here.
7394 * stdio-common/tst-gets.c: Likewise.
7396 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7398 * posix/glob: Remove directory.
7400 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7402 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7404 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7406 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7407 of the non-standard EPFNOSUPPORT.
7409 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7411 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7412 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7413 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7415 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7417 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7419 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7421 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7423 * nscd/grpcache.c (cache_addgr): Likewise.
7424 * nscd/hstcache.c (cache_addhst): Likewise.
7425 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7426 * nscd/pwdcache.c (cache_addpw): Likewise.
7427 * nscd/servicescache.c (cache_addserv): Likewise.
7429 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7431 * malloc/malloc.c: Various cleanups.
7432 * malloc/hooks.c: Likewise.
7434 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7435 * stdlib/bug-fmtmsg1.c: New file.
7437 * stdlib/fmtmsg.c (init): Add missing unlock.
7438 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7440 2012-01-12 Marek Polacek <polacek@redhat.com>
7442 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7445 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7447 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7448 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7449 macro to ensure uniqueness of label name.
7450 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7451 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7453 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7455 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7457 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7458 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7459 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7462 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7464 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7466 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7467 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7470 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7472 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7473 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7474 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7475 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7477 * math/bits/math-finite.h: Add ldexp support.
7479 2012-01-10 Marek Polacek <polacek@redhat.com>
7481 * locale/programs/localedef.h (show_archive_content): Add noreturn
7484 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7486 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7488 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7490 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7492 * io/Makefile (headers): Add bits/poll2.h.
7494 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7497 typo #include statement.
7499 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7501 * include/sys/cdefs.h: Define __attribute_alloc_size.
7502 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7503 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7504 * elf/pldd.c: Likewise.
7505 * iconv/iconv_charmap.c: Likewise.
7506 * iconv/iconvconfig.c: Likewise.
7507 * iconv/strtab.c: Likewise.
7508 * locale/programs/locale.c: Likewise.
7509 * locale/programs/localedef.h: Likewise.
7510 * locale/programs/simple-hash.c: Likewise.
7511 * nscd/nscd.h: Likewise.
7512 * nss/makedb.c: Likewise.
7513 * sysdeps/generic/ldconfig.h: Likewise.
7514 * locale/programs/localedef.c: Remove xmalloc prototype.
7515 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7517 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7519 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7522 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7524 * math/Makefile (tests): Add tst-CMPLX.
7525 * math/tst-CMPLX.c: New file.
7527 * math/complex.h (CMPLXL): Fix typo.
7529 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7530 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7532 * debug/tst-chk1.c: Add poll and ppoll tests.
7533 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7534 * include/sys/poll.h: Add hidden proto for ppoll.
7535 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7536 * sysdeps/mach/hurd/ppoll.c: Likewise.
7537 * io/ppoll.c: Likewise.
7538 * debug/poll_chk.c: New file.
7539 * debug/ppoll_chk.c: New file.
7540 * include/bits/poll2.h: New file.
7541 * io/bits/poll2.h: New file.
7544 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7546 * configure.in: static is always set to yes. Remove.
7547 * config.make.in: Don't set build-static.
7548 * Makeconfig: Remove use of build-static.
7549 * dlfcn/Makefile: Likewise.
7550 * elf/Makefile: Likewise.
7551 * math/Makefile: Likewise.
7552 * misc/Makefile: Likewise.
7553 * nptl/Makefile: Likewise.
7554 * sysdeps/mach/hurd/Makefile: Likewise.
7556 * configure.in: PWD_P is not used anymore.
7557 * config.make.in: Remove PWD_P entry.
7559 * configure.in: Remove last remnants of RANLIB.
7560 No need to check for signed size_t anymore.
7561 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7563 Remove __builtin_expect test because we require at least gcc 3.4.
7564 * aclocal.m4: Likewise.
7566 * wcsmbs/mbrtoc16.c: Implement using towc function.
7567 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7568 * wcsmbs/wcsmbsload.c: Likewise.
7569 * iconv/gconv_simple.c: Likewise.
7570 * iconv/gconv_int.h: Likewise.
7571 * iconv/gconv_builtin.h: Likewise.
7572 * iconv/iconv_prog.c: Remove CHAR16 handling.
7574 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7576 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7578 * configure.in: Remove --with-elf and --enable-bounded options.
7579 Dont set base_machine for ia64. More non-ELF conditions removed.
7580 Remove testing and setting of leading underscore information.
7581 * config.make.in (build-bounded): Set to no.
7582 * config.h.in: Remove NO_UNDERSCORES entry.
7583 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7585 * csu/start.c: Remove !NO_UNDERSCORE code.
7586 * locale/localeinfo.h: Likewise.
7587 * sysdeps/generic/machine-gmon.h: Likewise.
7588 * sysdeps/generic/sysdep.h: Likewise.
7589 * sysdeps/i386/sysdep.h: Likewise.
7590 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7591 * sysdeps/mach/sysdep.h: Likewise.
7592 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7593 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7594 * sysdeps/sh/sysdep.h: Likewise.
7595 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7596 * sysdeps/unix/i386/sysdep.S: Likewise.
7597 * sysdeps/unix/sparc/start.c: Likewise.
7598 * sysdeps/unix/sparc/sysdep.S: Likewise.
7599 * sysdeps/unix/sparc/sysdep.h: Likewise.
7600 * sysdeps/unix/start.c: Likewise.
7601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7602 * sysdeps/x86_64/sysdep.h: Likewise.
7604 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7607 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7609 * argp/argp-fmtstream.h: Use const instead __const.
7610 * argp/argp.h: Likewise.
7611 * assert/assert.h: Likewise.
7612 * bits/fenv.h: Likewise.
7613 * bits/sched.h: Likewise.
7614 * bits/sigset.h: Likewise.
7615 * bits/sigthread.h: Likewise.
7616 * catgets/nl_types.h: Likewise.
7617 * conform/data/pthread.h-data: Likewise.
7618 * crypt/crypt-private.h: Likewise.
7619 * crypt/crypt.h: Likewise.
7620 * crypt/crypt_util.c: Likewise.
7621 * ctype/ctype.h: Likewise.
7622 * debug/execinfo.h: Likewise.
7623 * debug/mbsnrtowcs_chk.c: Likewise.
7624 * debug/mbsrtowcs_chk.c: Likewise.
7625 * debug/wcsnrtombs_chk.c: Likewise.
7626 * debug/wcsrtombs_chk.c: Likewise.
7627 * debug/wcstombs_chk.c: Likewise.
7628 * dirent/dirent.h: Likewise.
7629 * dlfcn/dlfcn.h: Likewise.
7630 * elf/neededtest4.c: Likewise.
7631 * grp/grp.h: Likewise.
7632 * gshadow/gshadow.h: Likewise.
7633 * iconv/gconv.h: Likewise.
7634 * iconv/gconv_int.h: Likewise.
7635 * iconv/gconv_simple.c: Likewise.
7636 * iconv/iconv.h: Likewise.
7637 * iconv/loop.c: Likewise.
7638 * iconv/skeleton.c: Likewise.
7639 * include/aio.h: Likewise.
7640 * include/aliases.h: Likewise.
7641 * include/argz.h: Likewise.
7642 * include/arpa/inet.h: Likewise.
7643 * include/assert.h: Likewise.
7644 * include/dirent.h: Likewise.
7645 * include/dlfcn.h: Likewise.
7646 * include/execinfo.h: Likewise.
7647 * include/fcntl.h: Likewise.
7648 * include/fenv.h: Likewise.
7649 * include/glob.h: Likewise.
7650 * include/grp.h: Likewise.
7651 * include/libintl.h: Likewise.
7652 * include/mntent.h: Likewise.
7653 * include/netdb.h: Likewise.
7654 * include/pwd.h: Likewise.
7655 * include/rpc/netdb.h: Likewise.
7656 * include/sched.h: Likewise.
7657 * include/search.h: Likewise.
7658 * include/shadow.h: Likewise.
7659 * include/signal.h: Likewise.
7660 * include/stdio.h: Likewise.
7661 * include/stdlib.h: Likewise.
7662 * include/string.h: Likewise.
7663 * include/sys/socket.h: Likewise.
7664 * include/sys/stat.h: Likewise.
7665 * include/sys/statfs.h: Likewise.
7666 * include/sys/statvfs.h: Likewise.
7667 * include/sys/syslog.h: Likewise.
7668 * include/sys/time.h: Likewise.
7669 * include/sys/uio.h: Likewise.
7670 * include/time.h: Likewise.
7671 * include/unistd.h: Likewise.
7672 * include/utmp.h: Likewise.
7673 * include/wchar.h: Likewise.
7674 * include/wctype.h: Likewise.
7675 * inet/aliases.h: Likewise.
7676 * inet/arpa/inet.h: Likewise.
7677 * inet/netinet/ether.h: Likewise.
7678 * inet/netinet/in.h: Likewise.
7679 * intl/libintl.h: Likewise.
7680 * io/bits/fcntl2.h: Likewise.
7681 * io/fcntl.h: Likewise.
7682 * io/ftw.h: Likewise.
7683 * io/sys/poll.h: Likewise.
7684 * io/sys/stat.h: Likewise.
7685 * io/sys/statfs.h: Likewise.
7686 * io/sys/statvfs.h: Likewise.
7687 * io/utime.h: Likewise.
7688 * libio/bits/stdio.h: Likewise.
7689 * libio/bits/stdio2.h: Likewise.
7690 * libio/libio.h: Likewise.
7691 * libio/libioP.h: Likewise.
7692 * libio/stdio.h: Likewise.
7693 * locale/lc-ctype.c: Likewise.
7694 * locale/locale.h: Likewise.
7695 * login/utmp.h: Likewise.
7696 * malloc/arena.c: Likewise.
7697 * malloc/malloc.c: Likewise.
7698 * malloc/malloc.h: Likewise.
7699 * malloc/mcheck.c: Likewise.
7700 * malloc/mtrace.c: Likewise.
7701 * math/bits/mathcalls.h: Likewise.
7702 * math/fenv.h: Likewise.
7703 * math/math_private.h: Likewise.
7704 * misc/bits/error.h: Likewise.
7705 * misc/bits/syslog.h: Likewise.
7706 * misc/err.h: Likewise.
7707 * misc/error.h: Likewise.
7708 * misc/fstab.h: Likewise.
7709 * misc/mntent.h: Likewise.
7710 * misc/regexp.h: Likewise.
7711 * misc/search.h: Likewise.
7712 * misc/sgtty.h: Likewise.
7713 * misc/sys/mman.h: Likewise.
7714 * misc/sys/syslog.h: Likewise.
7715 * misc/sys/uio.h: Likewise.
7716 * misc/sys/xattr.h: Likewise.
7717 * misc/ttyent.h: Likewise.
7718 * nis/rpcsvc/ypclnt.h: Likewise.
7719 * nss/nss.h: Likewise.
7720 * posix/bits/unistd.h: Likewise.
7721 * posix/fnmatch.h: Likewise.
7722 * posix/glob.h: Likewise.
7723 * posix/sched.h: Likewise.
7724 * posix/spawn.h: Likewise.
7725 * posix/sys/wait.h: Likewise.
7726 * posix/unistd.h: Likewise.
7727 * posix/wordexp.h: Likewise.
7728 * pwd/pwd.h: Likewise.
7729 * resolv/netdb.h: Likewise.
7730 * resource/sys/resource.h: Likewise.
7731 * rt/aio.h: Likewise.
7732 * rt/bits/mqueue2.h: Likewise.
7733 * rt/mqueue.h: Likewise.
7734 * shadow/shadow.h: Likewise.
7735 * signal/signal.h: Likewise.
7736 * socket/send.c: Likewise.
7737 * socket/sendto.c: Likewise.
7738 * socket/sys/socket.h: Likewise.
7739 * stdio-common/printf.h: Likewise.
7740 * stdlib/bits/stdlib.h: Likewise.
7741 * stdlib/fmtmsg.h: Likewise.
7742 * stdlib/monetary.h: Likewise.
7743 * stdlib/stdlib.h: Likewise.
7744 * stdlib/ucontext.h: Likewise.
7745 * streams/stropts.h: Likewise.
7746 * string/argz.h: Likewise.
7747 * string/bits/string2.h: Likewise.
7748 * string/string.h: Likewise.
7749 * string/strings.h: Likewise.
7750 * sunrpc/rpc/auth.h: Likewise.
7751 * sunrpc/rpc/auth_des.h: Likewise.
7752 * sunrpc/rpc/clnt.h: Likewise.
7753 * sunrpc/rpc/netdb.h: Likewise.
7754 * sunrpc/rpc/pmap_clnt.h: Likewise.
7755 * sunrpc/rpc/xdr.h: Likewise.
7756 * sysdeps/generic/inttypes.h: Likewise.
7757 * sysdeps/generic/net/if.h: Likewise.
7758 * sysdeps/generic/sys/swap.h: Likewise.
7759 * sysdeps/gnu/net/if.h: Likewise.
7760 * sysdeps/gnu/utmpx.h: Likewise.
7761 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7762 * sysdeps/i386/i486/bits/string.h: Likewise.
7763 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7764 * sysdeps/s390/bits/string.h: Likewise.
7765 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7766 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7767 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7768 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7769 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7770 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7771 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7772 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7773 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7774 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7775 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7776 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7777 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7778 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7779 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7780 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7781 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7783 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7786 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7787 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7788 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7789 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7790 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7791 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7792 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7793 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7794 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7795 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7796 * sysvipc/sys/ipc.h: Likewise.
7797 * sysvipc/sys/msg.h: Likewise.
7798 * sysvipc/sys/sem.h: Likewise.
7799 * sysvipc/sys/shm.h: Likewise.
7800 * termios/termios.h: Likewise.
7801 * time/sys/time.h: Likewise.
7802 * time/time.h: Likewise.
7803 * wcsmbs/bits/wchar2.h: Likewise.
7804 * wcsmbs/uchar.h: Likewise.
7805 * wcsmbs/wchar.h: Likewise.
7806 * wctype/wctype.h: Likewise.
7809 * Makeconfig: Remove all but ELF support including AIX support.
7810 * Makerules: Likewise.
7811 * config.h.in: Likewise.
7812 * config.make.in: Likewise.
7813 * configure: Likewise.
7814 * configure.in: Likewise.
7815 * csu/Makefile: Likewise.
7816 * csu/version.c: Likewise.
7817 * debug/Makefile: Likewise.
7818 * dlfcn/Makefile: Likewise.
7819 * elf/Makefile: Likewise.
7820 * extra-lib.mk: Likewise.
7821 * iconv/Makefile: Likewise.
7822 * include/libc-symbols.h: Likewise.
7823 * include/shlib-compat.h: Likewise.
7824 * resolv/Makefile: Likewise.
7825 * resolv/res_libc.c: Likewise.
7826 * rt/Makefile: Likewise.
7827 * sysdeps/i386/asm-syntax.h: Likewise.
7828 * sysdeps/i386/sysdep.h: Likewise.
7829 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7830 * sysdeps/mach/sysdep.h: Likewise.
7831 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7832 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7833 * sysdeps/s390/asm-syntax.h: Likewise.
7834 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7835 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7836 * sysdeps/sh/sysdep.h: Likewise.
7837 * sysdeps/unix/sparc/sysdep.h: Likewise.
7838 * sysdeps/wordsize-32/divdi3.c: Likewise.
7839 * sysdeps/x86_64/sysdep.h: Likewise.
7841 * argp/Versions: Remove _argp_unlock_xxx.
7844 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7845 * abilist/libBrokenLocale.abilist: Likewise.
7846 * abilist/libanl.abilist: Likewise.
7847 * abilist/libc.abilist: Likewise.
7848 * abilist/libcrypt.abilist: Likewise.
7849 * abilist/libdl.abilist: Likewise.
7850 * abilist/libm.abilist: Likewise.
7851 * abilist/libnsl.abilist: Likewise.
7852 * abilist/libpthread.abilist: Likewise.
7853 * abilist/libresolv.abilist: Likewise.
7854 * abilist/librt.abilist: Likewise.
7855 * abilist/libthread_db.abilist: Likewise.
7856 * abilist/libutil.abilist: Likewise.
7857 * abilist/libnss_db.abilist: New file.
7859 * scripts/abilist.awk: Add support for indirect functions.
7861 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7863 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7865 * shlib-versions: Remove entries for ports architectures.
7867 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7869 * elf/stackguard-macros.h: Remove support for IA-64.
7870 * elf/tst-auditmod1.c: Likewise.
7871 * sysdeps/generic/ldsodefs.h: Likewise.
7873 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7874 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7878 * configure.in: Remove --enable-omitfp support.
7880 * config.make.in: Likewise.
7881 * Makeconfig: Likewise.
7882 * manual/install.texi: Likewise.
7884 In case anyone cares, the IA-64 architecture could move to ports.
7885 * sysdeps/ia64/*: Removed.
7886 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7887 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7890 * configure.in: Remove entries for unsupported architectures.
7893 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7894 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7896 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7897 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7898 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7899 fall back to using wcrtomb.
7900 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7901 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7903 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7904 * wcsmbs/tst-c16c32-1.c: New file.
7906 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7909 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7911 * elf/tst-unique3.cc: Add explicit declaration of gets.
7912 * elf/tst-unique3lib.cc: Likewise.
7913 * elf/tst-unique3lib2.cc: Likewise.
7914 * elf/tst-unique4.cc: Likewise.
7916 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7918 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7921 * assert/assert.h (static_assert): Don't define for C++.
7922 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7923 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7925 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7927 * iconv/loop.c (single loop): Fix assertion in storing of
7930 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7932 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7934 * posix/getconf.c: Update copyright year.
7935 * nss/getent.c: Likewise.
7936 * nss/makedb.c: Likewise.
7937 * iconv/iconvconfig.c: Likewise.
7938 * iconv/iconv_prog.c: Likewise.
7939 * elf/ldconfig.c: Likewise.
7940 * elf/pldd.c: Likewise.
7941 * elf/sotruss.ksh: Likewise.
7942 * catgets/gencat.c: Likewise.
7943 * csu/version.c: Likewise.
7944 * elf/ldd.bash.in: Likewise.
7945 * elf/sprof.c (print_version): Likewise.
7946 * locale/programs/locale.c: Likewise.
7947 * locale/programs/localedef.c: Likewise.
7948 * login/programs/pt_chown.c: Likewise.
7949 * nscd/nscd.c (print_version): Likewise.
7950 * debug/xtrace.sh: Likewise.
7951 * malloc/memusage.sh: Likewise.
7952 * malloc/mtrace.pl: Likewise.
7953 * debug/catchsegv.sh: Likewise.
7955 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7957 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7960 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7963 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7964 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7966 * iconv/gconv_int.h: Likewise.
7967 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7968 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7969 from libc for GLIBC_2.16.
7970 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7971 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7972 * wcsmbs/uchar.h: Really define mbstate_t.
7973 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7974 * wcsmbs/c16rtomb.c: New file.
7975 * wcsmbs/mbrtoc16.c: New file.
7976 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7978 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7979 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7981 * wcsmbs/wchar.h: Add missing __restrict.
7983 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7986 * time/Makefile (routines): Add timespec_get.
7987 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7988 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7989 timespec for ISO C11.
7990 * time/timespec_get.c: New file.
7991 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7992 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7995 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7996 * stdlib/stdlib.h: Declare aligned_alloc.
7997 * Versions.def: Add GLIBC_2.16 for libc.
7998 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8001 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8004 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8008 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8011 * assert/assert.h (static_assert): Define.
8013 * version.h: Update for 2.16 development version.
8016 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8019 * version.h (RELEASE): Bump for 2.15 release.
8020 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8022 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8023 Patch by Marek Polacek <mpolacek@redhat.com>.
8025 * bits/byteswap.h: Protect long long constants with __extension__.
8026 * sysdeps/i386/bits/byteswap.h: Likewise.
8027 * sysdeps/ia64/bits/byteswap.h: Likewise.
8028 * sysdeps/s390/bits/byteswap.h: Likewise.
8029 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8031 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8036 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8038 2011-12-23 Marek Polacek <polacek@redhat.com>
8040 * elf/dl-addr.c (determine_info): Add inline keyword.
8041 * elf/tst-auditmod4b.c (check_avx): Likewise.
8042 * elf/tst-auditmod6b.c (check_avx): Likewise.
8043 * elf/tst-auditmod6c.c (check_avx): Likewise.
8044 * elf/tst-auditmod7b.c (check_avx): Likewise.
8046 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8048 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8051 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8054 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8055 processing for last bytes.
8057 2011-08-06 Bruno Haible <bruno@clisp.org>
8060 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8061 U+0385, not to U+1FEE.
8064 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8065 entry for U+00A5 U+0301.
8067 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8070 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8071 buffer for the output is too small.
8073 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8077 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8078 SSE flags if possible.
8080 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8084 processing for last bytes.
8086 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8088 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8089 (syscall-list-default-options, syscall-list-default-condition)
8090 (syscall-list-includes): Define.
8091 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8092 list of ABIs and options and #if conditions for each ABI. Do not
8093 handle common syscalls between ABIs specially.
8094 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8096 (syscall-list-variants, syscall-list-32bit-options)
8097 (syscall-list-32bit-condition, syscall-list-64bit-options)
8098 (syscall-list-64bit-condition): Define.
8099 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8100 (syscall-list-variants, syscall-list-32bit-options)
8101 (syscall-list-32bit-condition, syscall-list-64bit-options)
8102 (syscall-list-64bit-condition): Define.
8103 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8105 (syscall-list-variants, syscall-list-32bit-options)
8106 (syscall-list-32bit-condition, syscall-list-64bit-options)
8107 (syscall-list-64bit-condition): Define.
8108 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8110 (syscall-list-variants, syscall-list-32bit-options)
8111 (syscall-list-32bit-condition, syscall-list-64bit-options)
8112 (syscall-list-64bit-condition): Define.
8114 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8116 * locale/iso-639.def: Add brx entry.
8119 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8120 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8122 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8123 __feraiseexcept_renamed.
8125 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8128 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8129 EPOLLET with unsigned values.
8130 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8131 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8133 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8134 to large cancellation.
8135 * math/s_cacoshf.c: Likewise.
8136 * math/s_cacoshl.c: Likewise.
8138 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8142 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8143 * math/s_cacoshf.c: Likewise.
8144 * math/s_cacoshl.c: Likewise.
8146 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8149 * iconv/gconv.h: Define __GCONV_SWAP.
8150 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8151 * iconvdata/utf-16.c: Likewise.
8152 * iconvdata/utf-32.c: Likewise.
8154 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8157 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8158 numerator after shifting it by one limb.
8160 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8162 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8163 under [__USE_EXTERN_INLINES].
8165 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8168 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8170 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8172 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8173 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8175 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8176 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8177 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8178 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8179 for strncasecmp/strncasecmp_l compilation.
8180 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8181 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8183 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8186 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8189 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8192 * time/tzfile.c (__tzfile_read): Check values from file header.
8194 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8196 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8197 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8198 * powerpc/powerpc32/dl-start.S: Likewise.
8199 * powerpc/powerpc32/elf/start.S: Likewise.
8200 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8201 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8202 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8203 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8204 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8205 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8206 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8207 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8208 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8209 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8210 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8211 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8212 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8213 * powerpc/powerpc32/memset.S: Likewise.
8214 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8215 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8216 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8217 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8218 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8219 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8220 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8221 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8222 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8223 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8224 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8225 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8226 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8228 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8230 * math/libm-test.inc: Added more nearbyint tests.
8231 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8233 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8234 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8236 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8238 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8241 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8243 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8244 Add wcscpy-ssse3 wcscpy-c.
8245 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8246 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8247 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8248 * sysdeps/x86_64/wcschr.S: New file.
8249 * sysdeps/x86_64/wcsrchr.S: New file.
8250 * string/test-strcmp.c: Remove checking of wcscmp function for
8252 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8253 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8254 wcsrchr-sse2 wcsrchr-c.
8255 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8256 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8257 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8258 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8259 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8260 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8261 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8262 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8263 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8264 * wcsmbc/wcschr.c (WCSCHR): New macro.
8266 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8268 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8269 * wcsmbs/test-wcsrchr.c: New file.
8270 * string/test-strrchr.c: Add wcsrchr support.
8272 * wcsmbs/test-wcscpy.c: New file.
8273 * string/test-strcpy.c: Add wcscpy support.
8276 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8278 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8281 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8284 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8286 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8288 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8289 Minor optimizations.
8291 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8292 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8293 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8295 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8297 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8298 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8299 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8300 for gcc to avoid warnings.
8301 * inet/Makefile (tests): Add tst-checks.
8302 * inet/tst-checks.c: New file.
8304 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8307 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8310 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8311 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8313 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8315 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8317 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8320 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8322 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8324 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8325 conditional on GCC version.
8326 (__arch_compare_and_exchange_val_8_acq)
8327 (__arch_compare_and_exchange_val_16_acq)
8328 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8329 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8330 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8332 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8334 * sysdeps/sh/backtrace.c: New file.
8336 2011-12-02 Andreas Schwab <schwab@redhat.com>
8338 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8341 2011-12-01 Andreas Schwab <schwab@redhat.com>
8343 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8344 falling back to utime.
8346 2011-11-30 Andreas Schwab <schwab@redhat.com>
8348 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8349 expectations for float.
8351 2011-11-29 Andreas Schwab <schwab@redhat.com>
8353 * locale/weight.h (findidx): Add parameter len.
8354 * locale/weightwc.h (findidx): Likewise.
8355 * posix/fnmatch_loop.c (FCT): Adjust caller.
8356 * posix/regcomp.c (build_equiv_class): Likewise.
8357 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8358 * posix/regexec.c (check_node_accept_bytes): Likewise.
8359 * string/strcoll_l.c (STRCOLL): Likewise.
8360 * string/strxfrm_l.c (STRXFRM): Likewise.
8362 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8364 * Makefile.in: Remove CVSOPT handling.
8365 * configure.in: Remove use of AC_REVISION.
8366 * iconvdata/Makefile (distribute): No need to filter out CVS.
8367 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8370 2011-11-16 Andreas Schwab <schwab@redhat.com>
8372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8373 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8374 [USE_AS_STRNCASECMP_L]: Likewise.
8375 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8376 NO_TLS_DIRECT_SEG_REFS.
8377 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8378 Fix argument offsets for non-PIC.
8379 [USE_AS_STRNCASECMP_L]: Likewise.
8380 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8381 NO_TLS_DIRECT_SEG_REFS.
8383 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8385 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8387 * locale/loadlocale.c (_nl_load_locale): Likewise.
8389 2011-11-15 Andreas Schwab <schwab@redhat.com>
8391 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8392 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8394 (SYSCALL_GETTIME): Set errno on error.
8396 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8397 count references to noai6ai_cached.
8399 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8401 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8403 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8404 FD_CLOEXEC for /proc/self/maps.
8406 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8407 FD_CLOEXEC for /proc/meminfo.
8409 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8412 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8413 FD_CLOEXEC for given file.
8415 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8417 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8418 FD_CLOEXEC for /etc/hosts.
8419 (_gethtent): Likewise.
8421 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8423 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8424 cancellation and set FD_CLOEXEC for /etc/netgroup.
8426 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8427 reading /etc/publickey.
8429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8430 allow cancellation when reading /etc/group.
8432 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8434 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8436 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8437 when using data file.
8439 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8441 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8442 (write_nis_obj): Use "c" and "e" in fopen.
8444 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8446 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8448 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8450 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8452 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8455 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8457 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8459 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8461 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8462 file parsing and set FD_CLOEXEC.
8464 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8466 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8468 2011-11-14 Andreas Schwab <schwab@redhat.com>
8470 * malloc/arena.c (arena_get2): Don't call reused_arena when
8471 _int_new_arena failed.
8473 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8475 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8476 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8477 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8478 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8479 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8481 to compile strcasecmp and strncasecmp.
8482 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8483 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8487 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8489 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8490 locale-defines.sym to gen-as-const-headers.
8491 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8492 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8494 to compile strcasecmp and strncasecmp.
8495 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8496 strcasecmp_l and strncasecmp_l.
8497 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8498 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8499 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8500 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8501 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8502 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8503 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8504 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8505 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8506 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8507 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8509 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8511 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8512 result of SYSDEP_GETTIME_CPU to retval.
8513 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8514 parameter list to macro. Remove trailing semicolon. Adjust users.
8516 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8519 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8521 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8523 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8524 from unused variable.
8526 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8528 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8531 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8534 * sunrpc/rpc_prot.c (rejected): Fix case value.
8536 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8537 unsigned long long int to avoid warnings in shift.
8539 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8541 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8544 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8545 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8546 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8548 * nis/nis_table.c (nis_list): Use variable of correct type for
8549 result of __follow_path call.
8551 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8553 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8554 of math functions ceil, trunc, floor, round, and sqrt, when
8555 avaliable on the platform.
8556 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8558 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8559 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8560 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8562 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8564 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8565 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8567 2011-11-11 Roland McGrath <roland@hack.frob.com>
8569 * include/unistd.h: Fix __readlink return type.
8570 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8572 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8574 * stdlib/ucontext.h: Undo last change for makecontext.
8576 2011-11-11 Andreas Schwab <schwab@redhat.com>
8578 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8580 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8581 * setjmp/setjmp.h: Mark functions as non-leaf.
8582 * setjmp/bits/setjmp2.h: Likewise.
8583 * stdlib/ucontext.h: Likewise.
8585 2011-11-10 Andreas Schwab <schwab@redhat.com>
8587 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8588 (reused_arena): Don't check arena limit.
8589 (arena_get2): Atomically check arena limit.
8591 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8593 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8594 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8599 2011-11-07 Andreas Schwab <schwab@redhat.com>
8601 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8602 handler when locking.
8604 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8605 Fix size of allocated buffer.
8607 2011-11-04 Andreas Schwab <schwab@redhat.com>
8610 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8611 declarations for long double functions.
8612 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8614 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8616 2011-11-03 Andreas Schwab <schwab@redhat.com>
8618 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8621 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8624 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8626 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8628 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8630 * include/alloca.h (stackinfo_alloca_round): Define.
8631 (extend_alloca): Use it.
8632 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8633 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8636 * scripts/check-local-headers.sh: Ignore libaudit.h.
8638 * nscd/Makefile (extra-objs): Make recursively expanded.
8640 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8642 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8643 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8645 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8646 * posix/tst-rfc3484-2.c: Likewise.
8647 * posix/tst-rfc3484-3.c: Likewise.
8649 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8651 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8653 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8654 process_vm_writev from libc using GLIBC_2.15 version.
8656 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8658 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8660 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8663 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8666 * nss/getent.c (initgroups_keys): Show error message in case no group
8669 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8670 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8671 __bump_nl_timestamp.
8672 * nscd/connections (nscd_init): When host database is served open
8673 netlink socket and request notification about configuration changes.
8674 (main_loop_poll): Track netlink file descriptor and bump timestamp
8675 in case data becomes available.
8676 (main_loop_epoll): Likewise.
8677 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8678 (database_pers_head): Add extra_data fileds.
8679 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8680 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8681 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8683 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8684 in6ai data, call __free_in6ai.
8685 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8687 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8688 interface information. Reuse previous data if netlink timestamp
8690 (__bump_nl_timestamp): New function.
8691 (__free_in6ai): New function.
8693 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8695 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8696 close_not_cancel_no_status here.
8697 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8699 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8702 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8705 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8706 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8707 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8709 2011-07-03 Andreas Jaeger <aj@suse.de>
8712 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8713 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8714 * math/libm-test.inc (sin_test): Add test case.
8716 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8719 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8720 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8722 * elf/chroot_canon.c (chroot_canon): Cleanups.
8724 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8727 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8728 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8730 * string/test-strchr.c: Make usable for strchrnul testing.
8731 * string/test-strchrnul.c: New file.
8732 * string/Makefile (strop-tests): Add strchrnul.
8734 * po/it.po: Update from translation team.
8735 * po/es.po: Likewise.
8737 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8739 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8740 the three constants needed as parameters. Drop the others.
8741 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8742 __m128i_strloadu_tolower.
8743 Create and initialize variable zero and use it in all the places
8744 where _mm_setzero_si128 was used.
8746 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8747 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8748 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8749 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8751 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8752 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8753 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8754 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8755 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8756 __mpranred, __mptan.
8757 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8758 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8759 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8760 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8761 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8762 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8764 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8765 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8767 2011-10-28 Andreas Schwab <schwab@redhat.com>
8769 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8771 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8774 wide char related routines to wcsmbs subdir.
8776 2011-10-27 Andreas Schwab <schwab@redhat.com>
8779 * misc/sys/cdefs.h (__THROWNL): Define.
8780 * posix/unistd.h: Use __THREADNL instead of __THREAD
8781 for memory synchronization functions.
8783 2011-10-26 Roland McGrath <roland@hack.frob.com>
8786 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8788 * manual/stdio.texi (Obstack Streams): Node removed.
8790 2011-10-26 Andreas Schwab <schwab@redhat.com>
8792 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8793 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8794 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8796 * math/math_private.h (math_force_eval): Allow non-addressable
8798 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8800 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8802 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8805 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8806 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8807 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8808 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8810 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8812 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8814 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8815 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8816 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8817 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8818 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8819 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8820 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8821 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8822 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8823 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8824 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8825 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8826 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8827 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8828 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8829 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8830 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8831 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8832 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8834 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8835 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8838 place. Use VEX encoding when compiling for AVX.
8840 2011-10-25 Andreas Schwab <schwab@redhat.com>
8842 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8843 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8845 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8847 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8849 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8850 useless if() expression.
8851 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8860 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8861 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8862 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8863 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8864 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8865 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8866 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8867 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8869 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8871 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8873 2011-10-25 Andreas Schwab <schwab@redhat.com>
8875 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8877 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8879 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8881 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8882 .text section. Avoid duplicate constants.
8883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8893 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8895 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8898 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8900 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8906 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8907 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8908 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8909 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8910 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8911 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8912 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8913 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8914 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8915 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8916 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8917 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8918 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8919 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8920 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8921 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8922 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8923 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8924 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8925 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8926 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8927 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8929 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8931 * sysdeps/x86_64/dla.h: Move to ...
8932 * sysdeps/x86_64/fpu/dla.h: ...here.
8933 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8934 situations. Use __builtin_fma only for gcc 4.6 and up.
8936 * config.make.in: Add have-mfma4 entry.
8937 * configure.in: Substitute libc_cv_cc_fma4.
8938 * math/Makefile (dbl-only-routines): Add sincostab.
8939 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8940 Use __sincostab not sincos.
8941 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8943 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8948 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8949 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8950 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8951 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8953 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8954 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8956 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8957 define aliases when function name is a macro.
8958 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8959 sysdeps/ieee754/dbl-64/sincos.tbl.
8960 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8961 fma4-enabled routines.
8962 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8963 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8964 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8965 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8966 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8967 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8968 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8970 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8971 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8972 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8973 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8974 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8975 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8977 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8978 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8979 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8980 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8981 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8982 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8983 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8984 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8985 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8986 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8987 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8988 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8989 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8990 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8991 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8993 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9004 2011-10-24 Andreas Schwab <schwab@redhat.com>
9006 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9008 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9010 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9012 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9016 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9017 Remove unused variable magic_bits.
9018 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9020 * string/strnlen.c: Define and use STRNLEN macro.
9021 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9022 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9024 * wcsmbs/wcslen.c: Define and use WCSLEN.
9025 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9026 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9027 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9028 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9029 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9030 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9031 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9033 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9036 strnlen-sse2-no-bsf.
9037 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9039 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9040 Add strnlen support.
9041 (USE_AS_STRNLEN): New macro.
9042 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9043 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9044 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9045 * sysdeps/x86_64/wcslen.S: New file.
9047 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9049 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9050 XMM-moves are used for copying on small sizes.
9052 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9054 * wcsmbs/Makefile (strop-tests): Add wcschr.
9055 * wcsmbs/test-wcschr.c: New file.
9056 * string/test-strchr.c: Update.
9060 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9062 * wcsmbs/Makefile (strop-tests): Add wcslen.
9063 * wcsmbs/test-wcslen.c: New file.
9064 * string/test-strlen.c: Update.
9068 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9070 * po/it.po: Update from translation team.
9072 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9074 * sysdeps/x86_64/wcscmp.S: Update.
9075 Fix wrong comparison semantics.
9076 wcscmp shall use signed comparison not unsigned.
9077 Don't use substraction to avoid overflow bug.
9078 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9079 * wcsmbc/wcscmp.c: Likewise.
9080 * string/test-strcmp.c: Likewise.
9081 Add new tests to check cases with negative values.
9083 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9085 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9086 * sysdeps/x86_64/dla.h: ...here. New file.
9087 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9094 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9097 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9100 __ynl_finite aliases.
9102 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9106 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9108 [DLA_FMA] (EMULV): Use DLA_FMA.
9109 [DLA_FMA] (MUL12): Use EMULV.
9110 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9111 that are not needed.
9112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9120 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9122 * math/s_nan.c: Undef __nan.
9123 * math/s_nanf.c: Undef __nanf.
9124 * math/s_nanl.c: Undef __nanl.
9125 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9128 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9130 * math/s_catan.c: Add branch predictions.
9131 * math/s_catanf.c: Likewise.
9132 * math/s_catanh.c: Likewise.
9133 * math/s_catanhf.c: Likewise.
9134 * math/s_catanhl.c: Likewise.
9135 * math/s_catanl.c: Likewise.
9136 * math/s_cexp.c: Likewise.
9137 * math/s_cexpf.c: Likewise.
9138 * math/s_cexpl.c: Likewise.
9139 * math/s_clog.c: Likewise.
9140 * math/s_clog10.c: Likewise.
9141 * math/s_clog10f.c: Likewise.
9142 * math/s_clog10l.c: Likewise.
9143 * math/s_clogf.c: Likewise.
9144 * math/s_clogl.c: Likewise.
9145 * math/s_csqrt.c: Likewise.
9146 * math/s_csqrtf.c: Likewise.
9147 * math/s_csqrtl.c: Likewise.
9148 * math/s_ctanf.c: Likewise.
9149 * math/s_ctanh.c: Likewise.
9150 * math/s_ctanhf.c: Likewise.
9151 * math/s_ctanhl.c: Likewise.
9152 * math/s_ctanl.c: Likewise.
9154 * math/math_private.h: Define __nan, __nanf, __nanl.
9155 * math/s_cacosh.c: Include <math_private.h>.
9156 * math/s_cacoshl.c: Likewise.
9157 * math/s_casinh.c: Likewise.
9158 * math/s_casinhf.c: Likewise.
9159 * math/s_casinhl.c: Likewise.
9160 * math/s_ccos.c: Rely entire on ccosh.
9161 * math/s_ccosf.c: Rely entire on ccoshf.
9162 * math/s_ccosl.c: Rely entirely on ccoshl.
9163 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9164 Remove tests for FE_INVALID.
9165 * math/s_ccoshf.c: Likewise.
9166 * math/s_ccoshl.c: Likewise.
9167 * math/s_csin.c: Likewise.
9168 * math/s_csinf.c: Likewise.
9169 * math/s_csinh.c Likewise.
9170 * math/s_csinhf.c: Likewise.
9171 * math/s_csinhl.c: Likewise.
9172 * math/s_csinl.c: Likewise.
9173 * math/s_ctan.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9175 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9176 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9178 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9181 compilation problems.
9183 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9186 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9188 * sysdeps/i386/configure.in: Test for -mfma4 option.
9189 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9190 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9191 COMMON_CPUID_INDEX_80000001.
9192 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9193 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9194 use it if FMA3 is not supported.
9195 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9197 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9198 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9200 2011-10-20 Andreas Schwab <schwab@redhat.com>
9203 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9204 it would create a cycle with a link time dependency.
9206 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9208 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9210 * string/Makefile (strop-tests): Add rawmemchr.
9211 * string/test-rawmemchr.c: New file.
9213 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9215 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9216 when compiling str{,n}casecmp and when AVX is available. Hook up
9217 new optimized code in initializers.
9219 2011-10-19 Andreas Schwab <schwab@redhat.com>
9221 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9222 __feraiseexcept instead of feraiseexcept.
9224 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9226 * math/math_private.h: Define defaults for libc_fetestexcept and
9228 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9229 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9230 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9231 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9232 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9233 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9234 libc_fetestexcept and libc_feupdateenv.
9236 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9237 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9238 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9239 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9240 libc_feholdexcept_setround.
9242 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9243 Add s_nearbyint-c and s_nearbyintf-c.
9244 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9246 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9247 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9248 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9251 * math/math_private.h: Define defaults for libc_fegetround,
9252 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9253 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9254 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9255 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9256 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9258 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9259 Remove comments and hacks for old compiler versions.
9260 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9261 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9264 2011-10-18 Andreas Schwab <schwab@redhat.com>
9266 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9267 (__feraiseexcept_renamed): Add __NTH.
9268 (feraiseexcept): Add __NTH. Rename local variables to fix
9269 namespace violations.
9271 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9273 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9275 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9277 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9278 recently added interfaces.
9279 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9281 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9282 about macro parameter expansion.
9284 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9285 __NO_MATH_INLINES is defined. Cleanups.
9287 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9288 and __floorf is target has SSE4.1.
9289 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9290 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9291 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9292 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9294 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9298 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9300 2011-10-17 Andreas Schwab <schwab@redhat.com>
9302 * misc/sys/cdefs.h: Fix last change.
9304 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9307 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9309 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9311 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9312 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9317 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9318 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9319 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9320 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9321 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9322 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9323 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9324 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9325 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9326 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9327 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9328 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9329 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9330 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9331 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9332 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9334 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9335 ceil, ceilf, floor, floorf.
9337 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9338 Perform IRELATIVE relocations last.
9340 * elf/do-rel.h: Add another parameter nrelative, replacing the
9341 local variable with the same name. Change name of the function
9342 to end in Rel or Rela (uppercase).
9343 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9344 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9345 elf_dynamic_do_##reloc function.
9347 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9349 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9350 is sufficient, at least on modern CPUs.
9352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9354 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9355 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9357 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9359 * math/bits/math-finite.h: Add entries for exp.
9360 * math/e_expl.c: Add __*_finite alias.
9361 * sysdeps/i386/fpu/e_exp.S: Likewise.
9362 * sysdeps/i386/fpu/e_expf.S: Likewise.
9363 * sysdeps/i386/fpu/e_expl.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9365 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9369 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9370 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9372 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9373 is sufficient, at least on modern CPUs.
9375 * ctype/ctype-info.c (__ctype_init): Define.
9376 * include/ctype.h (__ctype_init): Declare.
9377 (__ctype_b_loc): The variable is always initialized.
9378 (__ctype_toupper_loc): Likewise.
9379 (__ctype_tolower_loc): Likewise.
9380 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9381 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9383 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9385 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9387 * configure.in: Also look in $cxxmachine/include for C++ system
9390 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9392 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9393 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9394 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9395 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9396 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9397 (USE_AS_WMEMCMP): New macro.
9399 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9400 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9401 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9402 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9403 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9404 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9405 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9406 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9407 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9408 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9409 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9410 (USE_AS_WMEMCMP): New macro.
9411 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9412 * sysdeps/string/test-memcmp.c: Update.
9415 * wcsmbs/wmemcmp.c: Update.
9416 (WMEMCMP): New macro.
9419 2011-10-12 Andreas Jaeger <aj@suse.de>
9422 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9424 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9426 * libio/iofwide.c (do_length): Avoid warning.
9428 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9430 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9432 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9434 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9435 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9436 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9437 * sysdeps/i386/i686/fpu/e_log.S: New file.
9438 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9439 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9441 * ctype/ctype.h: Add support for inlined isXXX functions when
9444 2011-10-14 Andreas Schwab <schwab@redhat.com>
9446 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9448 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9450 2011-10-13 Roland McGrath <roland@hack.frob.com>
9453 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9455 2011-10-13 Andreas Schwab <schwab@redhat.com>
9457 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9458 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9461 * sysdeps/x86_64/memrchr.S: Check for zero size.
9463 * string/stratcliff.c: Add memrchr tests.
9465 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9468 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9469 rawmemchr-sse2 rawmemchr-sse2-bsf.
9470 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9471 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9472 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9473 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9474 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9475 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9476 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9477 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9478 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9479 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9480 * string/memrchr.c (MEMRCHR): New macro.
9482 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9484 Add integration with gcc's -ffinite-math-only and optimize wrapper
9486 * Versions.def: Define GLIBC_2.15 version for libm.
9487 * math/Makefile (headers): Add bits/math-finite.h.
9488 * math/bits/math-finite.h: New file.
9489 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9490 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9491 * math/e_acoshl.c: Add __*_finite alias.
9492 * math/e_acosl.c: Likewise.
9493 * math/e_asinl.c: Likewise.
9494 * math/e_atan2l.c: Likewise.
9495 * math/e_atanhl.c: Likewise.
9496 * math/e_coshl.c: Likewise.
9497 * math/e_exp10.c: Likewise.
9498 * math/e_exp10f.c: Likewise.
9499 * math/e_exp10l.c: Likewise.
9500 * math/e_exp2l.c: Likewise.
9501 * math/e_fmodl.c: Likewise.
9502 * math/e_gammal_r.c: Likewise.
9503 * math/e_hypotl.c: Likewise.
9504 * math/e_j0l.c: Likewise.
9505 * math/e_j1l.c: Likewise.
9506 * math/e_jnl.c: Likewise.
9507 * math/e_lgammal_r.c: Likewise.
9508 * math/e_log10l.c: Likewise.
9509 * math/e_log2l.c: Likewise.
9510 * math/e_logl.c: Likewise.
9511 * math/e_powl.c: Likewise.
9512 * math/e_sinhl.c: Likewise.
9513 * math/e_sqrtl.c: Likewise.
9514 * math/e_scalb.c: Completely rewritten and optimized.
9515 * math/e_scalbf.c: Likewise.
9516 * math/e_scalbl.c: Likewise.
9517 * math/w_acos.c: Likewise.
9518 * math/w_acosf.c: Likewise.
9519 * math/w_acosl.c: Likewise.
9520 * math/w_acosh.c: Likewise.
9521 * math/w_acoshf.c: Likewise.
9522 * math/w_acoshl.c: Likewise.
9523 * math/w_asin.c: Likewise.
9524 * math/w_asinf.c: Likewise.
9525 * math/w_asinl.c: Likewise.
9526 * math/w_atan2.c: Likewise.
9527 * math/w_atan2f.c: Likewise.
9528 * math/w_atan2l.c: Likewise.
9529 * math/w_atanh.c: Likewise.
9530 * math/w_atanhf.c: Likewise.
9531 * math/w_atanhl.c: Likewise.
9532 * math/w_exp10.c: Likewise.
9533 * math/w_exp10f.c: Likewise.
9534 * math/w_exp10l.c: Likewise.
9535 * math/w_fmod.c: Likewise.
9536 * math/w_fmodf.c: Likewise.
9537 * math/w_fmodl.c: Likewise.
9538 * math/w_j0.c: Likewise.
9539 * math/w_j0f.c: Likewise.
9540 * math/w_j0l.c: Likewise.
9541 * math/w_j1.c: Likewise.
9542 * math/w_j1f.c: Likewise.
9543 * math/w_j1l.c: Likewise.
9544 * math/w_jn.c: Likewise.
9545 * math/w_jnf.c: Likewise.
9546 * math/w_log.c: Likewise.
9547 * math/w_logf.c: Likewise.
9548 * math/w_logl.c: Likewise.
9549 * math/w_log10.c: Likewise.
9550 * math/w_log10f.c: Likewise.
9551 * math/w_log10l.c: Likewise.
9552 * math/w_log2.c: Likewise.
9553 * math/w_log2f.c: Likewise.
9554 * math/w_log2l.c: Likewise.
9555 * math/w_pow.c: Likewise.
9556 * math/w_powf.c: Likewise.
9557 * math/w_powl.c: Likewise.
9558 * math/w_remainder.c: Likewise.
9559 * math/w_remainderf.c: Likewise.
9560 * math/w_remainderl.c: Likewise.
9561 * math/w_scalb.c: Likewise.
9562 * math/w_scalbf.c: Likewise.
9563 * math/w_scalbl.c: Likewise.
9564 * math/w_sqrt.c: Likewise.
9565 * math/w_sqrtf.c: Likewise.
9566 * math/w_sqrtl.c: Likewise.
9567 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9568 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9570 * math/math_private.h: Declare __kernel_standard_f.
9571 * math/w_cosh.c: Remove cruft and optimize a bit.
9572 * math/w_coshf.c: Likewise.
9573 * math/w_coshl.c: Likewise.
9574 * math/w_exp2.c: Likewise.
9575 * math/w_exp2f.c: Likewise.
9576 * math/w_exp2l.c: Likewise.
9577 * math/w_hypot.c: Likewise.
9578 * math/w_hypotf.c: Likewise.
9579 * math/w_hypotl.c: Likewise.
9580 * math/w_lgamma.c: Likewise.
9581 * math/w_lgamma_r.c: Likewise.
9582 * math/w_lgammaf.c: Likewise.
9583 * math/w_lgammaf_r.c: Likewise.
9584 * math/w_lgammal.c: Likewise.
9585 * math/w_lgammal_r.c: Likewise.
9586 * math/w_sinh.c: Likewise.
9587 * math/w_sinhf.c: Likewise.
9588 * math/w_sinhl.c: Likewise.
9589 * math/w_tgamma.c: Likewise.
9590 * math/w_tgammaf.c: Likewise.
9591 * math/w_tgammal.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9593 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9594 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9595 Minor optimizations. Pretty printing. Remove cruft.
9596 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9597 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9598 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9599 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9600 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9601 * sysdeps/i386/fpu/e_asin.S: Likewise.
9602 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9603 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9604 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9605 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9606 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9607 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9608 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9609 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9610 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9611 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9612 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9613 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9614 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9615 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9616 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9617 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9618 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9619 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9620 * sysdeps/i386/fpu/e_log.S: Likewise.
9621 * sysdeps/i386/fpu/e_log10.S: Likewise.
9622 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9623 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9624 * sysdeps/i386/fpu/e_log2.S: Likewise.
9625 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9626 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9627 * sysdeps/i386/fpu/e_logf.S: Likewise.
9628 * sysdeps/i386/fpu/e_logl.S: Likewise.
9629 * sysdeps/i386/fpu/e_pow.S: Likewise.
9630 * sysdeps/i386/fpu/e_powf.S: Likewise.
9631 * sysdeps/i386/fpu/e_powl.S: Likewise.
9632 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9633 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9634 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9635 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9636 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9637 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9638 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9639 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9640 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9641 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9644 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9647 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9648 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9649 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9651 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9652 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9654 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9655 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9657 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9658 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9661 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9662 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9663 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9664 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9665 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9666 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9667 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9668 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9669 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9670 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9671 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9672 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9673 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9674 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9675 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9676 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9677 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9678 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9679 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9680 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9681 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9682 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9718 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9721 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9724 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9726 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9727 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9729 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9732 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9733 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9734 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9735 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9736 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9737 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9738 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9739 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9740 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9741 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9742 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9743 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9744 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9745 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9746 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9747 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9748 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9749 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9750 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9751 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9752 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9753 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9754 (__isnanf): Likewise.
9755 (__isinf_ns): Likewise.
9756 (__isinf_nsf): Likewise.
9757 (__finite): Likewise.
9758 (__finitef): Likewise.
9759 (__ieee754_sqrt): Define as macro.
9760 (__ieee754_sqrtf): Define as macro.
9761 (__ieee754_sqrtl): Define as macro.
9762 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9764 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9765 __FINITE_MATH_ONLY__ consistent.
9766 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9768 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9770 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9773 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9775 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9777 * po/ja.po: Update from translation team.
9779 2011-10-08 Roland McGrath <roland@hack.frob.com>
9781 * locale/programs/locarchive.c (prepare_address_space): New function.
9782 (create_archive, enlarge_archive, open_archive): Use it.
9784 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9785 inside [SHARED], where it is used.
9787 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9789 * nss/getent.c (netgroup_keys): Remove unused variable.
9790 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9792 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9794 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9795 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9796 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9797 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9798 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9799 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9800 * math/Makefile (libm-calls): Add s_isinf_ns.
9801 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9802 * math/multc3.c: Likewise.
9803 * math/s_casin.c: Likewise.
9804 * math/s_casinf.c: Likewise.
9805 * math/s_casinl.c: Likewise.
9806 * math/s_ccos.c: Likewise.
9807 * math/s_ccosf.c: Likewise.
9808 * math/s_ccosl.c: Likewise.
9809 * math/s_ctan.c: Likewise.
9810 * math/s_ctanf.c: Likewise.
9811 * math/s_ctanh.c: Likewise.
9812 * math/s_ctanhf.c: Likewise.
9813 * math/s_ctanhl.c: Likewise.
9814 * math/s_ctanl.c: Likewise.
9815 * math/w_fmod.c: Likewise.
9816 * math/w_fmodf.c: Likewise.
9817 * math/w_fmodl.c: Likewise.
9818 * math/w_remainder.c: Likewise.
9819 * math/w_remainderf.c: Likewise.
9820 * math/w_remainderl.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9822 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9823 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9824 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9825 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9826 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9827 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9828 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9830 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9832 * stdio-common/printf_fphex.c: Likewise.
9833 * stdio-common/printf_size.c: Likewise.
9835 * math/e_exp10.c: Include math_private.h using <...> not "...".
9836 * math/e_exp10f.c: Likewise.
9837 * math/e_exp10l.c: Likewise.
9838 * math/e_exp2l.c: Likewise.
9839 * math/e_j0l.c: Likewise.
9840 * math/e_j1l.c: Likewise.
9841 * math/e_jnl.c: Likewise.
9842 * math/e_lgammal_r.c: Likewise.
9843 * math/e_rem_pio2l.c: Likewise.
9844 * math/e_scalb.c: Likewise.
9845 * math/e_scalbf.c: Likewise.
9846 * math/e_scalbl.c: Likewise.
9847 * math/k_cosl.c: Likewise.
9848 * math/k_sinl.c: Likewise.
9849 * math/k_tanl.c: Likewise.
9850 * math/s_cacoshf.c: Likewise.
9851 * math/s_catan.c: Likewise.
9852 * math/s_catanf.c: Likewise.
9853 * math/s_catanh.c: Likewise.
9854 * math/s_catanhf.c: Likewise.
9855 * math/s_catanhl.c: Likewise.
9856 * math/s_catanl.c: Likewise.
9857 * math/s_ccosh.c: Likewise.
9858 * math/s_ccoshf.c: Likewise.
9859 * math/s_ccoshl.c: Likewise.
9860 * math/s_cexp.c: Likewise.
9861 * math/s_cexpf.c: Likewise.
9862 * math/s_cexpl.c: Likewise.
9863 * math/s_clog.c: Likewise.
9864 * math/s_clog10.c: Likewise.
9865 * math/s_clog10f.c: Likewise.
9866 * math/s_clog10l.c: Likewise.
9867 * math/s_clogf.c: Likewise.
9868 * math/s_clogl.c: Likewise.
9869 * math/s_csin.c: Likewise.
9870 * math/s_csinf.c: Likewise.
9871 * math/s_csinh.c: Likewise.
9872 * math/s_csinhf.c: Likewise.
9873 * math/s_csinhl.c: Likewise.
9874 * math/s_csinl.c: Likewise.
9875 * math/s_csqrt.c: Likewise.
9876 * math/s_csqrtf.c: Likewise.
9877 * math/s_csqrtl.c: Likewise.
9878 * math/s_ctan.c: Likewise.
9879 * math/s_ctanf.c: Likewise.
9880 * math/s_ctanh.c: Likewise.
9881 * math/s_ctanhf.c: Likewise.
9882 * math/s_ctanhl.c: Likewise.
9883 * math/s_ctanl.c: Likewise.
9884 * math/s_ldexp.c: Likewise.
9885 * math/s_ldexpf.c: Likewise.
9886 * math/s_ldexpl.c: Likewise.
9887 * math/s_significand.c: Likewise.
9888 * math/s_significandf.c: Likewise.
9889 * math/s_significandl.c: Likewise.
9890 * math/w_acos.c: Likewise.
9891 * math/w_acosf.c: Likewise.
9892 * math/w_acosh.c: Likewise.
9893 * math/w_acoshf.c: Likewise.
9894 * math/w_acoshl.c: Likewise.
9895 * math/w_acosl.c: Likewise.
9896 * math/w_asin.c: Likewise.
9897 * math/w_asinf.c: Likewise.
9898 * math/w_asinl.c: Likewise.
9899 * math/w_atan2.c: Likewise.
9900 * math/w_atan2f.c: Likewise.
9901 * math/w_atan2l.c: Likewise.
9902 * math/w_atanh.c: Likewise.
9903 * math/w_atanhf.c: Likewise.
9904 * math/w_atanhl.c: Likewise.
9905 * math/w_cosh.c: Likewise.
9906 * math/w_coshf.c: Likewise.
9907 * math/w_coshl.c: Likewise.
9908 * math/w_dremf.c: Likewise.
9909 * math/w_exp10.c: Likewise.
9910 * math/w_exp10f.c: Likewise.
9911 * math/w_exp10l.c: Likewise.
9912 * math/w_exp2.c: Likewise.
9913 * math/w_exp2f.c: Likewise.
9914 * math/w_fmod.c: Likewise.
9915 * math/w_fmodf.c: Likewise.
9916 * math/w_fmodl.c: Likewise.
9917 * math/w_hypot.c: Likewise.
9918 * math/w_hypotf.c: Likewise.
9919 * math/w_hypotl.c: Likewise.
9920 * math/w_j0.c: Likewise.
9921 * math/w_j0f.c: Likewise.
9922 * math/w_j0l.c: Likewise.
9923 * math/w_j1.c: Likewise.
9924 * math/w_j1f.c: Likewise.
9925 * math/w_j1l.c: Likewise.
9926 * math/w_jn.c: Likewise.
9927 * math/w_jnf.c: Likewise.
9928 * math/w_jnl.c: Likewise.
9929 * math/w_lgamma.c: Likewise.
9930 * math/w_lgamma_r.c: Likewise.
9931 * math/w_lgammaf.c: Likewise.
9932 * math/w_lgammaf_r.c: Likewise.
9933 * math/w_lgammal.c: Likewise.
9934 * math/w_lgammal_r.c: Likewise.
9935 * math/w_log.c: Likewise.
9936 * math/w_log10.c: Likewise.
9937 * math/w_log10f.c: Likewise.
9938 * math/w_log10l.c: Likewise.
9939 * math/w_log2.c: Likewise.
9940 * math/w_log2f.c: Likewise.
9941 * math/w_log2l.c: Likewise.
9942 * math/w_logf.c: Likewise.
9943 * math/w_logl.c: Likewise.
9944 * math/w_pow.c: Likewise.
9945 * math/w_powf.c: Likewise.
9946 * math/w_powl.c: Likewise.
9947 * math/w_remainder.c: Likewise.
9948 * math/w_remainderf.c: Likewise.
9949 * math/w_remainderl.c: Likewise.
9950 * math/w_scalb.c: Likewise.
9951 * math/w_scalbf.c: Likewise.
9952 * math/w_scalbl.c: Likewise.
9953 * math/w_sinh.c: Likewise.
9954 * math/w_sinhf.c: Likewise.
9955 * math/w_sinhl.c: Likewise.
9956 * math/w_sqrt.c: Likewise.
9957 * math/w_sqrtf.c: Likewise.
9958 * math/w_sqrtl.c: Likewise.
9959 * math/w_tgamma.c: Likewise.
9960 * math/w_tgammaf.c: Likewise.
9961 * math/w_tgammal.c: Likewise.
9963 * po/ja.po: Update from translation team.
9965 2011-09-29 Andreas Jaeger <aj@suse.de>
9968 * sunrpc/netname.c (netname2host): Fix logic.
9972 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9974 * math/w_remainder.c (__remainder): Likewise.
9975 * math/w_remainderf.c (__remainderf): Likewise.
9976 * math/libm-test.inc (remainder_test): Add test cases.
9978 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9980 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9983 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9985 * string/test-memcmp.c: Avoid unncessary #defines.
9986 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9988 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9990 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9991 Use new sse2 version for core i3 - i7 as it's faster
9993 (bit_Prefer_PMINUB_for_stringop): New.
9994 * sysdeps/x86_64/rawmemchr.S: Update.
9995 Replace with faster SSE2 version.
9996 * sysdeps/x86_64/memrchr.S: New file.
9997 * sysdeps/x86_64/memchr.S: Update.
9998 Replace with faster SSE2 version.
10000 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10002 * elf/dl-load.c (lose): Add cast to avoid warning.
10004 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10006 * po/ca.po: Update from translation team.
10008 * inet/getnetgrent_r.c: Hook up nscd.
10009 * nscd/Makefile (routines): Add nscd_netgroup.
10010 (nscd-modules): Add netgroupcache.
10011 (CFLAGS-netgroupcache.c): Define.
10012 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10013 (cache_search): Add const to second parameter.
10014 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10016 (dbs): Add netgrdb entry.
10017 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10018 (verify_persistent_db): Handle netgrdb.
10019 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10020 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10022 (netgroup_response_header): Define.
10023 (innetgroup_response_header): Define.
10024 (datahead): Add netgroup_response_header and innetgroup_response_header
10026 * nscd/nscd.conf: Add entries for netgroup cache.
10027 * nscd/nscd.h (dbtype): Add netgrdb.
10028 (_PATH_NSCD_NETGROUP_DB): Define.
10029 (netgroup_iov_disabled): Declare.
10030 (xmalloc, xcalloc, xrealloc): Move declarations here.
10031 (cache_search): Adjust prototype.
10032 Add netgroup-related prototypes.
10033 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10034 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10035 (__nscd_innetgr): Declare.
10036 * nscd/selinux.c (perms): Use access_vector_t as element type and
10037 add netgroup-related initializers.
10038 * nscd/netgroupcache.c: New file.
10039 * nscd/nscd_netgroup.c: New file.
10040 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10041 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10042 For four parameters use innetgr.
10043 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10044 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10045 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10046 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10048 * nscd/connections.c (register_traced_file): Don't register file
10049 for disabled databases.
10051 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10053 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10055 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10056 from tree and freeing node.
10058 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10060 * nss/nsswitch.c (__nss_database_lookup): Handle
10061 nss_parse_service_list out of memory case.
10063 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10065 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10066 out of memory case.
10068 2011-10-04 Andreas Schwab <schwab@redhat.com>
10070 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10071 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10073 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10074 elf_machine_rela, elf_machine_lazy_rel.
10075 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10076 (ELF_DYNAMIC_DO_REL): Likewise.
10077 (ELF_DYNAMIC_DO_RELA): Likewise.
10078 (ELF_DYNAMIC_RELOCATE): Likewise.
10079 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10080 to ELF_DYNAMIC_DO_REL.
10081 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10082 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10083 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10085 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10086 skip_ifunc, don't call ifunc function if non-zero.
10087 (elf_machine_rela): Likewise.
10088 (elf_machine_lazy_rel): Likewise.
10089 (elf_machine_lazy_rela): Likewise.
10090 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10091 (elf_machine_lazy_rel): Likewise.
10092 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10094 (elf_machine_lazy_rel): Likewise.
10095 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10097 (elf_machine_lazy_rel): Likewise.
10098 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10099 (elf_machine_lazy_rel): Likewise.
10100 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10101 (elf_machine_lazy_rel): Likewise.
10102 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10103 (elf_machine_lazy_rel): Likewise.
10104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10105 (elf_machine_lazy_rel): Likewise.
10106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10107 (elf_machine_lazy_rel): Likewise.
10108 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10109 (elf_machine_lazy_rel): Likewise.
10111 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10113 * nss/nss_files/files-init.c (_nss_files_init): Use static
10114 initialization for all the *_traced_file variables.
10116 2011-09-28 Andreas Schwab <schwab@redhat.com>
10118 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10120 2011-09-27 Roland McGrath <roland@hack.frob.com>
10123 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10125 2011-09-27 Andreas Schwab <schwab@redhat.com>
10127 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10128 Reread the line before reparsing it.
10130 2011-09-26 Andreas Schwab <schwab@redhat.com>
10132 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10134 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10135 Maxim Kuvyrkov <maxim@codesourcery.com>
10136 Joseph Myers <joseph@codesourcery.com>
10138 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10139 if needed for __stack_chk_guard.
10141 2011-09-19 Roland McGrath <roland@hack.frob.com>
10143 * sysdeps/posix/spawni.c (script_execute): Always define it.
10144 It will be optimized away if unused.
10145 (maybe_script_execute): New function.
10146 (__spawni): Call it.
10148 * Makerules: Don't include tls.make.
10149 (config-tls): Always set to thread.
10150 * tls.make.c: File removed.
10152 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10154 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10155 * config.make.in (CPPFLAGS-config): New substituted variable.
10157 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10159 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10162 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10163 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10165 2011-09-15 Roland McGrath <roland@hack.frob.com>
10167 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10168 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10170 (CALL_FAIL): Likewise.
10171 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10172 (CALL_FAIL): Macro removed.
10173 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10175 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10177 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10178 for __FINITE_MATH_ONLY__ == 1.
10180 2011-09-15 Andreas Schwab <schwab@redhat.com>
10182 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10183 __ieee754_sqrt instead of sqrt.
10184 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10185 __ieee754_sqrtf instead of sqrtf.
10186 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10187 __floorf instead of floorf.
10188 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10189 __floorf, __truncf instead of floorf, truncf.
10191 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10193 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10195 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10196 __extern_always_inline.
10197 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10200 2011-09-14 Andreas Schwab <schwab@redhat.com>
10202 * elf/rtld.c (dl_main): Also relocate in dependency order when
10203 doing symbol dependency testing.
10205 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10207 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10208 Always define `refsym'.
10210 2011-09-13 Andreas Schwab <schwab@redhat.com>
10212 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10213 (__FD_ELT): Renamed from __FDELT.
10214 * misc/bits/select2.h (__FD_ELT): Likewise.
10215 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10216 __FD_MASK instead of __FDELT, __FDMASK.
10217 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10219 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10222 * elf/Makefile (gen-ldd): Fix pattern.
10224 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10225 (init_tls): Likewise.
10227 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10231 2011-09-12 Andreas Schwab <schwab@redhat.com>
10233 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10234 `struct cmsghdr *' instead of `void *'.
10235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10238 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10240 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10242 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10243 ldd_rewrite_script.
10245 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10247 * configure.in: Remove --with-tls option.
10248 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10249 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10250 out in case it is missing.
10251 * sysdeps/ia64/elf/configure.in: Likewise.
10252 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10253 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10254 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10255 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10256 * sysdeps/sh/elf/configure.in: Likewise.
10257 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10258 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10259 * sysdeps/x86_64/elf/configure.in: Likewise.
10260 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10261 * sysdeps/mach/hurd/tls.h: Likewise.
10264 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10267 * configure.in: Fix use of AC_INIT.
10269 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10271 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10273 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10275 * malloc/hooks.c: Likewise.
10278 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10279 variables statically.
10280 (narenas): Initialize.
10281 (list_lock): Initialize.
10282 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10283 initializtion of main_arena and list_lock. Small cleanups.
10284 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10285 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10286 Add initializers to main_arena and mp_.
10287 (malloc_state): Remove pagesize member. Change all users to use
10290 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10291 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10292 is always initialized.
10294 * malloc/malloc.c: Removed unused configurations and dead code.
10295 * malloc/arena.c: Likewise.
10296 * malloc/hooks.c: Likewise.
10297 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10299 * include/tls.h: Removed. USE___THREAD must always be defined.
10300 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10301 * elf/dl-libc.c: Likewise.
10302 * elf/dl-tsd.c: Likewise.
10303 * include/errno.h: Likewise.
10304 * include/netdb.h: Likewise.
10305 * include/resolv.h: Likewise.
10306 * inet/herrno-loc.c: Likewise.
10307 * inet/herrno.c: Likewise.
10308 * malloc/arena.c: Likewise.
10309 * malloc/hooks.c: Likewise.
10310 * malloc/malloc.c: Likewise.
10311 * resolv/res-state.c: Likewise.
10312 * resolv/res_libc.c: Likewise.
10313 * sysdeps/i386/dl-machine.h: Likewise.
10314 * sysdeps/ia64/dl-machine.h: Likewise.
10315 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10316 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10317 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10318 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10319 * sysdeps/sh/dl-machine.h: Likewise.
10320 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10321 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10322 * sysdeps/unix/i386/sysdep.S: Likewise.
10323 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10324 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10325 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10327 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10328 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10329 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10333 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10334 * sysdeps/x86_64/dl-machine.h: Likewise.
10335 * tls.make.c: Likewise.
10337 * configure.in: Remove --with-__thread option. Make tests for
10338 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10339 tls_model attribute fail if no support is available. Remove
10341 * Makeconfig: Adjust for dropped configure option. All features are
10343 * Makerules: Likewise.
10344 * Versions.def: Likewise.
10345 * argp/argp-fmtstream.c: Likewise.
10346 * argp/argp-fmtstream.h: Likewise.
10347 * argp/argp-help.c: Likewise.
10348 * assert/assert.c: Likewise.
10349 * config.h.in: Likewise.
10350 * config.make.in: Likewise.
10351 * configure: Likewise.
10352 * configure.in: Likewise.
10353 * csu/Versions: Likewise.
10354 * csu/init.c: Likewise.
10355 * elf/tst-audit2.c: Likewise.
10356 * elf/tst-tls10.c: Likewise.
10357 * elf/tst-tls10.h: Likewise.
10358 * elf/tst-tls11.c: Likewise.
10359 * elf/tst-tls12.c: Likewise.
10360 * elf/tst-tls14.c: Likewise.
10361 * elf/tst-tlsmod11.c: Likewise.
10362 * elf/tst-tlsmod12.c: Likewise.
10363 * elf/tst-tlsmod13.c: Likewise.
10364 * elf/tst-tlsmod13a.c: Likewise.
10365 * elf/tst-tlsmod14a.c: Likewise.
10366 * elf/tst-tlsmod15b.c: Likewise.
10367 * elf/tst-tlsmod16a.c: Likewise.
10368 * elf/tst-tlsmod16b.c: Likewise.
10369 * elf/tst-tlsmod7.c: Likewise.
10370 * elf/tst-tlsmod8.c: Likewise.
10371 * elf/tst-tlsmod9.c: Likewise.
10372 * gmon/gmon.c: Likewise.
10373 * grp/fgetgrent_r.c: Likewise.
10374 * grp/putgrent.c: Likewise.
10375 * hurd/fopenport.c: Likewise.
10376 * include/libc-symbols.h: Likewise.
10377 * include/tls.h: Likewise.
10378 * intl/gettextP.h: Likewise.
10379 * intl/loadinfo.h: Likewise.
10380 * locale/global-locale.c: Likewise.
10381 * locale/localeinfo.h: Likewise.
10382 * mach/devstream.c: Likewise.
10383 * malloc/arena.c: Likewise.
10384 * malloc/set-freeres.c: Likewise.
10385 * misc/err.c: Likewise.
10386 * misc/getttyent.c: Likewise.
10387 * misc/mntent_r.c: Likewise.
10388 * posix/getopt.c: Likewise.
10389 * posix/wordexp.c: Likewise.
10390 * pwd/fgetpwent_r.c: Likewise.
10391 * resolv/Versions: Likewise.
10392 * resolv/res_hconf.c: Likewise.
10393 * shadow/fgetspent_r.c: Likewise.
10394 * shadow/putspent.c: Likewise.
10395 * stdio-common/printf_fphex.c: Likewise.
10396 * stdio-common/tmpfile.c: Likewise.
10397 * stdlib/abort.c: Likewise.
10398 * stdlib/fmtmsg.c: Likewise.
10399 * sunrpc/auth_unix.c: Likewise.
10400 * sunrpc/clnt_perr.c: Likewise.
10401 * sunrpc/clnt_tcp.c: Likewise.
10402 * sunrpc/clnt_udp.c: Likewise.
10403 * sunrpc/clnt_unix.c: Likewise.
10404 * sunrpc/openchild.c: Likewise.
10405 * sunrpc/svc_simple.c: Likewise.
10406 * sunrpc/svc_tcp.c: Likewise.
10407 * sunrpc/svc_udp.c: Likewise.
10408 * sunrpc/svc_unix.c: Likewise.
10409 * sunrpc/xdr.c: Likewise.
10410 * sunrpc/xdr_array.c: Likewise.
10411 * sunrpc/xdr_rec.c: Likewise.
10412 * sunrpc/xdr_ref.c: Likewise.
10413 * sunrpc/xdr_stdio.c: Likewise.
10415 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10417 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10419 2011-07-03 Andreas Jaeger <aj@suse.de>
10421 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10422 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10423 regenerate with gen-libm-tests.pl.
10425 2010-05-12 Petr Baudis <pasky@suse.cz>
10428 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10429 around j0() zero points by switching to j1().
10430 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10435 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10437 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10439 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10442 Patch in part by Pavel Roskin <proski@gnu.org>.
10445 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10447 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10448 Free memory block if necessary.
10451 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10452 be NULL. Don't lock in this case.
10454 2011-09-09 Roland McGrath <roland@hack.frob.com>
10456 * elf/elf.h (ELFOSABI_GNU): New macro.
10457 (ELFOSABI_LINUX): Define to that.
10459 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10461 * string/strncat.c (strncat): Undef the symbol in case it has been
10462 defined in bits/string.h.
10464 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10466 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10468 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10471 2011-08-17 Andreas Jaeger <aj@suse.de>
10473 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10475 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10476 Ian Lance Taylor <iant@google.com>
10478 * math/libm-test.inc (lround_test): New testcase.
10479 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10481 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10483 * Makefile: Remove support for automatic cvs check-ins.
10484 * Makerules: Likewise.
10485 * config.make.in: Likewise.
10486 * configure.in: Likewise.
10487 * intl/Makefile: Likewise.
10488 * locale/Makefile: Likewise.
10489 * po/Makefile: Likewise.
10490 * posix/Makefile: Likewise.
10491 * sysdeps/gnu/Makefile: Likewise.
10492 * sysdeps/mach/hurd/Makefile: Likewise.
10493 * sysdeps/sparc/sparc32/Makefile: Likewise.
10496 * posix/Makefile (bug-regex32-ENV): Define.
10497 Patch by John Stanley <jpsinthemix@verizon.net>.
10499 * misc/Makefile (headers): Add bits/select2.h.
10500 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10501 * misc/bits/select2.h: New file.
10502 * include/bits/select2.h: New file.
10503 * debug/Makefile (routines): Add fdelt_chk.
10504 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10505 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10507 * debug/fdelt_chk.c: New file.
10509 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10510 * wcsmbs/test-wmemcmp.c: Likewise.
10511 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10512 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10514 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10516 * string/Makefile (strop-tests): Add memcmp.
10517 * string/test-wmemcmp.c: New file.
10518 * string/test-memcmp.c: Add wmemcmp support.
10520 2011-09-08 Roland McGrath <roland@hack.frob.com>
10523 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10526 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10527 garbage value in a __mach_port_mod_refs call in the cases of the
10528 task-self and thread-self ports.
10530 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10532 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10534 2011-09-08 Andreas Schwab <schwab@redhat.com>
10536 * elf/dl-load.c (lose): Check for non-null L.
10538 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10540 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10542 * elf/dl-libc.c (dlerror_run): Pass back error code from
10546 * elf/dl-load.c (lose): Free l_origin if it is valid.
10548 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10550 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10551 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10552 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10554 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10555 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10557 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10559 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10560 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10561 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10562 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10563 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10564 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10565 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10566 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10567 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10568 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10570 2011-08-15 Alan Modra <amodra@gmail.com>
10573 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10574 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10575 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10576 ppc_mcount to static-only-routines.
10577 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10579 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10580 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10582 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10584 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10585 for finite and infinity parameters.
10587 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10589 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10590 and add nop instructions for throughput optimization.
10591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10593 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10595 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10596 aligned copy for power7 with vector-scalar instructions.
10597 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10599 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10604 2011-09-07 Andreas Schwab <schwab@redhat.com>
10607 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10610 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10612 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10613 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10614 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10615 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10618 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10620 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10621 Forgot to demangle the pointer.
10623 * sysdeps/i386/sysdep.h: Define atom_text_section.
10624 * sysdeps/x86_64/sysdep.h: Likewise.
10625 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10626 section with atom_text_section.
10627 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10629 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10630 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10631 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10633 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10634 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10635 already be defined. Change to take two parameters and don't assign
10636 result to variable. Adjust all users.
10637 Define INTERNAL_GETTIME if not already defined.
10638 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10640 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10641 HAVE_CLOCK_GETTIME_VSYSCALL.
10642 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10645 gettimeofday vsyscall, just use time.
10647 2011-09-06 Andreas Schwab <schwab@redhat.com>
10649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10652 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10654 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10658 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10659 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10660 syscall if possible.
10662 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10664 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10665 e_ident. Don't pass to find_mapsXX.
10666 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10668 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10671 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10672 * sysdeps/x86_64/multiarch/strchr.S: Update.
10673 Check bit_slow_BSF bit.
10674 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10675 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10676 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10678 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10681 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10683 (tryshell): Define.
10684 (__spawni): Change last parameter to be flag. Test
10685 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10686 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10687 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10688 * posix/spawni.c: Likewise.
10689 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10690 * posix/spawnp.c: Likewise. Change normal version to use
10691 SPAWN_XFLAGS_USE_PATH.
10692 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10693 SPAWN_XFLAGS_TRY_SHELL.
10696 * posix/glob.h: Remove gcc 1.x support.
10699 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10701 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10704 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10706 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10707 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10708 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10709 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10710 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10711 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10713 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10715 * sysdeps/x86_64/wcscmp.S: New file.
10717 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10718 wcscmp-c wcscmp-sse2
10719 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10720 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10721 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10722 * wcsmbs/wcscmp.c: Allow renaming.
10724 2011-09-05 David S. Miller <davem@davemloft.net>
10726 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10727 stack slot, rather than the struct return pointer slot.
10728 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10729 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10731 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10733 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10735 * po/ja.po: Update from translation team.
10738 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10739 kernel in 64-bit binaries.
10741 2011-09-01 David S. Miller <davem@davemloft.net>
10743 * elf/elf.h (HWCAP_SPARC_*): Move to..
10744 * sysdeps/sparc/sysdep.h: this new file and add new values.
10745 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10746 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10747 _DL_HWCAP_COUNT to 24.
10748 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10750 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10751 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10752 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10754 instead of magic constants.
10755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10757 2011-08-31 David S. Miller <davem@davemloft.net>
10759 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10761 Reimplement to do errno handling inline.
10762 (SYSCALL_ERROR_HANDLER): New macro.
10763 (__SYSCALL_STRING): Do not do errno handling in asm.
10764 (__CLONE_SYSCALL_STRING): Delete.
10765 (__INTERNAL_SYSCALL_STRING): Delete.
10766 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10767 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10768 (PSEUDO): Reimplement to do errno handling inline.
10769 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10770 (SYSCALL_ERROR_HANDLER): New macro.
10771 (__SYSCALL_STRING): Do not do errno handling in asm.
10772 (__CLONE_SYSCALL_STRING): Delete.
10773 (__INTERNAL_SYSCALL_STRING): Delete.
10774 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10775 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10777 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10778 (inline_syscall*): Add 'err' argument.
10779 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10780 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10781 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10782 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10784 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10785 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10787 2011-08-30 Andreas Schwab <schwab@redhat.com>
10789 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10791 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10793 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10796 2011-08-24 David S. Miller <davem@davemloft.net>
10798 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10800 2011-08-24 Andreas Schwab <schwab@redhat.com>
10802 * elf/Makefile: Add rules to build and run unload8 test.
10803 * elf/unload8.c: New file.
10804 * elf/unload8mod1.c: New file.
10805 * elf/unload8mod1x.c: New file.
10806 * elf/unload8mod2.c: New file.
10807 * elf/unload8mod3.c: New file.
10809 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10812 2011-08-23 David S. Miller <davem@davemloft.net>
10814 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10815 subtract stack bias.
10816 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10817 %sp not %fp in calculations.
10818 (_JMPBUF_UNWINDS_ADJ): Likewise.
10820 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10821 (aio_suspend): Call it to force an exception region around the
10822 AIO_MISC_WAIT() invocation.
10824 2011-08-23 Andreas Schwab <schwab@redhat.com>
10826 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10829 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10831 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10833 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10834 and <dl-machine.h>.
10835 (Elf64_FuncDesc): Remove.
10837 2011-08-22 David S. Miller <davem@davemloft.net>
10839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10840 sigaltstack check, add missing cfi directives.
10841 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10842 missing cfi directives, and sigaltstack handling.
10844 2011-08-16 Andreas Schwab <schwab@redhat.com>
10847 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10848 object is seen twice.
10849 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10851 * elf/Makefile (distribute): Add tst-initorder2.c.
10852 (tests): Add tst-initorder2.
10853 (modules-names): Add tst-initorder2a tst-initorder2b
10854 tst-initorder2c tst-initorder2d. Add rules to build them.
10855 ($(objpfx)tst-initorder2.out): New rule.
10856 * elf/tst-initorder2.c: New file.
10857 * elf/tst-initorder2.exp: New file.
10859 2011-08-22 Andreas Schwab <schwab@redhat.com>
10861 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10863 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10864 dependencies back to end of function.
10866 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10867 $(elfobjdir)/ld.so.
10869 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10871 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10872 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10874 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10875 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10876 of __vdso_gettimeofday.
10877 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10878 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10880 (_libc_vdso_platform_setup): Remove initialization of
10881 __vdso_gettimeofday and __vdso_time.
10883 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10885 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10886 and fgetc_unlocked.
10887 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10890 * elf/dl-open.c (add_to_global): Report additions to the global scope
10891 for LD_DEBUG=scopes.
10892 (dl_open_worker): Also print scope of newly loaded dependencies.
10893 (_dl_show_scope): Indicate if there is no scope.
10896 * stdio-common/Makefile (tests): Add bug24.
10897 * stdio-common/bug24.c: New file.
10899 2011-08-19 Andreas Jaeger <aj@suse.de>
10902 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10903 non-existant file when using close-on-exec mode.
10905 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10908 the very first instruction.
10910 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10911 the CFI state in the end.
10912 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10913 inclusion of dl-trampoline.h.
10914 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10916 2011-08-19 Andreas Schwab <schwab@redhat.com>
10918 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10919 expectations for long double.
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10922 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10924 2011-08-14 David S. Miller <davem@davemloft.net>
10926 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10927 artificual limit depends upon the system page size.
10929 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10931 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10932 * resolv/Makefile: Define CFLAGS-libresolv.
10934 2011-08-17 Andreas Schwab <schwab@redhat.com>
10936 * nss/makedb.c (compute_tables): Make variables used in nested
10939 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10941 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10942 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10943 if buffer was too small.
10945 * elf/pldd.c (main): Attach to all threads in the process.
10946 Rewrite /proc handling to use *at functions.
10948 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10950 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10951 specifies first scope to show.
10952 (dl_open_worker): Update callers. Move printing scope of new
10953 object to before the relocation.
10954 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10955 * sysdeps/generic/ldsodefs.h: Update declaration.
10957 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10958 string for the scope number.
10960 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10962 * nscd/servicescache.c (cache_addserv): Make sure written is always
10965 2011-08-14 Roland McGrath <roland@hack.frob.com>
10967 * sysdeps/i386/i486/bits/atomic.h
10968 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10969 statement expression, so as to suppress "set but not used" warning.
10970 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10972 * string/strncat.c (STRNCAT): Use prototype definition.
10974 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10975 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10977 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10978 (localedef-modules): Add localedef.
10979 (locale-modules): Add locale.
10981 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10982 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10983 to avoid a warning.
10985 2011-08-14 David S. Miller <davem@davemloft.net>
10987 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10988 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10990 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10992 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10993 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10994 * elf/rtld.c (dl_main): Set l_name of vDSO.
10995 Call _dl_show_scope when DL_DEBUG_SCOPES.
10996 (process_dl_debug): Recognize scopes flag and also set it for all.
10997 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10998 Declare _dl_show_scope.
11000 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11001 (do_dlopen): Pass caller_dlopen to dl_open.
11002 (__libc_dlopen_mode): Initialize caller_dlopen.
11004 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11005 of libc. Make tolower call locale-independent. Optimize a bit by
11006 using isdigit instead of isalnum.
11007 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11009 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11011 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11012 was a dependency or dynamically loaded.
11014 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11016 * intl/l10nflist.c: Allow architecture-specific pop function.
11017 * sysdeps/x86_64/l10nflist.c: New file.
11019 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11022 2011-08-10 Andreas Schwab <schwab@redhat.com>
11024 * include/dirent.h: Add libc_hidden_proto for scandirat and
11025 scandirat64. Don't declare __scandirat64.
11026 * dirent/scandirat.c: Add libc_hidden_def.
11027 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11028 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11030 2011-08-10 David S. Miller <davem@davemloft.net>
11032 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11034 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11035 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11036 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11038 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11040 * Versions.def [libc]: Add GLIBC_2.15.
11041 * dirent/Makefile (routines): Add scandirat and scandirat64.
11042 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11044 * dirent/dirent.h: Declare scandirat and scandirat64.
11045 * dirent/scandirat.c: New file.
11046 * dirent/scandirat64.c: New file.
11047 * sysdeps/wordsize-64/scandirat.c: New file.
11048 * sysdeps/wordsize-64/scandirat64.c: New file.
11049 * dirent/opendir.c: Define opendirat.
11050 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11052 * dirent/scandir64.c: Adjust for scandir.c change.
11053 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11054 __scandirat64, and __scandir_cancel_handler.
11055 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11056 additional parameter and use openat instead of open (outside of ld.so).
11057 Add new __opendir as wrapper around __opendirat.
11058 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11059 here without requiring old scandirat implementation.
11061 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11063 * dirent/scandir.c (cancel_handler): Renamed to
11064 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11065 defined. Adjust users.
11066 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11067 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11069 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11071 * string/test-string.h (IMPL): Use __STRING to expand name and then
11074 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11077 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11079 * string/Makefile: Update.
11080 (strop-tests): Append strncat.
11081 * string/test-wcscmp.c: New file.
11082 New comprehensive test for wcscmp.
11083 * string/test-strcmp.c: Update.
11084 (WIDE): New define.
11086 2011-07-22 Andreas Schwab <schwab@redhat.com>
11088 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11091 2011-07-26 Andreas Schwab <schwab@redhat.com>
11093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11094 encoding to ACE if AI_IDN.
11096 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11099 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11101 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11104 Fix overflow bug in strncat.
11105 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11107 * string/test-strncat.c: Update.
11108 Add new tests for checking overflow bugs.
11110 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11113 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11114 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11115 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11116 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11117 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11118 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11119 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11120 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11123 (USE_AS_STRCAT): Define.
11124 Add strcat and strncat support.
11125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11127 2011-07-25 Andreas Schwab <schwab@redhat.com>
11129 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11130 __n bigger than INT_MAX+1.
11131 (__strncmp_g): Likewise.
11133 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11135 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11136 * libio/stido.h: Likewise.
11138 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11143 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11144 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11146 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11147 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11150 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11155 (_dl_x86_64_save_sse): Likewise.
11157 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11161 (_dl_x86_64_save_sse): Likewise.
11163 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11165 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11167 2011-07-21 Andreas Schwab <schwab@redhat.com>
11169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11171 (_dl_x86_64_save_sse): Use correct AVX check.
11173 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11175 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11176 bug in strncpy/strncat.
11177 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11179 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11181 * string/tester.c (test_strcat): Add tests for different alignments
11182 of source and destination.
11183 (test_strncat): Likewise.
11185 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11188 * posix/glob.c (glob): Check passed in values before using them in
11189 expressions to avoid some overflows.
11190 (glob_in_dir): Likewise.
11193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11194 check for AVX enablement so that we don't crash with old kernels and
11196 * elf/tst-audit4.c: Add same checks here.
11197 * elf/tst-audit6.c: Likewise.
11199 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11201 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11203 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11205 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11207 * po/cs.po: Update from translation team.
11208 * po/bg.po: Likewise.
11210 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11212 * misc/sys/cdefs.h: Add support for const attribute.
11213 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11214 to gnu_dev_{major,minor,makedev} functions.
11216 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11218 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11220 2011-07-20 Andreas Schwab <schwab@redhat.com>
11222 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11225 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11227 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11228 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11229 register in order to avoid conflicts with the soft frame pointer
11230 being held in r11 when necessary.
11231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11232 (INTERNAL_VSYSCALL_NCS): Likewise.
11234 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11236 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11237 * elf/dl-fini.c (_dl_fini): Adjust caller.
11238 * elf/dl-close.c (_dl_close_worker): Likewise.
11239 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11241 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11243 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11244 "aux_cache->nlibs < 0".
11246 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11247 in the reload-count case.
11249 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11252 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11253 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11254 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11255 * sysdeps/x86_64/multiarch/strcat.S: New file.
11256 * sysdeps/x86_64/multiarch/strncat.S: New file.
11257 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11258 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11259 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11260 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11261 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11262 (USE_AS_STRCAT): Define.
11263 Add strcat and strncat support.
11264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11266 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11267 * string/strncat.c: Update.
11268 (USE_AS_STRNCAT): Define.
11269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11270 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11272 * sysdeps/x86_64/multiarch/init-arch.h
11273 (bit_Prefer_PMINUB_for_stringop): New.
11274 (index_Prefer_PMINUB_for_stringop): Likewise.
11275 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11276 bit_Prefer_PMINUB_for_stringop.
11278 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11280 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11282 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11283 of casting of buffer.
11284 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11285 buffer32 and buffer64.
11286 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11287 writes instead of casting of buffer.
11288 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11290 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11293 2011-07-19 Andreas Schwab <schwab@redhat.com>
11295 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11297 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11299 * nscd/nscd.c (termination_handler): Don't do anything for a database
11300 if it has not yet been initialized.
11302 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11304 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11306 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11308 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11310 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11312 * po/nl.po: Update from translation team.
11313 * po/sv.po: Likewise.
11315 2011-07-16 Roland McGrath <roland@hack.frob.com>
11317 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11318 now disallowed by GCC.
11320 * configure.in (use-default-link): Default to yes if a test -shared
11321 link meets our qualifications.
11322 * configure: Regenerated.
11324 * config.make.in (output-format): New variable.
11325 * configure.in: Check for ld --print-output-format support.
11326 * configure: Regenerated.
11327 * Makerules ($(common-objpfx)format.lds)
11328 [$(output-format) != unknown]: Just use $(output-format),
11329 instead of the linker-script munging.
11331 2011-07-14 Roland McGrath <roland@hack.frob.com>
11333 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11334 of $(common-objpfx)shlib.lds.
11335 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11337 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11338 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11340 * configure.in (-z relro check): Adjust test code to add a large
11341 writable data section after it.
11342 * configure: Regenerated.
11344 2011-07-11 Roland McGrath <roland@hack.frob.com>
11346 * configure.in (-z relro check): Fix test code to make the variable
11348 * configure: Regenerated.
11350 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11352 * nscd/nscd.h (struct traced_file): Define.
11353 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11354 elements. Add traced_files.
11355 (inotify_fd): Declare.
11356 (register_traced_file): Declare.
11357 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11358 (inotify_fd): Export.
11359 (resolv_conf_descr): Remove.
11360 (nscd_init): Move inotify descriptor creation to main.
11361 Don't register files for notification here.
11362 (register_traced_file): New function.
11363 (invalidate_cache): Don't use reset_res to determine whether to call
11364 res_init, go through the list of registered files.
11365 (main_loop_poll): The inotify descriptors are now stored in the
11366 structures for the traced files.
11367 (main_loop_epoll): Likewise
11368 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11369 to __nss_disable_nscd.
11370 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11371 for a database anymore. Check the records for all the registered
11373 * nss/Makefile (libnss_files-routines): Add files-init.
11374 (libnss_db-routines): Add db-init.
11375 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11376 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11377 * nss/nss_db/db-init.c: New file.
11378 * nss/nss_files/files-init.c: New file.
11379 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11380 __nss_lookup_function.
11381 (__nss_lookup_function): Call nss_load_library.
11382 (nss_load_all_libraries): New function.
11383 (__nss_disable_nscd): Take parameter with callback function for files
11384 to register. Set is_nscd. Load all the DSOs for the NSS modules
11385 used for the cached services.
11386 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11387 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11388 options for features to all the files in nscd.
11390 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11392 2011-07-10 Roland McGrath <roland@hack.frob.com>
11394 * csu/elf-init.c (__libc_csu_init): Comment typo.
11396 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11398 * po/pl.po: Update from translation team.
11399 * po/ja.po: Likewise.
11400 * po/ru.po: Likewise.
11401 * po/ko.po: Likewise.
11402 * po/fr.po: Likewise.
11404 2011-07-09 Roland McGrath <roland@hack.frob.com>
11406 * configure.in (.ctors/.dtors header and trailer check):
11407 Use an empirical test on a built program.
11408 * configure: Regenerated.
11410 * configure.in (-z relro check): Use an empirical test on a built DSO.
11411 Detect, but do not require, on ia64.
11412 * configure: Regenerated.
11414 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11415 Update tests that use readelf to use $READELF instead.
11416 * configure: Regenerated.
11418 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11420 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11421 if the result is not used.
11423 2011-07-05 Andreas Jaeger <aj@suse.de>
11426 * stdlib/tst-strtod.c: Add testcase.
11428 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11430 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11431 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11432 The latter has a higher limit. Take additional parameter to pass to
11434 (__pathconf): Pass file to __statfs_link_max.
11435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11437 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11441 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11442 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11444 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11445 (__statfs_filesize_max): Likewise.
11446 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11448 2011-07-05 Andreas Jaeger <aj@suse.de>
11450 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11452 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11454 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11456 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11459 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11461 * Makefile (strop-tests): Add strncat.
11462 * string/test-strncat.c: New file.
11464 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11466 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11468 2011-06-21 Andreas Jaeger <aj@suse.de>
11470 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11471 Copy rule from iconvdata/Makefile.
11473 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11476 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11477 but no long options are defined, just return 'W'.
11479 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11482 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11484 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11486 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11488 (innetgr): Likewise.
11490 2011-07-05 Roland McGrath <roland@hack.frob.com>
11492 * config.make.in (install_root): Default to $(DESTDIR).
11494 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11496 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11498 2011-07-02 Roland McGrath <roland@hack.frob.com>
11500 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11502 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11503 containing directory rather than embedding absolute directory names.
11505 * scripts/check-local-headers.sh: Rewritten using awk.
11506 Match by word, not by line. Print error messages for matches.
11507 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11509 * Makerules [shlib-lds-flags empty]:
11510 ($(common-objpfx)libc_pic.opts): New target.
11511 ($(common-objpfx)libc_pic.os.clean): New target.
11512 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11514 * config.make.in (OBJCOPY): New variable.
11515 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11516 * configure: Regenerated.
11518 * config.make.in (use-default-link): New variable.
11519 * configure.in (use_default_link): Grok --with-default-link to set it.
11520 * configure: Regenerated.
11521 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11522 (shlib-lds, shlib-lds-flags): Define to empty.
11524 * Makerules (shlib-lds): New variable.
11525 (shlib-lds-flags): New variable.
11526 (build-shlib, build-moduile, build-module-asneeded): Use it.
11527 ($(common-objpfx)libc.so): Use $(shlib-lds).
11528 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11529 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11531 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11532 DT_FLAGS/DT_FLAGS_1 with zero flags.
11534 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11535 linker script munging.
11537 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11539 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11541 * crypt/sha512.c (sha512_process_block): Perform total addition using
11542 128-bit if possible.
11543 (__sha512_finish_ctx): Likewise.
11544 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11546 * crypt/sha256.c (SWAP64): Define.
11547 (sha256_process_block): Perform total addition using 64-bit if
11549 (__sha256_finish_ctx): Likewise.
11551 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11553 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11554 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11555 * nscd/hstcache.c (cache_addhst): Likewise.
11556 * nscd/grpcache.c (cache_addgr): Likewise.
11557 * nscd/aicache.c (addhstaiX): Likewise
11558 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11560 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11562 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11563 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11564 * nscd/hstcache.c (cache_addhst): Likewise.
11565 * nscd/grpcache.c (cache_addgr): Likewise.
11566 * nscd/aicache.c (addhstaiX): Likewise
11568 2011-07-01 Andreas Schwab <schwab@redhat.com>
11570 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11571 domain only when needed.
11573 2011-06-30 Andreas Schwab <schwab@redhat.com>
11575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11576 is always restored.
11578 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11580 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11581 are re-adding the entry.
11582 * nscd/servicescache.c (cache_addserv): Likewise.
11584 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11586 * sysdeps/generic/dl-irel.h: fix protection against multiple
11588 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11590 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11593 * malloc/memusage.sh: Fix quoting in message.
11594 * debug/xtrace.sh: Likewise.
11596 * configure.in: Remove support for --experimental-malloc option, make
11598 * config.make.in: Likewise.
11599 * malloc/Makefile: Likewise.
11601 2011-06-27 Andreas Schwab <schwab@redhat.com>
11603 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11604 two-byte characters.
11606 2011-06-27 Roland McGrath <roland@hack.frob.com>
11608 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11609 AC_CACHE_CHECK invocation.
11610 * configure: Regenerated.
11612 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11614 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11617 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11618 bit from old_res_options.
11620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11622 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11623 value type for setfct.
11625 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11628 __gettimeofday instead of gettimeofday.
11630 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11632 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11634 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11636 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11641 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11644 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11645 strcpy-sse2-unaligned strncpy-sse2-unaligned
11646 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11647 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11648 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11649 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11650 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11651 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11652 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11653 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11654 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11655 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11656 (STRCPY): Support SSE2 and SSSE3 versions.
11658 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11662 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11663 kernels which artificially limit size of requests.
11665 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11668 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11669 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11670 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11671 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11672 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11673 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11674 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11675 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11676 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11677 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11678 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11679 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11680 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11681 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11683 Enable unaligned load optimization for Intel Core i3, i5 and i7
11685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11687 (index_Fast_Unaligned_Load): Define.
11688 (HAS_FAST_UNALIGNED_LOAD): Define.
11690 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11692 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11694 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11697 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11698 until it is clear that the information is realy needed.
11699 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11701 2011-06-22 Andreas Schwab <schwab@redhat.com>
11703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11705 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11707 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11708 /sys/devices/system/cpu/online if it is usable.
11710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11711 reading the information from the /proc filesystem to once a second.
11713 2011-06-21 Andreas Jaeger <aj@suse.de>
11715 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11716 NULL after inclusion of kernel headers.
11718 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11720 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11721 calls to internal_setent.
11724 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11725 addresses using gethostbyname4_r ignore IPv4 addresses.
11727 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11728 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11730 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11732 2011-06-20 David S. Miller <davem@davemloft.net>
11734 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11736 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11738 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11739 (elf_irel): Use it.
11740 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11741 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11742 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11743 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11744 * sysdeps/x86_64/dl-irel.h: Likewise.
11746 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11747 * elf/dl-sym.c: Likewise.
11749 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11751 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11752 need to dereference resplen2.
11754 2011-06-14 Andreas Schwab <schwab@redhat.com>
11756 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11758 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11760 * Makeconfig: Define vardbdir and inst_vardbdir.
11761 * nss/Makefile: Add rules to install db-Makefile.
11763 * nss/nss_db/db-XXX.c: Cleanup.
11765 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11766 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11768 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11769 * nss/makedb.c: Implement -g option to specify that value strings
11770 are generated and should not be added to table iterated over for
11772 * nss/nss_db/db-initgroups.c: New file.
11774 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11777 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11778 (internal_getgrouplist): Adjust to name change.
11779 Update use_initgroups_entry if this is not the first call.
11780 * nss/databases.def: Add initgroups entry.
11782 * nss/makedb.c (compute_tables): Check result of multiple hash table
11783 sizes to minimize maximum chain length.
11785 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11787 * Versions.def: Add entry for libnss_db.
11788 * shlib-versions: Likewise.
11789 * nss/Makefile: Add rules to build libnss_db.
11790 * nss/Versions: Add libnss_db information. Organize libnss_files
11792 * nss/db-Makefile: Add gshadow support. Change rules for the new
11793 makedb progra. Some minor improvements to generate smaller files.
11794 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11796 * nss/makedb.c: ...here.
11797 Improve database format to be smaller and require less memory at
11799 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11801 * nss/nss_db/db-netgrp.c: Likewise.
11802 * nss/nss_db/db-open.c: Likewise.
11803 * nss/nss_files/flies-XXX.x: Adjust comments.
11804 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11805 * nss/nss_files/files-grp.c: Likewise.
11806 * nss/nss_files/files-hosts.c: Likewise.
11807 * nss/nss_files/files-network.c: Likewise.
11808 * nss/nss_files/files-proto.c: Likewise.
11809 * nss/nss_files/files-pwd.c: Likewise.
11810 * nss/nss_files/files-rpc.c: Likewise.
11811 * nss/nss_files/files-service.c: Likewise.
11812 * nss/nss_files/files-sgrp.c: Likewise.
11813 * nss/nss_files/files-spwd.c: Likewise.
11814 * nss/nss_db/db-alias.c: Removed.
11815 * nss/nss_db/dummy-db.h: Removed.
11817 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11819 * nss/makedb.c: Rewritten to not use database library.
11820 * nss/Makefile: Update to build new makedb program.
11822 2011-06-14 Andreas Jaeger <aj@suse.de>
11824 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11825 memset declaration.
11827 2011-06-10 Andreas Schwab <schwab@redhat.com>
11829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11832 2011-06-10 Roland McGrath <roland@hack.frob.com>
11834 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11835 * elf/Makefile ($(objpfx)ld.so): Likewise.
11837 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11838 Don't list ld.so twice in dependencies.
11840 * posix/bug-regex31.c: Include <stdlib.h>.
11842 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11844 * nis/nss_compat/compat-spwd.c
11845 (getspent_next_nss_netgr): Remove unused variable.
11846 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11848 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11849 nonmembers" output to use the right array.
11851 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11853 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11855 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11856 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11857 * catgets/gencat.c (read_input_file): Likewise.
11858 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11860 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11861 variable definition inside #if's controlling its use.
11863 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11865 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11867 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11869 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11872 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11874 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11875 * configure: Regenerated.
11877 * Makerules: Revert last change.
11878 * elf/Makefile: Likewise.
11880 2011-06-09 Roland McGrath <roland@hack.frob.com>
11882 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11883 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11884 (reloc-link): Likewise.
11886 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11888 * elf/Makefile: Add rules to build pldd.
11889 * elf/pldd.c: New file.
11890 * elf/pldd-xx.c: New file.
11892 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11894 * version.h: Update for 2.15 development version.
11896 2011-06-07 David S. Miller <davem@davemloft.net>
11898 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11901 elf_machine_lazy_rel): Likewise.
11902 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11904 elf_machine_lazy_rel): Likewise.
11905 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11906 dl_hwcap via passed in argument.
11907 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11910 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11912 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11914 2011-06-06 Roland McGrath <roland@hack.frob.com>
11917 * manual/fdl-1.1.texi: New file, verbatim from:
11918 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11919 * manual/lgpl-2.1.texi: New file, verbatim from:
11920 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11921 * manual/Makefile (licenses): New variable, list those new file names.
11923 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11925 * manual/fdl.texi: File removed.
11926 * manual/lesser.texi: File removed.
11927 * manual/libc.texinfo (Copying, Documentation License):
11928 Use new @include file names, put @appendix directive before @include.
11930 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11933 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11934 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11935 (mq_open): Add __NTH.
11937 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11940 Assume Intel Core i3/i5/i7 processor if AVX is available.
11942 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11947 2011-05-31 Andreas Schwab <schwab@redhat.com>
11949 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11950 memory. Use alloca_account. Fix memory leak when retrying.
11952 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11954 * version.h (RELEASE): Bump for 2.14 release.
11955 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11957 * config.make.in (RANLIB): Remove entry.
11959 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11961 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11962 (libc.pot): Work around missing support for .ksh extension in xgettext.
11965 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11966 if both request failed.
11967 (send_dg): In case of server errors clear resplen or *resplen2.
11970 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11971 when there are multiple maps.
11972 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11973 (_dl_fini): Remove test here.
11975 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11977 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11980 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11981 bit from old_res_options.
11982 (gaih_inet): Likewise.
11985 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11988 * resolv/res_init.c (res_setoptions): Make the code more compact.
11991 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11995 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11997 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12000 * malloc/malloc.h: Declare malloc hook variables as volatile.
12002 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12006 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12007 raise in the comment.
12008 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12009 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12010 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12012 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12015 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12016 grow the buffers more if it already has to be sufficient.
12017 (build_wcs_upper_buffer): Likewise.
12018 * posix/regexec.c (check_matching): Likewise.
12019 (clean_state_log_if_needed): Likewise.
12020 (extend_buffers): Don't enlarge buffers beyond size of the input
12022 Patches mostly by Emil Wojak <emil@wojak.eu>.
12023 * posix/bug-regex32.c: New file.
12024 * posix/Makefile (tests): Add bug-regex32.
12026 * locale/findlocale.c (_nl_find_locale): Return right away if
12027 _nl_explode_name failed.
12028 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12030 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12032 * debug/xtrace.sh: Unify messages.
12033 * malloc/memusage.sh: Likewise.
12036 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12037 time symbol from vDSO. Substitute with vsyscall if not available.
12038 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12041 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12042 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12043 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12044 Add sendmmsg and internal_sendmmsg.
12045 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12046 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12047 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12049 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12050 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12051 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12053 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12056 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12057 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12059 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12063 * iconvdata/Makefile (tests): Add bug-iconv9.
12064 * iconvdata/bug-iconv9.c: New file.
12066 2011-05-27 Andreas Schwab <schwab@redhat.com>
12069 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12071 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12074 (struct user_regs_struct): Change intcs field back to cs.
12076 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12078 * po/ja.po: Update from translation team.
12080 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12083 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12084 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12086 2011-05-20 Andreas Schwab <schwab@redhat.com>
12088 * stdlib/longlong.h: Update from GCC.
12090 2011-05-23 Andreas Schwab <schwab@redhat.com>
12092 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12094 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12095 Add parameter name.
12096 (__sysconf): Pass it down.
12098 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12101 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12103 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12104 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12105 add in in __libc_use_alloca calls. Adjust callers.
12106 (glob): Use malloc in some situations.
12108 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12109 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12112 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12114 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12115 and CLOCK_BOOTTIME_ALARM.
12118 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12121 * string/_strerror.c (__strerror_r): Print negative errors as signed
12125 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12126 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12127 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12129 * configure.in: Fix typo in redirection and correct removal of test
12130 files in two cases.
12133 * locale/setlocale.c (new_composite_name): Fix test to check for
12134 identical name of all categories.
12137 * libio/filedoalloc.c (local_isatty): New function.
12138 (_IO_file_doallocate): Use local_isatty.
12139 * stdio-common/perror.c (perror): In case a new stream is used
12140 forward the stream error.
12141 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12144 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12149 * include/alloca.h (extend_alloca_account): Define.
12152 * posix/regex.h: Fix comments with documentation of user-accessible
12153 fields after compilation and describe correct free'ing of pattern
12154 after re_compile_pattern.
12155 Patch by Reuben Thomas <rrt@sc3d.org>.
12157 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12159 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12160 and -mno-altivec to prevent the compiler from using Altivec and/or
12161 VSX instructions when the corresponding registers are not available.
12163 2011-05-19 Andreas Schwab <schwab@redhat.com>
12165 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12167 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12169 * libio/freopen.c (freopen): Use __dup2, not dup2.
12170 * libio/freopen64.c (freopen64): Likewise.
12172 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12175 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12176 * math/Makefile (tests): Add test-powl.
12177 (CFLAGS-test-powl.c): Define.
12178 * math/test-powl.c: New file.
12180 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12182 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12184 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12187 * iconvdata/gb18030.c: Update to GB18020-2005.
12189 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12191 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12192 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12193 Patch by Aharon Robbins <arnold@skeeve.com>.
12196 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12200 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12201 through underflows.
12204 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12205 point to strings before performing equality test for error_one_per_line
12209 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12212 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12213 (struct user_fpregs_struct): Avoid __uint*_t types.
12216 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12217 symbol info. Use it instead of calling _dl_addr locally.
12218 (lock_and_info): New function.
12219 (tr_freehook): Call lock_and_info and pass symbol info as additional
12220 parameter to tr_where.
12221 (tr_mallochook): Likewise.
12222 (tr_reallochook): Likewise.
12223 (tr_memalignhook): Likewise.
12225 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12226 used and couldn't be at all thread-safe.
12228 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12230 * libio/freopen.c (freopen): Don't close old file descriptor
12231 before the new one is opened. Instead dup the new file descriptor
12232 to the old one after the new stream is created.
12233 * libio/freopen64.c (freopen64): Likewise.
12234 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12235 * libio/fileops.c (_IO_new_file_close_it): Handle new
12236 _IO_FLAGS2_NOCLOSE flag.
12237 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12238 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12239 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12240 _IO_FLAGS2_NOCLOSE flag.
12241 * include/unistd.h: Add hidden_proto for dup3.
12242 Define __have_dup3.
12243 * io/dup3.c: Define hidden symbol.
12244 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12247 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12248 when an incomplete long option is used.
12249 * posix/tst-getopt_long1.c: New file.
12250 * posix/Makefile (tests): Add tst-getopt_long1.
12253 * scripts/config.guess: Update from autoconf-2.68.
12254 * scripts/config.sub: Likewise.
12257 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12259 (has_cpuclock): ...this. New function.
12260 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12261 macro here based on has_cpuclock code.
12264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12265 First byte (not low byte) is now always NUL.
12266 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12269 Use non-cancelable interfaces.
12272 * locale/iso-639.def: Add entry for Sorani.
12275 * include/stdlib.h: Move include protection to the right place.
12276 Define abort_msg_s. Declare __abort_msg with it.
12277 * stdlib/abort.c (__abort_msg): Adjust type.
12278 * assert/assert.c (__assert_fail_base): New function. Majority
12279 of code from __assert_fail. Allocate memory for __abort_msg with
12281 (__assert_fail): Now call __assert_fail_base.
12282 * assert/assert-perr.c: Remove bulk of implementation. Use
12283 __assert_fail_base.
12284 * include/assert.hL Declare __assert_fail_base.
12285 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12287 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12289 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12293 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12294 until all modules are registered in the DTV.
12295 * elf/Makefile: Add rules to build and run tst-tls19.
12296 * elf/tst-tls19.c: New file.
12297 * elf/tst-tls19mod1.c: New file.
12298 * elf/tst-tls19mod2.c: New file.
12299 * elf/tst-tls19mod3.c: New file.
12300 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12303 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12307 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12308 two-byte sequence errors.
12309 * iconvdata/Makefile (tests): Add bug-iconv8.
12310 * iconvdata/bug-iconv8.c: New file.
12313 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12316 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12319 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12320 (dummy_getcfa): New function.
12321 (init): Get _Unwind_GetCFA address, use dummy if not found.
12322 (backtrace_helper): In recursion check, also check whether CFA changes.
12323 (__backtrace): Completely initialize arg.
12325 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12326 storing incomplete byte sequence in state object. Avoid testing for
12327 guaranteed too small input if we know there is enough data available.
12329 2011-05-11 Andreas Schwab <schwab@redhat.com>
12331 * Makeconfig (+link-pie): Indent.
12332 * Rules (binaries-pie): Define if $(have-fpie) and
12334 (binaries-shared): Also filter out $(binaries-pie).
12335 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12336 * nscd/Makefile (others-pie): Add nscd.
12337 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12338 ($(objpfx)nscd): Remove command override.
12339 * login/Makefile (others-pie): Add pt_chown.
12340 ($(objpfx)pt_chown): Remove command override.
12341 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12342 remove command overrides.
12344 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12346 * libio/tst_putwc.c: Fix error messages.
12349 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12350 currently writing and seek to current position when not.
12351 * libio/Makefile (tests): Add bug-fclose1.
12352 * libio/bug-fclose1.c: New file.
12354 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12357 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12358 don't set DF_1_NODELETE here.
12359 (do_lookup_x): When entering new entry test for copy relocation
12360 and if necessary set DF_1_NODELETE flag.
12361 * elf/tst-unique4.cc: New file.
12362 * elf/tst-unique4.h: New file.
12363 * elf/tst-unique4lib.cc: New file.
12364 * elf/Makefile: Add rules to build and run tst-unique4.
12365 Patch by Piotr Bury <pbury@goahead.com>.
12367 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12370 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12373 * misc/mntent_r.c (addmntent): Flush the stream after the output
12376 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12377 (is_trusted_path_normalize): Skip initial colon. Append slash
12378 to empty buffer. Duplicate is_trusted_path code but allow
12379 constructed patch to be prefix.
12380 (is_dst): Allow $ORIGIN followed by /.
12381 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12382 Correct testing of result of is_trusted_path_normalize
12383 (decompose_rpath): Fix warning.
12385 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12388 * grp/initgroups.c (internal_getgrouplist): When we found the service
12389 list through the initgroups entry in nsswitch.conf do not always
12390 continue on a successful lookup. Don't always use the
12391 __nss_group_database value if it is set.
12392 * nss/nsswitch.conf (initgroups): Change action for successful db
12393 lookup to continue for compatibility.
12395 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12398 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12400 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12402 * iconvdata/tst-tables.sh: Likewise.
12403 * iconvdata/cp770.c: New file.
12404 * iconvdata/cp771.c: New file.
12405 * iconvdata/cp772.c: New file.
12406 * iconvdata/cp773.c: New file.
12407 * iconvdata/cp774.c: New file.
12408 * iconvdata/testdata/CP770: New file.
12409 * iconvdata/testdata/CP770..UTF8: New file.
12410 * iconvdata/testdata/CP771: New file.
12411 * iconvdata/testdata/CP771..UTF8: New file.
12412 * iconvdata/testdata/CP772: New file.
12413 * iconvdata/testdata/CP772..UTF8: New file.
12414 * iconvdata/testdata/CP773: New file.
12415 * iconvdata/testdata/CP773..UTF8: New file.
12416 * iconvdata/testdata/CP774: New file.
12417 * iconvdata/testdata/CP774..UTF8: New file.
12419 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12421 * iconvdata/gen-8bit-gap.sh: Likewise.
12422 * iconvdata/gen-8bit.sh: Likewise.
12424 * locale/iso-639.def: Add ary entry.
12427 * locale/C-translit.h.in: Add U20A1 transliteration.
12430 * locale/iso-639.def: Add wae entry.
12431 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12434 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12438 * locale/C-translit.h.in: Add entry for U20B9.
12439 Patch by pravin.d.s@gmail.com.
12441 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12444 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12445 ENAMETOOLONG use generic getcwd.
12446 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12447 in rtld. Use *stat64.
12448 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12449 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12450 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12451 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12452 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12453 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12454 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12455 __fstatat64 macros.
12456 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12457 * dirent/rewinddir.c: Add libc_hidden_def.
12458 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12459 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12461 * include/dirent.h (__alloc_dir): Add flags parameter.
12462 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12463 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12465 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12466 from fdopendir if O_CLOEXEC is already set.
12468 2011-03-15 Alan Modra <amodra@gmail.com>
12470 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12471 l_tls_firstbyte_offset non-zero. Save padding offset in
12472 l_tls_firstbyte_offset for later use.
12473 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12474 freeing static tls block.
12476 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12478 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12479 where #ifdef was intended. The intent is to prevent ARG_MAX from
12480 being defined by the kernel headers.
12482 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12485 * resolv/resolv.h: Define RES_NOTLDQUERY.
12486 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12487 no-tld-query and set RES_NOTLDQUERY.
12488 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12489 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12490 modern BIND to search name as TLD unless forbidden.
12492 2011-05-07 Petr Baudis <pasky@suse.cz>
12493 Ulrich Drepper <drepper@gmail.com>
12496 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12497 (is_trusted_path): ...to here.
12498 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12499 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12500 using is_trusted_path_normalize() in setuid scripts.
12502 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12504 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12505 __BEGIN/__END_DECLS.
12507 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12509 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12510 NSS_STATUS_NOTFOUND if no record was found.
12512 2011-05-05 Andreas Schwab <schwab@redhat.com>
12514 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12515 (headers-not-in-tirpc): Remove rpc/netdb.h
12516 * resolv/netdb.h: Revert last change.
12518 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12520 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12521 circular dependency between libgcc.a and libc.a.
12523 2011-05-05 Andreas Schwab <schwab@redhat.com>
12525 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12526 * nis/Makefile: Don't install rpcsvc/*.
12527 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12528 instead of <rpc/types.h>.
12529 (MAXHOSTNAMELEN): Define.
12531 2011-05-03 Andreas Schwab <schwab@redhat.com>
12533 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12535 2011-04-28 Maciej Babinski <mbabinski@google.com>
12538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12539 gethostbyname4_r when IPv6 results are possible.
12541 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12544 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12545 _PC_PIPE_BUF handling.
12547 2011-04-30 Bruno Haible <bruno@clisp.org>
12550 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12551 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12553 * inet/getnameinfo.c (getnameinfo): Likewise.
12555 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12557 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12558 to groups setting in database lookup.
12559 * nss/nsswitch.conf: Add initgroups entry.
12561 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12564 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12566 Patch by Eric Blake <eblake@redhat.com>.
12568 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12570 * sunrpc/Makefile (need-export-routines): Add svc_run.
12571 (routines): Remove svc_run.
12572 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12573 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12574 * sunrpc/svc_run.c (svc_run): Likewise.
12575 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12577 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12579 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12580 problem in reallocation in last patch.
12582 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12584 * sunrpc/Makefile: Move inclusion of Rules.
12586 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12588 * nss/nss_files/files-initgroups.c: New file.
12589 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12590 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12591 _nss_files_initgroups_dyn.
12593 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12595 * elf/elf.h (R_ARM_IRELATIVE): Define.
12597 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12599 * po/ru.po: Update from translation team.
12601 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12603 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12606 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12609 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12610 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12611 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12612 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12613 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12615 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12617 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12619 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12623 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12626 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12628 * stdlib/bug-getcontext.c: New file.
12629 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12631 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12633 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12634 instructions into .machine "z9-109".
12635 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12636 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12638 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12640 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12641 between environment variables and auxiliary vector.
12643 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12645 * Makefile: Add rules to build linkobj/libc.so.
12646 * include/libc-symbols.h: Define libc_hidden_nolink.
12647 * include/rpc/auth.h: Mark functions which are to be hidden.
12648 * include/rpc/auth_des.h: Likewise.
12649 * include/rpc/auth_unix.h: Likewise.
12650 * include/rpc/clnt.h: Likewise.
12651 * include/rpc/des_crypt.h: Likewise.
12652 * include/rpc/key_prot.h: Likewise.
12653 * include/rpc/pmap_clnt.h: Likewise.
12654 * include/rpc/pmap_prot.h: Likewise.
12655 * include/rpc/pmap_rmt.h: Likewise.
12656 * include/rpc/rpc_msg.h: Likewise.
12657 * include/rpc/svc.h: Likewise.
12658 * include/rpc/svc_auth.h: Likewise.
12659 * include/rpc/xdr.h: Likewise.
12660 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12661 * nss/Makefile: Likewise.
12662 * sunrpc/Makefile: Don't install headers. Build library with normal
12663 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12664 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12665 for the compat linking library. Remove use of INTDEF/INTUSE.
12666 * sunrpc/auth_none.c: Likewise.
12667 * sunrpc/auth_unix.c: Likewise.
12668 * sunrpc/authdes_prot.c: Likewise.
12669 * sunrpc/authuxprot.c: Likewise.
12670 * sunrpc/clnt_gen.c: Likewise.
12671 * sunrpc/clnt_perr.c: Likewise.
12672 * sunrpc/clnt_raw.c: Likewise.
12673 * sunrpc/clnt_simp.c: Likewise.
12674 * sunrpc/clnt_tcp.c: Likewise.
12675 * sunrpc/clnt_udp.c: Likewise.
12676 * sunrpc/clnt_unix.c: Likewise.
12677 * sunrpc/des_crypt.c: Likewise.
12678 * sunrpc/des_soft.c: Likewise.
12679 * sunrpc/get_myaddr.c: Likewise.
12680 * sunrpc/key_call.c: Likewise.
12681 * sunrpc/key_prot.c: Likewise.
12682 * sunrpc/netname.c: Likewise.
12683 * sunrpc/pm_getmaps.c: Likewise.
12684 * sunrpc/pm_getport.c: Likewise.
12685 * sunrpc/pmap_clnt.c: Likewise.
12686 * sunrpc/pmap_prot.c: Likewise.
12687 * sunrpc/pmap_prot2.c: Likewise.
12688 * sunrpc/pmap_rmt.c: Likewise.
12689 * sunrpc/publickey.c: Likewise.
12690 * sunrpc/rpc_cmsg.c: Likewise.
12691 * sunrpc/rpc_common.c: Likewise.
12692 * sunrpc/rpc_dtable.c: Likewise.
12693 * sunrpc/rpc_prot.c: Likewise.
12694 * sunrpc/rpc_thread.c: Likewise.
12695 * sunrpc/rtime.c: Likewise.
12696 * sunrpc/svc.c: Likewise.
12697 * sunrpc/svc_auth.c: Likewise.
12698 * sunrpc/svc_authux.c: Likewise.
12699 * sunrpc/svc_raw.c: Likewise.
12700 * sunrpc/svc_run.c: Likewise.
12701 * sunrpc/svc_simple.c: Likewise.
12702 * sunrpc/svc_tcp.c: Likewise.
12703 * sunrpc/svc_udp.c: Likewise.
12704 * sunrpc/svc_unix.c: Likewise.
12705 * sunrpc/svcauth_des.c: Likewise.
12706 * sunrpc/xcrypt.c: Likewise.
12707 * sunrpc/xdr.c: Likewise.
12708 * sunrpc/xdr_array.c: Likewise.
12709 * sunrpc/xdr_float.c: Likewise.
12710 * sunrpc/xdr_intXX_t.c: Likewise.
12711 * sunrpc/xdr_mem.c: Likewise.
12712 * sunrpc/xdr_rec.c: Likewise.
12713 * sunrpc/xdr_ref.c: Likewise.
12714 * sunrpc/xdr_sizeof.c: Likewise.
12715 * sunrpc/xdr_stdio.c: Likewise.
12717 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12720 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12721 * sysdeps/ia64/dl-tls.h: Likewise.
12722 * sysdeps/powerpc/dl-tls.h: Likewise.
12723 * sysdeps/s390/dl-tls.h: Likewise.
12724 * sysdeps/sh/dl-tls.h: Likewise.
12725 * sysdeps/sparc/dl-tls.h: Likewise.
12726 * sysdeps/x86_64/dl-tls.h: Likewise.
12727 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12729 2011-03-14 Andreas Schwab <schwab@redhat.com>
12731 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12732 rpath element also skip the following colon.
12733 (expand_dynamic_string_token): Add is_path parameter and pass
12734 down to DL_DST_REQUIRED and _dl_dst_substitute.
12735 (decompose_rpath): Call expand_dynamic_string_token with
12736 non-zero is_path. Ignore empty rpaths.
12737 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12740 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12745 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12748 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12749 Patch by Filipe David Manana <fdmanana@apache.org>.
12751 2011-04-07 Andreas Schwab <schwab@redhat.com>
12753 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12754 Maintain aligned stack.
12755 (CHECK_RSP): Remove unused macro.
12757 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12759 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12760 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12762 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12764 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12766 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12768 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12771 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12772 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12773 * sysdeps/x86_64/memmove.c: New file.
12774 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12775 (memcpy): Renamed to ...
12776 (__new_memcpy): This.
12777 (memcpy): Provide GLIBC_2_14 memcpy.
12778 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12779 (memcpy): Provide GLIBC_2_2_5 memcpy.
12781 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12784 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12786 2011-03-30 Andreas Schwab <schwab@redhat.com>
12788 * misc/syncfs.c: New file.
12789 * misc/Makefile (routines): Add syncfs.
12790 * posix/unistd.h: Declare syncfs.
12791 * sysdeps/unix/syscalls.list: Add syncfs.
12793 2011-04-01 Andreas Schwab <schwab@redhat.com>
12795 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12797 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12798 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12800 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12802 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12805 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12809 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12811 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12813 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12815 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12816 sync_file_range.c with -fexceptions.
12817 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12818 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12819 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12820 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12821 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12822 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12824 sync_file_range as cancellation point
12825 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12826 now a wrapper around __call_sync_file_range with cancellation handling.
12827 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12828 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12829 function name to __call_sync_file_range.
12830 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12831 Add call_sync_file_range.
12833 2011-04-01 Andreas Schwab <schwab@redhat.com>
12835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12838 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12840 * iconv/iconv.h: Fix typo in comment.
12841 * io/fcntl.h: Likewise.
12842 * libio/stdio.h: Likewise.
12843 * posix/spawn.h: Likewise.
12844 * posix/unistd.h: Likewise.
12845 * stdlib/stdlib.h: Likewise.
12846 * time/time.h: Likewise.
12847 * wcsmbs/wchar.h: Likewise.
12849 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12850 open_by_handle): Add.
12851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12852 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12853 Augment a few comments.
12854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12859 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12862 * io/fcntl.h (AT_EMPTY_PATH): Define.
12864 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12866 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12867 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12868 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12870 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12871 * Versions.def: Add GLIBC_2.14.
12872 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12875 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12877 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12879 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12881 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12884 * string/test-strncmp.c (do_page_test): New function.
12885 (check2): Likewise.
12886 (test_main): Call check2.
12887 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12889 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12892 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12893 Handle cache information in CPU leaf 4.
12894 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12896 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12899 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12900 character representation.
12901 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12903 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12905 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12906 END(__isnan) to END(__isnanf) to match function entry point/label
12907 EALIGN(__isnanf,...).
12909 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12911 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12913 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12916 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12917 copy from the symbol referenced in the relocation to initialize the
12919 Patch by Piotr Bury <pbury@goahead.com>.
12920 * elf/Makefile: Add rules to build and tst-unique3.
12921 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12922 * elf/tst-unique3.cc: New file.
12923 * elf/tst-unique3.h: New file.
12924 * elf/tst-unique3lib.cc: New file.
12925 * elf/tst-unique3lib2.cc: New file.
12927 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12929 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12931 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12932 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12935 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12937 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12938 to-be-loaded object along a path to loader is ld.so.
12940 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12941 Ulrich Drepper <drepper@gmail.com>
12943 * sysdeps/x86_64/memset.S: After aligning destination, code
12944 branches to different locations depending on the value of
12945 misalignment, when multiarch is enabled. Fix this.
12947 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12949 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12950 Set _x86_64_preferred_memory_instruction for AMD processsors.
12951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12952 Set bit_Prefer_SSE_for_memop for AMD processors.
12954 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12956 * libio/fmemopen.c (fmemopen): Optimize a bit.
12958 2011-03-03 Andreas Schwab <schwab@redhat.com>
12960 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12962 2011-03-03 Roland McGrath <roland@redhat.com>
12964 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12966 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12968 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12969 __bzero_ultra1 instead of __memset_ultra1.
12971 2011-02-23 Andreas Schwab <schwab@redhat.com>
12972 Ulrich Drepper <drepper@gmail.com>
12975 * include/link.h (struct link_map): Add l_orig_initfini.
12976 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12977 returning unsuccessfully.
12978 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12979 close of a file loaded at startup, restore the original l_initfini
12981 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12982 list, store the pointer.
12983 * elf/Makefile ($(objpfx)noload-mem): New rule.
12984 (noload-ENV): Define.
12985 (tests): Add $(objpfx)noload-mem.
12986 * elf/noload.c: Include <memcheck.h>.
12987 (main): Call mtrace. Close all opened handles.
12989 2011-02-17 Andreas Schwab <schwab@redhat.com>
12992 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12993 dependencies are missing.
12995 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12997 Fix __if_freereq crash: Unlike the generic version which uses free,
12999 * sysdeps/mach/hurd/ifreq.h: New file.
13001 2011-01-27 Petr Baudis <pasky@suse.cz>
13002 Ulrich Drepper <drepper@gmail.com>
13005 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13006 to extend_alloca().
13007 * stdio-common/bug23.c: New file.
13008 * stdio-common/Makefile (tests): Add bug23.
13010 2010-09-28 Andreas Schwab <schwab@redhat.com>
13011 Ulrich Drepper <drepper@gmail.com>
13014 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13015 before performing relro protection. At old place add assertion
13016 to make sure nothing changed.
13018 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13019 Glauber de Oliveira Costa <glommer@gmail.com>
13021 * elf/elf.h: Add new ARM TLS relocs.
13023 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13026 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13028 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13030 * sysdeps/wordsize-64/tst-writev.c: New file.
13032 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13034 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13035 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13036 insns in _dl_start to prevent a TOC reference before relocs are
13039 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13042 * Makeconfig: Remove RANLIB definition.
13043 * Makerules: Don't use RANLIB.
13044 * aclocal.m4: Remove ranlib test.
13045 * configure.in: No need to check for ranlib.
13046 * elf/rtld-Rules: Don't use RANLIB.
13048 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13050 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13052 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13053 inclusion protection macro.
13055 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13056 SIGRTMIN and SIGRTMAX and print information in that case only when
13057 SIGRTMIN is defined.
13059 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13061 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13062 arginfo fn returning -1.
13064 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13065 and thousands string is zero terminated.
13067 2011-02-03 Andreas Schwab <schwab@redhat.com>
13069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13070 sysdeps/unix/sysv/linux/bits/socket.h.
13072 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13074 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13075 (__CPU_COUNT): Remove old macros.
13076 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13077 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13078 (__CPU_ALLOC, __CPU_FREE): Add macros.
13079 (__sched_cpualloc, __sched_cpufree): Add declarations.
13081 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13083 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13084 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13085 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13086 (readdhstai): Return value of addhstaiX call.
13087 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13088 (addgrbyX): Return value returned by cache_addgr.
13089 (readdgrbyname): Return value returned by addgrbyX.
13090 (readdgrbygid): Likewise.
13091 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13092 (addpwbyX): Return value returned by cache_addpw.
13093 (readdpwbyname): Return value returned by addhstbyX.
13094 (readdpwbyuid): Likewise.
13095 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13096 (addservbyX): Return value returned by cache_addserv.
13097 (readdservbyname): Return value returned by addservbyX:
13098 (readdservbyport): Likewise.
13099 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13100 (addhstbyX): Return value returned by cache_addhst.
13101 (readdhstbyname): Return value returned by addhstbyX.
13102 (readdhstbyaddr): Likewise.
13103 (readdhstbynamev6): Likewise.
13104 (readdhstbyaddrv6): Likewise.
13105 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13106 (readdinitgroups): Return value returned by addinitgroupsX.
13107 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13108 (prune_cache): Keep track of timeout value of re-added entries.
13109 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13110 * nscd/nscd.h: Adjust prototypes of readd* functions.
13112 2011-02-04 Roland McGrath <roland@redhat.com>
13114 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13115 (nis_stats): Likewise.
13116 * nis/nis_modify.c (nis_modify): Likewise.
13117 * nis/nis_remove.c (nis_remove): Likewise.
13118 * nis/nis_add.c (nis_add): Likewise.
13120 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13122 * posix/fnmatch_loop.c: Add some consts.
13124 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13126 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13129 * config.make.in (config-cflags-novzeroupper): Define.
13130 * configure.in: Substitute libc_cv_cc_novzeroupper.
13131 * elf/Makefile (AVX-CFLAGS): Define.
13132 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13133 (CFLAGS-tst-auditmod4a.c): Likewise.
13134 (CFLAGS-tst-auditmod4b.c): Likewise.
13135 (CFLAGS-tst-auditmod6b.c): Likewise.
13136 (CFLAGS-tst-auditmod6c.c): Likewise.
13137 (CFLAGS-tst-auditmod7b.c): Likewise.
13138 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13140 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13142 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13143 function to the callback.
13144 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13146 2011-02-02 Andreas Schwab <schwab@redhat.com>
13148 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13151 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13154 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13156 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13158 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13161 * elf/Makefile: Add rules to build and run new test.
13162 * elf/tst-initorder.c: New file.
13163 * elf/tst-initorder.exp: New file.
13164 * elf/tst-initordera1.c: New file.
13165 * elf/tst-initordera2.c: New file.
13166 * elf/tst-initordera3.c: New file.
13167 * elf/tst-initordera4.c: New file.
13168 * elf/tst-initorderb1.c: New file.
13169 * elf/tst-initorderb2.c: New file.
13170 * elf/tst-order-a1.c: New file.
13171 * elf/tst-order-a2.c: New file.
13172 * elf/tst-order-a3.c: New file.
13173 * elf/tst-order-a4.c: New file.
13174 * elf/tst-order-b1.c: New file.
13175 * elf/tst-order-b2.c: New file.
13176 * elf/tst-order-main.c: New file.
13177 New test case by George Gensure <werkt0@gmail.com>.
13179 2010-10-01 Andreas Schwab <schwab@redhat.com>
13181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13182 decoding ACE if AI_CANONIDN.
13184 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13186 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13188 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13190 * version.h (RELEASE): Bump for 2.13 release.
13191 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13193 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13195 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13197 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13198 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13199 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13202 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13204 * posix/getconf.c: Update copyright year.
13205 * catgets/gencat.c: Likewise.
13206 * csu/version.c: Likewise.
13207 * debug/catchsegv.sh: Likewise.
13208 * debug/xtrace.sh: Likewise.
13209 * elf/ldconfig.c: Likewise.
13210 * elf/ldd.bash.in: Likewise.
13211 * elf/sprof.c (print_version): Likewise.
13212 * iconv/iconv_prog.c: Likewise.
13213 * iconv/iconvconfig.c: Likewise.
13214 * locale/programs/locale.c: Likewise.
13215 * locale/programs/localedef.c: Likewise.
13216 * malloc/memusage.sh: Likewise.
13217 * malloc/mtrace.pl: Likewise.
13218 * nscd/nscd.c (print_version): Likewise.
13219 * nss/getent.c: Likewise.
13221 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13222 PF_CAIF, and PF_ALG.
13223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13225 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13227 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13228 (modules-names): Use them.
13229 (ifunc-test-modules, ifunc-pie-tests): Define.
13230 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13231 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13232 (test-extras): Likewise.
13233 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13234 $(compile-command.c).
13235 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13236 (all-built-dso): Define.
13237 (check-textrel.out, check-execstack.out): Depend on it.
13239 * configure.in: Don't override --enable-multi-arch.
13241 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13244 * nscd/hstcache.c (tryagain): Define.
13245 (cache_addhst): Return tryagain not notfound for temporary errors.
13246 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13249 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13252 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13253 to make the syscall.
13254 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13257 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13258 and fall back to matching as normal character if the string ends before
13259 the matching ']' is found. This is what POSIX requires.
13260 * posix/testfnm.c: Adjust test result.
13261 * posix/globtest.sh: Adjust test result. Add new test.
13262 * posix/tst-fnmatch.input: Likewise.
13263 * posix/tst-fnmatch2.c: Add new test.
13265 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13267 * elf/Makefile (check-execstack): Revert last change. Depend on
13269 (check-execstack.h): New target.
13270 (generated): Add check-execstack.h.
13271 * elf/check-execstack.c: Include "check-execstack.h".
13272 (main): Revert last change.
13273 (handle_file): Return zero if GNU_STACK is absent and
13274 DEFAULT_STACK_PERMS doesn't include PF_X.
13276 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13278 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13279 in child fails because the descriptor is already closed.
13280 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13281 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13282 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13285 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13289 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13290 temporary buffer used to handle multi lookups locally.
13291 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13293 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13295 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13298 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13300 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13301 alignment for SSE2.
13303 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13306 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13307 characters. When rounding increased number of integer digits recompute
13309 * stdio-common/tst-grouping.c: New file.
13310 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13312 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13314 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13315 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13317 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13319 * bits/select.h: Likewise.
13321 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13323 * po/ja.po: Update from translation team.
13325 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13328 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13329 implementation just like for lxstat, fxstatat, et al.
13331 2010-12-27 Jim Meyering <meyering@redhat.com>
13334 * posix/regexec.c (build_trtable): Return failure indication upon
13335 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13337 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13340 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13341 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13342 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13343 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13346 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13349 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13350 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13352 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13354 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13355 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13356 script has SORT_BY_INIT_PRIORITY.
13357 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13358 NO_CTORS_DTORS_SECTIONS is defined.
13359 * elf/soinit.c: Likewise.
13360 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13361 NO_CTORS_DTORS_SECTIONS is defined.
13362 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13363 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13364 * sysdeps/sh/init-first.c: Likewise.
13365 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13367 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13369 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13370 always use the slow path.
13372 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13374 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13375 similar rule which adds the sysdep directories to the header search in
13376 order to pick up the correct platform stackinfo.h.
13377 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13378 perform test if it is, otherwise return successfully without testing.
13379 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13380 DEFAULT_STACK_PERMS define in stackinfo.h.
13381 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13382 defined in stackinfo.h.
13383 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13384 DEFAULT_STACK_PERMS defined in stackinfo.h.
13385 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13386 * sysdeps/ia64/stackinfo.h: Likewise.
13387 * sysdeps/s390/stackinfo.h: Likewise.
13388 * sysdeps/sh/stackinfo.h: Likewise.
13389 * sysdeps/sparc/stackinfo.h: Likewise.
13390 * sysdeps/x86_64/stackinfo.h: Likewise.
13391 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13392 PF_X for powerpc64. Retain PF_X for powerpc32.
13394 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13396 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13398 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13399 GETDENTS_64BIT_ALIGNED.
13401 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13403 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13405 2010-12-10 Andreas Schwab <schwab@redhat.com>
13407 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13410 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13411 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13413 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13414 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13416 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13419 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13422 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13424 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13426 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13428 * po/it.po: Update from translation team.
13430 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13435 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13437 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13439 2010-11-24 Andreas Schwab <schwab@redhat.com>
13441 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13443 (gaih_getanswer_slice): Likewise.
13445 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13447 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13449 2010-05-31 Petr Baudis <pasky@suse.cz>
13452 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13453 silently even in the chroot mode.
13455 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13457 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13458 last patch a bit. Pretty printing
13460 2010-05-31 Petr Baudis <pasky@suse.cz>
13463 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13464 initialization of skip_initgroups_dyn.
13466 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13468 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13469 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13471 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13473 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13475 2010-11-11 Andreas Schwab <schwab@redhat.com>
13477 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13478 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13479 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13480 ($(objpfx)tst-fnmatch-mem): New rule.
13481 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13482 * posix/tst-fnmatch.c (main): Call mtrace.
13484 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13487 Support Intel processor model 6 and model 0x2c.
13489 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13491 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13494 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13497 * string/test-strncasecmp.c (check_result): New function.
13498 (do_one_test): Use it.
13499 (check1): New function.
13500 (test_main): Use it.
13501 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13502 Support strcasecmp and strncasecmp.
13504 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13507 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13510 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13512 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13516 * sysdeps/x86_64/multiarch/bzero.S: New file.
13517 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13518 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13519 * sysdeps/x86_64/multiarch/memset.S: New file.
13520 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13522 Set bit_Prefer_SSE_for_memop for Intel processors.
13523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13525 (index_Prefer_SSE_for_memop): Define.
13526 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13528 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13530 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13531 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13533 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13536 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13537 (__x86_64_raw_data_cache_size_half): Likewise.
13538 (__x86_64_raw_shared_cache_size): Likewise.
13539 (__x86_64_raw_shared_cache_size_half): Likewise.
13541 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13542 (__x86_64_raw_data_cache_size_half): Likewise.
13543 (__x86_64_raw_shared_cache_size): Likewise.
13544 (__x86_64_raw_shared_cache_size_half): Likewise.
13545 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13546 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13547 and __x86_64_raw_shared_cache_size_half. Round
13548 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13549 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13550 to multiple of 256 bytes.
13552 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13555 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13556 of inacessible symlinks. Verify result of symlink before returning it.
13557 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13558 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13560 2010-10-28 Erich Ritz <erichritz@gmail.com>
13562 * math/math.h (isinf): Fix typo in comment.
13564 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13566 * po/da.po: Update from translation team.
13568 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13570 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13571 is added to the list.
13573 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13574 Ulrich Drepper <drepper@gmail.com>
13576 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13577 the global list here. Move code to...
13578 (_dl_add_to_namespace_list): ...here. New function.
13579 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13580 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13581 * elf/dl-load.c (lose): Don't remove the element from the list.
13582 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13583 (_dl_map_object): Likewise.
13585 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13588 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13589 into all bytes of SSE register.
13590 Patch by Richard Li <richardpku@gmail.com>.
13592 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13595 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13598 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13600 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13601 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13602 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13603 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13608 2010-10-22 Andreas Schwab <schwab@redhat.com>
13610 * include/dlfcn.h (__RTLD_SECURE): Define.
13611 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13612 mode & __RTLD_SECURE instead.
13613 (open_path): Rename preloaded parameter to secure.
13614 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13615 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13616 * elf/dl-deps.c (openaux): Likewise.
13617 * elf/rtld.c (struct map_args): Remove is_preloaded.
13618 (map_doit): Don't use it.
13619 (dl_main): Likewise.
13620 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13621 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13623 2010-09-09 Andreas Schwab <schwab@redhat.com>
13625 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13626 (sysd-rules-targets): Remove duplicates.
13627 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13628 rtld-%.$o dependency.
13630 2010-10-18 Andreas Schwab <schwab@redhat.com>
13632 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13633 _dl_map_object do it.
13635 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13637 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13638 fast fma builtins, define the macros in the C99 standard.
13639 (FP_FAST_FMAF): Likewise.
13640 (FP_FAST_FMAL): Likewise.
13641 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13643 * bits/mathdef.h: Update copyright year.
13644 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13646 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13648 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13649 builtins, define the macros in the C99 standard.
13650 (FP_FAST_FMAF): Likewise.
13651 (FP_FAST_FMAL): Likewise.
13652 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13654 (FP_FAST_FMAF): Likewise.
13656 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13659 * math/libm-test.inc (fma_test): Some new testcases.
13660 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13661 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13662 y and infinite z. Do multiplication by C already in long double.
13663 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13665 y and infinite z. Do bitwise or of inexact bit into u.d.
13666 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13667 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13668 * sysdeps/i386/fpu/s_fma.S: Removed.
13669 * sysdeps/i386/fpu/s_fmal.S: Removed.
13671 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13674 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13675 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13676 computation is not scheduled after fetestexcept. Fix value
13677 of minimum denormal long double.
13679 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13682 * math/libm-test.inc (fma_test): Add some more tests.
13683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13686 2010-10-15 Andreas Schwab <schwab@redhat.com>
13688 * scripts/data/localplt-s390-linux-gnu.data: New file.
13689 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13691 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13694 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13695 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13697 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13699 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13701 if one of x and y is very large and the other is subnormal.
13702 * sysdeps/s390/fpu/s_fmaf.c: New file.
13703 * sysdeps/s390/fpu/s_fma.c: New file.
13704 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13705 * sysdeps/powerpc/fpu/s_fma.S: New file.
13706 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13707 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13708 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13710 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13713 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13715 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13716 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13717 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13718 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13719 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13720 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13723 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13726 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13727 * posix/bug-regex31.input: Add test case.
13729 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13731 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13732 * posix/bug-regex31.input: New file.
13735 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13736 (parse_sub_exp): Fix last change, use postorder.
13738 * posix/bug-regex31.c: New file.
13739 * posix/Makefile: Add rules to build and run bug-regex31.
13741 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13744 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13747 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13748 to have entries in sys_siglist.
13751 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13754 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13757 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13758 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13759 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13760 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13761 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13762 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13763 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13764 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13765 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13766 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13767 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13768 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13769 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13770 * math/ftestexcept.c (fetestexcept): Likewise.
13771 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13772 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13773 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13774 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13775 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13776 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13777 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13779 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13782 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13785 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13787 * string/bug-strstr1.c: New file.
13788 * string/Makefile: Add rules to build and run bug-strstr1.
13790 2010-10-05 Eric Blake <eblake@redhat.com>
13793 * string/str-two-way.h (two_way_long_needle): Always clear memory
13794 when skipping input due to the shift table.
13796 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13799 * malloc/mcheck.c: Handle large requests.
13802 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13803 for strncmp and strncasecmp.
13804 * string/stratcliff.c: Add tests for strcmp and strncmp.
13805 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13807 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13809 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13812 2010-09-30 Andreas Jaeger <aj@suse.de>
13814 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13815 (CGROUP_SUPER_MAGIC): Define.
13816 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13817 Handle btrfs and cgroup file systems.
13818 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13821 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13823 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13824 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13826 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13829 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13830 trying to locate the ELF header.
13832 2010-09-27 Andreas Schwab <schwab@redhat.com>
13835 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13836 Mask out sign-bit copies when constructing f_fsid.
13838 2010-09-24 Petr Baudis <pasky@suse.cz>
13840 * debug/stack_chk_fail_local.c: Add missing licence exception.
13841 * debug/warning-nop.c: Likewise.
13843 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13845 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13846 implementing getdents64 using getdents syscall, set d_type if
13847 __ASSUME_GETDENTS32_D_TYPE.
13849 2010-09-16 Andreas Schwab <schwab@redhat.com>
13851 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13852 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13854 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13857 * posix/unistd.h: Undo change of feature selection for ftruncate from
13860 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13862 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13865 2010-09-20 Andreas Schwab <schwab@redhat.com>
13867 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13869 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13871 2010-09-14 Andreas Schwab <schwab@redhat.com>
13873 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13874 variables after CHECK_SP call.
13875 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13877 2010-09-13 Andreas Schwab <schwab@redhat.com>
13878 Ulrich Drepper <drepper@redhat.com>
13880 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13881 re-relocationg ld.so.
13882 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13883 _dl_init_paths call.
13884 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13887 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13889 * resolv/res_init.c (__res_vinit): Count the default server we added.
13891 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13892 Ulrich Drepper <drepper@redhat.com>
13895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13896 (____longjmp_chk): Use %ebx for saving value across system call.
13899 2010-09-06 Andreas Schwab <schwab@redhat.com>
13901 * manual/Makefile: Don't mix pattern rules with normal rules.
13903 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13905 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13907 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13908 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13909 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13910 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13911 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13914 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13917 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13918 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13920 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13922 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13923 * sysdeps/x86_64/addmul_1.S: Likewise.
13924 * sysdeps/x86_64/lshift.S: Likewise.
13925 * sysdeps/x86_64/mul_1.S: Likewise.
13926 * sysdeps/x86_64/rshift.S: Likewise.
13927 * sysdeps/x86_64/sub_n.S: Likewise.
13928 * sysdeps/x86_64/submul_1.S: Likewise.
13930 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13932 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13933 Define __sched_param instead of SCHED_* and sched_param when
13934 <bits/sched.h> is included with __need_schedparam defined.
13935 * bits/sched.h [__need_schedparam]
13936 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13937 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13938 (__defined_schedparam): Define to 1.
13939 (__sched_param): New structure, identical to sched_param.
13940 (__need_schedparam): Undefine.
13942 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13944 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13945 (epoll_create1): Declare.
13947 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13949 2010-08-31 Andreas Schwab <schwab@redhat.com>
13952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13953 shifting retval into place.
13955 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13957 * nis/rpcsvc/nis.h: Update copyright notice.
13958 * nis/rpcsvc/nis.x: Likewise.
13959 * nis/rpcsvc/nis_callback.h: Likewise.
13960 * nis/rpcsvc/nis_callback.x: Likewise.
13961 * nis/rpcsvc/nis_object.x: Likewise.
13962 * nis/rpcsvc/nis_tags.h: Likewise.
13963 * nis/rpcsvc/yp.h: Likewise.
13964 * nis/rpcsvc/yp.x: Likewise.
13965 * nis/rpcsvc/ypupd.h: Likewise.
13966 * nis/yp_xdr.c: Likewise.
13967 * nis/ypupdate_xdr.c: Likewise.
13969 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13970 mainly the body of pmap_getport. Add parameters to specify timeouts.
13971 (pmap_getport): Use __libc_rpc_getport.
13972 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13973 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13974 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13976 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13981 2010-08-27 Roland McGrath <roland@redhat.com>
13983 * sysdeps/i386/i686/multiarch/Makefile
13984 (CFLAGS-varshift.c): New variable.
13986 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13988 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13989 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13993 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13995 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13997 * sysdeps/x86_64/strlen.S: Unroll the loop.
13998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13999 strlen-sse2 strlen-sse2-bsf.
14000 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14001 __strlen_no_bsf if bit_Slow_BSF is set.
14002 (__strlen_sse42): Removed.
14003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14004 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14006 2010-08-25 Roland McGrath <roland@redhat.com>
14008 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14009 * sysdeps/x86_64/multiarch/varshift.c: New file.
14010 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14011 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14012 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14013 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14015 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14018 strlen-sse2 strlen-sse2-bsf.
14019 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14020 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14021 (__strlen_sse2): Removed.
14022 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14025 bit_Slow_BSF for Atom.
14026 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14027 (index_Slow_BSF): Define.
14028 (HAS_SLOW_BSF): Define.
14030 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14033 * resolv/res_init.c (__res_vinit): When no server address at all
14034 is given default to loopback.
14036 2010-08-24 Roland McGrath <roland@redhat.com>
14038 * configure.in: Remove config-name.h generation.
14039 * configure: Regenerated.
14040 * config-name.in: File removed.
14041 * scripts/config-uname.sh: New file.
14042 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14043 ($(objdir)config-name.h): New target.
14045 * sunrpc/rpc_parse.h: Avoid nested comment.
14047 2010-08-24 Richard Henderson <rth@redhat.com>
14048 Ulrich Drepper <drepper@redhat.com>
14049 H.J. Lu <hongjiu.lu@intel.com>
14051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14053 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14054 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14055 _mm_alignr_epi8 with _mm_loadu_si128.
14056 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14057 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14058 (__m128i_shift_right): Removed.
14059 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14060 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14061 * sysdeps/x86_64/multiarch/varshift.h: New file.
14062 * sysdeps/x86_64/multiarch/varshift.S: New file.
14064 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14066 * configure.in: Move assembler checks to before sysdep dir checking.
14068 2010-08-20 Petr Baudis <pasky@suse.cz>
14070 * LICENSES: Sync the sunrpc license.
14072 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14074 * sunrpc/auth_des.c: Update copyright notice once again.
14075 * sunrpc/auth_none.c: Likewise.
14076 * sunrpc/auth_unix.c: Likewise.
14077 * sunrpc/authdes_prot.c: Likewise.
14078 * sunrpc/authuxprot.c: Likewise.
14079 * sunrpc/bindrsvprt.c: Likewise.
14080 * sunrpc/clnt_gen.c: Likewise.
14081 * sunrpc/clnt_perr.c: Likewise.
14082 * sunrpc/clnt_raw.c: Likewise.
14083 * sunrpc/clnt_simp.c: Likewise.
14084 * sunrpc/clnt_tcp.c: Likewise.
14085 * sunrpc/clnt_udp.c: Likewise.
14086 * sunrpc/clnt_unix.c: Likewise.
14087 * sunrpc/des_crypt.c: Likewise.
14088 * sunrpc/des_soft.c: Likewise.
14089 * sunrpc/get_myaddr.c: Likewise.
14090 * sunrpc/getrpcport.c: Likewise.
14091 * sunrpc/key_call.c: Likewise.
14092 * sunrpc/key_prot.c: Likewise.
14093 * sunrpc/openchild.c: Likewise.
14094 * sunrpc/pm_getmaps.c: Likewise.
14095 * sunrpc/pm_getport.c: Likewise.
14096 * sunrpc/pmap_clnt.c: Likewise.
14097 * sunrpc/pmap_prot.c: Likewise.
14098 * sunrpc/pmap_prot2.c: Likewise.
14099 * sunrpc/pmap_rmt.c: Likewise.
14100 * sunrpc/rpc/auth.h: Likewise.
14101 * sunrpc/rpc/auth_unix.h: Likewise.
14102 * sunrpc/rpc/clnt.h: Likewise.
14103 * sunrpc/rpc/des_crypt.h: Likewise.
14104 * sunrpc/rpc/key_prot.h: Likewise.
14105 * sunrpc/rpc/netdb.h: Likewise.
14106 * sunrpc/rpc/pmap_clnt.h: Likewise.
14107 * sunrpc/rpc/pmap_prot.h: Likewise.
14108 * sunrpc/rpc/pmap_rmt.h: Likewise.
14109 * sunrpc/rpc/rpc.h: Likewise.
14110 * sunrpc/rpc/rpc_des.h: Likewise.
14111 * sunrpc/rpc/rpc_msg.h: Likewise.
14112 * sunrpc/rpc/svc.h: Likewise.
14113 * sunrpc/rpc/svc_auth.h: Likewise.
14114 * sunrpc/rpc/types.h: Likewise.
14115 * sunrpc/rpc/xdr.h: Likewise.
14116 * sunrpc/rpc_clntout.c: Likewise.
14117 * sunrpc/rpc_cmsg.c: Likewise.
14118 * sunrpc/rpc_common.c: Likewise.
14119 * sunrpc/rpc_cout.c: Likewise.
14120 * sunrpc/rpc_dtable.c: Likewise.
14121 * sunrpc/rpc_hout.c: Likewise.
14122 * sunrpc/rpc_main.c: Likewise.
14123 * sunrpc/rpc_parse.c: Likewise.
14124 * sunrpc/rpc_parse.h: Likewise.
14125 * sunrpc/rpc_prot.c: Likewise.
14126 * sunrpc/rpc_sample.c: Likewise.
14127 * sunrpc/rpc_scan.c: Likewise.
14128 * sunrpc/rpc_scan.h: Likewise.
14129 * sunrpc/rpc_svcout.c: Likewise.
14130 * sunrpc/rpc_tblout.c: Likewise.
14131 * sunrpc/rpc_util.c: Likewise.
14132 * sunrpc/rpc_util.h: Likewise.
14133 * sunrpc/rpcinfo.c: Likewise.
14134 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14135 * sunrpc/rpcsvc/key_prot.x: Likewise.
14136 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14137 * sunrpc/rpcsvc/mount.x: Likewise.
14138 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14139 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14140 * sunrpc/rpcsvc/rex.x: Likewise.
14141 * sunrpc/rpcsvc/rstat.x: Likewise.
14142 * sunrpc/rpcsvc/rusers.x: Likewise.
14143 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14144 * sunrpc/rpcsvc/spray.x: Likewise.
14145 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14146 * sunrpc/rtime.c: Likewise.
14147 * sunrpc/svc.c: Likewise.
14148 * sunrpc/svc_auth.c: Likewise.
14149 * sunrpc/svc_authux.c: Likewise.
14150 * sunrpc/svc_raw.c: Likewise.
14151 * sunrpc/svc_run.c: Likewise.
14152 * sunrpc/svc_simple.c: Likewise.
14153 * sunrpc/svc_tcp.c: Likewise.
14154 * sunrpc/svc_udp.c: Likewise.
14155 * sunrpc/svc_unix.c: Likewise.
14156 * sunrpc/svcauth_des.c: Likewise.
14157 * sunrpc/xcrypt.c: Likewise.
14158 * sunrpc/xdr.c: Likewise.
14159 * sunrpc/xdr_array.c: Likewise.
14160 * sunrpc/xdr_float.c: Likewise.
14161 * sunrpc/xdr_mem.c: Likewise.
14162 * sunrpc/xdr_rec.c: Likewise.
14163 * sunrpc/xdr_ref.c: Likewise.
14164 * sunrpc/xdr_sizeof.c: Likewise.
14165 * sunrpc/xdr_stdio.c: Likewise.
14167 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14170 2010-08-19 Andreas Schwab <schwab@redhat.com>
14172 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14174 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14176 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14177 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14178 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14179 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14180 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14181 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14182 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14183 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14184 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14185 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14186 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14187 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14188 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14189 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14191 2010-07-26 Anton Blanchard <anton@samba.org>
14193 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14194 * malloc/arena.c (heap_trim): Likewise.
14196 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14198 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14201 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14203 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14205 * sysdeps/i386/elf/Makefile: New file.
14207 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14209 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14210 from fanotify_init.
14211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14214 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14216 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14218 * sysdeps/multiarch/strcmp.S: Likewise.
14220 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14222 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14223 strncase_l-nonascii.
14224 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14225 Add strncase_l-ssse3.
14226 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14227 * sysdeps/x86_64/strcmp.S: Likewise.
14228 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14229 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14230 * sysdeps/x86_64/strncase.S: New file.
14231 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14232 * sysdeps/x86_64/strncase_l.S: New file.
14233 * string/Makefile (strop-tests): Add strncasecmp.
14234 * string/test-strncasecmp.c: New file.
14236 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14239 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14240 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14242 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14244 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14246 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14248 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14249 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14250 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14252 2010-05-01 Alan Modra <amodra@gmail.com>
14254 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14255 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14256 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14257 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14258 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14259 tidying. Don't tail-call __sigjmp_save for static lib.
14260 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14262 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14263 (CALL_MCOUNT): Add eh info, and nop after bl.
14264 (TAIL_CALL_SYSCALL_ERROR): New macro.
14265 (PSEUDO_RET): Use it.
14266 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14267 Correct save location of integer regs and cr.
14268 (_dl_profile_resolve): Correct cr save location. Delete nops
14269 after bl when SHARED. Reduce cfi size a little by better
14270 placement of cfi directives.
14271 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14272 make a stack frame. Instead use parm save area as a temp.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14274 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14276 Don't make a stack frame for parent, use parm save area.
14277 Increase child stack frame to 112 bytes. Don't save unused reg,
14278 and adjust reg usage. Set up cfi on error recovery and
14279 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14281 (__makecontext): Add dummy nop after jump to exit.
14282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14283 Use correct parm save area and cr save, reduce stack frame.
14284 Correct cfi for possible PSEUDO_RET frame setup.
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14286 Branch to local label emitted by PSEUDO_RET rather than
14289 2010-08-12 Andreas Schwab <schwab@redhat.com>
14292 * locale/programs/locale.c (print_assignment): New function.
14293 (show_locale_vars): Use it.
14295 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14297 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14299 (struct statfs64): Likewise.
14300 (_STATFS_F_FLAGS): Define.
14301 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14302 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14303 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14304 (ST_VALID): Define locally.
14305 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14306 __statvfs_getflags, use the provided value.
14307 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14308 __ASSUME_STATFS_F_FLAGS.
14310 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14312 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14313 Add sys/fanotify.h.
14314 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14315 fanotify_mask for GLIBC_2.13.
14316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14317 fanotify_init and fanotify_mark.
14318 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14319 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14321 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14323 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14324 prlimit64 for GLIBC_2.13.
14325 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14330 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14331 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14332 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14335 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14338 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14339 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14341 * nss/Makefile: Add rules to build and run tst-nss-test1.
14342 * shlib-versions: Add entry for libnss_test1.
14343 * nss/nss_test1.c: New file.
14344 * nss/tst-nss-test1.c: New file.
14346 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14347 (__nss_configure_lookup): Set appropriate entry in
14348 __nss_configure_lookup to true.
14349 * nss/nsswitch.h: Define enum with indeces of databases in
14350 databases and __nss_database_custom arrays. Declare
14351 __nss_database_custom.
14352 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14353 to avoid using nscd when custom rules are installed.
14354 * nss/getXXbyYY_r.c: Likewise.
14355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14357 * nss/nss_files/files-parse.c: Whitespace fixes.
14359 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14362 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14363 * posix/fnmatch_loop.c: Likewise.
14365 2010-07-17 Andi Kleen <ak@linux.intel.com>
14367 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14368 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14369 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14370 * Versions.def [GLIBC_2.13]: Add.
14372 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14374 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14375 Also fail if tpwd after pwuid call is NULL.
14377 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14379 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14380 when converting to ms.
14382 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14384 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14385 EOPNOTSUPP errors with ENOTTY.
14386 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14387 EOPNOTSUPP errors with ENOTTY.
14389 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14391 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14392 Add strcasecmp_l-ssse3.
14393 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14395 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14396 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14397 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14399 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14401 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14403 * string/Makefile (strop-tests): Add strcasecmp.
14404 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14405 strcasecmp_l-nonascii.
14406 (gen-as-const-headers): Add locale-defines.sym.
14407 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14408 * sysdeps/x86_64/strcasecmp.S: New file.
14409 * sysdeps/x86_64/strcasecmp_l.S: New file.
14410 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14411 * sysdeps/x86_64/locale-defines.sym: New file.
14412 * string/test-strcasecmp.c: New file.
14414 * string/test-strcasestr.c: Test both ends of the range of characters.
14415 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14417 2010-07-29 Roland McGrath <roland@redhat.com>
14420 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14422 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14424 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14427 2010-07-27 Andreas Schwab <schwab@redhat.com>
14429 * manual/memory.texi (Malloc Tunable Parameters): Document
14432 2010-07-26 Roland McGrath <roland@redhat.com>
14435 * configure.in (-fgnu89-inline check): Set and substitute
14436 gnu89_inline, not libc_cv_gnu89_inline.
14437 * configure: Regenerated.
14438 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14440 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14442 * string/test-strnlen.c: New file.
14443 * string/Makefile (strop-tests): Add strnlen.
14444 * string/tester.c (test_strnlen): Add a few more test cases.
14445 * string/tst-strlen.c: Better error reporting.
14447 * sysdeps/x86_64/strnlen.S: New file.
14449 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14451 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14452 lower-latency instructions.
14454 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14456 * string/test-strcasestr.c: New file.
14457 * string/test-strstr.c: New file.
14458 * string/Makefile (strop-tests): Add strstr and strcasestr.
14459 * string/str-two-way.h: Don't undefine MAX.
14460 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14462 2010-07-21 Andreas Schwab <schwab@redhat.com>
14464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14465 strcasestr-nonascii.
14466 (CFLAGS-strcasestr-nonascii.c): Define.
14467 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14469 Remove unused attribute.
14471 2010-07-20 Roland McGrath <roland@redhat.com>
14473 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14474 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14475 ld.so.cache was broken. With it, there is no way to disable dsocaps
14476 like LD_HWCAP_MASK can disable hwcaps.
14478 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14480 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14482 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14484 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14485 call in strcasestr.
14486 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14487 __strcasestr_sse42_nonascii.
14488 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14489 strcasestr-nonascii.c.
14490 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14492 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14494 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14495 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14496 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14497 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14499 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14504 2010-07-06 Andreas Schwab <schwab@redhat.com>
14507 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14510 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14512 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14513 _PC_PIPE_BUF using F_GETPIPE_SZ.
14515 2010-07-05 Roland McGrath <roland@redhat.com>
14517 * manual/arith.texi (Rounding Functions): Fix rint description
14518 implicit in round description.
14520 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14522 * elf/Makefile: Fix linking for a few tests to make recent linker
14525 2010-06-30 Andreas Schwab <schwab@redhat.com>
14527 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14528 $(common-objpfx)libc_nonshared.a.
14530 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14532 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14533 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14534 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14535 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14536 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14537 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14538 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14539 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14554 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14555 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14556 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14557 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14558 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14559 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14560 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14561 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14562 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14563 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14564 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14565 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14581 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14583 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14584 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14585 * string/memmove.c (memmove): Renamed to ...
14586 (MEMMOVE): ...this. Default to memmove.
14587 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14588 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14591 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14592 mempcpy-ssse3-back memmove-ssse3-back.
14593 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14595 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14596 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14597 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14598 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14599 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14600 * sysdeps/x86_64/multiarch/memmove.c: New file.
14601 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14602 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14603 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14604 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14605 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14608 (index_Fast_Copy_Backward): Define.
14609 (HAS_ARCH_FEATURE): Define.
14610 (HAS_FAST_REP_STRING): Define.
14611 (HAS_FAST_COPY_BACKWARD): Define.
14613 2010-06-21 Andreas Schwab <schwab@redhat.com>
14615 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14616 Restore proper fallback handling.
14618 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14621 * posix/group_member.c (__group_member): Correct checking loop.
14623 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14624 OOM in getpwuid_r correctly. Return error number when the caller
14625 should return, otherwise -1.
14626 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14627 call returning > 0 value.
14628 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14630 2010-06-07 Andreas Schwab <schwab@redhat.com>
14632 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14633 libc_nonshared.a from targets in modules-names.
14635 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14637 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14640 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14642 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14643 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14647 2010-06-02 Andreas Schwab <schwab@redhat.com>
14649 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14651 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14653 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14660 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14662 2010-06-14 Roland McGrath <roland@redhat.com>
14664 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14666 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14668 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14669 __REDIRECT followed by __THROW.
14670 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14671 * posix/getopt.h (getopt): Likewise.
14673 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14675 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14676 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14677 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14679 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14680 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14682 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14684 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14686 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14690 Properly check family and model.
14692 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14694 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14696 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14698 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14700 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14702 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14705 2010-05-19 Andreas Schwab <schwab@redhat.com>
14707 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14710 2010-05-21 Andreas Schwab <schwab@redhat.com>
14712 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14713 and internal_recvmmsg.
14714 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14715 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14716 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14717 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14719 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14720 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14721 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14723 2010-05-20 Andreas Schwab <schwab@redhat.com>
14725 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14727 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14729 POWER7 optimizations.
14730 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14731 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14733 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14735 * version.h: Update for 2.13 development version.
14737 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14739 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14740 exceptions. Return 0.
14742 2010-05-07 Roland McGrath <roland@redhat.com>
14744 * elf/ldconfig.c (main): Add a const.
14746 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14748 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14749 (args_options): Add no-idn option.
14750 (ahosts_keys_int): Add idn_flags to ai_flags.
14751 (parse_option): Handle 'i' option to clear idn_flags.
14753 * malloc/malloc.c (_int_free): Possible race in the most recently
14754 added check. Only act on the data if no current modification
14757 See ChangeLog.17 for earlier changes.