1 2012-05-20 Richard Henderson <rth@twiddle.net>
3 * misc/getauxval.c: New file.
4 * misc/sys/auxv.h: New file.
5 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6 (routines): Add getauxval.
7 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9 * elf/dl-sysdep.c (_dl_auxv): Remove.
10 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11 * elf/dl-support.c (_dl_auxv): New variable.
12 (_dl_aux_init): Initialize it.
13 * manual/startup.texi (Auxiliary Vector): New node.
14 * sysdeps/generic/bits/hwcap.h: New file.
15 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18 * sysdeps/sparc/sysdep.h: ... here. Include it.
19 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
21 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist: Update.
22 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
26 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35 2012-05-19 David S. Miller <davem@davemloft.net>
37 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42 * math/s_ccosh.c: Include <float.h>
43 (__ccosh): Avoid internal overflow calculating sinh and cosh
44 values before multiplying by sin and cos values.
45 * math/s_ccoshf.c: Likewise.
46 * math/s_ccoshl.c: Likewise.
47 * math/s_csin.c: Likewise.
48 * math/s_csinf.c: Likewise.
49 * math/s_csinl.c: Likewise.
50 * math/s_csinh.c: Likewise.
51 * math/s_csinhf.c: Likewise.
52 * math/s_csinhl.c: Likewise.
53 * math/libm-test.inc (ccos_test): Add more tests.
54 (ccosh_test): Likewise.
55 (csin_test): Likewise.
56 (csinh_test): Likewise.
57 * sysdeps/i386/fpu/libm-test-ulps: Update.
58 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
62 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65 * sysdeps/x86_64/x32/_itoa.h: Add comment.
67 2012-05-19 Joseph Myers <joseph@codesourcery.com>
69 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71 * sysdeps/powerpc/soft-fp/Versions: Likewise.
72 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
73 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
76 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
77 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
79 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
80 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
82 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
83 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
84 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
85 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
86 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
87 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
88 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
89 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
90 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
91 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
92 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
93 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
94 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
95 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
96 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
97 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
98 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
99 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
101 2012-05-18 Andreas Jaeger <aj@suse.de>
103 * csu/.gitignore: Delete.
105 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
107 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
108 (timex): Use __syscall_slong_t.
110 2012-05-18 Andreas Jaeger <aj@suse.de>
111 Carlos O'Donell <carlos_odonell@mentor.com>
113 * manual/install.texi (Configuring and compiling): Update
114 description about files modified in the source directory.
115 * INSTALL: Regenerated.
117 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
119 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
120 value. Use "or" to set return value to -1.
121 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
124 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
126 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
127 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
128 failure if the compiler has Graphite support disabled.
129 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
131 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
132 CFLAGS-memmove.c): Likewise.
133 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
136 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
138 * sysdeps/x86_64/x32/_itoa.h: New file.
140 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
141 getdents system call only if kernel and user dirents have the
142 same d_ino and d_off.
144 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
145 LLONG_MAX != LONG_MAX.
146 (_itoa_word): Use _ITOA_WORD_TYPE on value.
147 (_fitoa_word): Likewise.
149 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
151 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
152 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
153 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
155 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
156 include <bits/wordsize.h>. Check __x86_64__ instead of
158 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
159 if __x86_64__ is defined. Use anonymous union on fpstate.
161 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
164 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
166 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
167 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
168 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
169 Refer to _rtld_local_ro instead of _rtld_global_ro.
170 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
172 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
174 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
176 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
177 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
178 of _rtld_global, and rtld_progname instead of _dl_argv[0].
180 * sysdeps/powerpc/powerpc32/dl-machine.c
181 (__elf_machine_runtime_setup) [PROF]: Don't reference
184 2012-05-18 Andreas Jaeger <aj@suse.de>
186 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
187 function only available for GCCs before 3.4 since GCC 3.4
188 introduced a builtin.
198 (nearbyint): Likewise.
199 (nearbyintf): Likewise.
205 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
207 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
208 on both fields and cast pointer to __syscall_ulong_t.
210 * bits/types.h (__fsword_t): New type.
211 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
212 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
214 (__FSWORD_T_TYPE): Likewise.
215 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
216 (__FSWORD_T_TYPE): Likewise.
217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
218 (__FSWORD_T_TYPE): Likewise.
219 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
220 (__FSWORD_T_TYPE): Likewise.
221 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
222 __SWORD_TYPE with __fsword_t.
223 (statfs64): Likewise.
225 2012-05-17 David S. Miller <davem@davemloft.net>
227 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
229 2012-05-17 Andreas Jaeger <aj@suse.de>
231 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
234 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
236 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
238 2012-05-17 Andreas Jaeger <aj@suse.de>
240 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
243 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
245 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
247 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
249 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
250 * sysdeps/x86_64/tst-mallocalign1.c: New file.
252 2012-05-17 Andreas Jaeger <aj@suse.de>
253 Carlos O'Donell <carlos_odonell@mentor.com>
256 * sysdeps/x86_64/multiarch/init-arch.h
257 (bit_YMM_Usable): Rename to...
258 (bit_AVX_Usable): ... this.
259 (bit_FMA4_Usable): New macro.
260 (bit_XMM_state): New macro.
261 (bit_YMM_state): New macro.
262 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
263 [__ASSEMBLER__] (index_AVX_Usable): ... this.
264 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
265 (CPUID_OSXSAVE): New macro.
266 (CPUID_AVX): New macro.
267 (CPUID_FMA4): New macro.
268 (index_YMM_Usable): Rename to...
269 (index_AVX_Usable): ... this.
270 (HAS_AVX): Use HAS_ARCH_FEATURE.
271 (HAS_FMA4): Likewise.
272 (HAS_YMM_USABLE): Remove.
273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
274 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
276 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
277 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
278 * sysdeps/x86_64/multiarch/Makefile: Likewise.
279 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
280 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
282 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
284 * math/libm-test.c: Support platforms without multiple rounding modes.
285 * math/bug-nextafter.c: Support platforms without FP exceptions.
286 * math/bug-nexttoward.c: Likewise.
287 * math/test-fenv.c: Likewise.
288 * math/test-misc.c: Likewise.
289 * stdlib/bug-getcontext.c: Likewise.
291 2012-05-17 Andreas Jaeger <aj@suse.de>
293 * manual/examples/search.c (critter_cmp): Change signature to
295 * manual/string.texi (Collation Functions): Likewise.
297 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
299 * bits/types.h: Fold copyright years.
300 * bits/typesizes.h: Likewise.
301 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
305 * time/time.h: Likewise.
307 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
310 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
311 in instead of returning them. Return void.
312 (__libc_mallinfo): Accumulate over all arenas.
313 (__malloc_stats): Adjust for change in int_mallinfo interface.
315 2012-05-16 Roland McGrath <roland@hack.frob.com>
318 * configure.in (NM): Add AC_CHECK_TOOL for it.
319 (libc_extra_cflags): New substituted variable.
320 Check for -fstack-protector being used implicitly.
321 * configure: Regenerated.
322 * config.make.in (config-extra-cflags): New variable,
323 gets @libc_extra_cflags@.
324 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
327 * configure.in: Check for _FORTIFY_SOURCE being predefined.
328 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
329 * configure: Regenerated.
330 * config.make.in (CPPUNDEFS): New substituted variable.
331 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
332 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
333 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
335 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
337 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
338 (mq_attr): Use __syscall_slong_t.
340 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
342 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
343 Check __x86_64__ instead of __WORDSIZE.
344 (_STAT_VER_LINUX): Likewise.
345 (stat): Check __x86_64__ instead of __WORDSIZE. Use
346 __syscall_ulong_t and __syscall_slong_t.
349 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
351 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
353 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
355 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
357 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
359 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
362 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
363 include <bits/wordsize.h>. Check __x86_64__ instead of
365 (greg_t): Use "__extension__ long long int" if __x86_64__ is
367 (mcontext_t): Replace "unsigned long" with "unsigned long long".
369 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
370 include <bits/wordsize.h>. Check __x86_64__ instead of
372 (user_regs_struct): Use "__extension__ unsigned long long"
373 instead of "unsigned long" if __x86_64__ is defined.
374 (user): Likewise. Pad after pointer field if __ILP32__ is
377 2012-05-16 Joseph Myers <joseph@codesourcery.com>
379 * configure.in (makeinfo): Require version 4.5 or later. Allow
381 * configure: Regenerated.
382 * manual/install.texi (texinfo): Increase version requirement to
384 * INSTALL: Regenerated.
386 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
388 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
390 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
392 * sysdeps/x86_64/x32/ffs.c: New file.
394 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
396 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
397 defined. Use __syscall_ulong_t.
398 (shminfo): Use __syscall_ulong_t.
399 (shm_info): Likewise.
401 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
404 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
406 (msgqnum_t): Use __syscall_ulong_t.
407 (msglen_t): Likewise.
408 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
411 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
412 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
414 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
416 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
417 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
419 * sysvipc/sys/msg.h (msgbuf): Replace long int with
422 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
423 include <bits/wordsize.h>. Check __x86_64__ instead of
426 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
427 "unsigned long long int" if __x86_64__ is defined.
428 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
430 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
431 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
432 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
434 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
436 (GET_PC): Cast to uintptr_t first.
437 (GET_FRAME): Likewise.
438 (GET_STACK): Likewise.
440 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
441 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
442 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
443 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
444 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
445 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
446 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
447 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
448 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
449 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
450 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
451 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
452 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
453 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
454 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
455 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
456 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
457 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
458 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
459 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
460 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
461 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
462 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
463 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
464 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
465 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
466 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
467 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
468 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
470 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
472 * Makerules (+depfiles): Also collect depfiles from .oS in
474 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
475 .oS, $(libnldbl-routines)).
477 * Makerules (native-compile-mkdep-flags): Define.
478 * sunrpc/Makefile (extra-objs): Add $(addprefix
479 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
480 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
481 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
482 calling $(make-target-directory).
484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
486 * bits/types.h (__snseconds_t): Removed.
487 * time/time.h (struct timespec): Replace __snseconds_t with
489 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
490 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
493 (__SNSECONDS_T_TYPE): Likewise.
494 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
495 (__SNSECONDS_T_TYPE): Likewise.
496 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
497 (__SNSECONDS_T_TYPE): Likewise.
499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
501 * sysdeps/mach/hurd/bits/typesizes.h
502 (__SYSCALL_SLONG_TYPE): New macro.
503 (__SYSCALL_ULONG_TYPE): Likewise.
505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
507 * bits/types.h (__syscall_slong_t): New type.
508 (__syscall_ulong_t): Likewise.
510 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
511 (__SYSCALL_ULONG_TYPE): Likewise.
512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
513 (__SYSCALL_SLONG_TYPE): Likewise.
514 (__SYSCALL_ULONG_TYPE): Likewise.
515 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
516 (__SYSCALL_SLONG_TYPE): Likewise.
517 (__SYSCALL_ULONG_TYPE): Likewise.
518 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
519 (__SYSCALL_SLONG_TYPE): Likewise.
520 (__SYSCALL_ULONG_TYPE): Likewise.
522 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
524 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
525 Add sigaltstack-offsets.sym.
526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
527 <sigaltstack-offsets.h>.
528 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
530 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
531 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
533 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
535 2012-05-15 Joseph Myers <joseph@codesourcery.com>
537 * elf/stackguard-macros.h: Remove file.
538 * sysdeps/generic/stackguard-macros.h: New file.
539 * sysdeps/i386/stackguard-macros.h: Likewise.
540 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
541 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
542 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
543 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
544 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
545 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
546 * sysdeps/x86_64/stackguard-macros.h: Likewise.
547 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
548 <elf/stackguard-macros.h>.
551 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
552 __aligned__ in attribute.
553 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
554 (gregset_t): Likewise.
556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
558 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
559 * sysdeps/x86_64/64/Implies-after: Here. New file.
560 * sysdeps/x86_64/x32/Implies-after: New file.
562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
564 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
565 and access return value for _dl_profile_fixup. Use R10_LP to
568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
570 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
574 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
575 * sysdeps/x86_64/x32/sysdep.h: New file.
577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
579 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
580 * sysdeps/x86_64/setjmp.S: Likewise.
582 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
584 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
585 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
586 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
587 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
588 remove unused global constant.
590 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
592 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
593 include of <not-cancel.h>.
595 2012-05-15 Roland McGrath <roland@hack.frob.com>
597 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
599 2012-05-15 Jeff Law <law@redhat.com>
600 Andreas Jaeger <aj@suse.de>
603 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
605 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
606 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
607 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
608 code changing __hst_map_handle.map.
610 2012-05-15 Roland McGrath <roland@hack.frob.com>
612 * configure.in (sysnames): Look for Implies-before and Implies-after
614 * configure: Regenerated.
616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
618 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
619 8-byte data alignment with LP_SIZE alignment.
621 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
623 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
626 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
628 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
632 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
633 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
634 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
636 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
640 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
641 (stackinfo_sub_sp): Likewise.
643 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
645 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
650 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
655 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
660 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
664 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
665 into R11_LP and load __x86_64_shared_cache_size_half into
668 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
670 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
673 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
677 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
679 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
681 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
682 powerpc32/power7/fpu/s_logb.c via #include.
683 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
684 powerpc32/power7/fpu/s_logbf.c via #include.
685 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
686 powerpc32/power7/fpu/s_logbl.c via #include.
688 2012-05-15 Joseph Myers <joseph@codesourcery.com>
690 * README.libm: Remove file.
692 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
694 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
695 count for x32. Use R*_LP and omit operand-size suffix.
697 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
699 * shlib-versions: Move x86_64-.*-linux.* entries to ...
700 * sysdeps/x86_64/64/shlib-versions: Here. New file.
701 * sysdeps/x86_64/x32/shlib-versions: New file.
703 2012-05-14 Roland McGrath <roland@hack.frob.com>
705 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
706 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
707 Use _dl_fatal_printf instead.
709 2012-05-14 Joseph Myers <joseph@codesourcery.com>
711 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
712 set if not set by the user. Do not allow for being unset.
713 * sysdeps/unix/sysv/linux/configure: Regenerated.
715 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
717 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
718 the `q' suffix from lea and replace .quad with ASM_ADDR.
720 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
723 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
725 (PTR_DEMANGLE): Likewise.
727 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
729 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
731 (ASM_ADDR): Likewise.
749 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
751 * sysdeps/x86_64/x32/dl-machine.h: New file.
753 2012-05-14 Andreas Jaeger <aj@suse.de>
755 * manual/Makefile (subdir): Remove export of subdir.
756 (all): Remove target.
757 (.PHONY): Remove all from list.
758 (mkinstalldirs): Remove.
759 (.PHONY): Remove installdirs from list.
760 ($(inst_infodir)/libc.info): Use make-target-directory.
761 (installdirs): Remove.
763 (glibc-targets): Remove.
766 ($(objpfx)stubs ../po/manual.pot): Remove.
767 ($(objpfx)stamp%): Remove.
768 (make-target-directory): Remove.
769 (subdir_install): Remove.
777 * manual/.gitignore: Remove, it's not needed anymore.
778 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
780 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
782 (texis): Renamed to $(objpfx)texis.
783 (texis-path): New, contains path to generated files.
784 (chapters.%): Use texis-path for complete path, add extra argument
786 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
787 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
788 (summary,texi, stamp-summary): Use complete path of
789 files. Generate files in build dir.
790 (dir-add.texi): Build in build dir.
791 (libm-err.texi,stamp-libm-err): Likewise.
792 (version.texi, stamp-version): Likewise.
793 (.%c.texi): Likewise.
794 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
795 (mostlyclean): Remove target.
796 (realclean): Remove target.
797 (generated): Add new variable with contents from mostlyclean and
798 realclean, remove entries duplicated in common-mostlyclean, add
799 stamp-libm-err and stamp-version.
800 (generated-dirs): Add libc directory.
801 ($(inst_infodir)/libc.info): Install files from build dir.
803 * manual/install.texi (Configuring and compiling): Adjust since
804 the info files are not part of the tar ball anymore.
806 2012-05-14 Andreas Jaeger <aj@suse.de>
808 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
811 2012-05-14 Joseph Myers <joseph@codesourcery.com>
814 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
815 to 2.2.0 where earlier.
816 * sysdeps/unix/sysv/linux/configure: Regenerated.
817 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
818 Remove conditional code.
819 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
820 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
821 Remove conditional code.
822 [!__NR_lchown]: Likewise.
823 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
824 [__NR_lchown]: Likewise.
825 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
826 comment referencing __ASSUME_LCHOWN_SYSCALL.
827 * sysdeps/unix/sysv/linux/i386/sigaction.c
828 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
829 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
830 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
831 Remove conditional code.
832 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
833 (__protocol_available): Remove #if 0 code.
834 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
836 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
837 * sysdeps/unix/sysv/linux/kernel-features.h
838 (__ASSUME_GETCWD_SYSCALL): Don't define.
839 (__ASSUME_REALTIME_SIGNALS): Likewise.
840 (__ASSUME_PREAD_SYSCALL): Likewise.
841 (__ASSUME_PWRITE_SYSCALL): Likewise.
842 (__ASSUME_POLL_SYSCALL): Likewise.
843 (__ASSUME_LCHOWN_SYSCALL): Likewise.
844 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
846 (__ASSUME_SIOCGIFNAME): Don't define.
847 (__ASSUME_MSG_NOSIGNAL): Likewise.
848 (__ASSUME_SENDFILE): Define unconditionally.
849 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
850 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
852 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
853 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
854 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
855 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
856 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
857 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
858 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
860 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
863 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
866 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
867 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
869 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
870 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
872 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
873 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
875 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
878 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
879 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
881 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
883 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
884 Remove conditional code.
885 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
886 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
887 Remove conditional code.
888 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
889 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
890 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
891 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
892 Remove conditional code.
893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
894 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
895 Remove conditional code.
896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
897 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
898 Remove conditional code.
899 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
900 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
901 Remove conditional code.
902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
903 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
904 Remove conditional code.
905 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
906 * sysdeps/unix/sysv/linux/sh/pwrite64.c
907 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
908 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
909 * sysdeps/unix/sysv/linux/sigaction.c
910 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
911 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
912 * sysdeps/unix/sysv/linux/sigpending.c
913 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
914 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
915 * sysdeps/unix/sysv/linux/sigprocmask.c
916 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
917 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
918 * sysdeps/unix/sysv/linux/sigsuspend.c
919 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
920 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
921 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
922 (__libc_missing_rt_sigs): Remove.
923 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
924 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
925 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
926 Remove conditional code.
927 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
928 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
930 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
931 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
932 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
933 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
935 2012-05-14 Andreas Jaeger <aj@suse.de>
937 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
938 it's not used in glibc.
939 (__coshm1): Likewise.
940 (__acosh1p): Likewise.
943 * manual/string.texi (Copying and Concatenation): Add missing
944 variable in concat example.
945 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
947 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
951 __builtin_clzl with __builtin_clzll.
953 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
956 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
959 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
961 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
962 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
963 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
964 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
966 2012-05-14 Mike Frysinger <vapier@gentoo.org>
968 * NEWS: Update ia64 info.
970 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
972 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
975 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
977 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
978 * sysdeps/unix/syscalls.list (dup3): Likewise.
979 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
980 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
982 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
984 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
985 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
987 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
989 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
991 (TLS_IE): Use mov/add instead of movq/addq to load thread
993 (TLS_GD_PREFIX): New.
996 2012-05-11 David S. Miller <davem@davemloft.net>
998 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
999 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1000 (_FPU_SETCW): Likewise.
1002 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1004 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1007 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1010 * iconvdata/gb18030.c: Update tables.
1011 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1012 characters specially.
1013 (BODY for TO_LOOP): Add encoding of missing ranges.
1015 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1018 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1019 * sysdeps/mach/hurd/dup3.c: Likewise.
1020 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1021 * sysdeps/powerpc/memmove.c:: Likewise.
1023 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1026 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1028 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1030 * elf/elf.h (R_X86_64_RELATIVE64): New.
1031 (R_X86_64_NUM): Updated.
1032 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1033 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1034 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1035 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1036 tst-quad1pie tst-quad2pie
1037 (modules-names): Add tst-quadmod1 tst-quadmod2.
1038 ($(objpfx)tst-quad1): New dependency.
1039 ($(objpfx)tst-quad2): Likewise.
1040 ($(objpfx)tst-quad1pie): Likewise.
1041 ($(objpfx)tst-quad2pie): Likewise.
1042 * sysdeps/x86_64/tst-quad1.c: New file.
1043 * sysdeps/x86_64/tst-quad1pie.c: New file.
1044 * sysdeps/x86_64/tst-quad2.c: Likewise.
1045 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1046 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1047 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1048 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1049 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1053 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1054 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1055 * streams/stropts.h (t_scalar_t): Define type.
1057 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1058 (_PATH_PRESERVE): Set to "/var/lib".
1059 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1061 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1064 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1065 if __dir_mkfile succeeded.
1067 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1068 checking for _hurd_dtablesize. Unlock it right after having
1069 finished _hurd_dtable allocation.
1071 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1073 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1074 * sysdeps/mach/hurd/configure: Regenerated.
1075 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1076 special-casing to...
1077 * sysdeps/gnu/configure.in: ... this new file.
1078 * sysdeps/unix/sysv/linux/configure: Regenerated.
1079 * sysdeps/gnu/configure: New generated file.
1081 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1082 for Linux: use nsec instead of usec, as well as:
1083 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1084 members of type struct timespec.
1085 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1087 (struct stat64): Likewise.
1088 (_STATBUF_ST_NSEC): New macro.
1089 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1091 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1092 __strtoul_internal rather than strtoul.
1094 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1096 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1099 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1101 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1102 which preserves existing values.
1103 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1105 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1107 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1108 TIMEOUT values. Return EINVAL for NFDS values either negative or
1109 greater than FD_SETSIZE.
1111 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1113 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1114 allocated, call __vm_protect to finish enabling the existing space, and
1115 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1116 allocate the remainder.
1118 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1120 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1121 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1123 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1125 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1126 sysdeps/mach/hurd/readlink.c.
1128 * posix/tst-sysconf.c (posix_options): Only use
1129 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1130 _POSIX_SYNCHRONIZED_IO when they are defined
1131 * sysdeps/mach/hurd/bits/posix_opt.h:
1132 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1133 (_XOPEN_REALTIME): Undefine macro.
1134 (_XOPEN_REALTIME_THREADS): Undefine macro.
1135 (_XOPEN_SHM): Undefine macro.
1136 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1138 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1140 (_POSIX_ASYNC_IO): Undefine macro.
1141 (_POSIX_PRIORITIZED_IO): Undefine macro.
1142 (_POSIX_SPIN_LOCKS): Define macro to -1.
1144 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1145 SA_NODEFER, SA_RESETHAND.
1146 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1147 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1150 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1152 * elf/Makefile (pldd-modules): Define unconditionally.
1154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1156 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1158 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1160 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1161 Return ENOENT when name is empty.
1162 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1164 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1166 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1168 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1172 Fix mlock in all cases except non-readable pages.
1173 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1174 instead of VM_PROT_ALL as parameter to __vm_wire function.
1176 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1177 (__mkdir): When path is `/', just fail with EEXIST.
1178 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1180 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1182 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1183 <sys/uio.h> (for writev).
1184 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1185 and <sys/param.h> (for MIN).
1187 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1189 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1190 REQUESTED_TIME. Properly set the remaining time and return EINTR
1193 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1195 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1196 Depend on against $(link-rpcuserlibs).
1198 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1200 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1201 (__libc_stack_end): Do not use attribute_relro.
1202 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1203 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1204 to libthread-provided value.
1205 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1208 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1211 * bits/libc-lock.h (__libc_once_get): New macro.
1212 * sysdeps/mach/bits/libc-lock.h: Likewise.
1213 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1214 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1215 instead of using implementation details.
1217 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1218 * libio/freopen.c: Likewise.
1219 * libio/freopen64.c: Likewise.
1220 * misc/syslog.c: Likewise.
1221 * nscd/connections.c: Likewise.
1222 * nscd/netgroupcache.c: Likewise.
1223 * sysdeps/posix/getcwd.c: Likewise.
1225 2012-05-10 Roland McGrath <roland@hack.frob.com>
1227 * math/w_ilogbf.c: Add #include <limits.h>.
1229 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1231 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1232 path instead of returning without unlocking.
1234 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1235 immediate-write ioctls.
1236 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1238 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1240 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1241 __builtin_frame_address instead of making assumptions about the
1242 location of the return address relative to DATA. Force early load of
1244 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1245 __builtin_frame_address.
1248 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1249 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1250 implement dup3 and do some further code clean-ups.
1251 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1252 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1254 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1256 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1258 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1259 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1260 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1261 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1262 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1265 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1266 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1267 when handler == SIG_ERR, not when handler != SIG_ERR.
1269 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1271 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1272 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1275 accept4 for GNU Hurd.
1276 * include/sys/socket.h (__libc_accept4): New prototype.
1277 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1278 to implement __libc_accept4.
1279 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1281 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1283 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1284 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1285 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1290 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1292 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1294 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1295 assertion on O_CLOEXEC flag.
1296 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1297 * hurd/intern-fd.c: Likewise.
1298 * hurd/port2fd.c: Likewise.
1300 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1303 * bits/in.h (IPV6_PKTINFO): Define new macro.
1304 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1306 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1312 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1313 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1314 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1315 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1316 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1317 * math/libm-test.inc (logb_test) : Additional logb tests.
1319 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1320 Andreas Jaeger <aj@suse.de>
1322 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1323 * configure: Regenerated.
1324 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1325 * config.make.in (link-obsolete-rpc): New substituted variable.
1326 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1327 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1328 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1329 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1330 so that libc.a contains the symbols.
1331 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1332 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1333 * sunrpc/auth_none.c: Likewise.
1334 * sunrpc/auth_unix.c: Likewise.
1335 * sunrpc/authdes_prot.c: Likewise.
1336 * sunrpc/authuxprot.c: Likewise.
1337 * sunrpc/clnt_gen.c: Likewise.
1338 * sunrpc/clnt_perr.c: Likewise.
1339 * sunrpc/clnt_raw.c: Likewise.
1340 * sunrpc/clnt_simp.c: Likewise.
1341 * sunrpc/clnt_tcp.c: Likewise.
1342 * sunrpc/clnt_udp.c: Likewise.
1343 * sunrpc/clnt_unix.c: Likewise.
1344 * sunrpc/des_crypt.c: Likewise.
1345 * sunrpc/des_soft.c: Likewise.
1346 * sunrpc/get_myaddr.c: Likewise.
1347 * sunrpc/key_call.c: Likewise.
1348 * sunrpc/key_prot.c: Likewise.
1349 * sunrpc/netname.c: Likewise.
1350 * sunrpc/pm_getmaps.c: Likewise.
1351 * sunrpc/pm_getport.c: Likewise.
1352 * sunrpc/pmap_clnt.c: Likewise.
1353 * sunrpc/pmap_prot.c: Likewise.
1354 * sunrpc/pmap_prot2.c: Likewise.
1355 * sunrpc/pmap_rmt.c: Likewise.
1356 * sunrpc/publickey.c: Likewise.
1357 * sunrpc/rpc_cmsg.c: Likewise.
1358 * sunrpc/rpc_common.c: Likewise.
1359 * sunrpc/rpc_dtable.c: Likewise.
1360 * sunrpc/rpc_prot.c: Likewise.
1361 * sunrpc/rpc_thread.c: Likewise.
1362 * sunrpc/rtime.c: Likewise.
1363 * sunrpc/svc.c: Likewise.
1364 * sunrpc/svc_auth.c: Likewise.
1365 * sunrpc/svc_raw.c: Likewise.
1366 * sunrpc/svc_run.c: Likewise.
1367 * sunrpc/svc_tcp.c: Likewise.
1368 * sunrpc/svc_udp.c: Likewise.
1369 * sunrpc/svc_unix.c: Likewise.
1370 * sunrpc/svcauth_des.c: Likewise.
1371 * sunrpc/xcrypt.c: Likewise.
1372 * sunrpc/xdr.c: Likewise.
1373 * sunrpc/xdr_array.c: Likewise.
1374 * sunrpc/xdr_float.c: Likewise.
1375 * sunrpc/xdr_intXX_t.c: Likewise.
1376 * sunrpc/xdr_mem.c: Likewise.
1377 * sunrpc/xdr_rec.c: Likewise.
1378 * sunrpc/xdr_ref.c: Likewise.
1379 * sunrpc/xdr_sizeof.c: Likewise.
1380 * sunrpc/xdr_stdio.c: Likewise.
1382 2012-05-10 Roland McGrath <roland@hack.frob.com>
1384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1385 change. Update copyright years.
1387 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1389 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1391 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1392 Joseph Myers <joseph@codesourcery.com>
1393 Paul Pluzhnikov <ppluzhnikov@google.com>
1396 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1398 [cross-compiling] (extra-libs): Likewise.
1399 [cross-compiling] (extra-libs-others): Likewise.
1400 [cross-compiling] (librpcsvc-routines): Likewise.
1401 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1402 [cross-compiling] (omit-deps): Likewise.
1403 (sunrpc-CPPFLAGS): New variable.
1404 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1405 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1406 (cross-rpcgen-objs): New variable.
1407 (extra-objs): Append $(cross-rpcgen-objs).
1408 ($(cross-rpcgen-objs)): New rule.
1409 ($(objpfx)cross-rpcgen): Likewise.
1410 (rpcgen-cmd): Define to use $(built-program-file). Expand
1412 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1413 ($(objpfx)x%.stmp): Likewise.
1414 * sunrpc/proto.h [IS_IN_build] (_): Define.
1415 [IS_IN_build] (_libc_intl_domainname): Likewise.
1417 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1419 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1420 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1421 and R_X86_64_TPOFF64.
1423 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1425 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1426 sysdeps/unix/sysv/syscalls.list.
1429 * sysdeps/unix/sysv/syscalls.list: Remove file.
1431 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1434 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1435 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1436 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1437 (__LC_IDENTIFICATION): Make these macros useful in #if
1438 expressions, as required by C99.
1440 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1442 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1443 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1446 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1448 * stdlib/longlong.h: Updated from GCC.
1450 2012-05-09 Andreas Jaeger <aj@suse.de>
1452 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1453 default is first entry.
1454 (run_mode): Set type.
1455 (main): Remove informal message about syslog.
1456 (options): Fix typo.
1459 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1462 (llrintf): Likewise.
1466 (nearbyint): Likewise.
1467 (nearbyintf): Likewise.
1469 2012-05-09 Andreas Jaeger <aj@suse.de>
1470 Pedro Alves <palves@redhat.com>
1472 * nscd/nscd.c (run_mode): Use enum.
1473 (main): Cleanup coding style issue.
1475 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1476 Andreas Jaeger <aj@suse.de>
1478 * nscd/nscd.c (go_background): Replaced with...
1479 (run_mode): ... this.
1480 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1481 (options): Add -F --foreground.
1482 (main): Implement it.
1483 (parse_opt): Parse it.
1485 2012-05-09 Andreas Jaeger <aj@suse.de>
1488 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1489 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1490 -Wconversion warning.
1491 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1494 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1496 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1498 (LC_ALL): Use macro-int-constant.
1499 (LC_COLLATE): Likewise.
1500 (LC_CTYPE): Likewise.
1501 (LC_MESSAGES): Likewise.
1502 (LC_MONETARY): Likewise.
1503 (LC_NUMERIC): Likewise.
1504 (LC_TIME): Likewise.
1505 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1506 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1508 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1510 [C99-based standards] (float_t): Expect type.
1511 [C99-based standards] (double_t): Expect type.
1512 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1514 [C99-based standards] (HUGE_VALL): Likewise.
1515 [C99-based standards] (INFINITY): Likewise.
1516 [C99-based standards] (NAN): Likewise.
1517 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1518 [C99-based standards] (FP_NAN): Likewise.
1519 [C99-based standards] (FP_NORMAL): Likewise.
1520 [C99-based standards] (FP_SUBNORMAL): Likewise.
1521 [C99-based standards] (FP_ZERO): Likewise.
1522 [C99-based standards] (FP_FAST_FMA): Use
1523 optional-macro-int-constant. Specify type. Require == 1.
1524 [C99-based standards] (FP_FAST_FMAF): Likewise.
1525 [C99-based standards] (FP_FAST_FMAL): Likewise.
1526 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1527 [C99-based standards] (FP_ILOGBNAN): Likewise.
1528 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1530 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1531 [C99-based standards] (math_errhandling): Specify type.
1532 [ISO99 || ISO11] (signgam): Do not allow.
1533 [non-C99-based standards] (copysignf): Do not allow.
1534 [non-C99-based standards] (exp2f): Likewise.
1535 [non-C99-based standards] (log2f): Likewise.
1536 [non-C99-based standards] (modff): Allow.
1537 [non-C99-based standards] (erff): Do not allow.
1538 [non-C99-based standards] (erfcf): Likewise.
1539 [non-C99-based standards] (gammaf): Likewise.
1540 [non-C99-based standards] (hypotf): Likewise.
1541 [non-C99-based standards] (j0f): Likewise.
1542 [non-C99-based standards] (j1f): Likewise.
1543 [non-C99-based standards] (jnf): Likewise.
1544 [non-C99-based standards] (lgammaf): Likewise.
1545 [non-C99-based standards] (tgammaf): Likewise.
1546 [non-C99-based standards] (y0f): Likewise.
1547 [non-C99-based standards] (y1f): Likewise.
1548 [non-C99-based standards] (ynf): Likewise.
1549 [non-C99-based standards] (isnanf): Likewise.
1550 [non-C99-based standards] (acoshf): Likewise.
1551 [non-C99-based standards] (asinhf): Likewise.
1552 [non-C99-based standards] (atanhf): Likewise.
1553 [non-C99-based standards] (cbrtf): Likewise.
1554 [non-C99-based standards] (expm1f): Likewise.
1555 [non-C99-based standards] (ilogbf): Likewise.
1556 [non-C99-based standards] (log1pf): Likewise.
1557 [non-C99-based standards] (logbf): Likewise.
1558 [non-C99-based standards] (nextafterf): Likewise.
1559 [non-C99-based standards] (remainderf): Likewise.
1560 [non-C99-based standards] (rintf): Likewise.
1561 [non-C99-based standards] (scalbf): Likewise.
1562 [non-C99-based standards] (copysignl): Likewise.
1563 [non-C99-based standards] (exp2l): Likewise.
1564 [non-C99-based standards] (log2l): Likewise.
1565 [non-C99-based standards] (modfl): Allow.
1566 [non-C99-based standards] (erfl): Do not allow.
1567 [non-C99-based standards] (erfcl): Likewise.
1568 [non-C99-based standards] (gammal): Likewise.
1569 [non-C99-based standards] (hypotl): Likewise.
1570 [non-C99-based standards] (j0l): Likewise.
1571 [non-C99-based standards] (j1l): Likewise.
1572 [non-C99-based standards] (jnl): Likewise.
1573 [non-C99-based standards] (lgammal): Likewise.
1574 [non-C99-based standards] (tgammal): Likewise.
1575 [non-C99-based standards] (y0l): Likewise.
1576 [non-C99-based standards] (y1l): Likewise.
1577 [non-C99-based standards] (ynl): Likewise.
1578 [non-C99-based standards] (isnanl): Likewise.
1579 [non-C99-based standards] (acoshl): Likewise.
1580 [non-C99-based standards] (asinhl): Likewise.
1581 [non-C99-based standards] (atanhl): Likewise.
1582 [non-C99-based standards] (cbrtl): Likewise.
1583 [non-C99-based standards] (expm1l): Likewise.
1584 [non-C99-based standards] (ilogbl): Likewise.
1585 [non-C99-based standards] (log1pl): Likewise.
1586 [non-C99-based standards] (logbl): Likewise.
1587 [non-C99-based standards] (nextafterl): Likewise.
1588 [non-C99-based standards] (remainderl): Likewise.
1589 [non-C99-based standards] (rintl): Likewise.
1590 [non-C99-based standards] (scalbl): Likewise.
1591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1592 [non-C99-based standards] (FP_*): Do not allow.
1593 [C99-based standards] (FP_*): Change to
1594 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1595 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1597 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1598 (SIG_ERR): Likewise.
1599 [X/Open-based standards] (SIG_HOLD): Likewise.
1600 (SIG_IGN): Likewise.
1601 (SIGABRT): Use macro-int-constant. Specify type. Require
1606 (SIGSEGV): Likewise.
1608 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1609 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1610 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1611 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1612 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1613 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1614 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1615 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1616 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1617 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1618 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1619 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1620 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1621 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1622 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1623 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1624 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1625 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1626 [X/Open-based standards] (SIGTRAP): Likewise.
1627 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1628 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1629 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1630 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1631 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1634 2012-05-08 Ian Wienand <ianw@vmware.com>
1637 * time/tzset.c (__tzset_parse_tz): Update default rules for
1638 daylight time changes in the Energy Policy Act of 2005.
1640 2012-05-09 Andreas Jaeger <aj@suse.de>
1643 * elf/ldconfig.c (parse_conf): Change string to make clear that
1644 ldconfig only issued a warning if ld.so.conf does not exist.
1646 2012-05-08 David S. Miller <davem@davemloft.net>
1648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1649 movxtod instead of popping the value on the stack.
1651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1653 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1655 * config.h.in: Add HAVE_ARM_PCS_VFP.
1657 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1660 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1661 checking but the checks are disabled for any reason.
1663 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1665 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1666 and ELF64_R_TYPE with ELFW(R_TYPE).
1668 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1670 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1673 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1674 (settimeofday): Likewise.
1676 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1678 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1679 a struct th_u2 inside the union, and move tu_block/tu_code into
1680 a new th_u3 union of tu_block/tu_code inside of that. Move
1681 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1682 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1683 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1684 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1685 (th_stuff): Change to th_u1.tu_stuff.
1687 (th_msg): Change to th_u1.th_u2.tu_data.
1689 2012-05-07 David S. Miller <davem@davemloft.net>
1691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1694 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1695 (SETUP_PIC_REG): Use it.
1696 (SETUP_PIC_REG_LEAF): Use it.
1698 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1702 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1704 (EXPL_FINITE): Likewise.
1706 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1707 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1709 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1711 (EXPL_FINITE): Likewise.
1713 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1714 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1716 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1717 test of -max_value argument for long double.
1718 * sysdeps/i386/fpu/libm-test-ulps: Update.
1719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1721 2012-05-06 David S. Miller <davem@davemloft.net>
1723 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1724 quad soft-float symbols whose references which are compiler
1726 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1728 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1732 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1734 (EXPL_FINITE): Likewise.
1738 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1739 Adjust comments for base varying.
1740 (__expl_finite): Change alias to EXPL_FINITE.
1741 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1743 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1744 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1746 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1747 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1749 (EXPL_FINITE): Likewise.
1753 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1754 Adjust comments for base varying.
1755 (__expl_finite): Change alias to EXPL_FINITE.
1756 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1761 * math/libm-test.inc (check_float_internal): Correct ulp
1762 calculation for subnormal expected results.
1764 2012-05-06 Andreas Jaeger <aj@suse.de>
1766 * Makeconfig (+math-flags): New, set to -frounding-math.
1767 (+cflags): Add +math-flags so that all of glibc gets compiled with
1770 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1772 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1774 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1780 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1781 (__ieee754_expl): Allow for and saturate large arguments.
1782 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1783 (u_threshold): Likewise.
1784 (__exp): Call __ieee754_exp before checking for overflow and
1786 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1787 (u_threshold): Likewise.
1788 (__expf): Call __ieee754_expf before checking for overflow and
1790 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1791 (u_threshold): Likewise.
1792 (__expl): Call __ieee754_expl before checking for overflow and
1794 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1795 (__ieee754_expl): Allow for and saturate large arguments.
1796 * math/libm-test.inc (exp_test): Add another test. Do not allow
1797 missing overflow exception on overflow.
1798 (expm1_test): Do not allow missing overflow exception on overflow.
1800 * sysdeps/i386/fpu/e_expl.c: Move to ...
1801 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1802 rather than using inline asm.
1803 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1804 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1805 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1807 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1814 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1816 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1817 sysdeps/unix/common/syscalls.list.
1820 (ftruncate): Likewise.
1821 (getrusage): Likewise.
1822 (gettimeofday): Likewise.
1823 (setpgid): Likewise.
1824 (setregid): Likewise.
1825 (setreuid): Likewise.
1826 (sigaction): Likewise.
1827 (truncate): Likewise.
1828 (vhangup): Likewise.
1829 * sysdeps/unix/common/syscalls.list: Remove file.
1830 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1831 * sysdeps/unix/sysv/linux/Implies: Likewise.
1833 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1835 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1837 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1841 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1844 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1847 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1850 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1853 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1856 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1859 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1863 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1867 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1870 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1874 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1878 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1880 * sysdeps/unix/common/bits/dirent.h: Remove file.
1881 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1883 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1884 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1885 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1886 * sysdeps/unix/bsd/isatty.c: Likewise.
1887 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1888 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1889 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1891 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1894 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1895 long double comparison inaccuracies.
1896 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1899 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1901 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1902 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1904 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1907 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1908 nonzero digits before rounding a hex value.
1909 * stdlib/tst-strtod.c (tests): Add another test.
1911 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1913 * sysdeps/s390/fpu/libm-test-ulps: Update.
1915 2012-05-03 Andreas Jaeger <aj@suse.de>
1917 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1918 does not get optimized out.
1919 (malloc_opt_barrier): New.
1921 2012-05-03 Andreas Jaeger <aj@suse.de>
1922 Roland McGrath <roland@hack.frob.com>
1924 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1925 intermediate file deletion.
1926 (generated): Add .symlist files.
1928 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1931 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1932 Redirect under this condition.
1933 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1934 [__USE_GNU] (__dprintf_chk): Not under this condition.
1935 [__USE_GNU] (__vdprintf_chk): Likewise.
1936 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1937 under this condition.
1938 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1939 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1940 [__USE_XOPEN2K8] (vdprintf): Likewise.
1941 [__USE_GNU] (__dprintf_chk): Not under this condition.
1942 [__USE_GNU] (__vdprintf_chk): Likewise.
1943 [__USE_GNU] (dprintf): Likewise.
1944 [__USE_GNU] (vdprintf): Likewise.
1946 2012-05-03 Roland McGrath <roland@hack.frob.com>
1948 * elf/Makefile (common-generated): Set this instead of generated for
1949 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1950 $(all-built-dso)-derived lists.
1952 2012-05-03 Andreas Jaeger <aj@suse.de>
1954 * sysdeps/i386/fpu/libm-test-ulps: Update.
1958 * scripts/gen-FAQ.pl: Likewise.
1959 * manual/install.texi (Installation): Point to online location of
1961 * Makefile (files-for-dist): Remove FAQ.
1964 2012-05-02 Allan McRae <allan@archlinux.org>
1966 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1967 (LDFLAGS-reldepmod5.so): Likewise.
1968 (LDFLAGS-reldep6mod1.so): Likewise.
1969 (LDFLAGS-reldep6mod4.so): Likewise.
1970 (LDFLAGS-reldep8mod3.so): Likewise.
1971 (LDFLAGS-unload4mod1.so): Likewise.
1972 (LDFLAGS-unload4mod2.so): Likewise.
1973 (LDFLAGS-tst-initorder): Likewise.
1974 (LDFLAGS-tst-initordera2.so): Likewise.
1975 (LDFLAGS-tst-initordera3.so): Likewise.
1976 (LDFLAGS-tst-initordera4.so): Likewise.
1977 (LDFLAGS-tst-initorderb2.so): Likewise.
1978 (LDFLAGS-noload): Likewise.
1979 (LDFLAGS-next): Likewise.
1980 (LDFLAGS-order2mod1.so): Likewise.
1981 (LDFLAGS-order2mod2.so): Likewise.
1982 (LDFLAGS-tst-initorder2): Likewise.
1983 (LDFLAGS-tst-initorder2a.so): Likewise.
1984 (LDFLAGS-tst-initorder2b.so): Likewise.
1985 (LDFLAGS-tst-initorder2c.so): Likewise.
1986 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1988 2012-05-02 David S. Miller <davem@davemloft.net>
1990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1992 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1995 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1997 2012-05-02 Andreas Jaeger <aj@suse.de>
1999 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2000 since we manipulate rounding mode.
2001 (CPPFLAGS-test-idouble.c): Likewise.
2002 (CPPFLAGS-test-ifloat.c): Likewise.
2003 (CFLAGS-test-ldouble.c): Likewise.
2004 (CFLAGS-test-double.c): Likewise.
2005 (CFLAGS-test-float.c): Likewise.
2006 (CFLAGS-test-misc.c): Likewise.
2007 (CFLAGS-test-test-fenv.c): Likewise.
2009 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2013 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2014 comparisons to determine direction to adjust input.
2016 2012-05-01 Roland McGrath <roland@hack.frob.com>
2018 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2019 output to the target.
2021 * scripts/localplt.awk: New file.
2022 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2023 (check-localplt-CFLAGS): Variable removed.
2024 ($(all-built-dso:=.jmprel)): New static pattern rule.
2025 (generated): Add those targets.
2026 (localplt-built-dso): New variable.
2027 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2029 * elf/check-localplt.c: File removed.
2031 * scripts/check-execstack.awk: New file.
2032 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2033 (check-execstack-CFLAGS): Variable removed.
2034 ($(objpfx)check-execstack.h): Target removed.
2035 ($(objpfx)execstack-default): New target.
2036 (generated): Add that instead of check-execstack.h.
2037 ($(all-built-dso:=.phdr)): New static pattern rule.
2038 (generated): Add those targets.
2039 * elf/check-execstack.c: File removed.
2041 * scripts/check-textrel.awk: New file.
2042 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2043 (check-textrel-CFLAGS): Variable removed.
2044 (all-built-dso): Use := to define.o
2045 ($(all-built-dso:=.dyn)): New static pattern rule.
2046 (generated): Add those targets.
2047 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2048 * config.make.in (READELF): New substituted variable.
2049 * elf/check-textrel.c: File removed.
2051 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2053 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2055 * conform/data/ctype.h-data [C99-based standards] (isblank):
2057 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2058 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2060 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2061 Specify type. Require positive value.
2064 [ISO || POSIX] (EILSEQ): Do not expect.
2065 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2066 Specify type. Require positive value.
2067 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2068 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2069 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2070 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2071 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2072 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2073 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2074 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2075 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2076 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2077 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2078 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2079 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2080 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2081 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2082 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2083 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2084 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2085 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2086 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2087 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2088 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2089 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2090 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2091 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2092 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2093 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2094 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2095 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2096 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2097 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2098 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2099 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2100 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2101 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2102 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2103 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2104 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2105 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2106 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2107 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2108 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2109 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2110 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2111 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2112 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2113 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2114 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2115 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2116 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2117 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2118 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2119 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2120 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2121 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2122 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2123 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2124 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2125 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2126 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2127 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2128 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2129 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2130 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2131 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2132 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2133 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2134 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2135 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2136 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2137 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2138 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2139 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2140 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2141 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2142 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2143 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2145 (FLT_ROUNDS): Expect as macro, not constant.
2146 (FLT_MANT_DIG): Use macro-int-constant.
2147 (DBL_MANT_DIG): Likewise.
2148 (LDBL_MANT_DIG): Likewise.
2149 (FLT_DIG): Likewise.
2150 (DBL_DIG): Likewise.
2151 (LDBL_DIG): Likewise.
2152 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2153 (DBL_MIN_EXP): Likewise.
2154 (LDBL_MIN_EXP): Likewise.
2155 (FLT_MAX_EXP): Use macro-int-constant.
2156 (DBL_MAX_EXP): Likewise.
2157 (LDBL_MAX_EXP): Likewise.
2158 (FLT_MAX_10_EXP): Likewise.
2159 (DBL_MAX_10_EXP): Likewise.
2160 (LDBL_MAX_10_EXP): Likewise.
2161 (FLT_MAX): Use macro-constant.
2162 (DBL_MAX): Likewise.
2163 (LDBL_MAX): Likewise.
2164 (FLT_EPSILON): Use macro-constant. Give upper bound.
2165 (DBL_EPSILON): Likewise.
2166 (LDBL_EPSILON): Likewise.
2167 (FLT_MIN): Likewise.
2168 (DBL_MIN): Likewise.
2169 (LDBL_MIN): Likewise.
2170 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2171 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2172 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2173 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2174 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2175 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2176 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2177 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2178 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2179 [ISO11] (FLT_TRUE_MIN): Likewise.
2180 [ISO11] (LDBL_TRUE_MIN): Likewise.
2181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2182 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2183 (SCHAR_MIN): Use macro-int-constant. Specify type.
2184 (SCHAR_MAX): Likewise.
2185 (UCHAR_MAX): Likewise.
2186 (CHAR_MIN): Likewise.
2187 (CHAR_MAX): Likewise.
2188 (MB_LEN_MAX): Use macro-int-constant.
2189 (SHRT_MIN): Use macro-int-constant. Specify type.
2190 (SHRT_MAX): Likewise.
2191 (USHRT_MAX): Likewise.
2192 (INT_MAX): Likewise.
2193 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2195 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2197 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2199 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2200 bound negative. Suffix upper bound with "L".
2201 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2203 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2205 [C99-based standards] (LLONG_MAX): Likewise.
2206 [C99-based standards] (ULLONG_MAX): Likewise.
2207 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2209 [ISO11] (max_align_t): Require type.
2210 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2212 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2213 from $CFLAGS, without defining away __attribute__ calls.
2214 (checknamespace): Use $CFLAGS_namespace.
2216 * conform/conformtest.pl (@keywords): Only include C99 keywords
2217 for standards based on C99 or C11.
2219 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2221 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2224 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2225 usability of symbols in #if.
2227 * conform/conformtest.pl: If macro or constant types start
2228 "promoted:", expect the symbol to be of the following type
2229 promoted by the integer promotions.
2231 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2232 in one place. Also handle "macro-constant".
2234 * conform/conformtest.pl: Only accept expected macro values with
2235 "==". Parse all "macro" lines in one place.
2236 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2238 * conform/conformtest.pl: Handle braced types on "constant" lines
2239 instead of handling "typed-constant".
2240 * conform/data/signal.h-data: Use "constant" instead of
2243 * conform/conformtest.pl: Handle "optional-" at start of lines in
2244 one place rather than duplicating several cases. Handle each
2245 format of "macro" line with initial "optional-".
2247 * conform/conformtest.pl: Only accept expected constant or
2248 optional-constant values with "==". Parse all "constant" lines in
2249 one place. Parse all "optional-constant" lines in one place.
2250 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2251 * conform/data/fmtmsg.h-data: Likewise.
2252 * conform/data/netinet/in.h-data: Likewise.
2253 * conform/data/tar.h-data: Likewise.
2254 * conform/data/limits.h-data: Use "==" form on "constant" and
2255 "optional-constant" lines.
2257 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2258 Use -std=c99 for XOPEN2K.
2259 (@knownproblems): Remove.
2260 (newtoken): Don't check %isknown.
2262 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2263 Do not expect macro.
2264 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2265 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2266 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2267 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2268 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2269 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2270 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2271 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2272 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2273 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2274 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2275 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2276 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2277 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2278 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2280 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2281 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2285 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2286 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2287 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2289 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2290 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2291 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2292 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2293 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2294 [XPG3] (acosh): Likewise.
2295 [XPG3] (asinh): Likewise.
2296 [XPG3] (atanh): Likewise.
2297 [XPG3] (cbrt): Likewise.
2298 [XPG3] (expm1): Likewise.
2299 [XPG3] (ilogb): Likewise.
2300 [XPG3] (log1p): Likewise.
2301 [XPG3] (logb): Likewise.
2302 [XPG3] (nextafter): Likewise.
2303 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2304 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2305 [XPG3] (remainder): Likewise.
2306 [XPG3] (rint): Likewise.
2307 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2308 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2309 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2310 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2311 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2312 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2313 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2314 [UNIX98 || XOPEN2K] (scalb): Expect.
2315 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2316 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2317 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2318 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2319 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2320 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2321 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2322 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2323 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2324 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2325 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2326 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2327 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2328 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2329 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2330 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2331 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2332 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2333 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2334 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2335 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2336 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2337 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2338 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2339 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2340 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2341 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2342 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2343 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2344 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2345 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2346 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2347 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2348 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2349 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2350 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2351 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2352 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2353 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2354 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2355 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2356 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2357 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2358 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2359 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2360 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2361 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2362 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2363 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2364 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2365 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2366 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2367 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2368 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2369 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2370 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2371 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2372 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2373 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2374 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2375 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2376 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2377 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2378 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2379 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2380 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2381 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2382 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2383 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2384 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2385 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2386 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2387 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2388 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2389 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2390 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2391 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2392 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2393 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2394 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2400 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2401 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2405 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2407 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2422 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2423 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2424 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2425 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2426 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2429 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2430 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2438 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2439 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2440 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2441 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2442 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2443 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2444 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2445 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2453 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2454 _XOPEN_SOURCE_EXTENDED for XPG4.
2456 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2458 * Makeconfig (localtime): Remove variable.
2459 (inst_localtime-file): Likewise.
2461 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2482 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2486 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2487 comparisons to determine direction to adjust input.
2488 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2489 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2490 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2492 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2494 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2496 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2497 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2499 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2501 * math/libm-test.inc (nexttoward_test): Add more tests.
2503 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2506 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2507 in version GLIBC_2.1, not GLIBC_2.0.
2508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2511 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2514 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2516 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2517 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2518 * math/libm-test.inc (acos_test): Add more tests.
2519 (asin_test): Likewise.
2520 * sysdeps/i386/fpu/libm-test-ulps: Update.
2521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2524 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2526 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2527 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2528 * math/libm-test.inc (acos_test_tonearest): New function.
2529 (acos_test_towardzero): Likewise.
2530 (acos_test_downward): Likewise.
2531 (acos_test_upward): Likewise.
2532 (asin_test_tonearest): Likewise.
2533 (asin_test_towardzero): Likewise.
2534 (asin_test_downward): Likewise.
2535 (asin_test_upward): Likewise.
2536 (main): Call the new functions.
2537 * sysdeps/i386/fpu/libm-test-ulps: Update.
2538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2542 * math/e_exp10.c: Include <float.h>.
2543 (__ieee754_exp10): Handle underflow here rather than multiplying
2544 large negative argument by M_LN10.
2545 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2547 * math/e_exp10l.c: Include <float.h>.
2548 (__ieee754_exp10l): Handle underflow here rather than multiplying
2549 large negative argument by M_LN10l.
2550 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2551 spurious overflow exception on underflow.
2553 2012-04-29 Marek Polacek <polacek@redhat.com>
2555 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2556 (__fortify_function): New macro.
2557 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2558 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2559 __extern_always_inline.
2560 * libio/bits/stdio2.h: Likewise.
2561 * libio/bits/stdio.h: Likewise.
2562 * string/string.h: Likewise.
2563 * string/bits/string3.h: Likewise.
2564 * include/stdio.h: Likewise.
2565 * stdlib/bits/stdlib.h: Likewise.
2566 * stdlib/stdlib.h: Likewise.
2567 * rt/bits/mqueue2.h: Likewise.
2568 * rt/mqueue.h: Likewise.
2569 * posix/bits/unistd.h: Likewise.
2570 * posix/unistd.h: Likewise.
2571 * io/bits/poll2.h: Likewise.
2572 * io/bits/fcntl2.h: Likewise.
2573 * io/fcntl.h: Likewise.
2574 * io/sys/poll.h: Likewise.
2575 * misc/bits/syslog.h: Likewise.
2576 * misc/bits/syslog-ldbl.h: Likewise.
2577 * misc/sys/syslog.h: Likewise.
2578 * socket/bits/socket2.h: Likewise.
2579 * socket/sys/socket.h: Likewise.
2580 * debug/tst-chk1.c: Likewise.
2581 * wcsmbs/bits/wchar2.h: Likewise.
2582 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2583 * wcsmbs/wchar.h: Likewise.
2585 2012-04-29 Andreas Jaeger <aj@suse.de>
2587 * Makerules (tests): Remove enable-check-abi protection.
2588 (check-abi-warn): Remove.
2589 (check-abi-%): Remove check-abi-warn usage.
2591 * configure.in: Remove check-abi configure option.
2592 * configure: Regenerated.
2593 * config.make.in (enable-check-abi): Remove.
2595 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2598 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2599 double functions to double *_finite functions.
2602 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2603 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2605 * stdio-common/Makefile (tests): Add tst-sprintf3.
2606 * stdio-common/tst-sprintf3.c: New file.
2608 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2609 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2611 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2613 * conform/conformtest.pl: Remove duplicate typed-constant
2616 2012-04-28 David S. Miller <davem@davemloft.net>
2618 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2619 (check-abi-%): Remove AWK script prerequisite and explicit
2621 (check-abi): Rewrite to just diff the symlist with the abilist.
2622 (config-tls, config-abi-config): Delete, no longer used.
2623 (update-abi-%): Remove AWK script and explicit abilist directory.
2624 (update-abi): Rewrite to simply compare and conditionally copy the
2625 symlist and the sysdep abilist file. Remove update-abi-config
2627 * abilist/ld.abilist: Remove.
2628 * abilist/libBrokenLocale.abilist: Remove.
2629 * abilist/libanl.abilist: Remove.
2630 * abilist/libcrypt.abilist: Remove.
2631 * abilist/libdl.abilist: Remove.
2632 * abilist/librt.abilist: Remove.
2633 * abilist/libthread_db.abilist: Remove.
2634 * abilist/libutil.abilist: Remove.
2635 * scripts/extract-abilist.awk: Remove.
2636 * scripts/merge-abilist.awk: Remove.
2637 * sysdeps/generic/libcidn.abilist: New file.
2638 * sysdeps/generic/libnss_compat.abilist: New file.
2639 * sysdeps/generic/libnss_db.abilist: New file.
2640 * sysdeps/generic/libnss_dns.abilist: New file.
2641 * sysdeps/generic/libnss_files.abilist: New file.
2642 * sysdeps/generic/libnss_hesiod.abilist: New file.
2643 * sysdeps/generic/libnss_nis.abilist: New file.
2644 * sysdeps/generic/libnss_nisplus.abilist: New file.
2645 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2646 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2647 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2649 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2650 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2651 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2652 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2653 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2654 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2655 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2656 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2657 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2659 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2660 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2661 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2662 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2664 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2665 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2666 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2667 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2668 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2669 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2671 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2672 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2673 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2675 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2778 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2779 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2780 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2782 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2783 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2784 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2785 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2786 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2787 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2788 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2789 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2790 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2791 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2843 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2845 * conform/conformtest.pl: Fix typo in handling typed-constant from
2848 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2850 * README: Cut down references to pre-2.6 Linux kernels and
2851 Linuxthreads. Update lists of configurations in libc and ports
2852 and sort alphabetically. Say "or newer" with Linux kernel version
2855 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2857 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2860 * math/libm-test.inc (logb_test_downward): New test to expose
2861 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2864 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2867 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2869 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2870 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2872 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2874 * sysdeps/unix/i386/brk.S: Remove file.
2875 * sysdeps/unix/i386/dl-brk.S: Likewise.
2876 * sysdeps/unix/i386/pipe.S: Likewise.
2877 * sysdeps/unix/i386/sigreturn.S: Likewise.
2878 * sysdeps/unix/i386/syscall.S: Likewise.
2879 * sysdeps/unix/i386/vfork.S: Likewise.
2880 * sysdeps/unix/i386/wait.S: Likewise.
2882 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2883 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2885 * configure.in (arm*-none*): Do not allow without
2886 --enable-hacker-mode.
2887 (netbsd*): Remove case setting base_os.
2888 (386bsd*): Likewise.
2889 (freebsd*): Likewise.
2893 (ultrix*): Likewise.
2894 (newsos*): Likewise.
2904 (solaris[2-9]*): Likewise.
2906 * configure: Regenerated.
2908 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2911 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2912 overflow or cancellation in calculating denominator.
2913 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2914 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2915 down expression to avoid unexpected rounding in newer GCCs.
2916 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2918 2012-04-26 David S. Miller <davem@davemloft.net>
2920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2921 long-double compat symbols.
2922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2936 2012-04-25 David S. Miller <davem@davemloft.net>
2938 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2939 HWCAP_* values only after the memory barriers have been defined.
2940 (atomic_full_barrier): Define.
2941 (atomic_read_barrier): Define.
2942 (atomic_write_barrier): Define.
2944 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2946 * shlib-versions: Add libgcc_s version information.
2947 * sysdeps/generic/libgcc_s.h: Remove.
2948 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2950 * sysdeps/gnu/unwind-resume.c: Likewise.
2951 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2953 2012-04-25 David S. Miller <davem@davemloft.net>
2955 * sysdeps/unix/sparc/brk.S: Delete.
2956 * sysdeps/unix/sparc/dl-brk.S: Delete.
2957 * sysdeps/unix/sparc/pipe.S: Delete.
2958 * sysdeps/unix/sparc/sysdep.S: Delete.
2959 * sysdeps/unix/sparc/sysdep.h: Delete.
2960 * sysdeps/unix/sparc/vfork.S: Delete.
2961 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2962 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2963 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2964 ret_ERRVAL, r0, r1, MOVE): Define.
2965 (JUMPTARGET): Remove.
2966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2967 sysdeps/unix/sparc/sysdep.h
2968 (ENTRY, END): Remove.
2969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2971 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2973 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2974 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2977 * timezone/README: Update upstream location and email address for
2979 * timezone/zdump.c: Update from tzcode 2012b.
2980 * timezone/zic.c: Likewise.
2982 * configure.in (libc_cv_as_needed): Remove test.
2983 * configure: Regenerated.
2984 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2985 conditional definition.
2986 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2987 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2988 * config.make.in (have-as-needed): Remove variable.
2990 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2991 Paul Pluzhnikov <ppluzhnikov@google.com>
2993 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2996 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2998 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2999 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3000 * sysdeps/sh/strlen.S: Likewise.
3002 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3004 * sysdeps/unix/fork.S: Remove file.
3005 * sysdeps/unix/i386/fork.S: Likewise.
3006 * sysdeps/unix/sparc/fork.S: Likewise.
3008 * sysdeps/unix/system.c: Remove file.
3009 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3011 * sysdeps/unix/getegid.S: Remove file.
3012 * sysdeps/unix/geteuid.S: Likewise.
3014 2012-04-24 Roland McGrath <roland@hack.frob.com>
3016 * scripts/check-localplt.awk: New file.
3017 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3019 * scripts/data/localplt-generic.data: Add a comment.
3021 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3022 NODE when __dir_mkfile failed.
3023 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3024 Reported by Ludovic Courtès <ludo@gnu.org>.
3026 2012-04-24 Andreas Jaeger <aj@suse.de>
3028 * Makerules (common-clean): Also remove gen-as-const-headers
3031 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3033 * Makerules (native-compile): Do not change working directory for
3034 build. Use $(OUTPUT_OPTION) in command.
3035 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3037 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3040 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3041 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3042 * math/libm-test.inc (floor_test): Add more tests.
3043 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3045 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3047 * sysdeps/unix/getdents.c: Remove file.
3048 * sysdeps/unix/sysv/getdents.c: Likewise.
3049 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3051 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3052 sysdeps/unix/mman/syscalls.list.
3054 (mprotect): Likewise.
3057 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3058 * sysdeps/unix/mman/syscalls.list: Remove.
3059 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3061 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3062 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3063 * configure: Regenerated.
3064 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3066 * config.make.in (libgcc_s_suffix): Remove variable.
3068 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3070 * sysdeps/unix/sysv/gethostname.c: Move to ...
3071 * sysdeps/posix/gethostname.c: ... here.
3073 * sysdeps/unix/execve.S: Remove file.
3075 * sysdeps/unix/_exit.S: Remove file.
3077 2012-04-23 Andreas Jaeger <aj@suse.de>
3080 * manual/Makefile: Remove make dist support, there's no
3081 need for a stand-alone documentation tar ball.
3082 (TEXI2DVI): Define always, it's not in Makeconfig.
3086 (glibc-doc-$(edition).tar): Removed
3090 (ETAGS): Remove, it's in Makeconfig.
3091 (move-if-change): Remove, it's in Makeconfig.
3093 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3096 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3097 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3098 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3099 (strtod_l, strtof_l, strtold_l): Remove __wur.
3100 It is not necessarily an error to ignore strtol's return value.
3101 One can reliably look at the stored endptr to decide whether
3102 the number had valid syntax.
3104 2012-04-21 Andreas Jaeger <aj@suse.de>
3107 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3109 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3111 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3112 * sysdeps/unix/sysv/Versions: Remove file.
3114 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3119 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3123 version from __vm86.
3125 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3127 * sysdeps/unix/common/lxstat.c: Remove file.
3128 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3130 * sysdeps/unix/sysv/Makefile: Remove file.
3132 * sysdeps/unix/sysv/direct.h: Remove file.
3134 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3135 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3136 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3137 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3138 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3139 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3140 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3142 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3144 * sysdeps/unix/xmknod.c: Remove file.
3145 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3147 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3149 * sysdeps/unix/sysv/i386/time.S: Remove file.
3151 * sysdeps/unix/fxstat.c: Remove file.
3152 * sysdeps/unix/xstat.c: Likewise.
3153 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3155 * sysdeps/unix/sysv/sigaction.c: Remove file.
3157 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3158 (sysdep_headers): Remove variable.
3159 [termio.h not in sysdep_headers] (generated): Likewise.
3160 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3161 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3162 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3163 * sysdeps/unix/sysv/tcflow.c: Likewise.
3164 * sysdeps/unix/sysv/tcflush.c: Likewise.
3165 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3166 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3167 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3168 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3169 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3171 * sysdeps/unix/siglist.c: Remove file.
3173 * sysdeps/unix/getppid.S: Remove file.
3175 * sysdeps/unix/mkdir.c: Remove file.
3176 * sysdeps/unix/rmdir.c: Likewise.
3178 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3180 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3182 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3183 errlist-compat value.
3185 2012-04-18 David S. Miller <davem@davemloft.net>
3187 * sysdeps/generic/memcopy.h (reg_char): Delete.
3188 * debug/strcat_chk.c: Use char, not reg_char.
3189 * debug/strcpy_chk.c: Likewise.
3190 * debug/strncat_chk.c: Likewise.
3191 * debug/strncpy_chk.c: Likewise.
3192 * string/memchr.c: Likewise.
3193 * string/memrchr.c: Likewise.
3194 * string/rawmemchr.c: Likewise.
3195 * string/strcat.c: Likewise.
3196 * string/strchr.c: Likewise.
3197 * string/strchrnul.c: Likewise.
3198 * string/strcmp.c: Likewise.
3199 * string/strcpy.c: Likewise.
3200 * string/strncat.c: Likewise.
3201 * string/strncmp.c: Likewise.
3202 * string/strncpy.c: Likewise.
3204 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3206 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3207 __builtin_memcopy is called when src and dest ranges are known to not
3210 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3212 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3213 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3214 fwd_align_merge macro call.
3215 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3216 bwd_align_merge macro call.
3217 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3219 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3221 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3222 bwd_align_merge macros.
3223 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3224 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3225 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3227 2012-04-18 David S. Miller <davem@davemloft.net>
3229 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3231 2012-04-18 Andreas Jaeger <aj@suse.de>
3234 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3235 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3236 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3238 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3239 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3240 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3242 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3243 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3244 Adjust for changed ldbl-128 files.
3246 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3247 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3248 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3250 2012-04-17 David S. Miller <davem@davemloft.net>
3252 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3254 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3256 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3257 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3258 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3259 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3260 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3261 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3263 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3266 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3267 * math/libm-test.inc: Add ilogb errno and exception tests.
3268 * math/w_ilogb.c: New file: ilogb wrapper.
3269 * math/w_ilogbf.c: New file: ilogbf wrapper.
3270 * math/w_ilogbl.c: New file: ilogbl wrapper.
3271 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3272 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3273 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3274 exception being thrown with 0.0 as argument.
3275 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3276 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3277 exception being thrown with 0.0 as argument.
3278 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3279 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3280 exception being thrown with 0.0 as argument.
3281 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3282 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3283 exception being thrown with 0.0 as argument.
3284 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3285 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3286 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3287 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3288 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3289 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3290 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3291 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3292 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3294 2012-04-17 Petr Baudis <pasky@ucw.cz>
3296 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3299 2012-04-16 Marek Polacek <polacek@redhat.com>
3301 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3303 2012-04-16 Marek Polacek <polacek@redhat.com>
3305 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3306 operands of fdivp instruction.
3308 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3310 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3311 * elf/tst-auditmod3b.c: Likewise.
3312 * elf/tst-auditmod4b.c: Likewise.
3313 * elf/tst-auditmod5b.c: Likewise.
3314 * elf/tst-auditmod6b.c: Likewise.
3315 * elf/tst-auditmod6c.c: Likewise.
3316 * elf/tst-auditmod7b.c: Likewise.
3317 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3318 * sysdeps/x86_64/preconfigure.in: Likewise.
3319 * sysdeps/x86_64/preconfigure: Regenerated.
3321 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3323 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3326 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3328 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3329 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3331 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3334 * locale/iso-639.def: Fix gl language name. Spotted by
3337 2012-04-12 Roland McGrath <roland@hack.frob.com>
3340 * libio/libio.h (__io_write_fn): Update comment.
3342 2012-04-12 Petr Baudis <pasky@ucw.cz>
3345 * stdio.texi (Hook Functions): The user provided writer function
3346 is not allowed to return -1.
3348 2012-04-11 David S. Miller <davem@davemloft.net>
3350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3352 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3354 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3355 Add a leading slash to rtkaio.
3357 2012-04-11 Jim Meyering <meyering@redhat.com>
3360 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3361 It is not necessarily an error to ignore fwrite's return
3362 value. One can reliably use ferror to test for errors after
3365 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3367 * bits/types.h (__snseconds_t): New type.
3368 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3370 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3372 (__SNSECONDS_T_TYPE): Likewise.
3373 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3374 (__SNSECONDS_T_TYPE): Likewise.
3375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3376 (__SNSECONDS_T_TYPE): Likewise.
3378 2012-04-10 Andreas Jaeger <aj@suse.de>
3381 * manual/time.texi (Processor Time): Return type of times is
3382 elapsed real time since an arbitrary point in the past.
3383 (CPU Time): Move CLK_TCK from here...
3384 (Processor Time): ...to here. Correct description.
3385 * manual/conf.texi (Constants for Sysconf): Correct description of
3388 2012-04-10 David S. Miller <davem@davemloft.net>
3391 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3392 where the is a gap between DT_REL(A) and DT_JMPREL.
3394 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3396 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3397 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3398 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3400 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3402 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3403 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3404 (dl_main): Handle --inhibit-cache.
3405 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3407 * elf/dl-load.c (_dl_map_object): Use it.
3408 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3410 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3413 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3414 (__ieee754_powl): Saturate large exponents rather than testing for
3415 overflow of y*log2(x).
3416 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3417 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3421 * math/s_ctan.c: Include <float.h>.
3422 (__ctan): Avoid internal overflow or cancellation in calculating
3424 * math/s_ctanf.c: Likewise.
3425 * math/s_ctanl.c: Likewise.
3426 * math/s_ctanh.c: Likewise.
3427 * math/s_ctanhf.c: Likewise.
3428 * math/s_ctanhl.c: Likewise.
3429 * math/libm-test.inc (ctan_test): Add more tests.
3430 (ctanh_test): Likewise.
3431 * sysdeps/i386/fpu/libm-test-ulps: Update.
3432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3434 2012-04-09 Andreas Jaeger <aj@suse.de>
3437 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3438 is an optional BSD extension.
3441 * manual/stdio.texi (Opening Streams): Document additional fopen
3444 2012-04-09 Roland McGrath <roland@hack.frob.com>
3446 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3447 %eax without telling the compiler.
3449 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3452 * manual/install.texi: Use sourceware.org.
3454 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3457 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3458 (__ieee754_pow): Generate overflow and underflow using huge*huge
3459 and tiny*tiny rather than just returning constant infinity or zero
3460 for large exponents.
3461 * math/libm-test.inc (pow_test): Require overflow exceptions for
3462 applicable cases of large exponents.
3465 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3466 (__ieee754_pow): Use iterative multiplication algorithm only for
3467 integer exponents with absolute value below 1024. Check for odd
3468 integer exponents when using algorithm for real exponents.
3469 * math/libm-test.inc (pow_test): Add more tests.
3470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3472 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3475 * math/libm-test.inc (exp_test): Do not allow overflow exception
3478 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3481 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3482 instead of __kernel_standard_f.
3484 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3486 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3487 * sysdeps/x86_64/memset_chk.S: Likewise.
3489 2012-04-08 Andreas Jaeger <aj@suse.de>
3492 * manual/startup.texi (Environment Access): Describe return value
3493 for putenv and setenv.
3496 * manual/filesys.texi (Directory Entries): Add description for
3500 * manual/filesys.texi (Directory Entries): Clarify that it's file
3501 system not operating system in the description of DT_UNKNOWN.
3504 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3506 2012-04-08 Stephen Compall <s11@member.fsf.org>
3509 * manual/llio.texi (Opening and Closing Files): Add cross
3510 reference to explain mode argument.
3512 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3514 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3515 * sysdeps/x86_64/memset_chk.S: Likewise.
3517 2012-04-07 David S. Miller <davem@davemloft.net>
3519 * elf/elf.h (R_SPARC_WDISP10): Define.
3520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3522 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3523 R_SPARC_SIZE64 and R_SPARC_H34.
3525 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3527 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3528 conditions and remove no longer applicable assertion.
3530 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3532 * bits/byteswap.h: Include <features.h>.
3533 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3534 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3536 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3538 * bits/byteswap.h (__bswap_16): Removed.
3539 Include <bits/byteswap-16.h> to get __bswap_16.
3540 * sysdeps/i386/bits/byteswap.h: Likewise.
3541 * sysdeps/s390/bits/byteswap.h: Likewise.
3542 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3543 * bits/byteswap-16.h: New file.
3544 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3545 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3546 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3547 * string/Makefile (headers): Add bits/byteswap-16.h.
3549 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3552 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3554 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3555 * nss/tst-nss-static.c: New.
3557 2012-04-06 Robert Millan <rmh@gnu.org>
3560 * manual/llio.texi (File Position Primitive): lseek
3561 refers to WHENCE when it really means OFFSET.
3563 2012-04-06 Andreas Jaeger <aj@suse.de>
3565 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3566 strncmp declarations.
3568 * abilist/libc.abilist: Add __poll and __ppoll.
3570 2012-04-05 David S. Miller <davem@davemloft.net>
3572 * scripts/check-local-headers.sh: Accept a host triplet in the
3573 path matched by the exclude regexp.
3575 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3577 * sysdeps/powerpc/powerpc32/dl-machine.h
3578 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3579 * sysdeps/s390/s390-32/dl-machine.h
3580 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3581 * sysdeps/sparc/sparc32/dl-machine.h
3582 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3583 * sysdeps/sparc/sparc64/dl-machine.h
3584 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3586 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3588 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3589 undefined symbol errors.
3591 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3594 2012-04-05 Michael Matz <matz@suse.de>
3597 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3599 2012-04-05 Andreas Jaeger <aj@suse.de>
3602 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3605 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3607 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3608 which ROUND is no valid rounding mode.
3610 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3612 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3614 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3616 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3618 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3619 an exception using FPU order intentionally.
3621 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3623 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3624 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3625 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3626 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3628 2012-04-05 Simon Josefsson <simon@josefsson.org>
3631 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3632 EINVAL when BUFLEN is too smal.
3634 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3637 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3638 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3640 2012-04-03 Andreas Jaeger <aj@suse.de>
3643 * manual/setjmp.texi (System V contexts): Fix sentence.
3646 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3647 New macro for this case.
3648 [!__GNUC__] (__bswap_64): New inline function for this case.
3649 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3650 * bits/byteswap.h: Likewise.
3651 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3652 ull, guard with __GLIBC_HAVE_LONG_LONG.
3654 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3655 __GLIBC_HAVE_LONG_LONG.
3657 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3658 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3660 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3663 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3664 inptr and inend, rather than using last_ch.
3666 2012-04-02 David S. Miller <davem@davemloft.net>
3668 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3669 * stdio-common/printf-parse.h (read_int): Change return type to
3670 'int', return -1 on INT_MAX overflow.
3671 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3672 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3673 overflows INT_MAX. Check for overflow of in-format-string precision
3674 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3675 SIZE_MAX not INT_MAX for integer overflow test.
3676 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3677 skip the construct in the format string but do not record anything.
3678 * stdio-common/bug22.c: Adjust to test both width/prevision
3679 INT_MAX overflow as well as total length INT_MAX overflow. Check
3680 explicitly for proper errno values.
3682 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3684 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3686 * string/test-strcmp.c [! WIDE]: Likewise.
3687 * time/tst-mktime2.c: Likewise for INT_MAX.
3688 * string/test-string.h: #include <sys/param.h> for MIN.
3690 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3691 * sysdeps/i386/init-first.c (init): Likewise.
3692 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3693 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3694 * sysdeps/sh/init-first.c (init): Likewise.
3696 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3698 * po/ru.po: Update from translation team.
3699 * po/vi.po: Likewise.
3701 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3703 * resolv/nss_dns/dns-host.c: Merge copyright years.
3705 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3707 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3708 Optimize memcpy with prefetch if
3709 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3710 src, dst pointers have unequal 16 byte alignments.
3712 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3715 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3716 from a CNAME entry and return the minimum ttl for the query.
3717 (gaih_getanswer_slice): Likewise.
3719 2012-03-30 Jeff Law <law@redhat.com>
3721 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3723 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3724 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3726 * resolv/nss_dns/dns-host.c: Update copyright year.
3728 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3730 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3731 requests to save a system call. Fix check that all bytes are sent.
3733 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3734 comments for sendmmsg.
3736 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3739 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3740 with only 1 character between 0x0041 and 0x01b0.
3741 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3742 * wcsmbs/tst-mbsnrtowcs.c: New file.
3744 2012-03-29 David S. Miller <davem@davemloft.net>
3746 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3747 small copies by hand.
3749 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3752 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3753 _nss_compat_initgroups_dyn): Fall back to malloc/free
3754 for large group memberships.
3756 2012-03-28 David S. Miller <davem@davemloft.net>
3758 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3759 that branches into memcpy.
3760 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3761 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3762 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3763 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3766 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3768 * sysdeps/sparc/mempcpy.S: New file.
3770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3771 the IFUNC routine in the libc case.
3772 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3774 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3775 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3776 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3777 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3778 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3779 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3780 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3781 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3783 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3784 loop to 256 bytes instead of 64 bytes and fix test signedness.
3786 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3787 * sysdeps/sparc/sparc32/Makefile: rather than here...
3788 * sysdeps/sparc/sparc64/Makefile: and here.
3790 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3792 * malloc/mallocbug.c: Avoid warnings about unused variables.
3794 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3797 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3798 in the right place. Discard and retry query if response is
3799 larger than input buffer size.
3801 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3806 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3807 x for large integer exponent.
3808 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3809 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3810 sign of result as needed afterwards.
3811 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3812 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3813 result for underflowing pow the same as for overflow.
3814 (__kernel_standard_l): Handle powl overflow and underflow here
3815 rather than calling __kernel_standard.
3816 * math/libm-test.inc (pow_test): Add more tests.
3831 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3832 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3833 (__kernel_standard_l): New function.
3834 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3836 * math/w_acosl.c (__acosl): Likewise.
3837 * math/w_asinl.c (__asinl): Likewise.
3838 * math/w_atan2l.c (__atan2l): Likewise.
3839 * math/w_atanhl.c (__atanhl): Likewise.
3840 * math/w_coshl.c (__coshl): Likewise.
3841 * math/w_exp10l.c (__exp10l): Likewise.
3842 * math/w_exp2l.c (__exp2l): Likewise.
3843 * math/w_fmodl.c (__fmodl): Likewise.
3844 * math/w_hypotl.c (__hypotl): Likewise.
3845 * math/w_j0l.c (__j0l, __y0l): Likewise.
3846 * math/w_j1l.c (__j1l, __y1l): Likewise.
3847 * math/w_jnl.c (__jnl, __ynl): Likewise.
3848 * math/w_lgammal.c (__lgammal): Likewise.
3849 * math/w_log10l.c (__log10l): Likewise.
3850 * math/w_log2l.c (__log2l): Likewise.
3851 * math/w_logl.c (__logl): Likewise.
3852 * math/w_powl.c (__powl): Likewise.
3853 * math/w_remainderl.c (__remainderl): Likewise.
3854 * math/w_scalbl.c (sysv_scalbl): Likewise.
3855 * math/w_sinhl.c (__sinhl): Likewise.
3856 * math/w_sqrtl.c (__sqrtl): Likewise.
3857 * math/w_tgammal.c (__tgammal): Likewise.
3858 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3859 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3860 * math/libm-test.inc (acos_test): Add more tests.
3861 (acosh_test): Likewise.
3862 (asin_test): Likewise.
3863 (atanh_test): Likewise.
3864 (exp_test): Likewise.
3865 (exp10_test): Likewise.
3866 (exp2_test): Likewise.
3867 (expm1_test): Likewise.
3868 (lgamma_test): Likewise.
3869 (log_test): Likewise.
3870 (log10_test): Likewise.
3871 (log1p_test): Likewise.
3872 (log2_test): Likewise.
3873 (pow_test): Do not allow some spurious overflow exceptions.
3874 (sqrt_test): Add more tests.
3875 (tgamma_test): Likewise.
3876 (y0_test): Likewise.
3877 (y1_test): Likewise.
3878 (yn_test): Likewise.
3880 2012-03-27 Anton Blanchard <anton@samba.org>
3882 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3885 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3888 2012-03-27 David S. Miller <davem@davemloft.net>
3890 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3892 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3895 2012-03-27 Andreas Jaeger <aj@suse.de>
3897 * sysdeps/x86_64/elf/configure.in: Moved to ...
3898 * sysdeps/x86_64/configure.in: ... here.
3899 * sysdeps/x86_64/elf/start.S: Moved to ...
3900 * sysdeps/x86_64/start.S: ... here.
3901 * sysdeps/x86_64/elf/configure: Delete.
3903 * sysdeps/x86_64/configure.in: Merge contents from
3904 sysdeps/i386/configure.in (without i686 check).
3906 * sysdeps/i386/elf/Versions: Merge into ...
3907 * sysdeps/i386/Versions: ... this.
3908 * sysdeps/i386/elf/Versions: Delete file.
3909 * sysdeps/i386/elf/start.S: Moved to ...
3910 * sysdeps/i386/start.S: ...here.
3911 * sysdeps/i386/elf/configure.in: Merge into...
3912 * sysdeps/i386/configure.in: ...here.
3913 * sysdeps/i386/elf/configure.in: Delete file.
3914 * sysdeps/i386/elf/configure: Delete file.
3916 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3917 * debug/backtracesyms.c: ... here.
3918 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3919 * debug/backtracesymsfd.c: ... here.
3920 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3921 * sysdeps/generic/ifunc-sel.h: ... here.
3923 * sysdeps/unix/i386/start.c: Delete file.
3924 * sysdeps/unix/sparc/start.c: Delete file.
3925 * sysdeps/unix/start.c: Delete file.
3927 * sysdeps/sh/elf/configure.in: Moved to ...
3928 * sysdeps/sh/configure.in: ... here.
3929 * sysdeps/sh/elf/start.S: Moved to ...
3930 * sysdeps/sh/start.S: ... here.
3931 * sysdeps/sh/elf/configure: Delete file.
3933 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3934 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3935 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3936 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3937 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3938 * sysdeps/powerpc/powerpc64/start.S: here.
3939 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3940 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3941 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3942 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3943 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3945 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3946 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3947 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3948 * sysdeps/powerpc/powerpc32/start.S: ... here.
3949 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3950 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3951 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3953 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3954 * sysdeps/powerpc/ifunc-sel.h: ... here.
3955 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3956 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3958 * sysdeps/sparc/elf/configure.in: Moved to ...
3959 * sysdeps/sparc/configure.in: ... here.
3960 * sysdeps/sparc/elf/configure: Delete file.
3961 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3962 * sysdeps/sparc/sparc32/start.S: ... here.
3963 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3964 * sysdeps/sparc/sparc64/start.S: ... here.
3965 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3966 * sysdeps/sparc/sparc32/Makefile: ... this.
3967 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3968 * sysdeps/sparc/sparc64/Makefile: ... this.
3970 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3971 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3972 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3973 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3974 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3975 * sysdeps/s390/s390-32/setjmp.S: ... here.
3976 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3977 * sysdeps/s390/s390-32/configure.in: ... here.
3978 * sysdeps/s390/s390-32/elf/configure: Delete file.
3979 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3980 * sysdeps/s390/s390-32/start.S: ... here.
3982 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3983 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3984 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3985 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3986 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3987 * sysdeps/s390/s390-64/setjmp.S: ... here.
3988 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3989 * sysdeps/s390/s390-64/configure.in: ... here
3990 * sysdeps/s390/s390-64/elf/configure: Delete file.
3991 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3992 * sysdeps/s390/s390-64/start.S: ... here.
3993 * sysdeps/s390/s390-64/elf/configure: Delete.
3995 * configure.in: Remove support for elf directories in sysdeps.
3997 * configure: Regenerated.
3998 * sysdeps/i386/configure: Regenerated.
3999 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4000 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4001 * sysdeps/s390/s390-32/configure: Regenerated.
4002 * sysdeps/s390/s390-64/configure: Regenerated.
4003 * sysdeps/sh/configure: Regenerated.
4004 * sysdeps/sparc/configure: Regenerated.
4005 * sysdeps/x86_64/configure: Regenerated.
4007 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4011 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4012 denormal result into account.
4014 2012-03-25 Roland McGrath <roland@hack.frob.com>
4016 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4017 Reported by Allan McRae <allan@archlinux.org>.
4019 2012-03-23 Jeff Law <law@redhat.com>
4021 * nss/getnssent.c (__nss_getent): Fix typo.
4023 2012-03-23 David S. Miller <davem@davemloft.net>
4025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4027 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4029 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4030 to pad to uint64_t for each field.
4031 (dl_tls_index): Replace unsigned long with uint64_t.
4033 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4034 Paul Pluzhnikov <ppluzhnikov@google.com>
4037 * grp/Makefile (otherlibs): Don't set it.
4038 * inet/Makefile (otherlibs): Likewise.
4039 * login/Makefile (otherlibs): Likewise.
4040 * nscd/Makefile (otherlibs): Likewise.
4041 * posix/Makefile (otherlibs): Likewise.
4042 * pwd/Makefile (otherlibs): Likewise.
4043 * rt/Makefile (otherlibs): Likewise.
4044 * sunrpc/Makefile (otherlibs): Likewise.
4045 * nss/Makefile (otherlibs): Likewise.
4046 Add libnss_files to routines and static-only-routines.
4047 ($(objpfx)getent): Remove rule.
4048 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4049 static-only-routines.
4051 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4054 * math/s_cexp.c: Include <float.h>.
4055 (__cexp): Handle exp result overflowing not necessarily
4056 overflowing both real and imaginary parts of result.
4057 * math/s_cexpf.c: Likewise.
4058 * math/s_cexpl.c: Likewise.
4059 * math/libm-test.inc (cexp_test): Add more tests.
4060 * sysdeps/i386/fpu/libm-test-ulps: Update.
4061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4063 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4065 * include/link.h (ELFW): New macro.
4066 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4067 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4069 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4071 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4074 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4076 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4078 (struct La_x32_retval): Likewise.
4080 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4082 * sysdeps/x86_64/preconfigure.in: New file.
4083 * sysdeps/x86_64/preconfigure: New generated file.
4085 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4088 * math/e_exp2l.c: Include <float.h>.
4089 (__ieee754_exp2l): Handle overflow and underflow cases
4090 separately. Only pass fractional part of argument to
4092 * math/libm-test.inc (exp2_test): Add more tests.
4094 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4095 negating x to take absolute value.
4096 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4098 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4099 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4101 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4102 computing low part if x was negated.
4103 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4105 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4107 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4109 (pltexit): Cast int_retval to ptrdiff_t.
4110 * elf/tst-auditmod3b.c: Likewise.
4111 * elf/tst-auditmod4b.c: Likewise.
4112 * elf/tst-auditmod5b.c: Likewise.
4113 * elf/tst-auditmod6b.c: Likewise.
4114 * elf/tst-auditmod6c.c: Likewise.
4115 * elf/tst-auditmod7b.c: Likewise.
4117 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4118 and x32_gnu_pltexit.
4120 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4122 (La_x32_regs): New macro.
4123 (La_x32_retval): Likewise.
4124 (la_x32_gnu_pltenter): New function prototype.
4125 (la_x32_gnu_pltexit): Likewise.
4127 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4129 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4134 * configure.in (libc_cv_cc_nofma): Check for option to disable
4135 generation of FMA instructions.
4136 * configure: Regenerate.
4137 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4138 * sysdeps/ieee754/dbl-64/Makefile: New file.
4139 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4140 Remove brandred-fma4.
4141 (CFLAGS-brandred-fma4.c): Remove.
4142 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4143 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4145 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4148 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4150 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4151 LLONG_MAX != LONG_MAX.
4152 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4153 (_fitoa_word): Likewise.
4154 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4155 LLONG_MAX != LONG_MAX.
4156 * stdio-common/_itowa.h: Include <_itoa.h>.
4157 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4158 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4159 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4160 only if not defined.
4161 (_ITOA_WORD_TYPE): Likewise.
4162 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4163 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4165 2012-03-21 David S. Miller <davem@davemloft.net>
4167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4169 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4171 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4172 of x86_64 when setting libc_cv_slibdir, libdir and
4174 * sysdeps/unix/sysv/linux/configure: Regenerated.
4176 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4178 * manual/lang.texi (Old Varargs): Remove section.
4179 (How Variadic): Update menu.
4180 (va_start): Do not mention varargs.h.
4182 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4183 Joseph Myers <joseph@codesourcery.com>
4185 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4187 * configure: Regenerated.
4189 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4191 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4192 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4195 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4198 * Makefile (files-for-dist): Remove NOTES.
4199 (NOTES): Remove rule.
4200 * README: Don't refer to NOTES.
4201 * manual/creature.texi: Don't include macros.texi.
4202 * manual/intro.texi (creature.texi): Remove comment referring to
4205 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4206 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4207 * configure: Regenerated.
4208 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4210 (libc_cv_as_i686): Likewise.
4211 (libc_cv_cc_avx): Likewise.
4212 (libc_cv_cc_sse2avx): Likewise.
4213 (libc_cv_cc_fma4): Likewise.
4214 (libc_cv_cc_novzeroupper): Likewise.
4215 * sysdeps/i386/configure: Regenerated.
4218 * sysdeps/i386/fpu/s_cexp.S: Remove.
4219 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4220 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4221 * math/libm-test.inc (cexp_test): Add more tests.
4222 * sysdeps/i386/fpu/libm-test-ulps: Update.
4223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4225 2012-03-21 Allan McRae <allan@archlinux.org>
4227 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4229 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4232 * math/w_exp2.c: Do not include <float.h>.
4233 (o_threshold, u_threshold): Remove.
4234 (__exp2): Calculate result before checking finiteness and calling
4236 * math/w_exp2f.c: Likewise.
4237 * math/w_exp2l.c: Likewise.
4238 * math/libm-test.inc (exp2_test): Require overflow exception for
4242 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4243 range of signed 64-bit integers before using fistpll. Remove
4244 checks for whether integers fit in mantissa bits.
4245 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4246 the range of signed 32-bit integers before using fistpl. Remove
4247 checks for whether integers fit in mantissa bits.
4248 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4249 (__ieee754_powl): Test for y outside the range of signed 64-bit
4250 integers before using fistpll. Reduce 64-bit values to 63-bit
4252 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4253 divide-by-zero is raised for zero to large negative powers.
4254 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4255 (__ieee754_powl): Test for y outside the range of signed 64-bit
4256 integers before using fistpll. Reduce 64-bit values to 63-bit
4258 * math/libm-test.inc (pow_test): Add more tests.
4260 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4262 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4263 <stdio-common/_itoa.h>.
4264 * debug/segfault.c: Likewise.
4265 * elf/dl-cache.c: Likewise.
4266 * elf/dl-minimal.c: Likewise.
4267 * elf/dl-misc.c: Likewise.
4268 * elf/dl-sysdep.c: Likewise.
4269 * elf/dl-version.c: Likewise.
4270 * elf/rtld.c: Likewise.
4271 * hurd/hurdsock.c: Likewise.
4272 * hurd/lookup-retry.c: Likewise.
4273 * malloc/malloc.c: Likewise.
4274 * malloc/mtrace.c: Likewise.
4275 * nscd/nscd_getgr_r.c: Likewise.
4276 * nscd/nscd_getpw_r.c: Likewise.
4277 * nscd/nscd_getserv_r.c: Likewise.
4278 * posix/getopt_init.c: Likewise.
4279 * posix/wordexp.c: Likewise.
4280 * stdio-common/_itoa.c: Likewise.
4281 * stdio-common/printf_fphex.c: Likewise.
4282 * stdio-common/vfprintf.c: Likewise.
4283 * string/_strerror.c: Likewise.
4284 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4285 * sysdeps/i386/i686/hp-timing.h: Likewise.
4286 * sysdeps/mach/_strerror.c: Likewise.
4287 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4288 * sysdeps/mach/hurd/sethostid.c: Likewise.
4289 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4290 * sysdeps/mach/xpg-strerror.c: Likewise.
4291 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4292 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4293 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4294 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4295 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4296 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4297 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4298 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4299 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4300 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4301 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4302 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4303 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4304 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4305 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4306 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4307 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4308 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4309 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4310 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4311 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4313 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4315 * stdio-common/_itoa.h: Moved to ...
4316 * sysdeps/generic/_itoa.h: Here.
4318 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4320 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4321 instead of "_itoa.h" and "_itowa.h".
4322 * stdio-common/vfprintf.: Likewise.
4324 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4326 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4328 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4329 (__signbit): Likwise.
4333 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4335 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4338 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4340 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4341 OVERFLOW_EXCEPTION_OK.
4342 * math/libm-test.inc ("Philosophy"): Update comment about
4344 (OVERFLOW_EXCEPTION): Define.
4345 (OVERFLOW_EXCEPTION_OK): Likewise.
4346 (INVALID_EXCEPTION_OK): Renumber.
4347 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4348 (IGNORE_ZERO_INF_SIGN): Likewise.
4349 (test_exceptions): Handle FE_OVERFLOW.
4350 (exp10_test): Expect overflow exceptions.
4351 (exp2_test): Likewise.
4352 (expm1_test): Likewise.
4353 (nextafter_test): Likewise.
4354 (pow_test): Likewise.
4355 (scalbn_test): Likewise.
4356 (scalbln_test): Likewise.
4358 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4360 * sysdeps/x86_64/bits/atomic.h
4361 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4363 (atomic_exchange_acq): Likewise.
4364 (__arch_exchange_and_add_body): Likewise.
4365 (__arch_add_body): Likewise.
4366 (atomic_add_negative): Likewise.
4367 (atomic_add_zero): Likewise.
4369 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4371 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4372 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4374 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4376 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4377 Check __x86_64__ instead of __WORDSIZE.
4379 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4381 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4383 2012-03-19 David S. Miller <davem@davemloft.net>
4385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4387 * sysdeps/sparc/fpu/fenv_private.h: New file.
4388 * sysdeps/sparc/fpu/math_private.h: Use it.
4389 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4391 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4392 (libc_feholdexcept_setroundl): Remove.
4393 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4395 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4396 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4398 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4400 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4401 int64_t instead of long int.
4402 (INSERT_WORDS64): Likwise.
4404 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4406 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4407 _Unwind_GetCFA return to _Unwind_Ptr first.
4409 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4412 * math/s_clog.c: Include <float.h>.
4413 (__clog): Scale large or subnormal inputs.
4414 * math/s_clogf.c: Likewise.
4415 * math/s_clogl.c: Likewise.
4416 * math/s_clog10.c: Include <float.h>.
4417 (M_LOG10_2): Define.
4418 (__clog10): Scale large or subnormal inputs.
4419 * math/s_clog10f.c: Likewise.
4420 * math/s_clog10l.c: Likewise.
4421 * math/libm-test.inc (clog_test): Add more tests.
4422 (clog10_test): Likewise.
4423 * sysdeps/i386/fpu/libm-test-ulps: Update.
4424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4427 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4429 * math/libm-test.inc (atan2_test): Add another test.
4431 * Makerules (common-objdir-compile): Remove.
4432 * sysdeps/unix/Makefile (config-generated): Do not add
4433 $(unix-generated) to variable.
4434 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4435 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4437 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4439 [generic bits/local_lim.h] (before-compile): Do not append to
4441 [generic bits/local_lim.h] (common-generated): Likewise.
4442 [generic sys/param.h] (before-compile): Do not append to variable.
4443 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4444 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4445 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4446 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4448 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4449 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4450 [generic sys/param.h] ($(addprefix
4451 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4452 [generic sys/param.h] (common-generated): Do not append to
4454 [generic sys/param.h] (sysdep_headers): Likewise.
4455 [generic bits/errno.h] (before-compile): Do not append to
4457 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4459 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4460 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4461 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4462 [generic bits/errno.h] (common-generated): Do not append to
4464 [generic bits/ioctls.h] (before-compile): Do not append to
4466 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4468 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4469 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4470 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4472 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4473 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4474 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4475 [generic bits/ioctls.h] (common-generated): Do not append to
4477 [generic sys/syscall.h] (syscall.h): Remove variable.
4478 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4480 [generic sys/syscall.h] (before-compile): Do not append to
4482 [generic sys/syscall.h] (common-generated): Likewise.
4483 * sysdeps/unix/errnos-tmpl.c: Remove file.
4484 * sysdeps/unix/errnos.awk: Likewise.
4485 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4486 * sysdeps/unix/ioctls.awk: Likewise.
4487 * sysdeps/unix/mk-local_lim.c: Likewise.
4488 * sysdeps/unix/snarf-ioctls: Likewise.
4490 2012-03-19 Richard Henderson <rth@twiddle.net>
4492 * sysdeps/i386/fpu/fenv_private.h: New file.
4493 * sysdeps/i386/fpu/math_private.h: Use it.
4494 (math_opt_barrier, math_force_eval): Remove.
4495 (libc_feholdexcept_setround_53bit): Remove.
4496 (libc_feupdateenv_53bit): Remove.
4497 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4498 (math_opt_barrier, math_force_eval): Remove.
4499 (libc_feholdexcept): Remove.
4500 (libc_feholdexcept_setround): Remove.
4501 (libc_fetestexcept, libc_fesetenv): Remove.
4502 (libc_feupdateenv_test): Remove.
4503 (libc_feupdateenv, libc_feholdsetround): Remove.
4504 (libc_feresetround): Remove.
4506 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4507 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4509 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4510 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4511 (libc_feupdateenv_testl): New.
4512 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4513 (libc_feupdateenv_testf): New.
4514 (libc_feupdateenv): Use libc_feupdateenv_test.
4515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4516 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4518 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4519 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4520 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4521 (libc_feresetround_noex): New.
4522 (libc_feresetround_noexf): New.
4523 (libc_feresetround_noexl): New.
4524 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4525 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4526 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4527 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4529 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4530 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4532 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4533 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4534 SET_RESTORE_ROUND_NOEX.
4535 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4536 SET_RESTORE_ROUND_NOEXF.
4537 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4538 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4539 (libc_feholdsetroundf): New.
4540 (libc_feresetround, libc_feresetroundf): New.
4542 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4543 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4544 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4546 * sysdeps/generic/math_private.h: Include <fenv.h>.
4547 (default_libc_feholdexcept): New.
4548 (default_libc_feholdexcept_setround): New.
4549 (default_libc_fesetenv, default_libc_feupdateenv): New.
4550 (libc_feholdexcept): Only define if undefined.
4551 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4552 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4553 (libc_feholdexcept_setroundl): Likewise.
4554 (libc_feholdexcept_setround_53bit): Likewise.
4555 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4556 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4557 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4558 (libc_feupdateenv_53bit): Likewise.
4559 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4560 (libc_feholdexcept): Convert from macro to inline function.
4561 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4562 (libc_fesetenv, libc_feupdateenv): Likewise.
4564 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4565 not previously defined.
4566 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4567 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4568 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4569 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4570 * sysdeps/ieee754/flt-32/math_private.h: New file.
4571 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4572 math_private.h below SET_FLOAT_WORD.
4573 (__isnan, __isinf_ns, __finite): Remove.
4574 (__isnanf, __isinf_nsf, __finitef): Remove.
4576 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4580 2012-03-17 David S. Miller <davem@davemloft.net>
4583 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4586 2012-03-16 David S. Miller <davem@davemloft.net>
4588 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4592 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4594 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4595 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4596 sysdep_routines when subdir is sysvipc.
4597 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4600 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4602 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4604 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4607 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4609 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4610 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4611 (__lround): Renamed to ...
4612 (__llround): This. Replace long int with long long int.
4613 Define lround functions as aliases of llround functions.
4614 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4616 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4618 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4619 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4620 adresses to uintptr_t. Replace "long int" and "unsigned long
4621 int" with "greg_t" on va_arg.
4623 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4625 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4626 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4628 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4629 Move e_machine check before EI_CLASS check. Handle x32
4630 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4631 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4632 SKIP_EM_IA_64 and include
4633 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4635 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4636 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4637 (add_system_dir): New macro.
4639 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4640 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4642 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4653 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4655 * math/w_j0f.c (j0f): Likewise.
4657 * math/w_j0l.c (__j0l): Likewise.
4659 * math/w_j1.c (j1): Likewise.
4661 * math/w_j1f.c (j1f): Likewise.
4663 * math/w_j1l.c (__j1l): Likewise.
4665 * math/w_jn.c (jn): Likewise.
4667 * math/w_jnf.c (jnf): Likewise.
4669 * math/w_jnl.c (__jnl): Likewise.
4671 * math/libm-test.inc (j0_test): Add more tests.
4672 (j1_test): Likewise.
4673 (jn_test): Likewise. Add trailing semicolon to existing test.
4674 (y0_test): Likewise.
4675 (y1_test): Likewise.
4676 * sysdeps/i386/fpu/libm-test-ulps: Update.
4677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4681 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4682 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4683 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4684 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4685 (__tanl): Set errno for infinite argument.
4686 * sysdeps/i386/fpu/mptan.c: Remove.
4687 * sysdeps/i386/fpu/s_tan.S: Likewise.
4688 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4689 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4690 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4691 * math/libm-test.inc (tan_test): Add more tests and enable more
4692 tests for double and long double.
4693 * sysdeps/i386/fpu/libm-test-ulps: Update.
4694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4696 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4698 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4699 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4701 2012-03-16 Roland McGrath <roland@hack.frob.com>
4703 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4704 * configure.in: Use it for both main tree and add-ons.
4705 * configure: Regenerated.
4707 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4709 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4711 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4713 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4717 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4718 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4723 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4726 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4727 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4728 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4729 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4730 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4731 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4732 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4733 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4734 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4735 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4736 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4737 * math/libm-test.inc (cos_test): Add more tests and enable more
4738 tests for long double.
4739 (sin_test): Likewise.
4740 (sincos_test): Likewise.
4741 * sysdeps/i386/fpu/libm-test-ulps: Update.
4742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4744 2012-03-16 David S. Miller <davem@davemloft.net>
4746 * sysdeps/sparc/fpu/math_private.h: New file.
4748 2012-03-15 David S. Miller <davem@davemloft.net>
4750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4760 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4764 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4765 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4767 * sysdeps/sparc/sparc-ifunc.h: New file.
4768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4806 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4807 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4813 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4815 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4819 2012-03-15 Andreas Jaeger <aj@suse.de>
4822 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4823 ieee754/flt-32 implementation for sin, cos and sincos.
4824 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4825 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4826 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4827 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4828 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4829 ieee754/flt-32 implementation for tan.
4831 * math/libm-test.inc (cos_test): Enable some large input tests for
4833 (sin_test): Likewise.
4834 (sincos_test): Likewise.
4835 (tan_test): Add tests for large input.
4837 * sysdeps/i386/fpu/libm-test-ulps: Update.
4839 2012-03-15 Andreas Jaeger <aj@suse.de>
4842 * math/libm-test.inc (cos_test): Add more test cases.
4843 (sin_test): Likewise.
4844 (sincos_test): Likewise.
4846 2012-03-15 Andreas Jaeger <aj@suse.de>
4849 * math/libm-test.inc (cos_test): Add a test case for large input
4851 (sin_test): Likewise.
4852 (sincos_test): Likewise.
4854 2012-03-15 Andreas Jaeger <aj@suse.de>,
4855 Joseph Myers <joseph@codesourcery.com>
4858 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4859 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4860 * sysdeps/i386/fpu/branred.c: Likewise.
4861 * sysdeps/i386/fpu/dosincos.c: Likewise.
4862 * sysdeps/i386/fpu/mpa.c: Likewise.
4863 * sysdeps/i386/fpu/s_cos.S: Likewise.
4864 * sysdeps/i386/fpu/s_sin.S: Likewise.
4865 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4866 * sysdeps/i386/fpu/sincos32.c: Likewise.
4868 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4870 (libc_feupdateenv_53bit): Define.
4871 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4873 (libc_feupdateenv_53bit): Define.
4875 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4876 53 bit (without extend i386 double precision).
4878 * math/libm-test.inc (sincos_test): Add tests for large input.
4882 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4884 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4888 2012-03-15 David S. Miller <davem@davemloft.net>
4890 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4891 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4892 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4893 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4918 fmin/fmax sysdep routines.
4919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4921 2012-03-14 David S. Miller <davem@davemloft.net>
4923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4928 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4929 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4930 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4945 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4946 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4948 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4949 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4950 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4951 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4995 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5000 * sysdeps/sparc/configure.in: New file.
5001 * sysdeps/sparc/configure: Generate.
5002 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5003 * configure: Regenerate.
5004 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5005 * config.make.in (have-as-vis3): New.
5006 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5007 available use -Av9d instead of -Av9a.
5008 * sysdeps/sparc/sparc64/Makefile: Likewise.
5009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5018 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5020 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5021 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5022 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5024 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5025 fzeros/fnegs to load 0x80000000 into a float register instead of
5027 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5029 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5033 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5034 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5035 ($(inst_includedir)/bits/syscall.h): Remove rule.
5036 ($(objpfx)bits/syscall.d): Include instead of
5037 $(objpfx)syscall-list.d.
5038 (generated): Change syscall-list.h and syscall-list.d to
5039 bits/syscall.h and bits/syscall.d.
5041 2012-03-14 Roland McGrath <roland@hack.frob.com>
5044 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5046 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5049 * math/s_csqrt.c: Include <float.h>.
5050 (__csqrt): Scale large or subnormal inputs.
5051 * math/s_csqrtf.c: Likewise.
5052 * math/s_csqrtl.c: Likewise.
5053 * math/libm-test.inc (csqrt_test): Add more tests.
5054 * sysdeps/i386/fpu/libm-test-ulps: Update.
5055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5058 * math/libm-test.inc (hypot_test): Add more tests.
5060 2012-03-13 David S. Miller <davem@davemloft.net>
5063 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5064 double-precision for the calculation instead of scaling.
5066 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5068 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5069 manipulate bits before adding and subtracting TWO52[sx].
5070 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5071 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5073 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5075 2012-03-13 David S. Miller <davem@davemloft.net>
5077 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5078 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5080 rtld-global-offsets.h
5081 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5083 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5086 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5088 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5089 'err' in the ifdef scope in which it is actually used.
5091 * nss/nss_db/db-init.c: Include string.h
5093 2012-03-12 David S. Miller <davem@davemloft.net>
5095 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5096 masking out of the most significant byte of random value used.
5097 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5098 Fix coding style in previous change.
5100 * sysdeps/unix/sysv/linux/kernel-features.h
5101 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5102 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5104 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5107 2012-03-11 David S. Miller <davem@davemloft.net>
5109 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5110 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5111 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5112 for 'resultvar' otherwise things get truncated on 64-bit.
5114 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5115 Fix masking out of the most significant byte of random value used.
5117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5119 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5123 2012-03-09 David S. Miller <davem@davemloft.net>
5125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5126 variables with appropriate CPP guards.
5127 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5128 frame pointer, not the stack pointer. Correct layout comments. Fix test
5129 on resulting framesize and the management of the outregs buffer for pltexit.
5130 Preserve floating point return values across _dl_call_pltexit call.
5131 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5132 framesize and the management of the outregs buffer for pltexit.
5133 Preserve floating point return values across _dl_call_pltexit
5135 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5136 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5137 (print_exit): Fix format string for return register value.
5139 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5141 * sunrpc/Makefile (others): Add rpcgen.
5142 ($(objpfx)rpcgen): Remove special build rule and dependency on
5144 * sunrpc/rpcgen.c: New file.
5146 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5149 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5150 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5151 * sysdeps/i386/crti.S: Likewise.
5152 * sysdeps/i386/crtn.S: Likewise.
5153 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5154 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5155 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5156 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5157 * sysdeps/sh/crti.S: Likewise.
5158 * sysdeps/sh/crtn.S: Likewise.
5159 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5162 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5164 * locale/programs/locfile-kw.gperf: Likewise.
5165 * locale/programs/charmap-kw.h: Regenerated.
5166 * locale/programs/locfile-kw.h: Likewise.
5169 * intl/plural.y: Replace FSF snail mail address with URL.
5170 * intl/plural.c: Regenerated.
5172 2012-03-09 Richard Henderson <rth@twiddle.net>
5174 * include/math_private.h: Remove file.
5175 * math/math_private.h: Move file ...
5176 * sysdeps/generic/math_private.h: ... here.
5178 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5179 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5180 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5182 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5183 and <math_private.h>.
5184 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5185 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5186 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5187 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5188 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5189 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5190 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5192 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5193 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5194 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5195 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5196 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5197 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5198 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5199 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5200 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5201 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5202 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5203 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5205 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5206 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5208 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5209 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5210 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5212 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5213 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5214 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5216 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5217 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5221 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5224 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5225 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5226 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5227 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5228 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5229 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5230 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5231 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5232 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5233 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5234 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5235 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5238 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5241 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5242 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5244 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5250 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5251 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5265 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5272 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5273 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5274 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5275 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5276 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5277 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5278 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5279 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5280 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5281 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5282 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5283 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5284 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5285 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5286 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5287 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5288 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5289 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5290 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5291 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5292 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5293 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5294 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5295 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5296 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5297 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5298 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5299 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5300 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5301 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5302 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5303 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5304 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5305 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5306 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5307 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5308 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5309 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5310 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5311 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5312 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5313 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5314 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5315 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5316 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5317 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5318 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5319 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5320 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5321 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5322 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5323 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5324 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5325 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5326 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5327 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5328 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5329 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5330 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5331 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5332 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5333 * sysdeps/ieee754/k_standard.c: Likewise.
5334 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5338 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5340 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5341 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5343 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5344 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5345 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5346 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5347 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5348 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5349 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5351 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5354 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5355 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5357 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5358 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5359 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5360 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5361 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5362 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5363 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5364 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5365 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5366 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5367 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5368 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5371 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5373 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5376 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5378 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5379 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5382 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5449 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5453 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5454 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5456 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5461 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5466 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5477 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5482 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5483 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5484 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5489 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5494 * sysdeps/ieee754/s_lib_version.c: Likewise.
5495 * sysdeps/ieee754/s_matherr.c: Likewise.
5496 * sysdeps/ieee754/s_signgam.c: Likewise.
5497 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5498 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5499 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5500 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5501 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5502 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5503 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5504 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5505 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5506 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5507 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5508 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5509 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5510 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5511 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5512 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5513 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5514 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5515 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5516 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5517 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5519 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5521 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5522 * sunrpc/rpc_main.c: Likewise.
5523 * sunrpc/rpc_svcout.c: Likewise.
5525 2012-03-09 David S. Miller <davem@davemloft.net>
5527 * include/math_private.h: New file.
5529 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5531 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5532 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5533 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5534 from <bits/socket_type.h>.
5535 (enum __socket_type): Don't define here.
5536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5541 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5544 * Makerules ($(inst_includedir)/%.h): New rule.
5545 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5546 (install-others): Remove variable setting.
5547 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5549 2012-03-08 Richard Henderson <rth@twiddle.net>
5551 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5552 from macro to inline function; merge with the
5553 !__LIBC_INTERNAL_MATH_INLINES version.
5554 (__ieee754_sqrtf): Likewise.
5556 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5558 (__rintf, __floor, __floorf): Likewise.
5560 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5561 macro to inline function.
5562 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5565 not <math/math_private.h>.
5567 2012-03-08 David S. Miller <davem@davemloft.net>
5569 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5571 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5573 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5575 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5577 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5578 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5580 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5582 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5583 be defined individually, they must be defined as a block. Define
5584 S for printing a string instead of hidint the different by using a
5585 macro for adding the 'l'.
5586 * stdio-common/tst-fphex-wide.c: Adjust.
5588 2012-03-07 Marek Polacek <polacek@redhat.com>
5590 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5592 2012-03-08 Marek Polacek <polacek@redhat.com>
5595 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5596 * stdio-common/tst-fphex.c: Define a few macros to make the
5597 test reusable. Use them.
5598 * stdio-common/tst-fphex-wide.c: New file.
5600 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5603 * manual/macros.texi (gnusystems): New macro.
5604 (nongnusystems): Likewise.
5605 (gnulinuxhurdsystems): Likewise.
5606 (gnuhurdsystems): Likewise..
5607 (gnulinuxsystems): Likewise.
5608 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5609 variants of the GNU system, not "GNU system".
5610 * manual/conf.texi: Likewise.
5611 * manual/errno.texi: Likewise. Update example of errno macro
5613 * manual/filesys.texi: Likewise.
5614 (getumask): Document as specific to GNU/Hurd.
5615 * manual/install.texi: Likewise. Reword some references to
5617 * manual/intro.texi: Likewise.
5618 * manual/io.texi: Likewise.
5619 (File Name Portability): Detail which constraints are inapplicable
5620 to all GNU systems and which are only inapplicable to GNU/Hurd.
5621 * manual/job.texi: Likewise.
5622 * manual/llio.texi: Likewise.
5623 (O_NOCTTY): Document as present on GNU/Linux.
5624 * manual/maint.texi: Likewise.
5625 * manual/memory.texi: Likewise.
5626 * manual/pattern.texi: Likewise.
5627 * manual/pipe.texi: Likewise.
5628 * manual/process.texi: Likewise.
5629 * manual/resource.texi: Likewise.
5630 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5632 * manual/setjmp.texi: Likewise.
5633 * manual/signal.texi: Likewise.
5634 * manual/startup.texi: Likewise.
5635 * manual/stdio.texi: Likewise.
5636 * manual/terminal.texi: Likewise.
5637 (ONLCR): Document as POSIX.
5638 (OXTABS): Document availability on GNU/Linux as XTABS.
5639 (ONOEOT): Document availability separately from other bits.
5640 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5641 * manual/time.texi: Likewise.
5642 * manual/users.texi: Likewise.
5643 * INSTALL: Regenerated.
5644 * sysdeps/gnu/errlist.c: Regenerated.
5646 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5647 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5648 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5650 * configure: Regenerated.
5652 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5654 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5655 default includes instead of AC_HEADER_CHECK.
5656 * sysdeps/i386/configure: Regenerated.
5659 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5660 * math/s_cacoshf.c (__cacoshf): Likewise.
5661 * math/s_cacoshl.c (__cacoshl): Likewise.
5662 * math/s_casinh.c (__casinh): Set signs of result from argument.
5663 * math/s_casinhf.c (__casinhf): Likewise.
5664 * math/s_casinhl.c (__casinhl): Likewise.
5665 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5666 (casinh_test): Add more tests.
5667 * sysdeps/i386/fpu/libm-test-ulps: Update.
5668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5670 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5672 * po/zh_TW.po: Update from translation team.
5674 * login/Makefile (distribute): Remove variable.
5675 * catgets/Makefile: Likewise.
5676 * mach/Makefile: Likewise.
5677 * malloc/Makefile: Likewise.
5678 * misc/Makefile: Likewise.
5679 * iconv/Makefile: Likewise.
5680 * nscd/Makefile: Likewise.
5681 * hurd/Makefile: Likewise.
5682 * manual/Makefile: Likewise.
5683 * locale/Makefile: Likewise.
5684 * intl/Makefile: Likewise.
5685 * conform/Makefile: Likewise.
5686 * nss/Makefile: Likewise.
5687 * time/Makefile: Likewise.
5688 * soft-fp/Makefile: Likewise.
5689 * dirent/Makefile: Likewise.
5690 * gmon/Makefile: Likewise.
5691 * po/Makefile: Likewise.
5692 * rt/Makefile: Likewise.
5693 * socket/Makefile: Likewise.
5694 * math/Makefile: Likewise.
5695 * signal/Makefile: Likewise.
5696 * debug/Makefile: Likewise.
5697 * elf/Makefile: Likewise.
5698 * timezone/Makefile: Likewise.
5699 * stdlib/Makefile: Likewise.
5700 * iconvdata/Makefile: Likewise.
5701 * sunrpc/Makefile: Likewise.
5702 * io/Makefile: Likewise.
5703 * argp/Makefile: Likewise.
5704 * inet/Makefile: Likewise.
5705 * hesiod/Makefile: Likewise.
5706 * grp/Makefile: Likewise.
5707 * csu/Makefile: Likewise.
5708 * wctype/Makefile: Likewise.
5709 * crypt/Makefile: Likewise.
5710 * libio/Makefile: Likewise.
5711 * string/Makefile: Likewise.
5712 * nis/Makefile: Likewise.
5713 * resolv/Makefile: Likewise.
5714 * stdio-common/Makefile: Likewise.
5715 * wcsmbs/Makefile: Likewise.
5716 * dlfcn/Makefile: Likewise.
5717 * posix/Makefile: Likewise.
5720 * timezone/Makefile: Don't install timezone files, just the programs
5723 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5725 * nss/databases.def: Add missing gshadow entry.
5727 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5729 2012-03-06 Marek Polacek <polacek@redhat.com>
5732 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5733 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5734 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5735 * stdio-common/tst-long-dbl-fphex.c: New file.
5737 2012-03-06 David S. Miller <davem@davemloft.net>
5739 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5740 (set_obp_int): New function.
5741 (get_obp_int): New function.
5742 (__get_clockfreq_via_dev_openprom): Likewise.
5743 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5744 Avoid unused variable warnings on 'val' and use builtin_expect.
5745 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5747 (INLINE_CLONE_SYSCALL): Likewise.
5749 2012-03-05 David S. Miller <davem@davemloft.net>
5751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5753 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5759 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5761 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5763 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5764 Replace gettimeofday with __vdso_gettimeofday.
5766 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5767 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5768 __vdso_clock_gettime and __vdso_getcpu.
5770 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5771 time with __vdso_time.
5773 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5775 * manual/lang.texi (size_t): Note types to which size_t may be
5776 equivalent with the GNU C Library, but do not describe when
5777 differences between them are significant.
5779 2012-03-05 Andreas Jaeger <aj@suse.de>
5781 * sysdeps/i386/fpu/libm-test-ulps: Update.
5783 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5786 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5787 (__ieee754_pow): Save and restore rounding mode and use
5788 round-to-nearest for main computations.
5789 * math/libm-test.inc (pow_test_tonearest): New function.
5790 (pow_test_towardzero): Likewise.
5791 (pow_test_downward): Likewise.
5792 (pow_test_upward): Likewise.
5793 (main): Call the new functions.
5794 * sysdeps/i386/fpu/libm-test-ulps: Update.
5795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5798 * math/libm-test.inc (cosh_test_tonearest): New function.
5799 (cosh_test_towardzero): Likewise.
5800 (cosh_test_downward): Likewise.
5801 (cosh_test_upward): Likewise.
5802 (sinh_test_tonearest): Likewise.
5803 (sinh_test_towardzero): Likewise.
5804 (sinh_test_downward): Likewise.
5805 (sinh_test_upward): Likewise.
5806 (main): Call the new functions.
5807 * sysdeps/i386/fpu/libm-test-ulps: Update.
5808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5810 2012-03-05 Tom de Vries <tom@codesourcery.com>
5812 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5813 default stack guard is set in last bytes.
5814 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5816 2012-03-05 Kees Cook <keescook@chromium.org>
5818 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5821 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5822 possibly allocate from heap instead of stack.
5823 * stdio-common/bug-vfprintf-nargs.c: New file.
5824 * stdio-common/Makefile (tests): Add nargs overflow test.
5826 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5830 2012-03-03 Marek Polacek <polacek@redhat.com>
5832 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5833 * math/math_private.h: Likewise.
5834 * stdlib/tst-strtod.c: Likewise.
5835 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5836 * sysdeps/x86_64/bits/atomic.h: Likewise.
5838 2012-03-02 David S. Miller <davem@davemloft.net>
5840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5844 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5845 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5846 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5847 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5849 2012-03-02 Roland McGrath <roland@hack.frob.com>
5852 * manual/examples/README: New file, says the example source files
5853 can be used under GPL>=2.
5854 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5855 line containing just "*/".
5856 * manual/examples/add.c: Add copyright header (GPL>=2).
5857 * manual/examples/argp-ex1.c: Likewise.
5858 * manual/examples/argp-ex2.c: Likewise.
5859 * manual/examples/argp-ex3.c: Likewise.
5860 * manual/examples/argp-ex4.c: Likewise.
5861 * manual/examples/atexit.c: Likewise.
5862 * manual/examples/db.c: Likewise.
5863 * manual/examples/dir.c: Likewise.
5864 * manual/examples/dir2.c: Likewise.
5865 * manual/examples/execinfo.c: Likewise.
5866 * manual/examples/filecli.c: Likewise.
5867 * manual/examples/filesrv.c: Likewise.
5868 * manual/examples/fmtmsgexpl.c: Likewise.
5869 * manual/examples/genpass.c: Likewise.
5870 * manual/examples/inetcli.c: Likewise.
5871 * manual/examples/inetsrv.c: Likewise.
5872 * manual/examples/isockad.c: Likewise.
5873 * manual/examples/longopt.c: Likewise.
5874 * manual/examples/memopen.c: Likewise.
5875 * manual/examples/memstrm.c: Likewise.
5876 * manual/examples/mkfsock.c: Likewise.
5877 * manual/examples/mkisock.c: Likewise.
5878 * manual/examples/mygetpass.c: Likewise.
5879 * manual/examples/pipe.c: Likewise.
5880 * manual/examples/popen.c: Likewise.
5881 * manual/examples/rprintf.c: Likewise.
5882 * manual/examples/search.c: Likewise.
5883 * manual/examples/select.c: Likewise.
5884 * manual/examples/setjmp.c: Likewise.
5885 * manual/examples/sigh1.c: Likewise.
5886 * manual/examples/sigusr.c: Likewise.
5887 * manual/examples/stpcpy.c: Likewise.
5888 * manual/examples/strdupa.c: Likewise.
5889 * manual/examples/strftim.c: Likewise.
5890 * manual/examples/strncat.c: Likewise.
5891 * manual/examples/subopt.c: Likewise.
5892 * manual/examples/swapcontext.c: Likewise.
5893 * manual/examples/termios.c: Likewise.
5894 * manual/examples/testopt.c: Likewise.
5895 * manual/examples/testpass.c: Likewise.
5896 * manual/examples/timeval_subtract.c: Likewise.
5899 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5901 * manual/timeval_subtract.c.texi: ... here, new file.
5903 2012-03-02 David S. Miller <davem@davemloft.net>
5905 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5907 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5910 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5911 (__sin): Save and restore rounding mode and use round-to-nearest
5912 for all computations.
5913 (__cos): Save and restore rounding mode and use round-to-nearest
5914 for all computations.
5915 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5917 (tan): Save and restore rounding mode and use round-to-nearest for
5919 * math/libm-test.inc (cos_test_tonearest): New function.
5920 (cos_test_towardzero): Likewise.
5921 (cos_test_downward): Likewise.
5922 (cos_test_upward): Likewise.
5923 (sin_test_tonearest): Likewise.
5924 (sin_test_towardzero): Likewise.
5925 (sin_test_downward): Likewise.
5926 (sin_test_upward): Likewise.
5927 (tan_test_tonearest): Likewise.
5928 (tan_test_towardzero): Likewise.
5929 (tan_test_downward): Likewise.
5930 (tan_test_upward): Likewise.
5931 (main): Call the new functions.
5932 * sysdeps/i386/fpu/libm-test-ulps: Update.
5933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5936 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5937 small n, then large n, before computing and testing k+n.
5938 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5941 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5943 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5944 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5945 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5946 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5947 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5948 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5949 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5950 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5951 * math/libm-test.inc (scalbn_test): Add more tests.
5952 (scalbln_test): Likewise.
5954 * manual/filesys.texi (mode_t): Describe constraints on size and
5955 signedness, not exact equivalence to a particular type.
5957 (ino64_t): Likewise.
5959 (nlink_t): Likewise.
5960 (blkcnt_t): Likewise.
5961 (blkcnt64_t): Likewise.
5962 * manual/llio.texi (off_t): Likewise.
5965 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5966 (__ieee754_exp): Save and restore rounding mode and use
5967 round-to-nearest for all computations.
5968 * math/libm-test.inc (exp_test_tonearest): New function.
5969 (exp_test_towardzero): Likewise.
5970 (exp_test_downward): Likewise.
5971 (exp_test_upward): Likewise.
5972 (main): Call the new functions.
5973 * sysdeps/i386/fpu/libm-test-ulps: Update.
5974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5976 2012-03-01 Chris Demetriou <cgd@google.com>
5978 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5979 have predictable order.
5981 2012-03-01 David S. Miller <davem@davemloft.net>
5983 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5985 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5986 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5987 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5988 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5990 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5991 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5992 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5994 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5995 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5996 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5997 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5998 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6003 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6004 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6006 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6007 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6008 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6009 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6010 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6011 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6012 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6013 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6014 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6015 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6016 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6017 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6018 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6019 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6020 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6021 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6022 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6023 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6024 * sysdeps/sparc/elf/configure: Regenerated.
6026 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6028 * configure.in (AS, LD): Require binutils 2.20 or later.
6029 * configure: Regenerated.
6030 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6031 as required minimum version.
6032 * INSTALL: Regenerated.
6036 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6037 before squaring exponent.
6038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6039 bottom long double and 27 bits of top long double before squaring
6041 * math/libm-test.inc (erfc_test): Add more tests.
6042 * sysdeps/i386/fpu/libm-test-ulps: Update.
6043 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6046 2012-03-01 Kai Tietz <ktietz@redhat.com>
6048 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6049 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6050 containing bit-fields.
6051 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6052 * soft-fp/single.h (_FP_UNION_S): Likewise.
6053 * soft-fp/double.h (_FP_UNION_D): Likewise.
6055 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6058 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6059 not include ../strcmp.S.
6060 [USE_AS_STRNCASECMP_L]: Likewise.
6061 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6062 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6063 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6064 (__strncasecmp_l_ia32): Define as alias to
6065 __strncasecmp_l_nonascii.
6068 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6069 * sysdeps/i386/fpu/libm-test-ulps: Update.
6070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6072 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6075 2012-02-29 Jeff Law <law@redhat.com>
6077 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6080 2012-02-29 Marek Polacek <polacek@redhat.com>
6083 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6084 * elf/Makefile: Add rules to run tst-unused-dep.out.
6086 2012-02-28 David S. Miller <davem@davemloft.net>
6088 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6089 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6090 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6091 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6092 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6093 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6095 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6097 * math/libm-test.inc (llround_test): Move one test from
6098 lround_test. Use TEST_f_L in moved test.
6099 (lround_test): Move misplaced test to llround_test. Add testcase
6102 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6104 * sysdeps/x86_64/fpu/e_expf.S: New file.
6105 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6107 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6110 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6111 of remain_len that may cause incomplete multi-byte character and
6113 * posix/bug-regex33.c: New file.
6114 * posix/Makefile (tests): Add bug-regex33.
6116 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6118 * manual/macros.texi: New file.
6119 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6120 * manual/libc.texinfo: Include macros.texi.
6121 * manual/creatute.texi: Likewise.
6122 * manual/install.texi: Likewise.
6123 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6124 @glibcadj{} in references to the GNU C Library.
6125 * manual/charset.texi: Likewise.
6126 * manual/conf.texi: Likewise.
6127 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6128 when not using those macros.
6129 * manual/creature.texi: Likewise.
6130 * manual/crypt.texi: Likewise.
6131 * manual/errno.texi: Likewise.
6132 * manual/filesys.texi: Likewise.
6133 * manual/header.texi: Likewise.
6134 * manual/install.texi: Likewise.
6135 * manual/intro.texi: Likewise.
6136 * manual/io.texi: Likewise.
6137 * manual/job.texi: Likewise.
6138 * manual/lang.texi: Likewise.
6139 * manual/libc.texiinfo: Likewise.
6140 * manual/llio.texi: Likewise.
6141 * manual/locale.texi: Likewise.
6142 * manual/maint.texi: Likewise.
6143 * manual/math.texi: Likewise.
6144 * manual/memory.texi: Likewise.
6145 * manual/message.texi: Likewise.
6146 * manual/nss.texi: Likewise.
6147 * manual/pattern.texi: Likewise.
6148 * manual/process.texi: Likewise.
6149 * manual/resource.texi: Likewise.
6150 * manual/search.texi: Likewise.
6151 * manual/setjmp.texi: Likewise.
6152 * manual/signal.texi: Likewise.
6153 * manual/socket.texi: Likewise.
6154 * manual/startup.texi: Likewise.
6155 * manual/stdio.texi: Likewise.
6156 * manual/string.texi: Likewise.
6157 * manual/sysinfo.texi: Likewise.
6158 * manual/syslog.texi: Likewise.
6159 * manual/terminal.texi: Likewise.
6160 * manual/time.texi: Likewise.
6161 * manual/users.texi: Likewise.
6162 * INSTALL: Regenerated.
6163 * NOTES: Regenerated.
6164 * sysdeps/gnu/errlist.c: Regenerated.
6166 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6168 * include/dirent.h: Include <dirstream.h> before
6171 2012-02-28 David S. Miller <davem@davemloft.net>
6173 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6174 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6175 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6176 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6178 2012-02-27 David S. Miller <davem@davemloft.net>
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6182 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6183 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6186 frame pointer instead of stack pointer relative arg slot.
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6188 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6189 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6191 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6194 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6196 2012-02-27 David S. Miller <davem@davemloft.net>
6198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6202 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6203 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6204 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6205 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6207 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6209 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6210 later. Allow versions 5-9.
6211 * configure: Regenerated.
6212 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6213 required minimum version and 4.6 as recommended version. Do not
6214 mention bugs in GCC 2.7 and 2.8.
6215 * INSTALL: Regenerated.
6217 2012-02-27 David S. Miller <davem@davemloft.net>
6219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6223 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6224 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6225 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6226 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6228 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6229 manipulate bits before adding and subtracting TWO112[sx].
6230 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6232 2012-02-27 Roland McGrath <roland@hack.frob.com>
6235 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6236 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6237 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6238 being in POSIX, because they are in 1003.1-2008.
6240 * rt/tst-aio.c: Include <fcntl.h>.
6241 * rt/tst-aio7.c: Likewise.
6242 * rt/tst-aio64.c: Likewise.
6244 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6246 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6248 * manual/install.texi (--with-headers): Describe headers as
6249 interface headers, not private headers.
6250 (Specific advice for GNU/Linux systems): Describe use of headers
6251 from "make headers_install", not private headers from older
6253 * INSTALL: Regenerated.
6254 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6256 * sysdeps/unix/sysv/linux/configure: Regenerated.
6258 * manual/llio.texi (fclean): Remove documentation.
6260 * manual/Makefile (libc-texi-generated): New variable. Include
6262 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6263 $(libc-texi-generated), not duplicated list of files.
6264 (version.texi, stamp-version): New rules.
6265 (realclean): Remove $(libc-texi-generated), not individual files
6266 from that list. Do not remove dir-add.texinfo.
6267 * manual/libc.texinfo: Comment out uses of edition numbers and
6268 references to printed manual. Remove last-updated dates.
6269 (EDITION): Comment out.
6271 (VERSION, UPDATED): Remove.
6272 (version.texi): Include.
6274 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6276 * sysdeps/posix/spawni.c: Include <signal.h>.
6277 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6278 * sysdeps/pthread/aio_fsync.c: Likewise.
6280 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6282 * conform/Makefile (tests): Run only when not cross-compiling and
6283 when fast-check is not defined.
6285 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6286 * conform/data/limits.h-data: Fixes for POSIX2008.
6287 * conform/run-conformtest.sh: Run all tests.
6288 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6290 * include/bits/dlfcn.h: Likewise.
6291 * include/langinfo.h: Likewise.
6292 * include/monetary.h: Likewise.
6293 * include/sys/poll.h: Likewise.
6295 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6297 * posix/spawn.h: Define __need_sigset_t.
6298 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6299 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6300 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6301 to get sigevent_t only.
6302 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6305 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6306 process_vm_writev only for __USE_GNU.
6307 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6309 * conform/Makefile: For now ignore errors from run-conformtest.
6310 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6311 POSIX to avoid namespace pollution. Don't prepend headers.
6312 * conform/data/aio.h-data: Fixes for POSIX testing.
6313 * conform/data/fcntl.h-data: Likewise.
6314 * conform/data/glob.h-data: Likewise.
6315 * conform/data/grp.h-data: Likewise.
6316 * conform/data/pthread.h-data: Likewise.
6317 * conform/data/pwd.h-data: Likewise.
6318 * conform/data/signal.h-data: Likewise.
6319 * conform/data/spawn.h-data: Likewise.
6320 * conform/data/stdio.h-data: Likewise.
6321 * conform/data/stdlib.h-data: Likewise.
6322 * conform/data/stropts.h-data: Likewise.
6323 * conform/data/sys/mman.h-data: Likewise.
6324 * conform/data/sys/stat.h-data: Likewise.
6325 * conform/data/sys/types.h-data: Likewise.
6326 * conform/data/sys/wait.h-data: Likewise.
6327 * conform/data/time.h-data: Likewise.
6328 * conform/data/unistd.h-data: Likewise.
6329 * conform/data/utime.h-data: Likewise.
6331 * io/sys/stat.h: fchmod was always in POSIX.
6332 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6333 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6334 * rt/aio.h: Define __need_timespec before including <time.h>.
6335 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6336 struct. Add forward declaration of pthread_attr_t and use it in
6338 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6339 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6340 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6341 always remove CLK_TCK definition.
6343 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6345 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6347 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6349 * conform/run-conformtest.sh: New file.
6350 * conform/Makefile: Run run-conformtest for tests.
6351 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6354 * conform/data/uchar.h-data: New file.
6355 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6356 * conform/data/arpa/inet.h-data: Likewise.
6357 * conform/data/assert.h-data: Likewise.
6358 * conform/data/complex.h-data: Likewise.
6359 * conform/data/cpio.h-data: Likewise.
6360 * conform/data/ctype.h-data: Likewise.
6361 * conform/data/dirent.h-data: Likewise.
6362 * conform/data/dlfcn.h-data: Likewise.
6363 * conform/data/errno.h-data: Likewise.
6364 * conform/data/fcntl.h-data: Likewise.
6365 * conform/data/float.h-data: Likewise.
6366 * conform/data/fmtmsg.h-data: Likewise.
6367 * conform/data/fnmatch.h-data: Likewise.
6368 * conform/data/ftw.h-data: Likewise.
6369 * conform/data/glob.h-data: Likewise.
6370 * conform/data/grp.h-data: Likewise.
6371 * conform/data/iconv.h-data: Likewise.
6372 * conform/data/inttypes.h-data: Likewise.
6373 * conform/data/langinfo.h-data: Likewise.
6374 * conform/data/libgen.h-data: Likewise.
6375 * conform/data/limits.h-data: Likewise.
6376 * conform/data/locale.h-data: Likewise.
6377 * conform/data/math.h-data: Likewise.
6378 * conform/data/monetary.h-data: Likewise.
6379 * conform/data/mqueue.h-data: Likewise.
6380 * conform/data/ndbm.h-data: Likewise.
6381 * conform/data/net/if.h-data: Likewise.
6382 * conform/data/netdb.h-data: Likewise.
6383 * conform/data/netinet/in.h-data: Likewise.
6384 * conform/data/nl_types.h-data: Likewise.
6385 * conform/data/poll.h-data: Likewise.
6386 * conform/data/pthread.h-data: Likewise.
6387 * conform/data/pwd.h-data: Likewise.
6388 * conform/data/regex.h-data: Likewise.
6389 * conform/data/sched.h-data: Likewise.
6390 * conform/data/search.h-data: Likewise.
6391 * conform/data/semaphore.h-data: Likewise.
6392 * conform/data/setjmp.h-data: Likewise.
6393 * conform/data/signal.h-data: Likewise.
6394 * conform/data/spawn.h-data: Likewise.
6395 * conform/data/stdarg.h-data: Likewise.
6396 * conform/data/stdio.h-data: Likewise.
6397 * conform/data/stdlib.h-data: Likewise.
6398 * conform/data/string.h-data: Likewise.
6399 * conform/data/strings.h-data: Likewise.
6400 * conform/data/stropts.h-data: Likewise.
6401 * conform/data/sys/ipc.h-data: Likewise.
6402 * conform/data/sys/mman.h-data: Likewise.
6403 * conform/data/sys/msg.h-data: Likewise.
6404 * conform/data/sys/resource.h-data: Likewise.
6405 * conform/data/sys/select.h-data: Likewise.
6406 * conform/data/sys/sem.h-data: Likewise.
6407 * conform/data/sys/shm.h-data: Likewise.
6408 * conform/data/sys/socket.h-data: Likewise.
6409 * conform/data/sys/stat.h-data: Likewise.
6410 * conform/data/sys/statvfs.h-data: Likewise.
6411 * conform/data/sys/time.h-data: Likewise.
6412 * conform/data/sys/timeb.h-data: Likewise.
6413 * conform/data/sys/times.h-data: Likewise.
6414 * conform/data/sys/types.h-data: Likewise.
6415 * conform/data/sys/uio.h-data: Likewise.
6416 * conform/data/sys/un.h-data: Likewise.
6417 * conform/data/sys/utsname.h-data: Likewise.
6418 * conform/data/sys/wait.h-data: Likewise.
6419 * conform/data/syslog.h-data: Likewise.
6420 * conform/data/tar.h-data: Likewise.
6421 * conform/data/termios.h-data: Likewise.
6422 * conform/data/utime.h-data: Likewise.
6423 * conform/data/utmpx.h-data: Likewise.
6424 * conform/data/varargs.h-data: Likewise.
6425 * conform/data/wchar.h-data: Likewise.
6426 * conform/data/wctype.h-data: Likewise.
6427 * conform/data/wordexp.h-data: Likewise.
6429 * include/stropts.h: New file.
6430 * include/uchar.h: New file.
6431 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6432 * include/assert.h: Likewise.
6433 * include/ctype.h: Likewise.
6434 * include/dirent.h: Likewise.
6435 * include/dlfcn.h: Likewise.
6436 * include/fcntl.h: Likewise.
6437 * include/fnmatch.h: Likewise.
6438 * include/glob.h: Likewise.
6439 * include/grp.h: Likewise.
6440 * include/libio.h: Likewise.
6441 * include/locale.h: Likewise.
6442 * include/math.h: Likewise.
6443 * include/net/if.h: Likewise.
6444 * include/netdb.h: Likewise.
6445 * include/netinet/in.h: Likewise.
6446 * include/pthread.h: Likewise.
6447 * include/pwd.h: Likewise.
6448 * include/regex.h: Likewise.
6449 * include/sched.h: Likewise.
6450 * include/search.h: Likewise.
6451 * include/setjmp.h: Likewise.
6452 * include/signal.h: Likewise.
6453 * include/stdio.h: Likewise.
6454 * include/stdlib.h: Likewise.
6455 * include/string.h: Likewise.
6456 * include/sys/cdefs.h: Likewise.
6457 * include/sys/mman.h: Likewise.
6458 * include/sys/msg.h: Likewise.
6459 * include/sys/resource.h: Likewise.
6460 * include/sys/select.h: Likewise.
6461 * include/sys/socket.h: Likewise.
6462 * include/sys/stat.h: Likewise.
6463 * include/sys/statvfs.h: Likewise.
6464 * include/sys/time.h: Likewise.
6465 * include/sys/times.h: Likewise.
6466 * include/sys/uio.h: Likewise.
6467 * include/sys/utsname.h: Likewise.
6468 * include/sys/wait.h: Likewise.
6469 * include/termios.h: Likewise.
6470 * include/time.h: Likewise.
6471 * include/ulimit.h: Likewise.
6472 * include/unistd.h: Likewise.
6473 * include/utime.h: Likewise.
6474 * include/wchar.h: Likewise.
6475 * include/wctype.h: Likewise.
6476 * include/wordexp.h: Likewise.
6478 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6480 * time/time.h: TIME_UTC must be a macro.
6481 Make timespec_get available for ISO C11 only as well.
6483 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6485 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6486 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6488 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6490 * configure.in: Use -o not -a in test for unsupported multi-arch.
6492 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6494 * manual/texinfo.tex: Update to version 2012-01-19.16.
6496 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6498 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6500 2012-02-24 Roland McGrath <roland@hack.frob.com>
6503 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6504 * manual/fdl-1.3.texi: New file.
6505 * manual/fdl-1.1.texi: File removed.
6508 * manual/libc.texinfo (FDL_VERSION): New @set.
6509 Use it for mention of FDL in cover text.
6510 (Documentation License): Use it in @include file name.
6512 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6513 Roland McGrath <roland@hack.frob.com>
6516 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6517 not LONG_LONG_MAX and LONG_LONG_MIN.
6518 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6519 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6521 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6523 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6527 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6528 manipulate bits before adding and subtracting TWO23[sx].
6529 * math/libm-test.inc (nearbyint_test): Add more tests.
6531 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6534 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6535 bits before adding and subtracting TWO23[sx].
6536 * math/libm-test.inc (rint_test): Add more tests.
6537 (rint_test_tonearest): Likewise.
6538 (rint_test_towardzero): Likewise.
6539 (rint_test_downward): Likewise.
6540 (rint_test_upward: Likewise.
6542 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6545 * include/stdc-predef.h: New file. Extracted from features.h.
6546 * include/features.h: Include stdc-predef.h.
6547 * Makefile (headers): Add stdc-predef.h.
6548 * CONFORMANCE (Compiler limitations): Update.
6550 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6552 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6554 2012-02-21 David S. Miller <davem@davemloft.net>
6556 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6557 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6559 2012-02-20 David S. Miller <davem@davemloft.net>
6561 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6562 using a normal save/restore sequence, rather than allocating a
6563 dummy stack frame just to store a frame pointer and restore.
6564 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6566 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6568 * manual/install.texi: Fix stray word in line-wrapped comment.
6570 2012-02-20 David S. Miller <davem@davemloft.net>
6572 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6573 both binutils and gcc support GOTDATA.
6575 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6576 "rd %pc" in the PIC register setup sequences.
6578 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6579 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6580 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6581 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6582 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6584 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6585 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6587 (SYSCALL_ERROR_HANDLER): Likewise.
6588 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6589 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6590 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6591 (SYSCALL_ERROR_HANDLER): Likewise.
6593 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6594 (HAVE_GCC_GOTDATA): New.
6595 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6596 relocation support in both binutils and gcc.
6597 * sysdeps/sparc/elf/configure: Regenerate.
6599 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6600 * sysdeps/sparc/sparc32/elf/configure: Delete.
6601 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6602 * sysdeps/sparc/sparc64/elf/configure: Delete.
6603 * sysdeps/sparc/elf/configure.in: New file.
6604 * sysdeps/sparc/elf/configure: Generate.
6606 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6607 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6608 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6609 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6610 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6612 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6614 * manual/install.texi: Do not mention specific glibc version
6616 * manual/libc.texinfo (VERSION, UPDATED): Update.
6617 (@copying): Use @copyright{} and range of years.
6619 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6622 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6623 [crti.S not in sysdirs] (generated): Do not append.
6624 [crti.S not in sysdirs] (omit-deps): Likewise.
6625 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6626 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6627 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6628 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6629 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6631 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6632 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6633 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6634 * csu/defs.awk: Remove file.
6635 * sysdeps/generic/initfini.c: Likewise.
6636 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6638 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6641 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6643 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6644 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6645 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6647 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6648 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6650 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6651 (__EPOLL_PACKED): Define to empty if not defined by
6653 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6657 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6659 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6660 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6661 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6662 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6664 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6668 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6670 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6672 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6673 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6674 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6677 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6679 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6680 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6682 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6684 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6685 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6687 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6689 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6692 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6694 * math/w_acos.c: Use non-signaling floating-point comparisons.
6695 * math/w_acosf.c: Likewise.
6696 * math/w_acosh.c: Likewise.
6697 * math/w_acoshf.c: Likewise.
6698 * math/w_acoshl.c: Likewise.
6699 * math/w_acosl.c: Likewise.
6700 * math/w_asin.c: Likewise.
6701 * math/w_asinf.c: Likewise.
6702 * math/w_asinl.c: Likewise.
6703 * math/w_atanh.c: Likewise.
6704 * math/w_atanhf.c: Likewise.
6705 * math/w_atanhl.c: Likewise.
6706 * math/w_exp2.c: Likewise.
6707 * math/w_exp2f.c: Likewise.
6708 * math/w_exp2l.c: Likewise.
6709 * math/w_j0.c: Likewise.
6710 * math/w_j0f.c: Likewise.
6711 * math/w_j0l.c: Likewise.
6712 * math/w_j1.c: Likewise.
6713 * math/w_j1f.c: Likewise.
6714 * math/w_j1l.c: Likewise.
6715 * math/w_jn.c: Likewise.
6716 * math/w_jnf.c: Likewise.
6717 * math/w_log.c: Likewise.
6718 * math/w_log10.c: Likewise.
6719 * math/w_log10f.c: Likewise.
6720 * math/w_log10l.c: Likewise.
6721 * math/w_log2.c: Likewise.
6722 * math/w_log2f.c: Likewise.
6723 * math/w_log2l.c: Likewise.
6724 * math/w_logf.c: Likewise.
6725 * math/w_logl.c: Likewise.
6726 * math/w_sqrt.c: Likewise.
6727 * math/w_sqrtf.c: Likewise.
6728 * math/w_sqrtl.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6731 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6732 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6735 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6738 * manual/string.texi (strnlen): Use correct parameter name in
6739 equivalent expression.
6741 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6744 * manual/users.texi (seteuid): Consistently use neweuid for
6747 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6750 * manual/nss.texi (Services in the NSS configuration): Correct
6751 list of services in example configuration file.
6753 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6756 * manual/arith.texi: Remove statements about negative zero
6757 behaving identically to zero.
6759 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6762 * manual/install.texi: Do not document upgrading from libc5.
6764 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6767 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6769 2012-02-18 David S. Miller <davem@davemloft.net>
6771 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6772 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6773 %o7 across the call.
6774 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6778 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6779 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6780 * sysdeps/sparc/crtn.S: Likewise.
6782 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6784 * aout/Makefile: Remove.
6786 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6789 * manual/examples/argp-ex1.c (main): Format definition in GNU
6791 * manual/examples/argp-ex2.c (main): Likewise.
6792 * manual/examples/argp-ex3.c (main): Likewise.
6793 * manual/examples/argp-ex4.c (main): Likewise.
6794 * manual/examples/longopt.c (main): Use new-style prototype
6796 * manual/examples/strncat.c (main): Specify return type and use
6797 (void) for arguments.
6798 * manual/examples/subopt.c (main): Use char **argv argument.
6800 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6803 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6806 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6809 * manual/string.texi (strchr): Change when strchrnul is
6812 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6815 * manual/locale.texi (setlocale): Document LOCPATH.
6817 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6820 * manual/process.texi (execle): Move @dots{} before last argument.
6822 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6825 * manual/charset.texi (Generic Charset Conversion): Fix typo
6826 (LC_TYPE -> LC_CTYPE).
6828 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6831 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6832 (scalbnf): Likewise.
6833 (scalbnl): Likewise.
6834 (scalbln): Likewise.
6835 (scalblnf): Likewise.
6836 (scalblnl): Likewise.
6837 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6841 * manual/filesys.texi (telldir): Use braces around return type.
6842 * manual/llio.texi (mmap): Add space after comma.
6844 * manual/math.texi (jn): Use @var{} on parameter names.
6850 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6852 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6854 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6855 (sched_get_priority_max): Likewise.
6856 * manual/signal.texi (sigvec): Add space after comma.
6857 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6859 (if_indextoname): Likewise.
6860 (if_freenameindex): Likewise.
6861 (sendto): Use ',' instead of '.' in prototype.
6862 * manual/startup.texi (syscall): Use @dots{} instead of literal
6864 * manual/stdio.texi (__fpending): Separate initial words of
6865 paragraph from @deftypefun line.
6866 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6868 (vsyslog): Use @var{} on parameter names.
6869 * manual/terminal.texi (stty): Use @var{} on parameter names.
6870 * manual/users.texi (getutmp): Use @var{} on parameter names.
6871 (getutmpx): Likewise.
6873 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6876 * manual/stdio.texi (fopen): Fix typos in description of
6879 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6882 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6883 get clock_id definition.
6885 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6888 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6889 (madvise): Cast every argument to void on its own.
6891 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6894 * manual/startup.texi (Exit Status): Fix typo.
6896 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6899 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6900 * manual/examples/argp-ex2.c: Likewise.
6901 * manual/examples/argp-ex3.c: Likewise.
6903 2012-02-16 Richard Henderson <rth@redhat.com>
6905 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6906 * sysdeps/s390/s390-32/initfini.c: Remove.
6907 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6908 * sysdeps/s390/s390-64/initfini.c: Remove.
6910 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6912 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6913 compiler output for sysdeps/generic/initfini.c.
6914 * sysdeps/sh/elf/initfini.c: Remove file.
6916 2012-02-16 David S. Miller <davem@davemloft.net>
6919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6921 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6922 * sysdeps/sparc/crti.S: New file.
6923 * sysdeps/sparc/crtn.S: New file.
6924 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6925 * sysdeps/sparc/sparc64/Makefile: Likewise.
6927 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6930 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6932 2012-02-15 Roland McGrath <roland@hack.frob.com>
6935 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6937 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6938 (write, read, close): Likewise.
6939 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6941 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6943 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6944 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6945 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6946 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6948 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6952 2012-02-14 Marek Polacek <polacek@redhat.com>
6954 * sysdeps/x86_64/crti.S: New file.
6955 * sysdeps/x86_64/crtn.S: New file.
6956 * sysdeps/x86_64/elf/initfini.c: Remove file.
6958 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6960 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6961 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6962 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6963 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6965 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6969 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6971 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6972 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6973 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6974 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6976 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6980 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6982 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6983 __feraiseexcept instead of feraiseexcept.
6985 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6986 nanosleep invocations.
6987 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6988 strings, and add error checking for a nanosleep invocations.
6990 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6992 Replace FSF snail mail address with URLs, as per GNU coding standards.
6993 Most of the snail mail addresses were wrong anyway, and omitting
6994 them makes the source code easier to maintain. Almost all of the
6995 changes are to license notices and to locale LC_IDENTIFICATION
6996 addresses, except for this one:
6997 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6998 not its snail mail address.
7000 2012-02-09 Richard Henderson <rth@twiddle.net>
7002 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7003 of kernel-features.h.
7005 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7007 2012-02-08 Marek Polacek <polacek@redhat.com>
7009 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7010 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7011 * sysdeps/gnu/_G_config.h: Likewise.
7012 * sysdeps/generic/_G_config.h: Likewise.
7014 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7016 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7020 * sysdeps/powerpc/powerpc32/crti.S: New file.
7021 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7022 * sysdeps/powerpc/powerpc64/crti.S: New file.
7023 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7025 * Makeconfig (have-initfini): Don't set.
7026 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7027 * configure.in (nopic_initfini): Don't substitute.
7028 * config.h.in (HAVE_INITFINI): Don't #undef.
7029 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7030 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7032 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7034 Support crti.S and crtn.S provided directly by architectures.
7035 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7036 [crti.S in sysdirs] (omit-deps): Likewise.
7037 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7038 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7039 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7040 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7041 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7042 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7043 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7044 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7045 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7046 compiler output for sysdeps/generic/initfini.c.
7047 * sysdeps/i386/elf/Makefile: Remove file.
7048 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7050 2012-02-07 Marek Polacek <polacek@redhat.com>
7052 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7053 * sysdeps/gnu/_G_config.h: Likewise.
7054 * sysdeps/mach/hurd/_G_config.h: Likewise.
7056 2012-02-07 Marek Polacek <polacek@redhat.com>
7058 * math/Makefile (tests): Add tst-CMPLX2.
7059 * math/tst-CMPLX2.c: New file.
7061 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7063 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7065 * math/libm-test.inc (jn_test): Add missing L suffix.
7067 2012-02-06 Marek Polacek <polacek@redhat.com>
7069 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7070 * sysdeps/i386/fpu/e_powf.S: Likewise.
7071 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7072 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7073 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7074 * sysdeps/i386/fpu/e_pow.S: Likewise.
7075 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7076 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7077 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7078 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7079 * sysdeps/i386/fpu/e_log2.S: Likewise.
7080 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7081 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7082 * sysdeps/i386/fpu/e_powl.S: Likewise.
7083 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7084 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7085 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7086 * sysdeps/i386/fpu/e_logl.S: Likewise.
7087 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7088 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7089 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7090 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7091 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7092 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7093 * sysdeps/i386/fpu/e_log.S: Likewise.
7094 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7095 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7096 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7097 * sysdeps/i386/fpu/e_logf.S: Likewise.
7098 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7099 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7100 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7101 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7102 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7103 * sysdeps/i386/fpu/e_log10.S: Likewise.
7104 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7105 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7106 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7107 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7108 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7109 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7110 * sysdeps/i386/asm-syntax.h: Likewise.
7111 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7112 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7113 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7114 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7115 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7116 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7117 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7118 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7119 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7120 * sysdeps/powerpc/sysdep.h: Likewise.
7121 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7122 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7124 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7127 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7129 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7131 * sysdeps/i386/sysdep.h: Include <features.h>.
7132 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7135 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7137 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7139 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7142 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7144 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7145 (SETUP_PIC_REG): Use GET_PC_THUNK.
7146 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7149 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7151 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7152 for non-PIC compilation.
7153 (SETUP_PIC_REG): Add .p2align directive.
7154 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7155 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7156 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7157 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7158 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7159 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7160 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7161 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7162 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7163 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7164 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7165 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7166 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7167 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7168 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7169 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7170 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7171 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7172 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7173 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7174 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7175 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7176 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7177 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7178 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7180 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7181 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7182 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7183 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7184 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7185 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7186 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7187 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7188 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7189 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7190 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7191 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7192 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7193 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7194 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7196 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7198 * math/tst-CMPLX.c: Include <stdio.h>.
7200 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7202 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7204 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7205 * sysdeps/sparc/bits/mathdef.h: Likewise.
7207 2012-01-31 Marek Polacek <polacek@redhat.com>
7209 * libio/libio.h: Don't define _PARAMS.
7210 * locale/programs/config.h: Don't define PARAMS.
7211 * stdlib/strtol_l.c: Likewise.
7212 (__strtol_l): Remove PARAMS from the prototype.
7214 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7216 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7217 names. Just use the correct names. Remove unnecessary wrapper
7219 * malloc/arena.c: Likewise.
7220 * malloc/hooks.c: Likewise.
7222 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7223 ARENA_TEST says not to. Simplify test for creation of a new arena.
7224 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7226 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7228 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7230 (update_get_addr): New function.
7231 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7232 GET_ADDR_MODULE parameter.
7234 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7236 * crypt/cert.c: Remove __STDC__ conditionals.
7237 * crypt/crypt-entry.c: Likewise.
7238 * crypt/crypt_util.c: Likewise.
7239 * libio/filedoalloc.c: Likewise.
7240 * libio/fileops.c: Likewise.
7241 * libio/genops.c: Likewise.
7242 * libio/iofclose.c: Likewise.
7243 * libio/iofdopen.c: Likewise.
7244 * libio/iofopen.c: Likewise.
7245 * libio/iofopen64.c: Likewise.
7246 * libio/iogetdelim.c: Likewise.
7247 * libio/iopopen.c: Likewise.
7248 * libio/obprintf.c: Likewise.
7249 * libio/oldfileops.c: Likewise.
7250 * libio/oldiofclose.c: Likewise.
7251 * libio/oldiofdopen.c: Likewise.
7252 * libio/oldiofopen.c: Likewise.
7253 * libio/oldiopopen.c: Likewise.
7254 * libio/wfiledoalloc.c: Likewise.
7255 * libio/wgenops.c: Likewise.
7256 * locale/programs/xmalloc.c: Likewise.
7257 * misc/syslog.c: Likewise.
7258 * stdio-common/xbug.c: Likewise.
7259 * string/memchr.c: Likewise.
7260 * string/memcmp.c: Likewise.
7261 * string/memrchr.c: Likewise.
7262 * string/rawmemchr.c: Likewise.
7263 * sysdeps/posix/getcwd.c: Likewise.
7264 * time/strftime_l.c: Likewise.
7266 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7268 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7269 * config.make.in (config-cflags-sse2avx): Define.
7270 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7273 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7275 * scripts/config.guess: Update from upstream config git repository.
7276 * scripts/config.sub: Likewise.
7278 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7280 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7282 (R_TILEPRO_*, R_TILEGX_*): New macros.
7284 * scripts/firstversions.awk: Fix bug in version range handling.
7286 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7288 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7290 * include/sys/epoll.h: New file.
7291 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7294 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7296 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7297 Avoid unnecessary __WORDSIZE == 64 test.
7298 (fmaxf): Use VEX format if possible.
7303 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7304 * math/math_private.h: Remove libc_fegetround* and
7306 * sysdeps/i386/configure.in: Check for -msse2avx.
7307 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7308 also if SSE2AVX is defined.
7309 Remove libc_fegetround* and libc_fesetround*.
7310 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7311 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7312 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7314 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7315 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7316 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7317 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7318 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7320 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7322 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7324 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7326 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7328 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7331 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7333 * Makeconfig (libm): Define.
7334 * elf/Makefile: Add rules to build and run tst-relsort1.
7335 * elf/tst-relsort1.c: New file.
7336 * elf/tst-relsort1mod1.c: New file.
7337 * elf/tst-relsort1mod2.c: New file.
7339 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7341 * math/s_ldexp.c: Remove __STDC__ conditionals.
7342 * math/s_ldexpf.c: Likewise.
7343 * math/s_ldexpl.c: Likewise.
7344 * math/s_nextafter.c: Likewise.
7345 * math/s_nexttowardf.c: Likewise.
7346 * math/s_significand.c: Likewise.
7347 * math/s_significandf.c: Likewise.
7348 * math/s_significandl.c: Likewise.
7349 * math/w_jnl.c: Likewise.
7350 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7351 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7352 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7353 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7354 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7355 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7356 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7357 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7358 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7359 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7360 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7361 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7362 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7363 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7364 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7365 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7366 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7367 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7369 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7370 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7371 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7372 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7373 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7374 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7375 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7376 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7377 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7378 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7379 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7380 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7381 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7382 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7383 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7384 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7385 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7386 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7387 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7388 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7389 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7390 * sysdeps/ieee754/k_standard.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7400 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7406 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7450 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7451 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7452 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7457 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7459 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7465 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7466 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7470 * sysdeps/ieee754/s_matherr.c: Likewise.
7471 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7472 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7473 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7474 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7476 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7478 * crypt/md5.h: Remove __STDC__ conditionals.
7479 * libio/libioP.h: Likewise.
7480 * locale/programs/config.h: Likewise.
7481 * sysdeps/generic/sysdep.h: Likewise.
7482 * sysdeps/i386/asm-syntax.h: Likewise.
7483 * sysdeps/s390/asm-syntax.h: Likewise.
7484 * sysdeps/unix/sysdep.h: Likewise.
7485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7488 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7490 * libio/libio.h: Remove __STDC__ conditionals.
7491 * malloc/obstack.h: Likewise.
7492 * math/complex.h: Likewise.
7493 * math/math.h: Likewise.
7494 * sysdeps/generic/_G_config.h: Likewise.
7495 * sysdeps/gnu/_G_config.h: Likewise.
7496 * sysdeps/mach/hurd/_G_config.h: Likewise.
7497 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7498 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7499 * sysdeps/sparc/bits/mathdef.h: Likewise.
7501 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7504 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7505 Clean up HAS_* macros.
7506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7507 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7509 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7511 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7512 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7513 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7514 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7515 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7517 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7519 * elf/tst-unique3.cc (gets): Remove declaration.
7520 * elf/tst-unique3lib.cc (gets): Likewise.
7521 * elf/tst-unique3lib2.cc (gets): Likewise.
7522 * elf/tst-unique4.cc (gets): Likewise.
7524 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7526 * include/stdio.h: Add C++ protection. Add gets declarations and
7528 * debug/tst-chk1.c: Don't declare gets here.
7529 * stdio-common/tst-gets.c: Likewise.
7531 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7533 * posix/glob: Remove directory.
7535 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7537 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7539 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7541 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7542 of the non-standard EPFNOSUPPORT.
7544 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7546 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7547 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7548 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7550 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7552 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7554 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7556 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7558 * nscd/grpcache.c (cache_addgr): Likewise.
7559 * nscd/hstcache.c (cache_addhst): Likewise.
7560 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7561 * nscd/pwdcache.c (cache_addpw): Likewise.
7562 * nscd/servicescache.c (cache_addserv): Likewise.
7564 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7566 * malloc/malloc.c: Various cleanups.
7567 * malloc/hooks.c: Likewise.
7569 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7570 * stdlib/bug-fmtmsg1.c: New file.
7572 * stdlib/fmtmsg.c (init): Add missing unlock.
7573 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7575 2012-01-12 Marek Polacek <polacek@redhat.com>
7577 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7580 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7582 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7583 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7584 macro to ensure uniqueness of label name.
7585 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7586 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7588 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7590 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7592 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7593 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7594 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7595 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7597 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7599 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7601 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7602 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7603 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7605 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7607 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7608 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7610 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7612 * math/bits/math-finite.h: Add ldexp support.
7614 2012-01-10 Marek Polacek <polacek@redhat.com>
7616 * locale/programs/localedef.h (show_archive_content): Add noreturn
7619 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7621 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7623 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7625 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7627 * io/Makefile (headers): Add bits/poll2.h.
7629 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7632 typo #include statement.
7634 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7636 * include/sys/cdefs.h: Define __attribute_alloc_size.
7637 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7638 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7639 * elf/pldd.c: Likewise.
7640 * iconv/iconv_charmap.c: Likewise.
7641 * iconv/iconvconfig.c: Likewise.
7642 * iconv/strtab.c: Likewise.
7643 * locale/programs/locale.c: Likewise.
7644 * locale/programs/localedef.h: Likewise.
7645 * locale/programs/simple-hash.c: Likewise.
7646 * nscd/nscd.h: Likewise.
7647 * nss/makedb.c: Likewise.
7648 * sysdeps/generic/ldconfig.h: Likewise.
7649 * locale/programs/localedef.c: Remove xmalloc prototype.
7650 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7652 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7654 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7657 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7659 * math/Makefile (tests): Add tst-CMPLX.
7660 * math/tst-CMPLX.c: New file.
7662 * math/complex.h (CMPLXL): Fix typo.
7664 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7665 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7667 * debug/tst-chk1.c: Add poll and ppoll tests.
7668 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7669 * include/sys/poll.h: Add hidden proto for ppoll.
7670 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7671 * sysdeps/mach/hurd/ppoll.c: Likewise.
7672 * io/ppoll.c: Likewise.
7673 * debug/poll_chk.c: New file.
7674 * debug/ppoll_chk.c: New file.
7675 * include/bits/poll2.h: New file.
7676 * io/bits/poll2.h: New file.
7679 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7681 * configure.in: static is always set to yes. Remove.
7682 * config.make.in: Don't set build-static.
7683 * Makeconfig: Remove use of build-static.
7684 * dlfcn/Makefile: Likewise.
7685 * elf/Makefile: Likewise.
7686 * math/Makefile: Likewise.
7687 * misc/Makefile: Likewise.
7688 * nptl/Makefile: Likewise.
7689 * sysdeps/mach/hurd/Makefile: Likewise.
7691 * configure.in: PWD_P is not used anymore.
7692 * config.make.in: Remove PWD_P entry.
7694 * configure.in: Remove last remnants of RANLIB.
7695 No need to check for signed size_t anymore.
7696 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7698 Remove __builtin_expect test because we require at least gcc 3.4.
7699 * aclocal.m4: Likewise.
7701 * wcsmbs/mbrtoc16.c: Implement using towc function.
7702 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7703 * wcsmbs/wcsmbsload.c: Likewise.
7704 * iconv/gconv_simple.c: Likewise.
7705 * iconv/gconv_int.h: Likewise.
7706 * iconv/gconv_builtin.h: Likewise.
7707 * iconv/iconv_prog.c: Remove CHAR16 handling.
7709 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7711 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7713 * configure.in: Remove --with-elf and --enable-bounded options.
7714 Dont set base_machine for ia64. More non-ELF conditions removed.
7715 Remove testing and setting of leading underscore information.
7716 * config.make.in (build-bounded): Set to no.
7717 * config.h.in: Remove NO_UNDERSCORES entry.
7718 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7720 * csu/start.c: Remove !NO_UNDERSCORE code.
7721 * locale/localeinfo.h: Likewise.
7722 * sysdeps/generic/machine-gmon.h: Likewise.
7723 * sysdeps/generic/sysdep.h: Likewise.
7724 * sysdeps/i386/sysdep.h: Likewise.
7725 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7726 * sysdeps/mach/sysdep.h: Likewise.
7727 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7728 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7729 * sysdeps/sh/sysdep.h: Likewise.
7730 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7731 * sysdeps/unix/i386/sysdep.S: Likewise.
7732 * sysdeps/unix/sparc/start.c: Likewise.
7733 * sysdeps/unix/sparc/sysdep.S: Likewise.
7734 * sysdeps/unix/sparc/sysdep.h: Likewise.
7735 * sysdeps/unix/start.c: Likewise.
7736 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7737 * sysdeps/x86_64/sysdep.h: Likewise.
7739 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7742 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7744 * argp/argp-fmtstream.h: Use const instead __const.
7745 * argp/argp.h: Likewise.
7746 * assert/assert.h: Likewise.
7747 * bits/fenv.h: Likewise.
7748 * bits/sched.h: Likewise.
7749 * bits/sigset.h: Likewise.
7750 * bits/sigthread.h: Likewise.
7751 * catgets/nl_types.h: Likewise.
7752 * conform/data/pthread.h-data: Likewise.
7753 * crypt/crypt-private.h: Likewise.
7754 * crypt/crypt.h: Likewise.
7755 * crypt/crypt_util.c: Likewise.
7756 * ctype/ctype.h: Likewise.
7757 * debug/execinfo.h: Likewise.
7758 * debug/mbsnrtowcs_chk.c: Likewise.
7759 * debug/mbsrtowcs_chk.c: Likewise.
7760 * debug/wcsnrtombs_chk.c: Likewise.
7761 * debug/wcsrtombs_chk.c: Likewise.
7762 * debug/wcstombs_chk.c: Likewise.
7763 * dirent/dirent.h: Likewise.
7764 * dlfcn/dlfcn.h: Likewise.
7765 * elf/neededtest4.c: Likewise.
7766 * grp/grp.h: Likewise.
7767 * gshadow/gshadow.h: Likewise.
7768 * iconv/gconv.h: Likewise.
7769 * iconv/gconv_int.h: Likewise.
7770 * iconv/gconv_simple.c: Likewise.
7771 * iconv/iconv.h: Likewise.
7772 * iconv/loop.c: Likewise.
7773 * iconv/skeleton.c: Likewise.
7774 * include/aio.h: Likewise.
7775 * include/aliases.h: Likewise.
7776 * include/argz.h: Likewise.
7777 * include/arpa/inet.h: Likewise.
7778 * include/assert.h: Likewise.
7779 * include/dirent.h: Likewise.
7780 * include/dlfcn.h: Likewise.
7781 * include/execinfo.h: Likewise.
7782 * include/fcntl.h: Likewise.
7783 * include/fenv.h: Likewise.
7784 * include/glob.h: Likewise.
7785 * include/grp.h: Likewise.
7786 * include/libintl.h: Likewise.
7787 * include/mntent.h: Likewise.
7788 * include/netdb.h: Likewise.
7789 * include/pwd.h: Likewise.
7790 * include/rpc/netdb.h: Likewise.
7791 * include/sched.h: Likewise.
7792 * include/search.h: Likewise.
7793 * include/shadow.h: Likewise.
7794 * include/signal.h: Likewise.
7795 * include/stdio.h: Likewise.
7796 * include/stdlib.h: Likewise.
7797 * include/string.h: Likewise.
7798 * include/sys/socket.h: Likewise.
7799 * include/sys/stat.h: Likewise.
7800 * include/sys/statfs.h: Likewise.
7801 * include/sys/statvfs.h: Likewise.
7802 * include/sys/syslog.h: Likewise.
7803 * include/sys/time.h: Likewise.
7804 * include/sys/uio.h: Likewise.
7805 * include/time.h: Likewise.
7806 * include/unistd.h: Likewise.
7807 * include/utmp.h: Likewise.
7808 * include/wchar.h: Likewise.
7809 * include/wctype.h: Likewise.
7810 * inet/aliases.h: Likewise.
7811 * inet/arpa/inet.h: Likewise.
7812 * inet/netinet/ether.h: Likewise.
7813 * inet/netinet/in.h: Likewise.
7814 * intl/libintl.h: Likewise.
7815 * io/bits/fcntl2.h: Likewise.
7816 * io/fcntl.h: Likewise.
7817 * io/ftw.h: Likewise.
7818 * io/sys/poll.h: Likewise.
7819 * io/sys/stat.h: Likewise.
7820 * io/sys/statfs.h: Likewise.
7821 * io/sys/statvfs.h: Likewise.
7822 * io/utime.h: Likewise.
7823 * libio/bits/stdio.h: Likewise.
7824 * libio/bits/stdio2.h: Likewise.
7825 * libio/libio.h: Likewise.
7826 * libio/libioP.h: Likewise.
7827 * libio/stdio.h: Likewise.
7828 * locale/lc-ctype.c: Likewise.
7829 * locale/locale.h: Likewise.
7830 * login/utmp.h: Likewise.
7831 * malloc/arena.c: Likewise.
7832 * malloc/malloc.c: Likewise.
7833 * malloc/malloc.h: Likewise.
7834 * malloc/mcheck.c: Likewise.
7835 * malloc/mtrace.c: Likewise.
7836 * math/bits/mathcalls.h: Likewise.
7837 * math/fenv.h: Likewise.
7838 * math/math_private.h: Likewise.
7839 * misc/bits/error.h: Likewise.
7840 * misc/bits/syslog.h: Likewise.
7841 * misc/err.h: Likewise.
7842 * misc/error.h: Likewise.
7843 * misc/fstab.h: Likewise.
7844 * misc/mntent.h: Likewise.
7845 * misc/regexp.h: Likewise.
7846 * misc/search.h: Likewise.
7847 * misc/sgtty.h: Likewise.
7848 * misc/sys/mman.h: Likewise.
7849 * misc/sys/syslog.h: Likewise.
7850 * misc/sys/uio.h: Likewise.
7851 * misc/sys/xattr.h: Likewise.
7852 * misc/ttyent.h: Likewise.
7853 * nis/rpcsvc/ypclnt.h: Likewise.
7854 * nss/nss.h: Likewise.
7855 * posix/bits/unistd.h: Likewise.
7856 * posix/fnmatch.h: Likewise.
7857 * posix/glob.h: Likewise.
7858 * posix/sched.h: Likewise.
7859 * posix/spawn.h: Likewise.
7860 * posix/sys/wait.h: Likewise.
7861 * posix/unistd.h: Likewise.
7862 * posix/wordexp.h: Likewise.
7863 * pwd/pwd.h: Likewise.
7864 * resolv/netdb.h: Likewise.
7865 * resource/sys/resource.h: Likewise.
7866 * rt/aio.h: Likewise.
7867 * rt/bits/mqueue2.h: Likewise.
7868 * rt/mqueue.h: Likewise.
7869 * shadow/shadow.h: Likewise.
7870 * signal/signal.h: Likewise.
7871 * socket/send.c: Likewise.
7872 * socket/sendto.c: Likewise.
7873 * socket/sys/socket.h: Likewise.
7874 * stdio-common/printf.h: Likewise.
7875 * stdlib/bits/stdlib.h: Likewise.
7876 * stdlib/fmtmsg.h: Likewise.
7877 * stdlib/monetary.h: Likewise.
7878 * stdlib/stdlib.h: Likewise.
7879 * stdlib/ucontext.h: Likewise.
7880 * streams/stropts.h: Likewise.
7881 * string/argz.h: Likewise.
7882 * string/bits/string2.h: Likewise.
7883 * string/string.h: Likewise.
7884 * string/strings.h: Likewise.
7885 * sunrpc/rpc/auth.h: Likewise.
7886 * sunrpc/rpc/auth_des.h: Likewise.
7887 * sunrpc/rpc/clnt.h: Likewise.
7888 * sunrpc/rpc/netdb.h: Likewise.
7889 * sunrpc/rpc/pmap_clnt.h: Likewise.
7890 * sunrpc/rpc/xdr.h: Likewise.
7891 * sysdeps/generic/inttypes.h: Likewise.
7892 * sysdeps/generic/net/if.h: Likewise.
7893 * sysdeps/generic/sys/swap.h: Likewise.
7894 * sysdeps/gnu/net/if.h: Likewise.
7895 * sysdeps/gnu/utmpx.h: Likewise.
7896 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7897 * sysdeps/i386/i486/bits/string.h: Likewise.
7898 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7899 * sysdeps/s390/bits/string.h: Likewise.
7900 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7901 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7902 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7903 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7904 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7905 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7906 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7907 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7908 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7909 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7910 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7911 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7912 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7913 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7914 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7915 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7916 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7919 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7920 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7921 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7922 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7923 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7924 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7925 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7926 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7927 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7928 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7929 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7930 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7931 * sysvipc/sys/ipc.h: Likewise.
7932 * sysvipc/sys/msg.h: Likewise.
7933 * sysvipc/sys/sem.h: Likewise.
7934 * sysvipc/sys/shm.h: Likewise.
7935 * termios/termios.h: Likewise.
7936 * time/sys/time.h: Likewise.
7937 * time/time.h: Likewise.
7938 * wcsmbs/bits/wchar2.h: Likewise.
7939 * wcsmbs/uchar.h: Likewise.
7940 * wcsmbs/wchar.h: Likewise.
7941 * wctype/wctype.h: Likewise.
7944 * Makeconfig: Remove all but ELF support including AIX support.
7945 * Makerules: Likewise.
7946 * config.h.in: Likewise.
7947 * config.make.in: Likewise.
7948 * configure: Likewise.
7949 * configure.in: Likewise.
7950 * csu/Makefile: Likewise.
7951 * csu/version.c: Likewise.
7952 * debug/Makefile: Likewise.
7953 * dlfcn/Makefile: Likewise.
7954 * elf/Makefile: Likewise.
7955 * extra-lib.mk: Likewise.
7956 * iconv/Makefile: Likewise.
7957 * include/libc-symbols.h: Likewise.
7958 * include/shlib-compat.h: Likewise.
7959 * resolv/Makefile: Likewise.
7960 * resolv/res_libc.c: Likewise.
7961 * rt/Makefile: Likewise.
7962 * sysdeps/i386/asm-syntax.h: Likewise.
7963 * sysdeps/i386/sysdep.h: Likewise.
7964 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7965 * sysdeps/mach/sysdep.h: Likewise.
7966 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7967 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7968 * sysdeps/s390/asm-syntax.h: Likewise.
7969 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7970 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7971 * sysdeps/sh/sysdep.h: Likewise.
7972 * sysdeps/unix/sparc/sysdep.h: Likewise.
7973 * sysdeps/wordsize-32/divdi3.c: Likewise.
7974 * sysdeps/x86_64/sysdep.h: Likewise.
7976 * argp/Versions: Remove _argp_unlock_xxx.
7979 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7980 * abilist/libBrokenLocale.abilist: Likewise.
7981 * abilist/libanl.abilist: Likewise.
7982 * abilist/libc.abilist: Likewise.
7983 * abilist/libcrypt.abilist: Likewise.
7984 * abilist/libdl.abilist: Likewise.
7985 * abilist/libm.abilist: Likewise.
7986 * abilist/libnsl.abilist: Likewise.
7987 * abilist/libpthread.abilist: Likewise.
7988 * abilist/libresolv.abilist: Likewise.
7989 * abilist/librt.abilist: Likewise.
7990 * abilist/libthread_db.abilist: Likewise.
7991 * abilist/libutil.abilist: Likewise.
7992 * abilist/libnss_db.abilist: New file.
7994 * scripts/abilist.awk: Add support for indirect functions.
7996 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7998 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8000 * shlib-versions: Remove entries for ports architectures.
8002 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8004 * elf/stackguard-macros.h: Remove support for IA-64.
8005 * elf/tst-auditmod1.c: Likewise.
8006 * sysdeps/generic/ldsodefs.h: Likewise.
8008 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8009 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8013 * configure.in: Remove --enable-omitfp support.
8015 * config.make.in: Likewise.
8016 * Makeconfig: Likewise.
8017 * manual/install.texi: Likewise.
8019 In case anyone cares, the IA-64 architecture could move to ports.
8020 * sysdeps/ia64/*: Removed.
8021 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8022 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8025 * configure.in: Remove entries for unsupported architectures.
8028 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8029 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8031 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8032 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8033 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8034 fall back to using wcrtomb.
8035 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8036 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8038 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8039 * wcsmbs/tst-c16c32-1.c: New file.
8041 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8044 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8046 * elf/tst-unique3.cc: Add explicit declaration of gets.
8047 * elf/tst-unique3lib.cc: Likewise.
8048 * elf/tst-unique3lib2.cc: Likewise.
8049 * elf/tst-unique4.cc: Likewise.
8051 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8053 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8056 * assert/assert.h (static_assert): Don't define for C++.
8057 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8058 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8060 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8062 * iconv/loop.c (single loop): Fix assertion in storing of
8065 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8067 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8069 * posix/getconf.c: Update copyright year.
8070 * nss/getent.c: Likewise.
8071 * nss/makedb.c: Likewise.
8072 * iconv/iconvconfig.c: Likewise.
8073 * iconv/iconv_prog.c: Likewise.
8074 * elf/ldconfig.c: Likewise.
8075 * elf/pldd.c: Likewise.
8076 * elf/sotruss.ksh: Likewise.
8077 * catgets/gencat.c: Likewise.
8078 * csu/version.c: Likewise.
8079 * elf/ldd.bash.in: Likewise.
8080 * elf/sprof.c (print_version): Likewise.
8081 * locale/programs/locale.c: Likewise.
8082 * locale/programs/localedef.c: Likewise.
8083 * login/programs/pt_chown.c: Likewise.
8084 * nscd/nscd.c (print_version): Likewise.
8085 * debug/xtrace.sh: Likewise.
8086 * malloc/memusage.sh: Likewise.
8087 * malloc/mtrace.pl: Likewise.
8088 * debug/catchsegv.sh: Likewise.
8090 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8092 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8095 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8098 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8099 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8101 * iconv/gconv_int.h: Likewise.
8102 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8103 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8104 from libc for GLIBC_2.16.
8105 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8106 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8107 * wcsmbs/uchar.h: Really define mbstate_t.
8108 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8109 * wcsmbs/c16rtomb.c: New file.
8110 * wcsmbs/mbrtoc16.c: New file.
8111 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8113 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8114 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8116 * wcsmbs/wchar.h: Add missing __restrict.
8118 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8121 * time/Makefile (routines): Add timespec_get.
8122 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8123 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8124 timespec for ISO C11.
8125 * time/timespec_get.c: New file.
8126 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8127 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8130 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8131 * stdlib/stdlib.h: Declare aligned_alloc.
8132 * Versions.def: Add GLIBC_2.16 for libc.
8133 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8136 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8139 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8143 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8146 * assert/assert.h (static_assert): Define.
8148 * version.h: Update for 2.16 development version.
8151 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8154 * version.h (RELEASE): Bump for 2.15 release.
8155 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8157 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8158 Patch by Marek Polacek <mpolacek@redhat.com>.
8160 * bits/byteswap.h: Protect long long constants with __extension__.
8161 * sysdeps/i386/bits/byteswap.h: Likewise.
8162 * sysdeps/ia64/bits/byteswap.h: Likewise.
8163 * sysdeps/s390/bits/byteswap.h: Likewise.
8164 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8166 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8169 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8171 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8173 2011-12-23 Marek Polacek <polacek@redhat.com>
8175 * elf/dl-addr.c (determine_info): Add inline keyword.
8176 * elf/tst-auditmod4b.c (check_avx): Likewise.
8177 * elf/tst-auditmod6b.c (check_avx): Likewise.
8178 * elf/tst-auditmod6c.c (check_avx): Likewise.
8179 * elf/tst-auditmod7b.c (check_avx): Likewise.
8181 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8183 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8186 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8189 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8190 processing for last bytes.
8192 2011-08-06 Bruno Haible <bruno@clisp.org>
8195 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8196 U+0385, not to U+1FEE.
8199 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8200 entry for U+00A5 U+0301.
8202 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8205 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8206 buffer for the output is too small.
8208 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8212 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8213 SSE flags if possible.
8215 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8218 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8219 processing for last bytes.
8221 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8223 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8224 (syscall-list-default-options, syscall-list-default-condition)
8225 (syscall-list-includes): Define.
8226 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8227 list of ABIs and options and #if conditions for each ABI. Do not
8228 handle common syscalls between ABIs specially.
8229 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8231 (syscall-list-variants, syscall-list-32bit-options)
8232 (syscall-list-32bit-condition, syscall-list-64bit-options)
8233 (syscall-list-64bit-condition): Define.
8234 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8235 (syscall-list-variants, syscall-list-32bit-options)
8236 (syscall-list-32bit-condition, syscall-list-64bit-options)
8237 (syscall-list-64bit-condition): Define.
8238 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8240 (syscall-list-variants, syscall-list-32bit-options)
8241 (syscall-list-32bit-condition, syscall-list-64bit-options)
8242 (syscall-list-64bit-condition): Define.
8243 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8245 (syscall-list-variants, syscall-list-32bit-options)
8246 (syscall-list-32bit-condition, syscall-list-64bit-options)
8247 (syscall-list-64bit-condition): Define.
8249 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8251 * locale/iso-639.def: Add brx entry.
8254 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8255 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8257 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8258 __feraiseexcept_renamed.
8260 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8263 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8264 EPOLLET with unsigned values.
8265 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8266 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8268 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8269 to large cancellation.
8270 * math/s_cacoshf.c: Likewise.
8271 * math/s_cacoshl.c: Likewise.
8273 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8277 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8278 * math/s_cacoshf.c: Likewise.
8279 * math/s_cacoshl.c: Likewise.
8281 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8284 * iconv/gconv.h: Define __GCONV_SWAP.
8285 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8286 * iconvdata/utf-16.c: Likewise.
8287 * iconvdata/utf-32.c: Likewise.
8289 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8292 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8293 numerator after shifting it by one limb.
8295 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8297 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8298 under [__USE_EXTERN_INLINES].
8300 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8303 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8305 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8307 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8308 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8310 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8311 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8312 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8313 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8314 for strncasecmp/strncasecmp_l compilation.
8315 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8316 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8318 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8321 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8324 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8327 * time/tzfile.c (__tzfile_read): Check values from file header.
8329 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8331 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8332 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8333 * powerpc/powerpc32/dl-start.S: Likewise.
8334 * powerpc/powerpc32/elf/start.S: Likewise.
8335 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8336 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8337 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8338 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8339 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8340 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8341 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8342 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8343 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8344 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8345 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8346 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8347 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8348 * powerpc/powerpc32/memset.S: Likewise.
8349 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8350 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8351 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8352 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8353 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8354 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8355 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8356 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8357 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8358 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8359 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8360 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8361 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8363 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8365 * math/libm-test.inc: Added more nearbyint tests.
8366 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8367 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8368 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8369 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8371 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8373 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8376 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8378 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8379 Add wcscpy-ssse3 wcscpy-c.
8380 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8381 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8382 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8383 * sysdeps/x86_64/wcschr.S: New file.
8384 * sysdeps/x86_64/wcsrchr.S: New file.
8385 * string/test-strcmp.c: Remove checking of wcscmp function for
8387 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8388 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8389 wcsrchr-sse2 wcsrchr-c.
8390 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8391 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8392 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8393 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8394 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8395 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8396 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8397 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8398 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8399 * wcsmbc/wcschr.c (WCSCHR): New macro.
8401 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8403 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8404 * wcsmbs/test-wcsrchr.c: New file.
8405 * string/test-strrchr.c: Add wcsrchr support.
8407 * wcsmbs/test-wcscpy.c: New file.
8408 * string/test-strcpy.c: Add wcscpy support.
8411 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8413 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8416 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8419 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8421 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8423 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8424 Minor optimizations.
8426 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8427 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8428 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8430 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8432 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8433 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8434 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8435 for gcc to avoid warnings.
8436 * inet/Makefile (tests): Add tst-checks.
8437 * inet/tst-checks.c: New file.
8439 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8442 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8445 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8446 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8448 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8450 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8452 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8455 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8457 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8459 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8460 conditional on GCC version.
8461 (__arch_compare_and_exchange_val_8_acq)
8462 (__arch_compare_and_exchange_val_16_acq)
8463 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8464 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8465 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8467 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8469 * sysdeps/sh/backtrace.c: New file.
8471 2011-12-02 Andreas Schwab <schwab@redhat.com>
8473 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8476 2011-12-01 Andreas Schwab <schwab@redhat.com>
8478 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8479 falling back to utime.
8481 2011-11-30 Andreas Schwab <schwab@redhat.com>
8483 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8484 expectations for float.
8486 2011-11-29 Andreas Schwab <schwab@redhat.com>
8488 * locale/weight.h (findidx): Add parameter len.
8489 * locale/weightwc.h (findidx): Likewise.
8490 * posix/fnmatch_loop.c (FCT): Adjust caller.
8491 * posix/regcomp.c (build_equiv_class): Likewise.
8492 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8493 * posix/regexec.c (check_node_accept_bytes): Likewise.
8494 * string/strcoll_l.c (STRCOLL): Likewise.
8495 * string/strxfrm_l.c (STRXFRM): Likewise.
8497 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8499 * Makefile.in: Remove CVSOPT handling.
8500 * configure.in: Remove use of AC_REVISION.
8501 * iconvdata/Makefile (distribute): No need to filter out CVS.
8502 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8505 2011-11-16 Andreas Schwab <schwab@redhat.com>
8507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8508 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8509 [USE_AS_STRNCASECMP_L]: Likewise.
8510 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8511 NO_TLS_DIRECT_SEG_REFS.
8512 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8513 Fix argument offsets for non-PIC.
8514 [USE_AS_STRNCASECMP_L]: Likewise.
8515 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8516 NO_TLS_DIRECT_SEG_REFS.
8518 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8520 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8522 * locale/loadlocale.c (_nl_load_locale): Likewise.
8524 2011-11-15 Andreas Schwab <schwab@redhat.com>
8526 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8527 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8528 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8529 (SYSCALL_GETTIME): Set errno on error.
8531 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8532 count references to noai6ai_cached.
8534 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8536 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8538 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8539 FD_CLOEXEC for /proc/self/maps.
8541 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8542 FD_CLOEXEC for /proc/meminfo.
8544 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8547 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8548 FD_CLOEXEC for given file.
8550 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8552 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8553 FD_CLOEXEC for /etc/hosts.
8554 (_gethtent): Likewise.
8556 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8558 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8559 cancellation and set FD_CLOEXEC for /etc/netgroup.
8561 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8562 reading /etc/publickey.
8564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8565 allow cancellation when reading /etc/group.
8567 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8569 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8571 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8572 when using data file.
8574 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8576 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8577 (write_nis_obj): Use "c" and "e" in fopen.
8579 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8581 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8583 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8585 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8587 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8590 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8592 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8594 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8596 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8597 file parsing and set FD_CLOEXEC.
8599 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8601 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8603 2011-11-14 Andreas Schwab <schwab@redhat.com>
8605 * malloc/arena.c (arena_get2): Don't call reused_arena when
8606 _int_new_arena failed.
8608 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8610 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8611 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8612 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8613 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8614 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8615 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8616 to compile strcasecmp and strncasecmp.
8617 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8618 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8622 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8624 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8625 locale-defines.sym to gen-as-const-headers.
8626 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8627 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8628 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8629 to compile strcasecmp and strncasecmp.
8630 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8631 strcasecmp_l and strncasecmp_l.
8632 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8633 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8634 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8635 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8636 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8637 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8638 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8639 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8640 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8641 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8642 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8644 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8646 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8647 result of SYSDEP_GETTIME_CPU to retval.
8648 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8649 parameter list to macro. Remove trailing semicolon. Adjust users.
8651 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8654 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8656 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8658 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8659 from unused variable.
8661 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8663 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8666 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8669 * sunrpc/rpc_prot.c (rejected): Fix case value.
8671 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8672 unsigned long long int to avoid warnings in shift.
8674 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8676 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8679 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8680 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8681 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8683 * nis/nis_table.c (nis_list): Use variable of correct type for
8684 result of __follow_path call.
8686 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8688 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8689 of math functions ceil, trunc, floor, round, and sqrt, when
8690 avaliable on the platform.
8691 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8693 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8694 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8695 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8697 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8699 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8700 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8702 2011-11-11 Roland McGrath <roland@hack.frob.com>
8704 * include/unistd.h: Fix __readlink return type.
8705 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8707 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8709 * stdlib/ucontext.h: Undo last change for makecontext.
8711 2011-11-11 Andreas Schwab <schwab@redhat.com>
8713 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8715 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8716 * setjmp/setjmp.h: Mark functions as non-leaf.
8717 * setjmp/bits/setjmp2.h: Likewise.
8718 * stdlib/ucontext.h: Likewise.
8720 2011-11-10 Andreas Schwab <schwab@redhat.com>
8722 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8723 (reused_arena): Don't check arena limit.
8724 (arena_get2): Atomically check arena limit.
8726 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8728 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8729 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8734 2011-11-07 Andreas Schwab <schwab@redhat.com>
8736 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8737 handler when locking.
8739 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8740 Fix size of allocated buffer.
8742 2011-11-04 Andreas Schwab <schwab@redhat.com>
8745 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8746 declarations for long double functions.
8747 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8749 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8751 2011-11-03 Andreas Schwab <schwab@redhat.com>
8753 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8756 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8759 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8761 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8763 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8765 * include/alloca.h (stackinfo_alloca_round): Define.
8766 (extend_alloca): Use it.
8767 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8768 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8771 * scripts/check-local-headers.sh: Ignore libaudit.h.
8773 * nscd/Makefile (extra-objs): Make recursively expanded.
8775 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8777 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8780 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8781 * posix/tst-rfc3484-2.c: Likewise.
8782 * posix/tst-rfc3484-3.c: Likewise.
8784 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8786 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8788 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8789 process_vm_writev from libc using GLIBC_2.15 version.
8791 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8793 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8795 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8798 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8801 * nss/getent.c (initgroups_keys): Show error message in case no group
8804 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8805 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8806 __bump_nl_timestamp.
8807 * nscd/connections (nscd_init): When host database is served open
8808 netlink socket and request notification about configuration changes.
8809 (main_loop_poll): Track netlink file descriptor and bump timestamp
8810 in case data becomes available.
8811 (main_loop_epoll): Likewise.
8812 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8813 (database_pers_head): Add extra_data fileds.
8814 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8815 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8816 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8818 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8819 in6ai data, call __free_in6ai.
8820 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8822 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8823 interface information. Reuse previous data if netlink timestamp
8825 (__bump_nl_timestamp): New function.
8826 (__free_in6ai): New function.
8828 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8830 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8831 close_not_cancel_no_status here.
8832 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8834 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8837 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8840 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8841 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8842 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8844 2011-07-03 Andreas Jaeger <aj@suse.de>
8847 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8848 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8849 * math/libm-test.inc (sin_test): Add test case.
8851 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8854 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8855 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8857 * elf/chroot_canon.c (chroot_canon): Cleanups.
8859 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8862 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8863 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8865 * string/test-strchr.c: Make usable for strchrnul testing.
8866 * string/test-strchrnul.c: New file.
8867 * string/Makefile (strop-tests): Add strchrnul.
8869 * po/it.po: Update from translation team.
8870 * po/es.po: Likewise.
8872 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8874 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8875 the three constants needed as parameters. Drop the others.
8876 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8877 __m128i_strloadu_tolower.
8878 Create and initialize variable zero and use it in all the places
8879 where _mm_setzero_si128 was used.
8881 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8882 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8883 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8884 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8886 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8887 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8888 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8889 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8890 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8891 __mpranred, __mptan.
8892 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8893 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8894 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8895 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8896 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8897 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8899 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8900 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8902 2011-10-28 Andreas Schwab <schwab@redhat.com>
8904 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8906 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8909 wide char related routines to wcsmbs subdir.
8911 2011-10-27 Andreas Schwab <schwab@redhat.com>
8914 * misc/sys/cdefs.h (__THROWNL): Define.
8915 * posix/unistd.h: Use __THREADNL instead of __THREAD
8916 for memory synchronization functions.
8918 2011-10-26 Roland McGrath <roland@hack.frob.com>
8921 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8923 * manual/stdio.texi (Obstack Streams): Node removed.
8925 2011-10-26 Andreas Schwab <schwab@redhat.com>
8927 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8928 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8929 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8931 * math/math_private.h (math_force_eval): Allow non-addressable
8933 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8935 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8937 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8940 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8941 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8942 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8943 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8944 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8945 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8946 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8947 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8949 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8950 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8951 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8952 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8953 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8954 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8955 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8956 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8957 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8958 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8959 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8960 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8961 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8962 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8963 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8964 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8965 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8966 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8967 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8969 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8970 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8972 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8973 place. Use VEX encoding when compiling for AVX.
8975 2011-10-25 Andreas Schwab <schwab@redhat.com>
8977 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8978 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8980 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8982 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8984 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8985 useless if() expression.
8986 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8995 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8996 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8997 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8998 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8999 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9000 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9001 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9002 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9004 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9006 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9008 2011-10-25 Andreas Schwab <schwab@redhat.com>
9010 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9012 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9014 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9016 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9017 .text section. Avoid duplicate constants.
9018 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9028 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9030 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9033 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9035 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9041 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9042 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9043 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9044 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9045 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9046 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9047 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9048 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9049 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9050 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9051 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9052 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9053 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9054 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9055 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9056 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9057 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9058 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9059 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9060 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9061 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9062 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9064 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9066 * sysdeps/x86_64/dla.h: Move to ...
9067 * sysdeps/x86_64/fpu/dla.h: ...here.
9068 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9069 situations. Use __builtin_fma only for gcc 4.6 and up.
9071 * config.make.in: Add have-mfma4 entry.
9072 * configure.in: Substitute libc_cv_cc_fma4.
9073 * math/Makefile (dbl-only-routines): Add sincostab.
9074 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9075 Use __sincostab not sincos.
9076 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9078 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9083 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9084 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9085 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9086 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9088 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9089 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9091 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9092 define aliases when function name is a macro.
9093 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9094 sysdeps/ieee754/dbl-64/sincos.tbl.
9095 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9096 fma4-enabled routines.
9097 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9098 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9099 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9100 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9101 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9102 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9103 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9104 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9105 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9106 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9107 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9108 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9109 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9110 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9111 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9112 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9113 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9114 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9115 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9116 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9117 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9118 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9119 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9120 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9121 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9122 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9123 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9124 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9125 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9126 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9128 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9130 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9139 2011-10-24 Andreas Schwab <schwab@redhat.com>
9141 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9143 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9145 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9147 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9149 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9151 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9152 Remove unused variable magic_bits.
9153 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9155 * string/strnlen.c: Define and use STRNLEN macro.
9156 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9157 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9158 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9159 * wcsmbs/wcslen.c: Define and use WCSLEN.
9160 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9161 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9162 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9163 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9164 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9165 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9166 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9168 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9171 strnlen-sse2-no-bsf.
9172 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9174 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9175 Add strnlen support.
9176 (USE_AS_STRNLEN): New macro.
9177 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9178 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9179 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9180 * sysdeps/x86_64/wcslen.S: New file.
9182 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9184 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9185 XMM-moves are used for copying on small sizes.
9187 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9189 * wcsmbs/Makefile (strop-tests): Add wcschr.
9190 * wcsmbs/test-wcschr.c: New file.
9191 * string/test-strchr.c: Update.
9195 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9197 * wcsmbs/Makefile (strop-tests): Add wcslen.
9198 * wcsmbs/test-wcslen.c: New file.
9199 * string/test-strlen.c: Update.
9203 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9205 * po/it.po: Update from translation team.
9207 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9209 * sysdeps/x86_64/wcscmp.S: Update.
9210 Fix wrong comparison semantics.
9211 wcscmp shall use signed comparison not unsigned.
9212 Don't use substraction to avoid overflow bug.
9213 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9214 * wcsmbc/wcscmp.c: Likewise.
9215 * string/test-strcmp.c: Likewise.
9216 Add new tests to check cases with negative values.
9218 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9220 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9221 * sysdeps/x86_64/dla.h: ...here. New file.
9222 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9227 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9229 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9230 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9232 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9235 __ynl_finite aliases.
9237 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9241 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9243 [DLA_FMA] (EMULV): Use DLA_FMA.
9244 [DLA_FMA] (MUL12): Use EMULV.
9245 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9246 that are not needed.
9247 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9252 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9255 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9257 * math/s_nan.c: Undef __nan.
9258 * math/s_nanf.c: Undef __nanf.
9259 * math/s_nanl.c: Undef __nanl.
9260 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9263 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9265 * math/s_catan.c: Add branch predictions.
9266 * math/s_catanf.c: Likewise.
9267 * math/s_catanh.c: Likewise.
9268 * math/s_catanhf.c: Likewise.
9269 * math/s_catanhl.c: Likewise.
9270 * math/s_catanl.c: Likewise.
9271 * math/s_cexp.c: Likewise.
9272 * math/s_cexpf.c: Likewise.
9273 * math/s_cexpl.c: Likewise.
9274 * math/s_clog.c: Likewise.
9275 * math/s_clog10.c: Likewise.
9276 * math/s_clog10f.c: Likewise.
9277 * math/s_clog10l.c: Likewise.
9278 * math/s_clogf.c: Likewise.
9279 * math/s_clogl.c: Likewise.
9280 * math/s_csqrt.c: Likewise.
9281 * math/s_csqrtf.c: Likewise.
9282 * math/s_csqrtl.c: Likewise.
9283 * math/s_ctanf.c: Likewise.
9284 * math/s_ctanh.c: Likewise.
9285 * math/s_ctanhf.c: Likewise.
9286 * math/s_ctanhl.c: Likewise.
9287 * math/s_ctanl.c: Likewise.
9289 * math/math_private.h: Define __nan, __nanf, __nanl.
9290 * math/s_cacosh.c: Include <math_private.h>.
9291 * math/s_cacoshl.c: Likewise.
9292 * math/s_casinh.c: Likewise.
9293 * math/s_casinhf.c: Likewise.
9294 * math/s_casinhl.c: Likewise.
9295 * math/s_ccos.c: Rely entire on ccosh.
9296 * math/s_ccosf.c: Rely entire on ccoshf.
9297 * math/s_ccosl.c: Rely entirely on ccoshl.
9298 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9299 Remove tests for FE_INVALID.
9300 * math/s_ccoshf.c: Likewise.
9301 * math/s_ccoshl.c: Likewise.
9302 * math/s_csin.c: Likewise.
9303 * math/s_csinf.c: Likewise.
9304 * math/s_csinh.c Likewise.
9305 * math/s_csinhf.c: Likewise.
9306 * math/s_csinhl.c: Likewise.
9307 * math/s_csinl.c: Likewise.
9308 * math/s_ctan.c: Likewise.
9309 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9310 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9311 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9313 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9316 compilation problems.
9318 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9321 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9323 * sysdeps/i386/configure.in: Test for -mfma4 option.
9324 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9325 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9326 COMMON_CPUID_INDEX_80000001.
9327 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9328 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9329 use it if FMA3 is not supported.
9330 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9332 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9333 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9335 2011-10-20 Andreas Schwab <schwab@redhat.com>
9338 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9339 it would create a cycle with a link time dependency.
9341 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9343 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9345 * string/Makefile (strop-tests): Add rawmemchr.
9346 * string/test-rawmemchr.c: New file.
9348 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9350 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9351 when compiling str{,n}casecmp and when AVX is available. Hook up
9352 new optimized code in initializers.
9354 2011-10-19 Andreas Schwab <schwab@redhat.com>
9356 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9357 __feraiseexcept instead of feraiseexcept.
9359 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9361 * math/math_private.h: Define defaults for libc_fetestexcept and
9363 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9364 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9365 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9366 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9367 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9368 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9369 libc_fetestexcept and libc_feupdateenv.
9371 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9372 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9373 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9374 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9375 libc_feholdexcept_setround.
9377 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9378 Add s_nearbyint-c and s_nearbyintf-c.
9379 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9381 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9382 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9383 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9384 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9386 * math/math_private.h: Define defaults for libc_fegetround,
9387 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9388 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9389 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9390 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9391 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9393 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9394 Remove comments and hacks for old compiler versions.
9395 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9396 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9399 2011-10-18 Andreas Schwab <schwab@redhat.com>
9401 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9402 (__feraiseexcept_renamed): Add __NTH.
9403 (feraiseexcept): Add __NTH. Rename local variables to fix
9404 namespace violations.
9406 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9408 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9410 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9412 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9413 recently added interfaces.
9414 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9416 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9417 about macro parameter expansion.
9419 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9420 __NO_MATH_INLINES is defined. Cleanups.
9422 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9423 and __floorf is target has SSE4.1.
9424 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9425 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9426 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9427 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9429 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9433 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9435 2011-10-17 Andreas Schwab <schwab@redhat.com>
9437 * misc/sys/cdefs.h: Fix last change.
9439 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9442 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9444 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9446 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9447 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9448 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9449 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9452 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9453 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9454 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9455 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9456 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9457 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9458 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9459 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9460 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9461 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9462 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9463 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9464 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9465 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9466 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9467 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9469 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9470 ceil, ceilf, floor, floorf.
9472 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9473 Perform IRELATIVE relocations last.
9475 * elf/do-rel.h: Add another parameter nrelative, replacing the
9476 local variable with the same name. Change name of the function
9477 to end in Rel or Rela (uppercase).
9478 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9479 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9480 elf_dynamic_do_##reloc function.
9482 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9484 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9485 is sufficient, at least on modern CPUs.
9487 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9489 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9490 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9492 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9494 * math/bits/math-finite.h: Add entries for exp.
9495 * math/e_expl.c: Add __*_finite alias.
9496 * sysdeps/i386/fpu/e_exp.S: Likewise.
9497 * sysdeps/i386/fpu/e_expf.S: Likewise.
9498 * sysdeps/i386/fpu/e_expl.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9500 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9503 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9504 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9505 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9507 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9508 is sufficient, at least on modern CPUs.
9510 * ctype/ctype-info.c (__ctype_init): Define.
9511 * include/ctype.h (__ctype_init): Declare.
9512 (__ctype_b_loc): The variable is always initialized.
9513 (__ctype_toupper_loc): Likewise.
9514 (__ctype_tolower_loc): Likewise.
9515 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9516 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9518 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9520 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9522 * configure.in: Also look in $cxxmachine/include for C++ system
9525 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9527 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9528 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9529 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9530 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9531 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9532 (USE_AS_WMEMCMP): New macro.
9534 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9535 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9536 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9537 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9539 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9540 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9541 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9542 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9543 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9544 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9545 (USE_AS_WMEMCMP): New macro.
9546 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9547 * sysdeps/string/test-memcmp.c: Update.
9550 * wcsmbs/wmemcmp.c: Update.
9551 (WMEMCMP): New macro.
9554 2011-10-12 Andreas Jaeger <aj@suse.de>
9557 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9559 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9561 * libio/iofwide.c (do_length): Avoid warning.
9563 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9565 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9567 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9569 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9570 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9571 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9572 * sysdeps/i386/i686/fpu/e_log.S: New file.
9573 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9574 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9576 * ctype/ctype.h: Add support for inlined isXXX functions when
9579 2011-10-14 Andreas Schwab <schwab@redhat.com>
9581 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9583 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9585 2011-10-13 Roland McGrath <roland@hack.frob.com>
9588 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9590 2011-10-13 Andreas Schwab <schwab@redhat.com>
9592 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9593 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9596 * sysdeps/x86_64/memrchr.S: Check for zero size.
9598 * string/stratcliff.c: Add memrchr tests.
9600 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9603 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9604 rawmemchr-sse2 rawmemchr-sse2-bsf.
9605 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9606 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9607 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9608 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9609 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9610 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9611 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9612 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9613 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9614 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9615 * string/memrchr.c (MEMRCHR): New macro.
9617 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9619 Add integration with gcc's -ffinite-math-only and optimize wrapper
9621 * Versions.def: Define GLIBC_2.15 version for libm.
9622 * math/Makefile (headers): Add bits/math-finite.h.
9623 * math/bits/math-finite.h: New file.
9624 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9625 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9626 * math/e_acoshl.c: Add __*_finite alias.
9627 * math/e_acosl.c: Likewise.
9628 * math/e_asinl.c: Likewise.
9629 * math/e_atan2l.c: Likewise.
9630 * math/e_atanhl.c: Likewise.
9631 * math/e_coshl.c: Likewise.
9632 * math/e_exp10.c: Likewise.
9633 * math/e_exp10f.c: Likewise.
9634 * math/e_exp10l.c: Likewise.
9635 * math/e_exp2l.c: Likewise.
9636 * math/e_fmodl.c: Likewise.
9637 * math/e_gammal_r.c: Likewise.
9638 * math/e_hypotl.c: Likewise.
9639 * math/e_j0l.c: Likewise.
9640 * math/e_j1l.c: Likewise.
9641 * math/e_jnl.c: Likewise.
9642 * math/e_lgammal_r.c: Likewise.
9643 * math/e_log10l.c: Likewise.
9644 * math/e_log2l.c: Likewise.
9645 * math/e_logl.c: Likewise.
9646 * math/e_powl.c: Likewise.
9647 * math/e_sinhl.c: Likewise.
9648 * math/e_sqrtl.c: Likewise.
9649 * math/e_scalb.c: Completely rewritten and optimized.
9650 * math/e_scalbf.c: Likewise.
9651 * math/e_scalbl.c: Likewise.
9652 * math/w_acos.c: Likewise.
9653 * math/w_acosf.c: Likewise.
9654 * math/w_acosl.c: Likewise.
9655 * math/w_acosh.c: Likewise.
9656 * math/w_acoshf.c: Likewise.
9657 * math/w_acoshl.c: Likewise.
9658 * math/w_asin.c: Likewise.
9659 * math/w_asinf.c: Likewise.
9660 * math/w_asinl.c: Likewise.
9661 * math/w_atan2.c: Likewise.
9662 * math/w_atan2f.c: Likewise.
9663 * math/w_atan2l.c: Likewise.
9664 * math/w_atanh.c: Likewise.
9665 * math/w_atanhf.c: Likewise.
9666 * math/w_atanhl.c: Likewise.
9667 * math/w_exp10.c: Likewise.
9668 * math/w_exp10f.c: Likewise.
9669 * math/w_exp10l.c: Likewise.
9670 * math/w_fmod.c: Likewise.
9671 * math/w_fmodf.c: Likewise.
9672 * math/w_fmodl.c: Likewise.
9673 * math/w_j0.c: Likewise.
9674 * math/w_j0f.c: Likewise.
9675 * math/w_j0l.c: Likewise.
9676 * math/w_j1.c: Likewise.
9677 * math/w_j1f.c: Likewise.
9678 * math/w_j1l.c: Likewise.
9679 * math/w_jn.c: Likewise.
9680 * math/w_jnf.c: Likewise.
9681 * math/w_log.c: Likewise.
9682 * math/w_logf.c: Likewise.
9683 * math/w_logl.c: Likewise.
9684 * math/w_log10.c: Likewise.
9685 * math/w_log10f.c: Likewise.
9686 * math/w_log10l.c: Likewise.
9687 * math/w_log2.c: Likewise.
9688 * math/w_log2f.c: Likewise.
9689 * math/w_log2l.c: Likewise.
9690 * math/w_pow.c: Likewise.
9691 * math/w_powf.c: Likewise.
9692 * math/w_powl.c: Likewise.
9693 * math/w_remainder.c: Likewise.
9694 * math/w_remainderf.c: Likewise.
9695 * math/w_remainderl.c: Likewise.
9696 * math/w_scalb.c: Likewise.
9697 * math/w_scalbf.c: Likewise.
9698 * math/w_scalbl.c: Likewise.
9699 * math/w_sqrt.c: Likewise.
9700 * math/w_sqrtf.c: Likewise.
9701 * math/w_sqrtl.c: Likewise.
9702 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9703 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9705 * math/math_private.h: Declare __kernel_standard_f.
9706 * math/w_cosh.c: Remove cruft and optimize a bit.
9707 * math/w_coshf.c: Likewise.
9708 * math/w_coshl.c: Likewise.
9709 * math/w_exp2.c: Likewise.
9710 * math/w_exp2f.c: Likewise.
9711 * math/w_exp2l.c: Likewise.
9712 * math/w_hypot.c: Likewise.
9713 * math/w_hypotf.c: Likewise.
9714 * math/w_hypotl.c: Likewise.
9715 * math/w_lgamma.c: Likewise.
9716 * math/w_lgamma_r.c: Likewise.
9717 * math/w_lgammaf.c: Likewise.
9718 * math/w_lgammaf_r.c: Likewise.
9719 * math/w_lgammal.c: Likewise.
9720 * math/w_lgammal_r.c: Likewise.
9721 * math/w_sinh.c: Likewise.
9722 * math/w_sinhf.c: Likewise.
9723 * math/w_sinhl.c: Likewise.
9724 * math/w_tgamma.c: Likewise.
9725 * math/w_tgammaf.c: Likewise.
9726 * math/w_tgammal.c: Likewise.
9727 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9728 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9729 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9730 Minor optimizations. Pretty printing. Remove cruft.
9731 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9732 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9733 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9734 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9735 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9736 * sysdeps/i386/fpu/e_asin.S: Likewise.
9737 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9738 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9739 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9740 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9741 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9742 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9743 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9744 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9745 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9746 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9747 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9748 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9749 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9750 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9751 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9752 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9753 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9754 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9755 * sysdeps/i386/fpu/e_log.S: Likewise.
9756 * sysdeps/i386/fpu/e_log10.S: Likewise.
9757 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9758 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9759 * sysdeps/i386/fpu/e_log2.S: Likewise.
9760 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9761 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9762 * sysdeps/i386/fpu/e_logf.S: Likewise.
9763 * sysdeps/i386/fpu/e_logl.S: Likewise.
9764 * sysdeps/i386/fpu/e_pow.S: Likewise.
9765 * sysdeps/i386/fpu/e_powf.S: Likewise.
9766 * sysdeps/i386/fpu/e_powl.S: Likewise.
9767 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9768 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9769 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9770 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9771 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9772 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9773 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9774 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9775 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9776 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9777 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9779 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9780 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9781 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9782 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9783 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9784 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9785 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9786 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9787 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9789 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9790 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9792 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9794 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9796 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9797 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9798 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9799 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9800 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9801 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9802 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9803 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9804 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9805 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9806 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9807 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9808 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9810 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9811 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9812 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9813 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9814 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9815 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9816 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9817 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9818 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9819 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9822 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9828 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9832 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9833 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9856 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9859 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9861 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9862 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9864 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9867 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9868 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9869 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9870 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9871 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9872 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9873 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9874 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9875 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9876 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9877 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9878 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9879 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9880 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9881 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9882 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9883 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9884 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9885 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9886 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9887 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9888 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9889 (__isnanf): Likewise.
9890 (__isinf_ns): Likewise.
9891 (__isinf_nsf): Likewise.
9892 (__finite): Likewise.
9893 (__finitef): Likewise.
9894 (__ieee754_sqrt): Define as macro.
9895 (__ieee754_sqrtf): Define as macro.
9896 (__ieee754_sqrtl): Define as macro.
9897 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9899 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9900 __FINITE_MATH_ONLY__ consistent.
9901 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9903 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9905 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9908 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9910 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9912 * po/ja.po: Update from translation team.
9914 2011-10-08 Roland McGrath <roland@hack.frob.com>
9916 * locale/programs/locarchive.c (prepare_address_space): New function.
9917 (create_archive, enlarge_archive, open_archive): Use it.
9919 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9920 inside [SHARED], where it is used.
9922 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9924 * nss/getent.c (netgroup_keys): Remove unused variable.
9925 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9927 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9929 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9930 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9932 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9933 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9934 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9935 * math/Makefile (libm-calls): Add s_isinf_ns.
9936 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9937 * math/multc3.c: Likewise.
9938 * math/s_casin.c: Likewise.
9939 * math/s_casinf.c: Likewise.
9940 * math/s_casinl.c: Likewise.
9941 * math/s_ccos.c: Likewise.
9942 * math/s_ccosf.c: Likewise.
9943 * math/s_ccosl.c: Likewise.
9944 * math/s_ctan.c: Likewise.
9945 * math/s_ctanf.c: Likewise.
9946 * math/s_ctanh.c: Likewise.
9947 * math/s_ctanhf.c: Likewise.
9948 * math/s_ctanhl.c: Likewise.
9949 * math/s_ctanl.c: Likewise.
9950 * math/w_fmod.c: Likewise.
9951 * math/w_fmodf.c: Likewise.
9952 * math/w_fmodl.c: Likewise.
9953 * math/w_remainder.c: Likewise.
9954 * math/w_remainderf.c: Likewise.
9955 * math/w_remainderl.c: Likewise.
9956 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9957 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9958 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9959 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9960 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9961 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9962 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9963 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9965 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9967 * stdio-common/printf_fphex.c: Likewise.
9968 * stdio-common/printf_size.c: Likewise.
9970 * math/e_exp10.c: Include math_private.h using <...> not "...".
9971 * math/e_exp10f.c: Likewise.
9972 * math/e_exp10l.c: Likewise.
9973 * math/e_exp2l.c: Likewise.
9974 * math/e_j0l.c: Likewise.
9975 * math/e_j1l.c: Likewise.
9976 * math/e_jnl.c: Likewise.
9977 * math/e_lgammal_r.c: Likewise.
9978 * math/e_rem_pio2l.c: Likewise.
9979 * math/e_scalb.c: Likewise.
9980 * math/e_scalbf.c: Likewise.
9981 * math/e_scalbl.c: Likewise.
9982 * math/k_cosl.c: Likewise.
9983 * math/k_sinl.c: Likewise.
9984 * math/k_tanl.c: Likewise.
9985 * math/s_cacoshf.c: Likewise.
9986 * math/s_catan.c: Likewise.
9987 * math/s_catanf.c: Likewise.
9988 * math/s_catanh.c: Likewise.
9989 * math/s_catanhf.c: Likewise.
9990 * math/s_catanhl.c: Likewise.
9991 * math/s_catanl.c: Likewise.
9992 * math/s_ccosh.c: Likewise.
9993 * math/s_ccoshf.c: Likewise.
9994 * math/s_ccoshl.c: Likewise.
9995 * math/s_cexp.c: Likewise.
9996 * math/s_cexpf.c: Likewise.
9997 * math/s_cexpl.c: Likewise.
9998 * math/s_clog.c: Likewise.
9999 * math/s_clog10.c: Likewise.
10000 * math/s_clog10f.c: Likewise.
10001 * math/s_clog10l.c: Likewise.
10002 * math/s_clogf.c: Likewise.
10003 * math/s_clogl.c: Likewise.
10004 * math/s_csin.c: Likewise.
10005 * math/s_csinf.c: Likewise.
10006 * math/s_csinh.c: Likewise.
10007 * math/s_csinhf.c: Likewise.
10008 * math/s_csinhl.c: Likewise.
10009 * math/s_csinl.c: Likewise.
10010 * math/s_csqrt.c: Likewise.
10011 * math/s_csqrtf.c: Likewise.
10012 * math/s_csqrtl.c: Likewise.
10013 * math/s_ctan.c: Likewise.
10014 * math/s_ctanf.c: Likewise.
10015 * math/s_ctanh.c: Likewise.
10016 * math/s_ctanhf.c: Likewise.
10017 * math/s_ctanhl.c: Likewise.
10018 * math/s_ctanl.c: Likewise.
10019 * math/s_ldexp.c: Likewise.
10020 * math/s_ldexpf.c: Likewise.
10021 * math/s_ldexpl.c: Likewise.
10022 * math/s_significand.c: Likewise.
10023 * math/s_significandf.c: Likewise.
10024 * math/s_significandl.c: Likewise.
10025 * math/w_acos.c: Likewise.
10026 * math/w_acosf.c: Likewise.
10027 * math/w_acosh.c: Likewise.
10028 * math/w_acoshf.c: Likewise.
10029 * math/w_acoshl.c: Likewise.
10030 * math/w_acosl.c: Likewise.
10031 * math/w_asin.c: Likewise.
10032 * math/w_asinf.c: Likewise.
10033 * math/w_asinl.c: Likewise.
10034 * math/w_atan2.c: Likewise.
10035 * math/w_atan2f.c: Likewise.
10036 * math/w_atan2l.c: Likewise.
10037 * math/w_atanh.c: Likewise.
10038 * math/w_atanhf.c: Likewise.
10039 * math/w_atanhl.c: Likewise.
10040 * math/w_cosh.c: Likewise.
10041 * math/w_coshf.c: Likewise.
10042 * math/w_coshl.c: Likewise.
10043 * math/w_dremf.c: Likewise.
10044 * math/w_exp10.c: Likewise.
10045 * math/w_exp10f.c: Likewise.
10046 * math/w_exp10l.c: Likewise.
10047 * math/w_exp2.c: Likewise.
10048 * math/w_exp2f.c: Likewise.
10049 * math/w_fmod.c: Likewise.
10050 * math/w_fmodf.c: Likewise.
10051 * math/w_fmodl.c: Likewise.
10052 * math/w_hypot.c: Likewise.
10053 * math/w_hypotf.c: Likewise.
10054 * math/w_hypotl.c: Likewise.
10055 * math/w_j0.c: Likewise.
10056 * math/w_j0f.c: Likewise.
10057 * math/w_j0l.c: Likewise.
10058 * math/w_j1.c: Likewise.
10059 * math/w_j1f.c: Likewise.
10060 * math/w_j1l.c: Likewise.
10061 * math/w_jn.c: Likewise.
10062 * math/w_jnf.c: Likewise.
10063 * math/w_jnl.c: Likewise.
10064 * math/w_lgamma.c: Likewise.
10065 * math/w_lgamma_r.c: Likewise.
10066 * math/w_lgammaf.c: Likewise.
10067 * math/w_lgammaf_r.c: Likewise.
10068 * math/w_lgammal.c: Likewise.
10069 * math/w_lgammal_r.c: Likewise.
10070 * math/w_log.c: Likewise.
10071 * math/w_log10.c: Likewise.
10072 * math/w_log10f.c: Likewise.
10073 * math/w_log10l.c: Likewise.
10074 * math/w_log2.c: Likewise.
10075 * math/w_log2f.c: Likewise.
10076 * math/w_log2l.c: Likewise.
10077 * math/w_logf.c: Likewise.
10078 * math/w_logl.c: Likewise.
10079 * math/w_pow.c: Likewise.
10080 * math/w_powf.c: Likewise.
10081 * math/w_powl.c: Likewise.
10082 * math/w_remainder.c: Likewise.
10083 * math/w_remainderf.c: Likewise.
10084 * math/w_remainderl.c: Likewise.
10085 * math/w_scalb.c: Likewise.
10086 * math/w_scalbf.c: Likewise.
10087 * math/w_scalbl.c: Likewise.
10088 * math/w_sinh.c: Likewise.
10089 * math/w_sinhf.c: Likewise.
10090 * math/w_sinhl.c: Likewise.
10091 * math/w_sqrt.c: Likewise.
10092 * math/w_sqrtf.c: Likewise.
10093 * math/w_sqrtl.c: Likewise.
10094 * math/w_tgamma.c: Likewise.
10095 * math/w_tgammaf.c: Likewise.
10096 * math/w_tgammal.c: Likewise.
10098 * po/ja.po: Update from translation team.
10100 2011-09-29 Andreas Jaeger <aj@suse.de>
10103 * sunrpc/netname.c (netname2host): Fix logic.
10107 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10109 * math/w_remainder.c (__remainder): Likewise.
10110 * math/w_remainderf.c (__remainderf): Likewise.
10111 * math/libm-test.inc (remainder_test): Add test cases.
10113 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10115 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10118 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10120 * string/test-memcmp.c: Avoid unncessary #defines.
10121 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10123 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10125 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10126 Use new sse2 version for core i3 - i7 as it's faster
10127 than sse42 version.
10128 (bit_Prefer_PMINUB_for_stringop): New.
10129 * sysdeps/x86_64/rawmemchr.S: Update.
10130 Replace with faster SSE2 version.
10131 * sysdeps/x86_64/memrchr.S: New file.
10132 * sysdeps/x86_64/memchr.S: Update.
10133 Replace with faster SSE2 version.
10135 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10137 * elf/dl-load.c (lose): Add cast to avoid warning.
10139 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10141 * po/ca.po: Update from translation team.
10143 * inet/getnetgrent_r.c: Hook up nscd.
10144 * nscd/Makefile (routines): Add nscd_netgroup.
10145 (nscd-modules): Add netgroupcache.
10146 (CFLAGS-netgroupcache.c): Define.
10147 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10148 (cache_search): Add const to second parameter.
10149 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10151 (dbs): Add netgrdb entry.
10152 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10153 (verify_persistent_db): Handle netgrdb.
10154 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10155 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10157 (netgroup_response_header): Define.
10158 (innetgroup_response_header): Define.
10159 (datahead): Add netgroup_response_header and innetgroup_response_header
10161 * nscd/nscd.conf: Add entries for netgroup cache.
10162 * nscd/nscd.h (dbtype): Add netgrdb.
10163 (_PATH_NSCD_NETGROUP_DB): Define.
10164 (netgroup_iov_disabled): Declare.
10165 (xmalloc, xcalloc, xrealloc): Move declarations here.
10166 (cache_search): Adjust prototype.
10167 Add netgroup-related prototypes.
10168 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10169 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10170 (__nscd_innetgr): Declare.
10171 * nscd/selinux.c (perms): Use access_vector_t as element type and
10172 add netgroup-related initializers.
10173 * nscd/netgroupcache.c: New file.
10174 * nscd/nscd_netgroup.c: New file.
10175 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10176 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10177 For four parameters use innetgr.
10178 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10179 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10180 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10181 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10183 * nscd/connections.c (register_traced_file): Don't register file
10184 for disabled databases.
10186 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10188 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10190 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10191 from tree and freeing node.
10193 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10195 * nss/nsswitch.c (__nss_database_lookup): Handle
10196 nss_parse_service_list out of memory case.
10198 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10200 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10201 out of memory case.
10203 2011-10-04 Andreas Schwab <schwab@redhat.com>
10205 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10206 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10208 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10209 elf_machine_rela, elf_machine_lazy_rel.
10210 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10211 (ELF_DYNAMIC_DO_REL): Likewise.
10212 (ELF_DYNAMIC_DO_RELA): Likewise.
10213 (ELF_DYNAMIC_RELOCATE): Likewise.
10214 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10215 to ELF_DYNAMIC_DO_REL.
10216 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10217 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10218 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10220 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10221 skip_ifunc, don't call ifunc function if non-zero.
10222 (elf_machine_rela): Likewise.
10223 (elf_machine_lazy_rel): Likewise.
10224 (elf_machine_lazy_rela): Likewise.
10225 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10226 (elf_machine_lazy_rel): Likewise.
10227 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10229 (elf_machine_lazy_rel): Likewise.
10230 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10232 (elf_machine_lazy_rel): Likewise.
10233 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10234 (elf_machine_lazy_rel): Likewise.
10235 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10236 (elf_machine_lazy_rel): Likewise.
10237 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10238 (elf_machine_lazy_rel): Likewise.
10239 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10240 (elf_machine_lazy_rel): Likewise.
10241 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10242 (elf_machine_lazy_rel): Likewise.
10243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10244 (elf_machine_lazy_rel): Likewise.
10246 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10248 * nss/nss_files/files-init.c (_nss_files_init): Use static
10249 initialization for all the *_traced_file variables.
10251 2011-09-28 Andreas Schwab <schwab@redhat.com>
10253 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10255 2011-09-27 Roland McGrath <roland@hack.frob.com>
10258 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10260 2011-09-27 Andreas Schwab <schwab@redhat.com>
10262 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10263 Reread the line before reparsing it.
10265 2011-09-26 Andreas Schwab <schwab@redhat.com>
10267 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10269 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10270 Maxim Kuvyrkov <maxim@codesourcery.com>
10271 Joseph Myers <joseph@codesourcery.com>
10273 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10274 if needed for __stack_chk_guard.
10276 2011-09-19 Roland McGrath <roland@hack.frob.com>
10278 * sysdeps/posix/spawni.c (script_execute): Always define it.
10279 It will be optimized away if unused.
10280 (maybe_script_execute): New function.
10281 (__spawni): Call it.
10283 * Makerules: Don't include tls.make.
10284 (config-tls): Always set to thread.
10285 * tls.make.c: File removed.
10287 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10289 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10290 * config.make.in (CPPFLAGS-config): New substituted variable.
10292 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10294 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10297 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10298 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10300 2011-09-15 Roland McGrath <roland@hack.frob.com>
10302 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10303 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10304 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10305 (CALL_FAIL): Likewise.
10306 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10307 (CALL_FAIL): Macro removed.
10308 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10310 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10312 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10313 for __FINITE_MATH_ONLY__ == 1.
10315 2011-09-15 Andreas Schwab <schwab@redhat.com>
10317 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10318 __ieee754_sqrt instead of sqrt.
10319 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10320 __ieee754_sqrtf instead of sqrtf.
10321 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10322 __floorf instead of floorf.
10323 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10324 __floorf, __truncf instead of floorf, truncf.
10326 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10328 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10330 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10331 __extern_always_inline.
10332 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10335 2011-09-14 Andreas Schwab <schwab@redhat.com>
10337 * elf/rtld.c (dl_main): Also relocate in dependency order when
10338 doing symbol dependency testing.
10340 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10342 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10343 Always define `refsym'.
10345 2011-09-13 Andreas Schwab <schwab@redhat.com>
10347 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10348 (__FD_ELT): Renamed from __FDELT.
10349 * misc/bits/select2.h (__FD_ELT): Likewise.
10350 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10351 __FD_MASK instead of __FDELT, __FDMASK.
10352 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10354 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10357 * elf/Makefile (gen-ldd): Fix pattern.
10359 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10360 (init_tls): Likewise.
10362 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10364 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10366 2011-09-12 Andreas Schwab <schwab@redhat.com>
10368 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10369 `struct cmsghdr *' instead of `void *'.
10370 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10373 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10375 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10377 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10378 ldd_rewrite_script.
10380 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10382 * configure.in: Remove --with-tls option.
10383 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10384 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10385 out in case it is missing.
10386 * sysdeps/ia64/elf/configure.in: Likewise.
10387 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10388 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10389 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10390 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10391 * sysdeps/sh/elf/configure.in: Likewise.
10392 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10393 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10394 * sysdeps/x86_64/elf/configure.in: Likewise.
10395 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10396 * sysdeps/mach/hurd/tls.h: Likewise.
10399 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10402 * configure.in: Fix use of AC_INIT.
10404 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10406 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10408 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10410 * malloc/hooks.c: Likewise.
10413 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10414 variables statically.
10415 (narenas): Initialize.
10416 (list_lock): Initialize.
10417 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10418 initializtion of main_arena and list_lock. Small cleanups.
10419 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10420 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10421 Add initializers to main_arena and mp_.
10422 (malloc_state): Remove pagesize member. Change all users to use
10425 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10426 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10427 is always initialized.
10429 * malloc/malloc.c: Removed unused configurations and dead code.
10430 * malloc/arena.c: Likewise.
10431 * malloc/hooks.c: Likewise.
10432 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10434 * include/tls.h: Removed. USE___THREAD must always be defined.
10435 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10436 * elf/dl-libc.c: Likewise.
10437 * elf/dl-tsd.c: Likewise.
10438 * include/errno.h: Likewise.
10439 * include/netdb.h: Likewise.
10440 * include/resolv.h: Likewise.
10441 * inet/herrno-loc.c: Likewise.
10442 * inet/herrno.c: Likewise.
10443 * malloc/arena.c: Likewise.
10444 * malloc/hooks.c: Likewise.
10445 * malloc/malloc.c: Likewise.
10446 * resolv/res-state.c: Likewise.
10447 * resolv/res_libc.c: Likewise.
10448 * sysdeps/i386/dl-machine.h: Likewise.
10449 * sysdeps/ia64/dl-machine.h: Likewise.
10450 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10451 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10452 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10453 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10454 * sysdeps/sh/dl-machine.h: Likewise.
10455 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10456 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10457 * sysdeps/unix/i386/sysdep.S: Likewise.
10458 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10459 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10460 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10461 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10462 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10463 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10464 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10465 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10468 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10469 * sysdeps/x86_64/dl-machine.h: Likewise.
10470 * tls.make.c: Likewise.
10472 * configure.in: Remove --with-__thread option. Make tests for
10473 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10474 tls_model attribute fail if no support is available. Remove
10476 * Makeconfig: Adjust for dropped configure option. All features are
10478 * Makerules: Likewise.
10479 * Versions.def: Likewise.
10480 * argp/argp-fmtstream.c: Likewise.
10481 * argp/argp-fmtstream.h: Likewise.
10482 * argp/argp-help.c: Likewise.
10483 * assert/assert.c: Likewise.
10484 * config.h.in: Likewise.
10485 * config.make.in: Likewise.
10486 * configure: Likewise.
10487 * configure.in: Likewise.
10488 * csu/Versions: Likewise.
10489 * csu/init.c: Likewise.
10490 * elf/tst-audit2.c: Likewise.
10491 * elf/tst-tls10.c: Likewise.
10492 * elf/tst-tls10.h: Likewise.
10493 * elf/tst-tls11.c: Likewise.
10494 * elf/tst-tls12.c: Likewise.
10495 * elf/tst-tls14.c: Likewise.
10496 * elf/tst-tlsmod11.c: Likewise.
10497 * elf/tst-tlsmod12.c: Likewise.
10498 * elf/tst-tlsmod13.c: Likewise.
10499 * elf/tst-tlsmod13a.c: Likewise.
10500 * elf/tst-tlsmod14a.c: Likewise.
10501 * elf/tst-tlsmod15b.c: Likewise.
10502 * elf/tst-tlsmod16a.c: Likewise.
10503 * elf/tst-tlsmod16b.c: Likewise.
10504 * elf/tst-tlsmod7.c: Likewise.
10505 * elf/tst-tlsmod8.c: Likewise.
10506 * elf/tst-tlsmod9.c: Likewise.
10507 * gmon/gmon.c: Likewise.
10508 * grp/fgetgrent_r.c: Likewise.
10509 * grp/putgrent.c: Likewise.
10510 * hurd/fopenport.c: Likewise.
10511 * include/libc-symbols.h: Likewise.
10512 * include/tls.h: Likewise.
10513 * intl/gettextP.h: Likewise.
10514 * intl/loadinfo.h: Likewise.
10515 * locale/global-locale.c: Likewise.
10516 * locale/localeinfo.h: Likewise.
10517 * mach/devstream.c: Likewise.
10518 * malloc/arena.c: Likewise.
10519 * malloc/set-freeres.c: Likewise.
10520 * misc/err.c: Likewise.
10521 * misc/getttyent.c: Likewise.
10522 * misc/mntent_r.c: Likewise.
10523 * posix/getopt.c: Likewise.
10524 * posix/wordexp.c: Likewise.
10525 * pwd/fgetpwent_r.c: Likewise.
10526 * resolv/Versions: Likewise.
10527 * resolv/res_hconf.c: Likewise.
10528 * shadow/fgetspent_r.c: Likewise.
10529 * shadow/putspent.c: Likewise.
10530 * stdio-common/printf_fphex.c: Likewise.
10531 * stdio-common/tmpfile.c: Likewise.
10532 * stdlib/abort.c: Likewise.
10533 * stdlib/fmtmsg.c: Likewise.
10534 * sunrpc/auth_unix.c: Likewise.
10535 * sunrpc/clnt_perr.c: Likewise.
10536 * sunrpc/clnt_tcp.c: Likewise.
10537 * sunrpc/clnt_udp.c: Likewise.
10538 * sunrpc/clnt_unix.c: Likewise.
10539 * sunrpc/openchild.c: Likewise.
10540 * sunrpc/svc_simple.c: Likewise.
10541 * sunrpc/svc_tcp.c: Likewise.
10542 * sunrpc/svc_udp.c: Likewise.
10543 * sunrpc/svc_unix.c: Likewise.
10544 * sunrpc/xdr.c: Likewise.
10545 * sunrpc/xdr_array.c: Likewise.
10546 * sunrpc/xdr_rec.c: Likewise.
10547 * sunrpc/xdr_ref.c: Likewise.
10548 * sunrpc/xdr_stdio.c: Likewise.
10550 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10552 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10554 2011-07-03 Andreas Jaeger <aj@suse.de>
10556 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10557 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10558 regenerate with gen-libm-tests.pl.
10560 2010-05-12 Petr Baudis <pasky@suse.cz>
10563 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10564 around j0() zero points by switching to j1().
10565 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10566 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10568 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10570 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10572 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10574 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10577 Patch in part by Pavel Roskin <proski@gnu.org>.
10580 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10582 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10583 Free memory block if necessary.
10586 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10587 be NULL. Don't lock in this case.
10589 2011-09-09 Roland McGrath <roland@hack.frob.com>
10591 * elf/elf.h (ELFOSABI_GNU): New macro.
10592 (ELFOSABI_LINUX): Define to that.
10594 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10596 * string/strncat.c (strncat): Undef the symbol in case it has been
10597 defined in bits/string.h.
10599 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10601 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10603 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10606 2011-08-17 Andreas Jaeger <aj@suse.de>
10608 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10610 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10611 Ian Lance Taylor <iant@google.com>
10613 * math/libm-test.inc (lround_test): New testcase.
10614 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10616 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10618 * Makefile: Remove support for automatic cvs check-ins.
10619 * Makerules: Likewise.
10620 * config.make.in: Likewise.
10621 * configure.in: Likewise.
10622 * intl/Makefile: Likewise.
10623 * locale/Makefile: Likewise.
10624 * po/Makefile: Likewise.
10625 * posix/Makefile: Likewise.
10626 * sysdeps/gnu/Makefile: Likewise.
10627 * sysdeps/mach/hurd/Makefile: Likewise.
10628 * sysdeps/sparc/sparc32/Makefile: Likewise.
10631 * posix/Makefile (bug-regex32-ENV): Define.
10632 Patch by John Stanley <jpsinthemix@verizon.net>.
10634 * misc/Makefile (headers): Add bits/select2.h.
10635 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10636 * misc/bits/select2.h: New file.
10637 * include/bits/select2.h: New file.
10638 * debug/Makefile (routines): Add fdelt_chk.
10639 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10640 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10642 * debug/fdelt_chk.c: New file.
10644 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10645 * wcsmbs/test-wmemcmp.c: Likewise.
10646 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10647 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10649 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10651 * string/Makefile (strop-tests): Add memcmp.
10652 * string/test-wmemcmp.c: New file.
10653 * string/test-memcmp.c: Add wmemcmp support.
10655 2011-09-08 Roland McGrath <roland@hack.frob.com>
10658 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10661 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10662 garbage value in a __mach_port_mod_refs call in the cases of the
10663 task-self and thread-self ports.
10665 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10667 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10669 2011-09-08 Andreas Schwab <schwab@redhat.com>
10671 * elf/dl-load.c (lose): Check for non-null L.
10673 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10675 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10677 * elf/dl-libc.c (dlerror_run): Pass back error code from
10681 * elf/dl-load.c (lose): Free l_origin if it is valid.
10683 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10685 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10686 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10687 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10688 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10689 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10690 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10692 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10694 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10695 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10696 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10697 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10698 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10699 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10700 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10701 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10702 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10703 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10705 2011-08-15 Alan Modra <amodra@gmail.com>
10708 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10709 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10710 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10711 ppc_mcount to static-only-routines.
10712 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10714 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10715 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10717 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10719 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10720 for finite and infinity parameters.
10722 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10724 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10725 and add nop instructions for throughput optimization.
10726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10728 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10730 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10731 aligned copy for power7 with vector-scalar instructions.
10732 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10734 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10739 2011-09-07 Andreas Schwab <schwab@redhat.com>
10742 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10745 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10747 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10748 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10749 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10750 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10753 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10755 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10756 Forgot to demangle the pointer.
10758 * sysdeps/i386/sysdep.h: Define atom_text_section.
10759 * sysdeps/x86_64/sysdep.h: Likewise.
10760 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10761 section with atom_text_section.
10762 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10763 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10764 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10765 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10766 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10768 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10769 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10770 already be defined. Change to take two parameters and don't assign
10771 result to variable. Adjust all users.
10772 Define INTERNAL_GETTIME if not already defined.
10773 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10776 HAVE_CLOCK_GETTIME_VSYSCALL.
10777 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10779 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10780 gettimeofday vsyscall, just use time.
10782 2011-09-06 Andreas Schwab <schwab@redhat.com>
10784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10787 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10789 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10793 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10795 syscall if possible.
10797 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10799 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10800 e_ident. Don't pass to find_mapsXX.
10801 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10803 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10806 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10807 * sysdeps/x86_64/multiarch/strchr.S: Update.
10808 Check bit_slow_BSF bit.
10809 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10810 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10811 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10813 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10816 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10818 (tryshell): Define.
10819 (__spawni): Change last parameter to be flag. Test
10820 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10821 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10822 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10823 * posix/spawni.c: Likewise.
10824 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10825 * posix/spawnp.c: Likewise. Change normal version to use
10826 SPAWN_XFLAGS_USE_PATH.
10827 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10828 SPAWN_XFLAGS_TRY_SHELL.
10831 * posix/glob.h: Remove gcc 1.x support.
10834 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10836 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10839 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10841 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10842 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10843 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10844 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10845 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10846 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10848 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10850 * sysdeps/x86_64/wcscmp.S: New file.
10852 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10853 wcscmp-c wcscmp-sse2
10854 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10855 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10856 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10857 * wcsmbs/wcscmp.c: Allow renaming.
10859 2011-09-05 David S. Miller <davem@davemloft.net>
10861 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10862 stack slot, rather than the struct return pointer slot.
10863 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10864 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10866 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10868 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10870 * po/ja.po: Update from translation team.
10873 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10874 kernel in 64-bit binaries.
10876 2011-09-01 David S. Miller <davem@davemloft.net>
10878 * elf/elf.h (HWCAP_SPARC_*): Move to..
10879 * sysdeps/sparc/sysdep.h: this new file and add new values.
10880 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10881 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10882 _DL_HWCAP_COUNT to 24.
10883 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10885 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10886 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10887 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10889 instead of magic constants.
10890 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10892 2011-08-31 David S. Miller <davem@davemloft.net>
10894 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10896 Reimplement to do errno handling inline.
10897 (SYSCALL_ERROR_HANDLER): New macro.
10898 (__SYSCALL_STRING): Do not do errno handling in asm.
10899 (__CLONE_SYSCALL_STRING): Delete.
10900 (__INTERNAL_SYSCALL_STRING): Delete.
10901 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10902 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10903 (PSEUDO): Reimplement to do errno handling inline.
10904 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10905 (SYSCALL_ERROR_HANDLER): New macro.
10906 (__SYSCALL_STRING): Do not do errno handling in asm.
10907 (__CLONE_SYSCALL_STRING): Delete.
10908 (__INTERNAL_SYSCALL_STRING): Delete.
10909 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10910 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10912 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10913 (inline_syscall*): Add 'err' argument.
10914 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10915 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10916 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10917 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10919 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10920 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10922 2011-08-30 Andreas Schwab <schwab@redhat.com>
10924 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10926 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10928 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10931 2011-08-24 David S. Miller <davem@davemloft.net>
10933 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10935 2011-08-24 Andreas Schwab <schwab@redhat.com>
10937 * elf/Makefile: Add rules to build and run unload8 test.
10938 * elf/unload8.c: New file.
10939 * elf/unload8mod1.c: New file.
10940 * elf/unload8mod1x.c: New file.
10941 * elf/unload8mod2.c: New file.
10942 * elf/unload8mod3.c: New file.
10944 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10947 2011-08-23 David S. Miller <davem@davemloft.net>
10949 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10950 subtract stack bias.
10951 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10952 %sp not %fp in calculations.
10953 (_JMPBUF_UNWINDS_ADJ): Likewise.
10955 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10956 (aio_suspend): Call it to force an exception region around the
10957 AIO_MISC_WAIT() invocation.
10959 2011-08-23 Andreas Schwab <schwab@redhat.com>
10961 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10964 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10966 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10968 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10969 and <dl-machine.h>.
10970 (Elf64_FuncDesc): Remove.
10972 2011-08-22 David S. Miller <davem@davemloft.net>
10974 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10975 sigaltstack check, add missing cfi directives.
10976 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10977 missing cfi directives, and sigaltstack handling.
10979 2011-08-16 Andreas Schwab <schwab@redhat.com>
10982 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10983 object is seen twice.
10984 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10986 * elf/Makefile (distribute): Add tst-initorder2.c.
10987 (tests): Add tst-initorder2.
10988 (modules-names): Add tst-initorder2a tst-initorder2b
10989 tst-initorder2c tst-initorder2d. Add rules to build them.
10990 ($(objpfx)tst-initorder2.out): New rule.
10991 * elf/tst-initorder2.c: New file.
10992 * elf/tst-initorder2.exp: New file.
10994 2011-08-22 Andreas Schwab <schwab@redhat.com>
10996 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10998 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10999 dependencies back to end of function.
11001 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11002 $(elfobjdir)/ld.so.
11004 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11006 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11007 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11008 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11009 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11010 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11011 of __vdso_gettimeofday.
11012 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11013 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11015 (_libc_vdso_platform_setup): Remove initialization of
11016 __vdso_gettimeofday and __vdso_time.
11018 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11020 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11021 and fgetc_unlocked.
11022 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11025 * elf/dl-open.c (add_to_global): Report additions to the global scope
11026 for LD_DEBUG=scopes.
11027 (dl_open_worker): Also print scope of newly loaded dependencies.
11028 (_dl_show_scope): Indicate if there is no scope.
11031 * stdio-common/Makefile (tests): Add bug24.
11032 * stdio-common/bug24.c: New file.
11034 2011-08-19 Andreas Jaeger <aj@suse.de>
11037 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11038 non-existant file when using close-on-exec mode.
11040 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11043 the very first instruction.
11045 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11046 the CFI state in the end.
11047 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11048 inclusion of dl-trampoline.h.
11049 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11051 2011-08-19 Andreas Schwab <schwab@redhat.com>
11053 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11054 expectations for long double.
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11057 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11059 2011-08-14 David S. Miller <davem@davemloft.net>
11061 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11062 artificual limit depends upon the system page size.
11064 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11066 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11067 * resolv/Makefile: Define CFLAGS-libresolv.
11069 2011-08-17 Andreas Schwab <schwab@redhat.com>
11071 * nss/makedb.c (compute_tables): Make variables used in nested
11074 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11076 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11077 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11078 if buffer was too small.
11080 * elf/pldd.c (main): Attach to all threads in the process.
11081 Rewrite /proc handling to use *at functions.
11083 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11085 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11086 specifies first scope to show.
11087 (dl_open_worker): Update callers. Move printing scope of new
11088 object to before the relocation.
11089 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11090 * sysdeps/generic/ldsodefs.h: Update declaration.
11092 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11093 string for the scope number.
11095 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11097 * nscd/servicescache.c (cache_addserv): Make sure written is always
11100 2011-08-14 Roland McGrath <roland@hack.frob.com>
11102 * sysdeps/i386/i486/bits/atomic.h
11103 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11104 statement expression, so as to suppress "set but not used" warning.
11105 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11107 * string/strncat.c (STRNCAT): Use prototype definition.
11109 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11110 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11112 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11113 (localedef-modules): Add localedef.
11114 (locale-modules): Add locale.
11116 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11117 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11118 to avoid a warning.
11120 2011-08-14 David S. Miller <davem@davemloft.net>
11122 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11123 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11125 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11127 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11128 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11129 * elf/rtld.c (dl_main): Set l_name of vDSO.
11130 Call _dl_show_scope when DL_DEBUG_SCOPES.
11131 (process_dl_debug): Recognize scopes flag and also set it for all.
11132 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11133 Declare _dl_show_scope.
11135 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11136 (do_dlopen): Pass caller_dlopen to dl_open.
11137 (__libc_dlopen_mode): Initialize caller_dlopen.
11139 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11140 of libc. Make tolower call locale-independent. Optimize a bit by
11141 using isdigit instead of isalnum.
11142 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11144 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11146 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11147 was a dependency or dynamically loaded.
11149 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11151 * intl/l10nflist.c: Allow architecture-specific pop function.
11152 * sysdeps/x86_64/l10nflist.c: New file.
11154 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11157 2011-08-10 Andreas Schwab <schwab@redhat.com>
11159 * include/dirent.h: Add libc_hidden_proto for scandirat and
11160 scandirat64. Don't declare __scandirat64.
11161 * dirent/scandirat.c: Add libc_hidden_def.
11162 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11163 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11165 2011-08-10 David S. Miller <davem@davemloft.net>
11167 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11169 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11170 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11171 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11173 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11175 * Versions.def [libc]: Add GLIBC_2.15.
11176 * dirent/Makefile (routines): Add scandirat and scandirat64.
11177 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11179 * dirent/dirent.h: Declare scandirat and scandirat64.
11180 * dirent/scandirat.c: New file.
11181 * dirent/scandirat64.c: New file.
11182 * sysdeps/wordsize-64/scandirat.c: New file.
11183 * sysdeps/wordsize-64/scandirat64.c: New file.
11184 * dirent/opendir.c: Define opendirat.
11185 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11187 * dirent/scandir64.c: Adjust for scandir.c change.
11188 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11189 __scandirat64, and __scandir_cancel_handler.
11190 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11191 additional parameter and use openat instead of open (outside of ld.so).
11192 Add new __opendir as wrapper around __opendirat.
11193 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11194 here without requiring old scandirat implementation.
11196 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11198 * dirent/scandir.c (cancel_handler): Renamed to
11199 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11200 defined. Adjust users.
11201 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11202 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11204 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11206 * string/test-string.h (IMPL): Use __STRING to expand name and then
11209 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11212 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11214 * string/Makefile: Update.
11215 (strop-tests): Append strncat.
11216 * string/test-wcscmp.c: New file.
11217 New comprehensive test for wcscmp.
11218 * string/test-strcmp.c: Update.
11219 (WIDE): New define.
11221 2011-07-22 Andreas Schwab <schwab@redhat.com>
11223 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11226 2011-07-26 Andreas Schwab <schwab@redhat.com>
11228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11229 encoding to ACE if AI_IDN.
11231 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11233 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11234 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11236 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11238 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11239 Fix overflow bug in strncat.
11240 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11242 * string/test-strncat.c: Update.
11243 Add new tests for checking overflow bugs.
11245 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11247 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11248 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11249 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11250 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11251 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11252 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11253 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11254 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11255 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11257 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11258 (USE_AS_STRCAT): Define.
11259 Add strcat and strncat support.
11260 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11262 2011-07-25 Andreas Schwab <schwab@redhat.com>
11264 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11265 __n bigger than INT_MAX+1.
11266 (__strncmp_g): Likewise.
11268 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11270 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11271 * libio/stido.h: Likewise.
11273 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11278 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11280 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11281 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11282 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11285 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11288 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11290 (_dl_x86_64_save_sse): Likewise.
11292 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11296 (_dl_x86_64_save_sse): Likewise.
11298 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11300 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11302 2011-07-21 Andreas Schwab <schwab@redhat.com>
11304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11306 (_dl_x86_64_save_sse): Use correct AVX check.
11308 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11311 bug in strncpy/strncat.
11312 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11314 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11316 * string/tester.c (test_strcat): Add tests for different alignments
11317 of source and destination.
11318 (test_strncat): Likewise.
11320 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11323 * posix/glob.c (glob): Check passed in values before using them in
11324 expressions to avoid some overflows.
11325 (glob_in_dir): Likewise.
11328 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11329 check for AVX enablement so that we don't crash with old kernels and
11331 * elf/tst-audit4.c: Add same checks here.
11332 * elf/tst-audit6.c: Likewise.
11334 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11336 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11338 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11340 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11342 * po/cs.po: Update from translation team.
11343 * po/bg.po: Likewise.
11345 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11347 * misc/sys/cdefs.h: Add support for const attribute.
11348 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11349 to gnu_dev_{major,minor,makedev} functions.
11351 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11353 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11355 2011-07-20 Andreas Schwab <schwab@redhat.com>
11357 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11360 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11362 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11363 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11364 register in order to avoid conflicts with the soft frame pointer
11365 being held in r11 when necessary.
11366 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11367 (INTERNAL_VSYSCALL_NCS): Likewise.
11369 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11371 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11372 * elf/dl-fini.c (_dl_fini): Adjust caller.
11373 * elf/dl-close.c (_dl_close_worker): Likewise.
11374 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11376 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11378 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11379 "aux_cache->nlibs < 0".
11381 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11382 in the reload-count case.
11384 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11387 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11388 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11389 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11390 * sysdeps/x86_64/multiarch/strcat.S: New file.
11391 * sysdeps/x86_64/multiarch/strncat.S: New file.
11392 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11393 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11394 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11395 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11396 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11397 (USE_AS_STRCAT): Define.
11398 Add strcat and strncat support.
11399 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11400 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11401 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11402 * string/strncat.c: Update.
11403 (USE_AS_STRNCAT): Define.
11404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11405 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11407 * sysdeps/x86_64/multiarch/init-arch.h
11408 (bit_Prefer_PMINUB_for_stringop): New.
11409 (index_Prefer_PMINUB_for_stringop): Likewise.
11410 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11411 bit_Prefer_PMINUB_for_stringop.
11413 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11415 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11417 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11418 of casting of buffer.
11419 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11420 buffer32 and buffer64.
11421 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11422 writes instead of casting of buffer.
11423 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11425 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11428 2011-07-19 Andreas Schwab <schwab@redhat.com>
11430 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11432 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11434 * nscd/nscd.c (termination_handler): Don't do anything for a database
11435 if it has not yet been initialized.
11437 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11439 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11441 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11443 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11445 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11447 * po/nl.po: Update from translation team.
11448 * po/sv.po: Likewise.
11450 2011-07-16 Roland McGrath <roland@hack.frob.com>
11452 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11453 now disallowed by GCC.
11455 * configure.in (use-default-link): Default to yes if a test -shared
11456 link meets our qualifications.
11457 * configure: Regenerated.
11459 * config.make.in (output-format): New variable.
11460 * configure.in: Check for ld --print-output-format support.
11461 * configure: Regenerated.
11462 * Makerules ($(common-objpfx)format.lds)
11463 [$(output-format) != unknown]: Just use $(output-format),
11464 instead of the linker-script munging.
11466 2011-07-14 Roland McGrath <roland@hack.frob.com>
11468 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11469 of $(common-objpfx)shlib.lds.
11470 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11472 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11473 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11475 * configure.in (-z relro check): Adjust test code to add a large
11476 writable data section after it.
11477 * configure: Regenerated.
11479 2011-07-11 Roland McGrath <roland@hack.frob.com>
11481 * configure.in (-z relro check): Fix test code to make the variable
11483 * configure: Regenerated.
11485 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11487 * nscd/nscd.h (struct traced_file): Define.
11488 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11489 elements. Add traced_files.
11490 (inotify_fd): Declare.
11491 (register_traced_file): Declare.
11492 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11493 (inotify_fd): Export.
11494 (resolv_conf_descr): Remove.
11495 (nscd_init): Move inotify descriptor creation to main.
11496 Don't register files for notification here.
11497 (register_traced_file): New function.
11498 (invalidate_cache): Don't use reset_res to determine whether to call
11499 res_init, go through the list of registered files.
11500 (main_loop_poll): The inotify descriptors are now stored in the
11501 structures for the traced files.
11502 (main_loop_epoll): Likewise
11503 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11504 to __nss_disable_nscd.
11505 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11506 for a database anymore. Check the records for all the registered
11508 * nss/Makefile (libnss_files-routines): Add files-init.
11509 (libnss_db-routines): Add db-init.
11510 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11511 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11512 * nss/nss_db/db-init.c: New file.
11513 * nss/nss_files/files-init.c: New file.
11514 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11515 __nss_lookup_function.
11516 (__nss_lookup_function): Call nss_load_library.
11517 (nss_load_all_libraries): New function.
11518 (__nss_disable_nscd): Take parameter with callback function for files
11519 to register. Set is_nscd. Load all the DSOs for the NSS modules
11520 used for the cached services.
11521 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11522 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11523 options for features to all the files in nscd.
11525 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11527 2011-07-10 Roland McGrath <roland@hack.frob.com>
11529 * csu/elf-init.c (__libc_csu_init): Comment typo.
11531 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11533 * po/pl.po: Update from translation team.
11534 * po/ja.po: Likewise.
11535 * po/ru.po: Likewise.
11536 * po/ko.po: Likewise.
11537 * po/fr.po: Likewise.
11539 2011-07-09 Roland McGrath <roland@hack.frob.com>
11541 * configure.in (.ctors/.dtors header and trailer check):
11542 Use an empirical test on a built program.
11543 * configure: Regenerated.
11545 * configure.in (-z relro check): Use an empirical test on a built DSO.
11546 Detect, but do not require, on ia64.
11547 * configure: Regenerated.
11549 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11550 Update tests that use readelf to use $READELF instead.
11551 * configure: Regenerated.
11553 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11555 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11556 if the result is not used.
11558 2011-07-05 Andreas Jaeger <aj@suse.de>
11561 * stdlib/tst-strtod.c: Add testcase.
11563 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11565 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11566 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11567 The latter has a higher limit. Take additional parameter to pass to
11569 (__pathconf): Pass file to __statfs_link_max.
11570 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11572 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11576 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11577 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11579 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11580 (__statfs_filesize_max): Likewise.
11581 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11583 2011-07-05 Andreas Jaeger <aj@suse.de>
11585 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11587 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11589 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11591 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11594 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11596 * Makefile (strop-tests): Add strncat.
11597 * string/test-strncat.c: New file.
11599 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11601 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11603 2011-06-21 Andreas Jaeger <aj@suse.de>
11605 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11606 Copy rule from iconvdata/Makefile.
11608 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11611 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11612 but no long options are defined, just return 'W'.
11614 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11617 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11619 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11621 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11623 (innetgr): Likewise.
11625 2011-07-05 Roland McGrath <roland@hack.frob.com>
11627 * config.make.in (install_root): Default to $(DESTDIR).
11629 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11631 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11633 2011-07-02 Roland McGrath <roland@hack.frob.com>
11635 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11637 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11638 containing directory rather than embedding absolute directory names.
11640 * scripts/check-local-headers.sh: Rewritten using awk.
11641 Match by word, not by line. Print error messages for matches.
11642 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11644 * Makerules [shlib-lds-flags empty]:
11645 ($(common-objpfx)libc_pic.opts): New target.
11646 ($(common-objpfx)libc_pic.os.clean): New target.
11647 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11649 * config.make.in (OBJCOPY): New variable.
11650 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11651 * configure: Regenerated.
11653 * config.make.in (use-default-link): New variable.
11654 * configure.in (use_default_link): Grok --with-default-link to set it.
11655 * configure: Regenerated.
11656 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11657 (shlib-lds, shlib-lds-flags): Define to empty.
11659 * Makerules (shlib-lds): New variable.
11660 (shlib-lds-flags): New variable.
11661 (build-shlib, build-moduile, build-module-asneeded): Use it.
11662 ($(common-objpfx)libc.so): Use $(shlib-lds).
11663 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11664 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11666 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11667 DT_FLAGS/DT_FLAGS_1 with zero flags.
11669 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11670 linker script munging.
11672 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11674 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11676 * crypt/sha512.c (sha512_process_block): Perform total addition using
11677 128-bit if possible.
11678 (__sha512_finish_ctx): Likewise.
11679 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11681 * crypt/sha256.c (SWAP64): Define.
11682 (sha256_process_block): Perform total addition using 64-bit if
11684 (__sha256_finish_ctx): Likewise.
11686 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11688 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11689 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11690 * nscd/hstcache.c (cache_addhst): Likewise.
11691 * nscd/grpcache.c (cache_addgr): Likewise.
11692 * nscd/aicache.c (addhstaiX): Likewise
11693 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11695 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11697 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11698 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11699 * nscd/hstcache.c (cache_addhst): Likewise.
11700 * nscd/grpcache.c (cache_addgr): Likewise.
11701 * nscd/aicache.c (addhstaiX): Likewise
11703 2011-07-01 Andreas Schwab <schwab@redhat.com>
11705 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11706 domain only when needed.
11708 2011-06-30 Andreas Schwab <schwab@redhat.com>
11710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11711 is always restored.
11713 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11715 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11716 are re-adding the entry.
11717 * nscd/servicescache.c (cache_addserv): Likewise.
11719 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11721 * sysdeps/generic/dl-irel.h: fix protection against multiple
11723 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11725 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11728 * malloc/memusage.sh: Fix quoting in message.
11729 * debug/xtrace.sh: Likewise.
11731 * configure.in: Remove support for --experimental-malloc option, make
11733 * config.make.in: Likewise.
11734 * malloc/Makefile: Likewise.
11736 2011-06-27 Andreas Schwab <schwab@redhat.com>
11738 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11739 two-byte characters.
11741 2011-06-27 Roland McGrath <roland@hack.frob.com>
11743 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11744 AC_CACHE_CHECK invocation.
11745 * configure: Regenerated.
11747 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11749 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11752 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11753 bit from old_res_options.
11755 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11757 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11758 value type for setfct.
11760 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11763 __gettimeofday instead of gettimeofday.
11765 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11767 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11769 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11771 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11773 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11776 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11779 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11780 strcpy-sse2-unaligned strncpy-sse2-unaligned
11781 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11782 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11783 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11784 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11785 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11786 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11787 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11788 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11789 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11790 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11791 (STRCPY): Support SSE2 and SSSE3 versions.
11793 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11796 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11797 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11798 kernels which artificially limit size of requests.
11800 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11802 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11803 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11804 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11805 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11806 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11807 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11808 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11809 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11810 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11811 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11812 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11813 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11814 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11815 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11816 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11818 Enable unaligned load optimization for Intel Core i3, i5 and i7
11820 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11822 (index_Fast_Unaligned_Load): Define.
11823 (HAS_FAST_UNALIGNED_LOAD): Define.
11825 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11827 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11829 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11832 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11833 until it is clear that the information is realy needed.
11834 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11836 2011-06-22 Andreas Schwab <schwab@redhat.com>
11838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11840 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11842 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11843 /sys/devices/system/cpu/online if it is usable.
11845 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11846 reading the information from the /proc filesystem to once a second.
11848 2011-06-21 Andreas Jaeger <aj@suse.de>
11850 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11851 NULL after inclusion of kernel headers.
11853 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11855 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11856 calls to internal_setent.
11859 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11860 addresses using gethostbyname4_r ignore IPv4 addresses.
11862 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11863 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11865 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11867 2011-06-20 David S. Miller <davem@davemloft.net>
11869 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11871 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11873 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11874 (elf_irel): Use it.
11875 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11876 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11877 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11878 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11879 * sysdeps/x86_64/dl-irel.h: Likewise.
11881 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11882 * elf/dl-sym.c: Likewise.
11884 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11886 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11887 need to dereference resplen2.
11889 2011-06-14 Andreas Schwab <schwab@redhat.com>
11891 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11893 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11895 * Makeconfig: Define vardbdir and inst_vardbdir.
11896 * nss/Makefile: Add rules to install db-Makefile.
11898 * nss/nss_db/db-XXX.c: Cleanup.
11900 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11901 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11903 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11904 * nss/makedb.c: Implement -g option to specify that value strings
11905 are generated and should not be added to table iterated over for
11907 * nss/nss_db/db-initgroups.c: New file.
11909 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11912 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11913 (internal_getgrouplist): Adjust to name change.
11914 Update use_initgroups_entry if this is not the first call.
11915 * nss/databases.def: Add initgroups entry.
11917 * nss/makedb.c (compute_tables): Check result of multiple hash table
11918 sizes to minimize maximum chain length.
11920 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11922 * Versions.def: Add entry for libnss_db.
11923 * shlib-versions: Likewise.
11924 * nss/Makefile: Add rules to build libnss_db.
11925 * nss/Versions: Add libnss_db information. Organize libnss_files
11927 * nss/db-Makefile: Add gshadow support. Change rules for the new
11928 makedb progra. Some minor improvements to generate smaller files.
11929 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11931 * nss/makedb.c: ...here.
11932 Improve database format to be smaller and require less memory at
11934 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11936 * nss/nss_db/db-netgrp.c: Likewise.
11937 * nss/nss_db/db-open.c: Likewise.
11938 * nss/nss_files/flies-XXX.x: Adjust comments.
11939 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11940 * nss/nss_files/files-grp.c: Likewise.
11941 * nss/nss_files/files-hosts.c: Likewise.
11942 * nss/nss_files/files-network.c: Likewise.
11943 * nss/nss_files/files-proto.c: Likewise.
11944 * nss/nss_files/files-pwd.c: Likewise.
11945 * nss/nss_files/files-rpc.c: Likewise.
11946 * nss/nss_files/files-service.c: Likewise.
11947 * nss/nss_files/files-sgrp.c: Likewise.
11948 * nss/nss_files/files-spwd.c: Likewise.
11949 * nss/nss_db/db-alias.c: Removed.
11950 * nss/nss_db/dummy-db.h: Removed.
11952 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11954 * nss/makedb.c: Rewritten to not use database library.
11955 * nss/Makefile: Update to build new makedb program.
11957 2011-06-14 Andreas Jaeger <aj@suse.de>
11959 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11960 memset declaration.
11962 2011-06-10 Andreas Schwab <schwab@redhat.com>
11964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11967 2011-06-10 Roland McGrath <roland@hack.frob.com>
11969 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11970 * elf/Makefile ($(objpfx)ld.so): Likewise.
11972 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11973 Don't list ld.so twice in dependencies.
11975 * posix/bug-regex31.c: Include <stdlib.h>.
11977 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11979 * nis/nss_compat/compat-spwd.c
11980 (getspent_next_nss_netgr): Remove unused variable.
11981 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11983 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11984 nonmembers" output to use the right array.
11986 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11988 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11990 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11991 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11992 * catgets/gencat.c (read_input_file): Likewise.
11993 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11995 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11996 variable definition inside #if's controlling its use.
11998 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12000 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12002 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12004 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12007 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12009 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12010 * configure: Regenerated.
12012 * Makerules: Revert last change.
12013 * elf/Makefile: Likewise.
12015 2011-06-09 Roland McGrath <roland@hack.frob.com>
12017 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12018 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12019 (reloc-link): Likewise.
12021 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12023 * elf/Makefile: Add rules to build pldd.
12024 * elf/pldd.c: New file.
12025 * elf/pldd-xx.c: New file.
12027 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12029 * version.h: Update for 2.15 development version.
12031 2011-06-07 David S. Miller <davem@davemloft.net>
12033 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12036 elf_machine_lazy_rel): Likewise.
12037 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12038 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12039 elf_machine_lazy_rel): Likewise.
12040 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12041 dl_hwcap via passed in argument.
12042 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12045 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12047 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12049 2011-06-06 Roland McGrath <roland@hack.frob.com>
12052 * manual/fdl-1.1.texi: New file, verbatim from:
12053 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12054 * manual/lgpl-2.1.texi: New file, verbatim from:
12055 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12056 * manual/Makefile (licenses): New variable, list those new file names.
12058 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12060 * manual/fdl.texi: File removed.
12061 * manual/lesser.texi: File removed.
12062 * manual/libc.texinfo (Copying, Documentation License):
12063 Use new @include file names, put @appendix directive before @include.
12065 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12068 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12069 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12070 (mq_open): Add __NTH.
12072 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12075 Assume Intel Core i3/i5/i7 processor if AVX is available.
12077 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12079 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12082 2011-05-31 Andreas Schwab <schwab@redhat.com>
12084 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12085 memory. Use alloca_account. Fix memory leak when retrying.
12087 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12089 * version.h (RELEASE): Bump for 2.14 release.
12090 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12092 * config.make.in (RANLIB): Remove entry.
12094 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12096 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12097 (libc.pot): Work around missing support for .ksh extension in xgettext.
12100 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12101 if both request failed.
12102 (send_dg): In case of server errors clear resplen or *resplen2.
12105 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12106 when there are multiple maps.
12107 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12108 (_dl_fini): Remove test here.
12110 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12112 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12115 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12116 bit from old_res_options.
12117 (gaih_inet): Likewise.
12120 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12123 * resolv/res_init.c (res_setoptions): Make the code more compact.
12126 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12130 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12132 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12135 * malloc/malloc.h: Declare malloc hook variables as volatile.
12137 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12141 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12142 raise in the comment.
12143 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12144 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12145 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12147 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12150 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12151 grow the buffers more if it already has to be sufficient.
12152 (build_wcs_upper_buffer): Likewise.
12153 * posix/regexec.c (check_matching): Likewise.
12154 (clean_state_log_if_needed): Likewise.
12155 (extend_buffers): Don't enlarge buffers beyond size of the input
12157 Patches mostly by Emil Wojak <emil@wojak.eu>.
12158 * posix/bug-regex32.c: New file.
12159 * posix/Makefile (tests): Add bug-regex32.
12161 * locale/findlocale.c (_nl_find_locale): Return right away if
12162 _nl_explode_name failed.
12163 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12165 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12167 * debug/xtrace.sh: Unify messages.
12168 * malloc/memusage.sh: Likewise.
12171 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12172 time symbol from vDSO. Substitute with vsyscall if not available.
12173 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12176 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12177 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12178 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12179 Add sendmmsg and internal_sendmmsg.
12180 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12181 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12182 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12184 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12185 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12186 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12188 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12191 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12192 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12194 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12198 * iconvdata/Makefile (tests): Add bug-iconv9.
12199 * iconvdata/bug-iconv9.c: New file.
12201 2011-05-27 Andreas Schwab <schwab@redhat.com>
12204 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12206 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12208 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12209 (struct user_regs_struct): Change intcs field back to cs.
12211 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12213 * po/ja.po: Update from translation team.
12215 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12218 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12219 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12221 2011-05-20 Andreas Schwab <schwab@redhat.com>
12223 * stdlib/longlong.h: Update from GCC.
12225 2011-05-23 Andreas Schwab <schwab@redhat.com>
12227 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12229 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12230 Add parameter name.
12231 (__sysconf): Pass it down.
12233 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12236 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12238 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12239 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12240 add in in __libc_use_alloca calls. Adjust callers.
12241 (glob): Use malloc in some situations.
12243 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12244 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12247 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12249 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12250 and CLOCK_BOOTTIME_ALARM.
12253 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12256 * string/_strerror.c (__strerror_r): Print negative errors as signed
12260 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12261 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12262 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12264 * configure.in: Fix typo in redirection and correct removal of test
12265 files in two cases.
12268 * locale/setlocale.c (new_composite_name): Fix test to check for
12269 identical name of all categories.
12272 * libio/filedoalloc.c (local_isatty): New function.
12273 (_IO_file_doallocate): Use local_isatty.
12274 * stdio-common/perror.c (perror): In case a new stream is used
12275 forward the stream error.
12276 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12279 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12284 * include/alloca.h (extend_alloca_account): Define.
12287 * posix/regex.h: Fix comments with documentation of user-accessible
12288 fields after compilation and describe correct free'ing of pattern
12289 after re_compile_pattern.
12290 Patch by Reuben Thomas <rrt@sc3d.org>.
12292 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12294 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12295 and -mno-altivec to prevent the compiler from using Altivec and/or
12296 VSX instructions when the corresponding registers are not available.
12298 2011-05-19 Andreas Schwab <schwab@redhat.com>
12300 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12302 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12304 * libio/freopen.c (freopen): Use __dup2, not dup2.
12305 * libio/freopen64.c (freopen64): Likewise.
12307 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12310 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12311 * math/Makefile (tests): Add test-powl.
12312 (CFLAGS-test-powl.c): Define.
12313 * math/test-powl.c: New file.
12315 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12317 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12319 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12322 * iconvdata/gb18030.c: Update to GB18020-2005.
12324 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12326 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12327 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12328 Patch by Aharon Robbins <arnold@skeeve.com>.
12331 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12335 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12336 through underflows.
12339 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12340 point to strings before performing equality test for error_one_per_line
12344 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12347 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12348 (struct user_fpregs_struct): Avoid __uint*_t types.
12351 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12352 symbol info. Use it instead of calling _dl_addr locally.
12353 (lock_and_info): New function.
12354 (tr_freehook): Call lock_and_info and pass symbol info as additional
12355 parameter to tr_where.
12356 (tr_mallochook): Likewise.
12357 (tr_reallochook): Likewise.
12358 (tr_memalignhook): Likewise.
12360 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12361 used and couldn't be at all thread-safe.
12363 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12365 * libio/freopen.c (freopen): Don't close old file descriptor
12366 before the new one is opened. Instead dup the new file descriptor
12367 to the old one after the new stream is created.
12368 * libio/freopen64.c (freopen64): Likewise.
12369 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12370 * libio/fileops.c (_IO_new_file_close_it): Handle new
12371 _IO_FLAGS2_NOCLOSE flag.
12372 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12373 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12374 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12375 _IO_FLAGS2_NOCLOSE flag.
12376 * include/unistd.h: Add hidden_proto for dup3.
12377 Define __have_dup3.
12378 * io/dup3.c: Define hidden symbol.
12379 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12382 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12383 when an incomplete long option is used.
12384 * posix/tst-getopt_long1.c: New file.
12385 * posix/Makefile (tests): Add tst-getopt_long1.
12388 * scripts/config.guess: Update from autoconf-2.68.
12389 * scripts/config.sub: Likewise.
12392 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12394 (has_cpuclock): ...this. New function.
12395 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12396 macro here based on has_cpuclock code.
12399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12400 First byte (not low byte) is now always NUL.
12401 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12403 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12404 Use non-cancelable interfaces.
12407 * locale/iso-639.def: Add entry for Sorani.
12410 * include/stdlib.h: Move include protection to the right place.
12411 Define abort_msg_s. Declare __abort_msg with it.
12412 * stdlib/abort.c (__abort_msg): Adjust type.
12413 * assert/assert.c (__assert_fail_base): New function. Majority
12414 of code from __assert_fail. Allocate memory for __abort_msg with
12416 (__assert_fail): Now call __assert_fail_base.
12417 * assert/assert-perr.c: Remove bulk of implementation. Use
12418 __assert_fail_base.
12419 * include/assert.hL Declare __assert_fail_base.
12420 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12422 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12424 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12428 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12429 until all modules are registered in the DTV.
12430 * elf/Makefile: Add rules to build and run tst-tls19.
12431 * elf/tst-tls19.c: New file.
12432 * elf/tst-tls19mod1.c: New file.
12433 * elf/tst-tls19mod2.c: New file.
12434 * elf/tst-tls19mod3.c: New file.
12435 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12438 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12442 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12443 two-byte sequence errors.
12444 * iconvdata/Makefile (tests): Add bug-iconv8.
12445 * iconvdata/bug-iconv8.c: New file.
12448 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12451 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12454 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12455 (dummy_getcfa): New function.
12456 (init): Get _Unwind_GetCFA address, use dummy if not found.
12457 (backtrace_helper): In recursion check, also check whether CFA changes.
12458 (__backtrace): Completely initialize arg.
12460 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12461 storing incomplete byte sequence in state object. Avoid testing for
12462 guaranteed too small input if we know there is enough data available.
12464 2011-05-11 Andreas Schwab <schwab@redhat.com>
12466 * Makeconfig (+link-pie): Indent.
12467 * Rules (binaries-pie): Define if $(have-fpie) and
12469 (binaries-shared): Also filter out $(binaries-pie).
12470 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12471 * nscd/Makefile (others-pie): Add nscd.
12472 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12473 ($(objpfx)nscd): Remove command override.
12474 * login/Makefile (others-pie): Add pt_chown.
12475 ($(objpfx)pt_chown): Remove command override.
12476 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12477 remove command overrides.
12479 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12481 * libio/tst_putwc.c: Fix error messages.
12484 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12485 currently writing and seek to current position when not.
12486 * libio/Makefile (tests): Add bug-fclose1.
12487 * libio/bug-fclose1.c: New file.
12489 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12492 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12493 don't set DF_1_NODELETE here.
12494 (do_lookup_x): When entering new entry test for copy relocation
12495 and if necessary set DF_1_NODELETE flag.
12496 * elf/tst-unique4.cc: New file.
12497 * elf/tst-unique4.h: New file.
12498 * elf/tst-unique4lib.cc: New file.
12499 * elf/Makefile: Add rules to build and run tst-unique4.
12500 Patch by Piotr Bury <pbury@goahead.com>.
12502 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12505 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12508 * misc/mntent_r.c (addmntent): Flush the stream after the output
12511 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12512 (is_trusted_path_normalize): Skip initial colon. Append slash
12513 to empty buffer. Duplicate is_trusted_path code but allow
12514 constructed patch to be prefix.
12515 (is_dst): Allow $ORIGIN followed by /.
12516 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12517 Correct testing of result of is_trusted_path_normalize
12518 (decompose_rpath): Fix warning.
12520 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12523 * grp/initgroups.c (internal_getgrouplist): When we found the service
12524 list through the initgroups entry in nsswitch.conf do not always
12525 continue on a successful lookup. Don't always use the
12526 __nss_group_database value if it is set.
12527 * nss/nsswitch.conf (initgroups): Change action for successful db
12528 lookup to continue for compatibility.
12530 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12533 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12535 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12537 * iconvdata/tst-tables.sh: Likewise.
12538 * iconvdata/cp770.c: New file.
12539 * iconvdata/cp771.c: New file.
12540 * iconvdata/cp772.c: New file.
12541 * iconvdata/cp773.c: New file.
12542 * iconvdata/cp774.c: New file.
12543 * iconvdata/testdata/CP770: New file.
12544 * iconvdata/testdata/CP770..UTF8: New file.
12545 * iconvdata/testdata/CP771: New file.
12546 * iconvdata/testdata/CP771..UTF8: New file.
12547 * iconvdata/testdata/CP772: New file.
12548 * iconvdata/testdata/CP772..UTF8: New file.
12549 * iconvdata/testdata/CP773: New file.
12550 * iconvdata/testdata/CP773..UTF8: New file.
12551 * iconvdata/testdata/CP774: New file.
12552 * iconvdata/testdata/CP774..UTF8: New file.
12554 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12556 * iconvdata/gen-8bit-gap.sh: Likewise.
12557 * iconvdata/gen-8bit.sh: Likewise.
12559 * locale/iso-639.def: Add ary entry.
12562 * locale/C-translit.h.in: Add U20A1 transliteration.
12565 * locale/iso-639.def: Add wae entry.
12566 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12569 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12573 * locale/C-translit.h.in: Add entry for U20B9.
12574 Patch by pravin.d.s@gmail.com.
12576 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12579 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12580 ENAMETOOLONG use generic getcwd.
12581 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12582 in rtld. Use *stat64.
12583 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12584 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12585 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12586 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12587 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12588 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12589 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12590 __fstatat64 macros.
12591 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12592 * dirent/rewinddir.c: Add libc_hidden_def.
12593 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12594 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12596 * include/dirent.h (__alloc_dir): Add flags parameter.
12597 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12598 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12600 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12601 from fdopendir if O_CLOEXEC is already set.
12603 2011-03-15 Alan Modra <amodra@gmail.com>
12605 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12606 l_tls_firstbyte_offset non-zero. Save padding offset in
12607 l_tls_firstbyte_offset for later use.
12608 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12609 freeing static tls block.
12611 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12613 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12614 where #ifdef was intended. The intent is to prevent ARG_MAX from
12615 being defined by the kernel headers.
12617 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12620 * resolv/resolv.h: Define RES_NOTLDQUERY.
12621 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12622 no-tld-query and set RES_NOTLDQUERY.
12623 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12624 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12625 modern BIND to search name as TLD unless forbidden.
12627 2011-05-07 Petr Baudis <pasky@suse.cz>
12628 Ulrich Drepper <drepper@gmail.com>
12631 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12632 (is_trusted_path): ...to here.
12633 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12634 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12635 using is_trusted_path_normalize() in setuid scripts.
12637 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12639 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12640 __BEGIN/__END_DECLS.
12642 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12644 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12645 NSS_STATUS_NOTFOUND if no record was found.
12647 2011-05-05 Andreas Schwab <schwab@redhat.com>
12649 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12650 (headers-not-in-tirpc): Remove rpc/netdb.h
12651 * resolv/netdb.h: Revert last change.
12653 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12655 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12656 circular dependency between libgcc.a and libc.a.
12658 2011-05-05 Andreas Schwab <schwab@redhat.com>
12660 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12661 * nis/Makefile: Don't install rpcsvc/*.
12662 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12663 instead of <rpc/types.h>.
12664 (MAXHOSTNAMELEN): Define.
12666 2011-05-03 Andreas Schwab <schwab@redhat.com>
12668 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12670 2011-04-28 Maciej Babinski <mbabinski@google.com>
12673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12674 gethostbyname4_r when IPv6 results are possible.
12676 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12679 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12680 _PC_PIPE_BUF handling.
12682 2011-04-30 Bruno Haible <bruno@clisp.org>
12685 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12686 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12688 * inet/getnameinfo.c (getnameinfo): Likewise.
12690 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12692 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12693 to groups setting in database lookup.
12694 * nss/nsswitch.conf: Add initgroups entry.
12696 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12699 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12701 Patch by Eric Blake <eblake@redhat.com>.
12703 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12705 * sunrpc/Makefile (need-export-routines): Add svc_run.
12706 (routines): Remove svc_run.
12707 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12708 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12709 * sunrpc/svc_run.c (svc_run): Likewise.
12710 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12712 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12714 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12715 problem in reallocation in last patch.
12717 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12719 * sunrpc/Makefile: Move inclusion of Rules.
12721 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12723 * nss/nss_files/files-initgroups.c: New file.
12724 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12725 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12726 _nss_files_initgroups_dyn.
12728 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12730 * elf/elf.h (R_ARM_IRELATIVE): Define.
12732 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12734 * po/ru.po: Update from translation team.
12736 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12738 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12741 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12744 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12745 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12746 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12747 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12748 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12750 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12752 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12754 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12756 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12758 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12761 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12763 * stdlib/bug-getcontext.c: New file.
12764 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12766 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12768 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12769 instructions into .machine "z9-109".
12770 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12771 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12773 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12775 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12776 between environment variables and auxiliary vector.
12778 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12780 * Makefile: Add rules to build linkobj/libc.so.
12781 * include/libc-symbols.h: Define libc_hidden_nolink.
12782 * include/rpc/auth.h: Mark functions which are to be hidden.
12783 * include/rpc/auth_des.h: Likewise.
12784 * include/rpc/auth_unix.h: Likewise.
12785 * include/rpc/clnt.h: Likewise.
12786 * include/rpc/des_crypt.h: Likewise.
12787 * include/rpc/key_prot.h: Likewise.
12788 * include/rpc/pmap_clnt.h: Likewise.
12789 * include/rpc/pmap_prot.h: Likewise.
12790 * include/rpc/pmap_rmt.h: Likewise.
12791 * include/rpc/rpc_msg.h: Likewise.
12792 * include/rpc/svc.h: Likewise.
12793 * include/rpc/svc_auth.h: Likewise.
12794 * include/rpc/xdr.h: Likewise.
12795 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12796 * nss/Makefile: Likewise.
12797 * sunrpc/Makefile: Don't install headers. Build library with normal
12798 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12799 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12800 for the compat linking library. Remove use of INTDEF/INTUSE.
12801 * sunrpc/auth_none.c: Likewise.
12802 * sunrpc/auth_unix.c: Likewise.
12803 * sunrpc/authdes_prot.c: Likewise.
12804 * sunrpc/authuxprot.c: Likewise.
12805 * sunrpc/clnt_gen.c: Likewise.
12806 * sunrpc/clnt_perr.c: Likewise.
12807 * sunrpc/clnt_raw.c: Likewise.
12808 * sunrpc/clnt_simp.c: Likewise.
12809 * sunrpc/clnt_tcp.c: Likewise.
12810 * sunrpc/clnt_udp.c: Likewise.
12811 * sunrpc/clnt_unix.c: Likewise.
12812 * sunrpc/des_crypt.c: Likewise.
12813 * sunrpc/des_soft.c: Likewise.
12814 * sunrpc/get_myaddr.c: Likewise.
12815 * sunrpc/key_call.c: Likewise.
12816 * sunrpc/key_prot.c: Likewise.
12817 * sunrpc/netname.c: Likewise.
12818 * sunrpc/pm_getmaps.c: Likewise.
12819 * sunrpc/pm_getport.c: Likewise.
12820 * sunrpc/pmap_clnt.c: Likewise.
12821 * sunrpc/pmap_prot.c: Likewise.
12822 * sunrpc/pmap_prot2.c: Likewise.
12823 * sunrpc/pmap_rmt.c: Likewise.
12824 * sunrpc/publickey.c: Likewise.
12825 * sunrpc/rpc_cmsg.c: Likewise.
12826 * sunrpc/rpc_common.c: Likewise.
12827 * sunrpc/rpc_dtable.c: Likewise.
12828 * sunrpc/rpc_prot.c: Likewise.
12829 * sunrpc/rpc_thread.c: Likewise.
12830 * sunrpc/rtime.c: Likewise.
12831 * sunrpc/svc.c: Likewise.
12832 * sunrpc/svc_auth.c: Likewise.
12833 * sunrpc/svc_authux.c: Likewise.
12834 * sunrpc/svc_raw.c: Likewise.
12835 * sunrpc/svc_run.c: Likewise.
12836 * sunrpc/svc_simple.c: Likewise.
12837 * sunrpc/svc_tcp.c: Likewise.
12838 * sunrpc/svc_udp.c: Likewise.
12839 * sunrpc/svc_unix.c: Likewise.
12840 * sunrpc/svcauth_des.c: Likewise.
12841 * sunrpc/xcrypt.c: Likewise.
12842 * sunrpc/xdr.c: Likewise.
12843 * sunrpc/xdr_array.c: Likewise.
12844 * sunrpc/xdr_float.c: Likewise.
12845 * sunrpc/xdr_intXX_t.c: Likewise.
12846 * sunrpc/xdr_mem.c: Likewise.
12847 * sunrpc/xdr_rec.c: Likewise.
12848 * sunrpc/xdr_ref.c: Likewise.
12849 * sunrpc/xdr_sizeof.c: Likewise.
12850 * sunrpc/xdr_stdio.c: Likewise.
12852 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12855 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12856 * sysdeps/ia64/dl-tls.h: Likewise.
12857 * sysdeps/powerpc/dl-tls.h: Likewise.
12858 * sysdeps/s390/dl-tls.h: Likewise.
12859 * sysdeps/sh/dl-tls.h: Likewise.
12860 * sysdeps/sparc/dl-tls.h: Likewise.
12861 * sysdeps/x86_64/dl-tls.h: Likewise.
12862 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12864 2011-03-14 Andreas Schwab <schwab@redhat.com>
12866 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12867 rpath element also skip the following colon.
12868 (expand_dynamic_string_token): Add is_path parameter and pass
12869 down to DL_DST_REQUIRED and _dl_dst_substitute.
12870 (decompose_rpath): Call expand_dynamic_string_token with
12871 non-zero is_path. Ignore empty rpaths.
12872 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12875 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12880 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12883 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12884 Patch by Filipe David Manana <fdmanana@apache.org>.
12886 2011-04-07 Andreas Schwab <schwab@redhat.com>
12888 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12889 Maintain aligned stack.
12890 (CHECK_RSP): Remove unused macro.
12892 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12894 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12895 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12897 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12899 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12901 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12903 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12906 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12907 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12908 * sysdeps/x86_64/memmove.c: New file.
12909 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12910 (memcpy): Renamed to ...
12911 (__new_memcpy): This.
12912 (memcpy): Provide GLIBC_2_14 memcpy.
12913 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12914 (memcpy): Provide GLIBC_2_2_5 memcpy.
12916 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12919 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12921 2011-03-30 Andreas Schwab <schwab@redhat.com>
12923 * misc/syncfs.c: New file.
12924 * misc/Makefile (routines): Add syncfs.
12925 * posix/unistd.h: Declare syncfs.
12926 * sysdeps/unix/syscalls.list: Add syncfs.
12928 2011-04-01 Andreas Schwab <schwab@redhat.com>
12930 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12932 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12933 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12934 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12937 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12938 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12940 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12943 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12944 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12950 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12951 sync_file_range.c with -fexceptions.
12952 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12953 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12954 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12955 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12956 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12957 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12958 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12959 sync_file_range as cancellation point
12960 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12961 now a wrapper around __call_sync_file_range with cancellation handling.
12962 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12963 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12964 function name to __call_sync_file_range.
12965 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12966 Add call_sync_file_range.
12968 2011-04-01 Andreas Schwab <schwab@redhat.com>
12970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12973 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12975 * iconv/iconv.h: Fix typo in comment.
12976 * io/fcntl.h: Likewise.
12977 * libio/stdio.h: Likewise.
12978 * posix/spawn.h: Likewise.
12979 * posix/unistd.h: Likewise.
12980 * stdlib/stdlib.h: Likewise.
12981 * time/time.h: Likewise.
12982 * wcsmbs/wchar.h: Likewise.
12984 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12985 open_by_handle): Add.
12986 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12987 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12988 Augment a few comments.
12989 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12991 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12993 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12994 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12997 * io/fcntl.h (AT_EMPTY_PATH): Define.
12999 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13001 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13002 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13003 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13005 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13006 * Versions.def: Add GLIBC_2.14.
13007 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13010 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13012 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13014 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13016 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13019 * string/test-strncmp.c (do_page_test): New function.
13020 (check2): Likewise.
13021 (test_main): Call check2.
13022 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13024 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13027 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13028 Handle cache information in CPU leaf 4.
13029 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13031 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13034 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13035 character representation.
13036 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13038 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13040 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13041 END(__isnan) to END(__isnanf) to match function entry point/label
13042 EALIGN(__isnanf,...).
13044 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13046 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13048 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13051 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13052 copy from the symbol referenced in the relocation to initialize the
13054 Patch by Piotr Bury <pbury@goahead.com>.
13055 * elf/Makefile: Add rules to build and tst-unique3.
13056 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13057 * elf/tst-unique3.cc: New file.
13058 * elf/tst-unique3.h: New file.
13059 * elf/tst-unique3lib.cc: New file.
13060 * elf/tst-unique3lib2.cc: New file.
13062 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13064 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13066 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13067 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13070 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13072 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13073 to-be-loaded object along a path to loader is ld.so.
13075 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13076 Ulrich Drepper <drepper@gmail.com>
13078 * sysdeps/x86_64/memset.S: After aligning destination, code
13079 branches to different locations depending on the value of
13080 misalignment, when multiarch is enabled. Fix this.
13082 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13084 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13085 Set _x86_64_preferred_memory_instruction for AMD processsors.
13086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13087 Set bit_Prefer_SSE_for_memop for AMD processors.
13089 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13091 * libio/fmemopen.c (fmemopen): Optimize a bit.
13093 2011-03-03 Andreas Schwab <schwab@redhat.com>
13095 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13097 2011-03-03 Roland McGrath <roland@redhat.com>
13099 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13101 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13103 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13104 __bzero_ultra1 instead of __memset_ultra1.
13106 2011-02-23 Andreas Schwab <schwab@redhat.com>
13107 Ulrich Drepper <drepper@gmail.com>
13110 * include/link.h (struct link_map): Add l_orig_initfini.
13111 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13112 returning unsuccessfully.
13113 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13114 close of a file loaded at startup, restore the original l_initfini
13116 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13117 list, store the pointer.
13118 * elf/Makefile ($(objpfx)noload-mem): New rule.
13119 (noload-ENV): Define.
13120 (tests): Add $(objpfx)noload-mem.
13121 * elf/noload.c: Include <memcheck.h>.
13122 (main): Call mtrace. Close all opened handles.
13124 2011-02-17 Andreas Schwab <schwab@redhat.com>
13127 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13128 dependencies are missing.
13130 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13132 Fix __if_freereq crash: Unlike the generic version which uses free,
13134 * sysdeps/mach/hurd/ifreq.h: New file.
13136 2011-01-27 Petr Baudis <pasky@suse.cz>
13137 Ulrich Drepper <drepper@gmail.com>
13140 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13141 to extend_alloca().
13142 * stdio-common/bug23.c: New file.
13143 * stdio-common/Makefile (tests): Add bug23.
13145 2010-09-28 Andreas Schwab <schwab@redhat.com>
13146 Ulrich Drepper <drepper@gmail.com>
13149 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13150 before performing relro protection. At old place add assertion
13151 to make sure nothing changed.
13153 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13154 Glauber de Oliveira Costa <glommer@gmail.com>
13156 * elf/elf.h: Add new ARM TLS relocs.
13158 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13161 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13163 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13165 * sysdeps/wordsize-64/tst-writev.c: New file.
13167 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13169 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13170 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13171 insns in _dl_start to prevent a TOC reference before relocs are
13174 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13177 * Makeconfig: Remove RANLIB definition.
13178 * Makerules: Don't use RANLIB.
13179 * aclocal.m4: Remove ranlib test.
13180 * configure.in: No need to check for ranlib.
13181 * elf/rtld-Rules: Don't use RANLIB.
13183 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13185 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13187 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13188 inclusion protection macro.
13190 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13191 SIGRTMIN and SIGRTMAX and print information in that case only when
13192 SIGRTMIN is defined.
13194 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13196 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13197 arginfo fn returning -1.
13199 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13200 and thousands string is zero terminated.
13202 2011-02-03 Andreas Schwab <schwab@redhat.com>
13204 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13205 sysdeps/unix/sysv/linux/bits/socket.h.
13207 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13209 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13210 (__CPU_COUNT): Remove old macros.
13211 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13212 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13213 (__CPU_ALLOC, __CPU_FREE): Add macros.
13214 (__sched_cpualloc, __sched_cpufree): Add declarations.
13216 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13218 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13219 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13220 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13221 (readdhstai): Return value of addhstaiX call.
13222 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13223 (addgrbyX): Return value returned by cache_addgr.
13224 (readdgrbyname): Return value returned by addgrbyX.
13225 (readdgrbygid): Likewise.
13226 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13227 (addpwbyX): Return value returned by cache_addpw.
13228 (readdpwbyname): Return value returned by addhstbyX.
13229 (readdpwbyuid): Likewise.
13230 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13231 (addservbyX): Return value returned by cache_addserv.
13232 (readdservbyname): Return value returned by addservbyX:
13233 (readdservbyport): Likewise.
13234 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13235 (addhstbyX): Return value returned by cache_addhst.
13236 (readdhstbyname): Return value returned by addhstbyX.
13237 (readdhstbyaddr): Likewise.
13238 (readdhstbynamev6): Likewise.
13239 (readdhstbyaddrv6): Likewise.
13240 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13241 (readdinitgroups): Return value returned by addinitgroupsX.
13242 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13243 (prune_cache): Keep track of timeout value of re-added entries.
13244 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13245 * nscd/nscd.h: Adjust prototypes of readd* functions.
13247 2011-02-04 Roland McGrath <roland@redhat.com>
13249 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13250 (nis_stats): Likewise.
13251 * nis/nis_modify.c (nis_modify): Likewise.
13252 * nis/nis_remove.c (nis_remove): Likewise.
13253 * nis/nis_add.c (nis_add): Likewise.
13255 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13257 * posix/fnmatch_loop.c: Add some consts.
13259 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13261 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13264 * config.make.in (config-cflags-novzeroupper): Define.
13265 * configure.in: Substitute libc_cv_cc_novzeroupper.
13266 * elf/Makefile (AVX-CFLAGS): Define.
13267 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13268 (CFLAGS-tst-auditmod4a.c): Likewise.
13269 (CFLAGS-tst-auditmod4b.c): Likewise.
13270 (CFLAGS-tst-auditmod6b.c): Likewise.
13271 (CFLAGS-tst-auditmod6c.c): Likewise.
13272 (CFLAGS-tst-auditmod7b.c): Likewise.
13273 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13275 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13277 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13278 function to the callback.
13279 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13281 2011-02-02 Andreas Schwab <schwab@redhat.com>
13283 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13286 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13289 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13291 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13293 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13296 * elf/Makefile: Add rules to build and run new test.
13297 * elf/tst-initorder.c: New file.
13298 * elf/tst-initorder.exp: New file.
13299 * elf/tst-initordera1.c: New file.
13300 * elf/tst-initordera2.c: New file.
13301 * elf/tst-initordera3.c: New file.
13302 * elf/tst-initordera4.c: New file.
13303 * elf/tst-initorderb1.c: New file.
13304 * elf/tst-initorderb2.c: New file.
13305 * elf/tst-order-a1.c: New file.
13306 * elf/tst-order-a2.c: New file.
13307 * elf/tst-order-a3.c: New file.
13308 * elf/tst-order-a4.c: New file.
13309 * elf/tst-order-b1.c: New file.
13310 * elf/tst-order-b2.c: New file.
13311 * elf/tst-order-main.c: New file.
13312 New test case by George Gensure <werkt0@gmail.com>.
13314 2010-10-01 Andreas Schwab <schwab@redhat.com>
13316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13317 decoding ACE if AI_CANONIDN.
13319 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13321 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13323 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13325 * version.h (RELEASE): Bump for 2.13 release.
13326 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13328 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13330 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13332 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13333 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13334 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13335 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13336 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13337 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13339 * posix/getconf.c: Update copyright year.
13340 * catgets/gencat.c: Likewise.
13341 * csu/version.c: Likewise.
13342 * debug/catchsegv.sh: Likewise.
13343 * debug/xtrace.sh: Likewise.
13344 * elf/ldconfig.c: Likewise.
13345 * elf/ldd.bash.in: Likewise.
13346 * elf/sprof.c (print_version): Likewise.
13347 * iconv/iconv_prog.c: Likewise.
13348 * iconv/iconvconfig.c: Likewise.
13349 * locale/programs/locale.c: Likewise.
13350 * locale/programs/localedef.c: Likewise.
13351 * malloc/memusage.sh: Likewise.
13352 * malloc/mtrace.pl: Likewise.
13353 * nscd/nscd.c (print_version): Likewise.
13354 * nss/getent.c: Likewise.
13356 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13357 PF_CAIF, and PF_ALG.
13358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13360 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13362 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13363 (modules-names): Use them.
13364 (ifunc-test-modules, ifunc-pie-tests): Define.
13365 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13366 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13367 (test-extras): Likewise.
13368 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13369 $(compile-command.c).
13370 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13371 (all-built-dso): Define.
13372 (check-textrel.out, check-execstack.out): Depend on it.
13374 * configure.in: Don't override --enable-multi-arch.
13376 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13379 * nscd/hstcache.c (tryagain): Define.
13380 (cache_addhst): Return tryagain not notfound for temporary errors.
13381 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13384 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13387 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13388 to make the syscall.
13389 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13392 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13393 and fall back to matching as normal character if the string ends before
13394 the matching ']' is found. This is what POSIX requires.
13395 * posix/testfnm.c: Adjust test result.
13396 * posix/globtest.sh: Adjust test result. Add new test.
13397 * posix/tst-fnmatch.input: Likewise.
13398 * posix/tst-fnmatch2.c: Add new test.
13400 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13402 * elf/Makefile (check-execstack): Revert last change. Depend on
13404 (check-execstack.h): New target.
13405 (generated): Add check-execstack.h.
13406 * elf/check-execstack.c: Include "check-execstack.h".
13407 (main): Revert last change.
13408 (handle_file): Return zero if GNU_STACK is absent and
13409 DEFAULT_STACK_PERMS doesn't include PF_X.
13411 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13413 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13414 in child fails because the descriptor is already closed.
13415 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13416 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13417 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13420 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13424 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13425 temporary buffer used to handle multi lookups locally.
13426 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13428 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13430 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13433 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13435 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13436 alignment for SSE2.
13438 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13441 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13442 characters. When rounding increased number of integer digits recompute
13444 * stdio-common/tst-grouping.c: New file.
13445 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13447 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13449 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13450 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13452 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13454 * bits/select.h: Likewise.
13456 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13458 * po/ja.po: Update from translation team.
13460 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13463 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13464 implementation just like for lxstat, fxstatat, et al.
13466 2010-12-27 Jim Meyering <meyering@redhat.com>
13469 * posix/regexec.c (build_trtable): Return failure indication upon
13470 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13472 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13475 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13476 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13477 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13478 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13481 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13484 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13485 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13487 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13489 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13490 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13491 script has SORT_BY_INIT_PRIORITY.
13492 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13493 NO_CTORS_DTORS_SECTIONS is defined.
13494 * elf/soinit.c: Likewise.
13495 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13496 NO_CTORS_DTORS_SECTIONS is defined.
13497 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13498 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13499 * sysdeps/sh/init-first.c: Likewise.
13500 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13502 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13504 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13505 always use the slow path.
13507 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13509 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13510 similar rule which adds the sysdep directories to the header search in
13511 order to pick up the correct platform stackinfo.h.
13512 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13513 perform test if it is, otherwise return successfully without testing.
13514 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13515 DEFAULT_STACK_PERMS define in stackinfo.h.
13516 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13517 defined in stackinfo.h.
13518 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13519 DEFAULT_STACK_PERMS defined in stackinfo.h.
13520 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13521 * sysdeps/ia64/stackinfo.h: Likewise.
13522 * sysdeps/s390/stackinfo.h: Likewise.
13523 * sysdeps/sh/stackinfo.h: Likewise.
13524 * sysdeps/sparc/stackinfo.h: Likewise.
13525 * sysdeps/x86_64/stackinfo.h: Likewise.
13526 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13527 PF_X for powerpc64. Retain PF_X for powerpc32.
13529 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13531 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13533 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13534 GETDENTS_64BIT_ALIGNED.
13536 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13538 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13540 2010-12-10 Andreas Schwab <schwab@redhat.com>
13542 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13545 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13546 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13548 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13549 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13551 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13554 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13557 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13559 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13561 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13563 * po/it.po: Update from translation team.
13565 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13567 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13570 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13572 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13574 2010-11-24 Andreas Schwab <schwab@redhat.com>
13576 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13578 (gaih_getanswer_slice): Likewise.
13580 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13584 2010-05-31 Petr Baudis <pasky@suse.cz>
13587 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13588 silently even in the chroot mode.
13590 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13592 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13593 last patch a bit. Pretty printing
13595 2010-05-31 Petr Baudis <pasky@suse.cz>
13598 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13599 initialization of skip_initgroups_dyn.
13601 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13603 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13604 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13606 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13608 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13610 2010-11-11 Andreas Schwab <schwab@redhat.com>
13612 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13613 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13614 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13615 ($(objpfx)tst-fnmatch-mem): New rule.
13616 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13617 * posix/tst-fnmatch.c (main): Call mtrace.
13619 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13622 Support Intel processor model 6 and model 0x2c.
13624 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13626 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13629 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13632 * string/test-strncasecmp.c (check_result): New function.
13633 (do_one_test): Use it.
13634 (check1): New function.
13635 (test_main): Use it.
13636 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13637 Support strcasecmp and strncasecmp.
13639 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13642 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13643 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13645 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13647 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13651 * sysdeps/x86_64/multiarch/bzero.S: New file.
13652 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13653 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13654 * sysdeps/x86_64/multiarch/memset.S: New file.
13655 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13657 Set bit_Prefer_SSE_for_memop for Intel processors.
13658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13660 (index_Prefer_SSE_for_memop): Define.
13661 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13663 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13665 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13666 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13668 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13671 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13672 (__x86_64_raw_data_cache_size_half): Likewise.
13673 (__x86_64_raw_shared_cache_size): Likewise.
13674 (__x86_64_raw_shared_cache_size_half): Likewise.
13676 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13677 (__x86_64_raw_data_cache_size_half): Likewise.
13678 (__x86_64_raw_shared_cache_size): Likewise.
13679 (__x86_64_raw_shared_cache_size_half): Likewise.
13680 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13681 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13682 and __x86_64_raw_shared_cache_size_half. Round
13683 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13684 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13685 to multiple of 256 bytes.
13687 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13690 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13691 of inacessible symlinks. Verify result of symlink before returning it.
13692 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13693 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13695 2010-10-28 Erich Ritz <erichritz@gmail.com>
13697 * math/math.h (isinf): Fix typo in comment.
13699 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13701 * po/da.po: Update from translation team.
13703 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13705 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13706 is added to the list.
13708 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13709 Ulrich Drepper <drepper@gmail.com>
13711 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13712 the global list here. Move code to...
13713 (_dl_add_to_namespace_list): ...here. New function.
13714 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13715 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13716 * elf/dl-load.c (lose): Don't remove the element from the list.
13717 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13718 (_dl_map_object): Likewise.
13720 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13723 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13724 into all bytes of SSE register.
13725 Patch by Richard Li <richardpku@gmail.com>.
13727 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13730 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13733 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13735 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13736 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13737 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13738 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13743 2010-10-22 Andreas Schwab <schwab@redhat.com>
13745 * include/dlfcn.h (__RTLD_SECURE): Define.
13746 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13747 mode & __RTLD_SECURE instead.
13748 (open_path): Rename preloaded parameter to secure.
13749 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13750 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13751 * elf/dl-deps.c (openaux): Likewise.
13752 * elf/rtld.c (struct map_args): Remove is_preloaded.
13753 (map_doit): Don't use it.
13754 (dl_main): Likewise.
13755 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13756 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13758 2010-09-09 Andreas Schwab <schwab@redhat.com>
13760 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13761 (sysd-rules-targets): Remove duplicates.
13762 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13763 rtld-%.$o dependency.
13765 2010-10-18 Andreas Schwab <schwab@redhat.com>
13767 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13768 _dl_map_object do it.
13770 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13772 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13773 fast fma builtins, define the macros in the C99 standard.
13774 (FP_FAST_FMAF): Likewise.
13775 (FP_FAST_FMAL): Likewise.
13776 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13778 * bits/mathdef.h: Update copyright year.
13779 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13781 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13783 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13784 builtins, define the macros in the C99 standard.
13785 (FP_FAST_FMAF): Likewise.
13786 (FP_FAST_FMAL): Likewise.
13787 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13789 (FP_FAST_FMAF): Likewise.
13791 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13794 * math/libm-test.inc (fma_test): Some new testcases.
13795 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13796 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13797 y and infinite z. Do multiplication by C already in long double.
13798 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13800 y and infinite z. Do bitwise or of inexact bit into u.d.
13801 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13802 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13803 * sysdeps/i386/fpu/s_fma.S: Removed.
13804 * sysdeps/i386/fpu/s_fmal.S: Removed.
13806 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13809 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13811 computation is not scheduled after fetestexcept. Fix value
13812 of minimum denormal long double.
13814 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13817 * math/libm-test.inc (fma_test): Add some more tests.
13818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13821 2010-10-15 Andreas Schwab <schwab@redhat.com>
13823 * scripts/data/localplt-s390-linux-gnu.data: New file.
13824 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13826 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13829 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13830 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13832 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13834 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13836 if one of x and y is very large and the other is subnormal.
13837 * sysdeps/s390/fpu/s_fmaf.c: New file.
13838 * sysdeps/s390/fpu/s_fma.c: New file.
13839 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13840 * sysdeps/powerpc/fpu/s_fma.S: New file.
13841 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13842 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13843 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13845 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13848 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13850 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13851 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13852 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13853 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13854 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13855 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13856 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13858 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13861 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13862 * posix/bug-regex31.input: Add test case.
13864 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13866 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13867 * posix/bug-regex31.input: New file.
13870 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13871 (parse_sub_exp): Fix last change, use postorder.
13873 * posix/bug-regex31.c: New file.
13874 * posix/Makefile: Add rules to build and run bug-regex31.
13876 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13879 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13882 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13883 to have entries in sys_siglist.
13886 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13889 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13892 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13893 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13894 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13895 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13896 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13897 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13898 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13899 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13900 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13901 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13902 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13903 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13904 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13905 * math/ftestexcept.c (fetestexcept): Likewise.
13906 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13907 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13908 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13909 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13910 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13911 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13912 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13914 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13917 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13920 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13922 * string/bug-strstr1.c: New file.
13923 * string/Makefile: Add rules to build and run bug-strstr1.
13925 2010-10-05 Eric Blake <eblake@redhat.com>
13928 * string/str-two-way.h (two_way_long_needle): Always clear memory
13929 when skipping input due to the shift table.
13931 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13934 * malloc/mcheck.c: Handle large requests.
13937 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13938 for strncmp and strncasecmp.
13939 * string/stratcliff.c: Add tests for strcmp and strncmp.
13940 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13942 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13944 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13947 2010-09-30 Andreas Jaeger <aj@suse.de>
13949 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13950 (CGROUP_SUPER_MAGIC): Define.
13951 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13952 Handle btrfs and cgroup file systems.
13953 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13956 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13958 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13959 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13961 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13964 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13965 trying to locate the ELF header.
13967 2010-09-27 Andreas Schwab <schwab@redhat.com>
13970 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13971 Mask out sign-bit copies when constructing f_fsid.
13973 2010-09-24 Petr Baudis <pasky@suse.cz>
13975 * debug/stack_chk_fail_local.c: Add missing licence exception.
13976 * debug/warning-nop.c: Likewise.
13978 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13980 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13981 implementing getdents64 using getdents syscall, set d_type if
13982 __ASSUME_GETDENTS32_D_TYPE.
13984 2010-09-16 Andreas Schwab <schwab@redhat.com>
13986 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13987 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13989 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13992 * posix/unistd.h: Undo change of feature selection for ftruncate from
13995 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13997 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14000 2010-09-20 Andreas Schwab <schwab@redhat.com>
14002 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14004 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14006 2010-09-14 Andreas Schwab <schwab@redhat.com>
14008 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14009 variables after CHECK_SP call.
14010 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14012 2010-09-13 Andreas Schwab <schwab@redhat.com>
14013 Ulrich Drepper <drepper@redhat.com>
14015 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14016 re-relocationg ld.so.
14017 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14018 _dl_init_paths call.
14019 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14022 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14024 * resolv/res_init.c (__res_vinit): Count the default server we added.
14026 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14027 Ulrich Drepper <drepper@redhat.com>
14030 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14031 (____longjmp_chk): Use %ebx for saving value across system call.
14034 2010-09-06 Andreas Schwab <schwab@redhat.com>
14036 * manual/Makefile: Don't mix pattern rules with normal rules.
14038 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14040 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14042 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14043 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14044 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14045 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14046 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14049 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14052 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14053 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14055 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14057 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14058 * sysdeps/x86_64/addmul_1.S: Likewise.
14059 * sysdeps/x86_64/lshift.S: Likewise.
14060 * sysdeps/x86_64/mul_1.S: Likewise.
14061 * sysdeps/x86_64/rshift.S: Likewise.
14062 * sysdeps/x86_64/sub_n.S: Likewise.
14063 * sysdeps/x86_64/submul_1.S: Likewise.
14065 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14067 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14068 Define __sched_param instead of SCHED_* and sched_param when
14069 <bits/sched.h> is included with __need_schedparam defined.
14070 * bits/sched.h [__need_schedparam]
14071 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14072 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14073 (__defined_schedparam): Define to 1.
14074 (__sched_param): New structure, identical to sched_param.
14075 (__need_schedparam): Undefine.
14077 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14079 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14080 (epoll_create1): Declare.
14082 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14084 2010-08-31 Andreas Schwab <schwab@redhat.com>
14087 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14088 shifting retval into place.
14090 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14092 * nis/rpcsvc/nis.h: Update copyright notice.
14093 * nis/rpcsvc/nis.x: Likewise.
14094 * nis/rpcsvc/nis_callback.h: Likewise.
14095 * nis/rpcsvc/nis_callback.x: Likewise.
14096 * nis/rpcsvc/nis_object.x: Likewise.
14097 * nis/rpcsvc/nis_tags.h: Likewise.
14098 * nis/rpcsvc/yp.h: Likewise.
14099 * nis/rpcsvc/yp.x: Likewise.
14100 * nis/rpcsvc/ypupd.h: Likewise.
14101 * nis/yp_xdr.c: Likewise.
14102 * nis/ypupdate_xdr.c: Likewise.
14104 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14105 mainly the body of pmap_getport. Add parameters to specify timeouts.
14106 (pmap_getport): Use __libc_rpc_getport.
14107 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14108 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14109 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14111 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14116 2010-08-27 Roland McGrath <roland@redhat.com>
14118 * sysdeps/i386/i686/multiarch/Makefile
14119 (CFLAGS-varshift.c): New variable.
14121 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14123 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14124 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14126 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14128 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14130 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14132 * sysdeps/x86_64/strlen.S: Unroll the loop.
14133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14134 strlen-sse2 strlen-sse2-bsf.
14135 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14136 __strlen_no_bsf if bit_Slow_BSF is set.
14137 (__strlen_sse42): Removed.
14138 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14139 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14141 2010-08-25 Roland McGrath <roland@redhat.com>
14143 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14144 * sysdeps/x86_64/multiarch/varshift.c: New file.
14145 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14146 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14147 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14148 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14150 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14153 strlen-sse2 strlen-sse2-bsf.
14154 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14155 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14156 (__strlen_sse2): Removed.
14157 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14158 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14160 bit_Slow_BSF for Atom.
14161 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14162 (index_Slow_BSF): Define.
14163 (HAS_SLOW_BSF): Define.
14165 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14168 * resolv/res_init.c (__res_vinit): When no server address at all
14169 is given default to loopback.
14171 2010-08-24 Roland McGrath <roland@redhat.com>
14173 * configure.in: Remove config-name.h generation.
14174 * configure: Regenerated.
14175 * config-name.in: File removed.
14176 * scripts/config-uname.sh: New file.
14177 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14178 ($(objdir)config-name.h): New target.
14180 * sunrpc/rpc_parse.h: Avoid nested comment.
14182 2010-08-24 Richard Henderson <rth@redhat.com>
14183 Ulrich Drepper <drepper@redhat.com>
14184 H.J. Lu <hongjiu.lu@intel.com>
14186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14187 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14188 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14189 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14190 _mm_alignr_epi8 with _mm_loadu_si128.
14191 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14192 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14193 (__m128i_shift_right): Removed.
14194 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14195 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14196 * sysdeps/x86_64/multiarch/varshift.h: New file.
14197 * sysdeps/x86_64/multiarch/varshift.S: New file.
14199 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14201 * configure.in: Move assembler checks to before sysdep dir checking.
14203 2010-08-20 Petr Baudis <pasky@suse.cz>
14205 * LICENSES: Sync the sunrpc license.
14207 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14209 * sunrpc/auth_des.c: Update copyright notice once again.
14210 * sunrpc/auth_none.c: Likewise.
14211 * sunrpc/auth_unix.c: Likewise.
14212 * sunrpc/authdes_prot.c: Likewise.
14213 * sunrpc/authuxprot.c: Likewise.
14214 * sunrpc/bindrsvprt.c: Likewise.
14215 * sunrpc/clnt_gen.c: Likewise.
14216 * sunrpc/clnt_perr.c: Likewise.
14217 * sunrpc/clnt_raw.c: Likewise.
14218 * sunrpc/clnt_simp.c: Likewise.
14219 * sunrpc/clnt_tcp.c: Likewise.
14220 * sunrpc/clnt_udp.c: Likewise.
14221 * sunrpc/clnt_unix.c: Likewise.
14222 * sunrpc/des_crypt.c: Likewise.
14223 * sunrpc/des_soft.c: Likewise.
14224 * sunrpc/get_myaddr.c: Likewise.
14225 * sunrpc/getrpcport.c: Likewise.
14226 * sunrpc/key_call.c: Likewise.
14227 * sunrpc/key_prot.c: Likewise.
14228 * sunrpc/openchild.c: Likewise.
14229 * sunrpc/pm_getmaps.c: Likewise.
14230 * sunrpc/pm_getport.c: Likewise.
14231 * sunrpc/pmap_clnt.c: Likewise.
14232 * sunrpc/pmap_prot.c: Likewise.
14233 * sunrpc/pmap_prot2.c: Likewise.
14234 * sunrpc/pmap_rmt.c: Likewise.
14235 * sunrpc/rpc/auth.h: Likewise.
14236 * sunrpc/rpc/auth_unix.h: Likewise.
14237 * sunrpc/rpc/clnt.h: Likewise.
14238 * sunrpc/rpc/des_crypt.h: Likewise.
14239 * sunrpc/rpc/key_prot.h: Likewise.
14240 * sunrpc/rpc/netdb.h: Likewise.
14241 * sunrpc/rpc/pmap_clnt.h: Likewise.
14242 * sunrpc/rpc/pmap_prot.h: Likewise.
14243 * sunrpc/rpc/pmap_rmt.h: Likewise.
14244 * sunrpc/rpc/rpc.h: Likewise.
14245 * sunrpc/rpc/rpc_des.h: Likewise.
14246 * sunrpc/rpc/rpc_msg.h: Likewise.
14247 * sunrpc/rpc/svc.h: Likewise.
14248 * sunrpc/rpc/svc_auth.h: Likewise.
14249 * sunrpc/rpc/types.h: Likewise.
14250 * sunrpc/rpc/xdr.h: Likewise.
14251 * sunrpc/rpc_clntout.c: Likewise.
14252 * sunrpc/rpc_cmsg.c: Likewise.
14253 * sunrpc/rpc_common.c: Likewise.
14254 * sunrpc/rpc_cout.c: Likewise.
14255 * sunrpc/rpc_dtable.c: Likewise.
14256 * sunrpc/rpc_hout.c: Likewise.
14257 * sunrpc/rpc_main.c: Likewise.
14258 * sunrpc/rpc_parse.c: Likewise.
14259 * sunrpc/rpc_parse.h: Likewise.
14260 * sunrpc/rpc_prot.c: Likewise.
14261 * sunrpc/rpc_sample.c: Likewise.
14262 * sunrpc/rpc_scan.c: Likewise.
14263 * sunrpc/rpc_scan.h: Likewise.
14264 * sunrpc/rpc_svcout.c: Likewise.
14265 * sunrpc/rpc_tblout.c: Likewise.
14266 * sunrpc/rpc_util.c: Likewise.
14267 * sunrpc/rpc_util.h: Likewise.
14268 * sunrpc/rpcinfo.c: Likewise.
14269 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14270 * sunrpc/rpcsvc/key_prot.x: Likewise.
14271 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14272 * sunrpc/rpcsvc/mount.x: Likewise.
14273 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14274 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14275 * sunrpc/rpcsvc/rex.x: Likewise.
14276 * sunrpc/rpcsvc/rstat.x: Likewise.
14277 * sunrpc/rpcsvc/rusers.x: Likewise.
14278 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14279 * sunrpc/rpcsvc/spray.x: Likewise.
14280 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14281 * sunrpc/rtime.c: Likewise.
14282 * sunrpc/svc.c: Likewise.
14283 * sunrpc/svc_auth.c: Likewise.
14284 * sunrpc/svc_authux.c: Likewise.
14285 * sunrpc/svc_raw.c: Likewise.
14286 * sunrpc/svc_run.c: Likewise.
14287 * sunrpc/svc_simple.c: Likewise.
14288 * sunrpc/svc_tcp.c: Likewise.
14289 * sunrpc/svc_udp.c: Likewise.
14290 * sunrpc/svc_unix.c: Likewise.
14291 * sunrpc/svcauth_des.c: Likewise.
14292 * sunrpc/xcrypt.c: Likewise.
14293 * sunrpc/xdr.c: Likewise.
14294 * sunrpc/xdr_array.c: Likewise.
14295 * sunrpc/xdr_float.c: Likewise.
14296 * sunrpc/xdr_mem.c: Likewise.
14297 * sunrpc/xdr_rec.c: Likewise.
14298 * sunrpc/xdr_ref.c: Likewise.
14299 * sunrpc/xdr_sizeof.c: Likewise.
14300 * sunrpc/xdr_stdio.c: Likewise.
14302 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14305 2010-08-19 Andreas Schwab <schwab@redhat.com>
14307 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14309 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14311 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14312 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14313 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14314 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14315 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14316 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14317 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14318 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14319 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14320 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14321 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14322 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14323 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14324 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14326 2010-07-26 Anton Blanchard <anton@samba.org>
14328 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14329 * malloc/arena.c (heap_trim): Likewise.
14331 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14333 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14335 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14336 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14338 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14340 * sysdeps/i386/elf/Makefile: New file.
14342 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14344 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14345 from fanotify_init.
14346 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14347 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14349 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14351 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14353 * sysdeps/multiarch/strcmp.S: Likewise.
14355 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14357 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14358 strncase_l-nonascii.
14359 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14360 Add strncase_l-ssse3.
14361 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14362 * sysdeps/x86_64/strcmp.S: Likewise.
14363 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14364 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14365 * sysdeps/x86_64/strncase.S: New file.
14366 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14367 * sysdeps/x86_64/strncase_l.S: New file.
14368 * string/Makefile (strop-tests): Add strncasecmp.
14369 * string/test-strncasecmp.c: New file.
14371 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14374 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14375 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14377 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14379 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14381 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14383 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14384 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14385 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14387 2010-05-01 Alan Modra <amodra@gmail.com>
14389 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14390 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14391 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14392 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14393 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14394 tidying. Don't tail-call __sigjmp_save for static lib.
14395 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14397 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14398 (CALL_MCOUNT): Add eh info, and nop after bl.
14399 (TAIL_CALL_SYSCALL_ERROR): New macro.
14400 (PSEUDO_RET): Use it.
14401 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14402 Correct save location of integer regs and cr.
14403 (_dl_profile_resolve): Correct cr save location. Delete nops
14404 after bl when SHARED. Reduce cfi size a little by better
14405 placement of cfi directives.
14406 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14407 make a stack frame. Instead use parm save area as a temp.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14409 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14411 Don't make a stack frame for parent, use parm save area.
14412 Increase child stack frame to 112 bytes. Don't save unused reg,
14413 and adjust reg usage. Set up cfi on error recovery and
14414 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14416 (__makecontext): Add dummy nop after jump to exit.
14417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14418 Use correct parm save area and cr save, reduce stack frame.
14419 Correct cfi for possible PSEUDO_RET frame setup.
14420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14421 Branch to local label emitted by PSEUDO_RET rather than
14424 2010-08-12 Andreas Schwab <schwab@redhat.com>
14427 * locale/programs/locale.c (print_assignment): New function.
14428 (show_locale_vars): Use it.
14430 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14432 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14434 (struct statfs64): Likewise.
14435 (_STATFS_F_FLAGS): Define.
14436 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14437 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14438 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14439 (ST_VALID): Define locally.
14440 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14441 __statvfs_getflags, use the provided value.
14442 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14443 __ASSUME_STATFS_F_FLAGS.
14445 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14447 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14448 Add sys/fanotify.h.
14449 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14450 fanotify_mask for GLIBC_2.13.
14451 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14452 fanotify_init and fanotify_mark.
14453 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14454 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14456 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14458 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14459 prlimit64 for GLIBC_2.13.
14460 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14462 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14465 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14466 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14467 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14470 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14473 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14474 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14476 * nss/Makefile: Add rules to build and run tst-nss-test1.
14477 * shlib-versions: Add entry for libnss_test1.
14478 * nss/nss_test1.c: New file.
14479 * nss/tst-nss-test1.c: New file.
14481 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14482 (__nss_configure_lookup): Set appropriate entry in
14483 __nss_configure_lookup to true.
14484 * nss/nsswitch.h: Define enum with indeces of databases in
14485 databases and __nss_database_custom arrays. Declare
14486 __nss_database_custom.
14487 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14488 to avoid using nscd when custom rules are installed.
14489 * nss/getXXbyYY_r.c: Likewise.
14490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14492 * nss/nss_files/files-parse.c: Whitespace fixes.
14494 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14497 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14498 * posix/fnmatch_loop.c: Likewise.
14500 2010-07-17 Andi Kleen <ak@linux.intel.com>
14502 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14503 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14504 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14505 * Versions.def [GLIBC_2.13]: Add.
14507 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14509 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14510 Also fail if tpwd after pwuid call is NULL.
14512 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14514 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14515 when converting to ms.
14517 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14519 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14520 EOPNOTSUPP errors with ENOTTY.
14521 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14522 EOPNOTSUPP errors with ENOTTY.
14524 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14526 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14527 Add strcasecmp_l-ssse3.
14528 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14530 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14531 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14532 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14534 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14536 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14538 * string/Makefile (strop-tests): Add strcasecmp.
14539 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14540 strcasecmp_l-nonascii.
14541 (gen-as-const-headers): Add locale-defines.sym.
14542 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14543 * sysdeps/x86_64/strcasecmp.S: New file.
14544 * sysdeps/x86_64/strcasecmp_l.S: New file.
14545 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14546 * sysdeps/x86_64/locale-defines.sym: New file.
14547 * string/test-strcasecmp.c: New file.
14549 * string/test-strcasestr.c: Test both ends of the range of characters.
14550 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14552 2010-07-29 Roland McGrath <roland@redhat.com>
14555 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14557 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14559 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14562 2010-07-27 Andreas Schwab <schwab@redhat.com>
14564 * manual/memory.texi (Malloc Tunable Parameters): Document
14567 2010-07-26 Roland McGrath <roland@redhat.com>
14570 * configure.in (-fgnu89-inline check): Set and substitute
14571 gnu89_inline, not libc_cv_gnu89_inline.
14572 * configure: Regenerated.
14573 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14575 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14577 * string/test-strnlen.c: New file.
14578 * string/Makefile (strop-tests): Add strnlen.
14579 * string/tester.c (test_strnlen): Add a few more test cases.
14580 * string/tst-strlen.c: Better error reporting.
14582 * sysdeps/x86_64/strnlen.S: New file.
14584 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14586 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14587 lower-latency instructions.
14589 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14591 * string/test-strcasestr.c: New file.
14592 * string/test-strstr.c: New file.
14593 * string/Makefile (strop-tests): Add strstr and strcasestr.
14594 * string/str-two-way.h: Don't undefine MAX.
14595 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14597 2010-07-21 Andreas Schwab <schwab@redhat.com>
14599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14600 strcasestr-nonascii.
14601 (CFLAGS-strcasestr-nonascii.c): Define.
14602 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14603 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14604 Remove unused attribute.
14606 2010-07-20 Roland McGrath <roland@redhat.com>
14608 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14609 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14610 ld.so.cache was broken. With it, there is no way to disable dsocaps
14611 like LD_HWCAP_MASK can disable hwcaps.
14613 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14615 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14617 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14619 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14620 call in strcasestr.
14621 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14622 __strcasestr_sse42_nonascii.
14623 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14624 strcasestr-nonascii.c.
14625 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14627 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14629 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14630 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14631 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14632 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14634 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14636 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14639 2010-07-06 Andreas Schwab <schwab@redhat.com>
14642 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14645 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14647 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14648 _PC_PIPE_BUF using F_GETPIPE_SZ.
14650 2010-07-05 Roland McGrath <roland@redhat.com>
14652 * manual/arith.texi (Rounding Functions): Fix rint description
14653 implicit in round description.
14655 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14657 * elf/Makefile: Fix linking for a few tests to make recent linker
14660 2010-06-30 Andreas Schwab <schwab@redhat.com>
14662 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14663 $(common-objpfx)libc_nonshared.a.
14665 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14667 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14668 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14669 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14670 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14671 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14672 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14673 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14674 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14689 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14690 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14691 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14692 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14693 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14694 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14695 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14696 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14697 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14698 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14699 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14700 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14716 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14718 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14719 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14720 * string/memmove.c (memmove): Renamed to ...
14721 (MEMMOVE): ...this. Default to memmove.
14722 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14723 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14726 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14727 mempcpy-ssse3-back memmove-ssse3-back.
14728 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14729 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14730 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14731 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14732 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14733 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14734 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14735 * sysdeps/x86_64/multiarch/memmove.c: New file.
14736 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14737 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14738 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14739 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14740 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14741 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14743 (index_Fast_Copy_Backward): Define.
14744 (HAS_ARCH_FEATURE): Define.
14745 (HAS_FAST_REP_STRING): Define.
14746 (HAS_FAST_COPY_BACKWARD): Define.
14748 2010-06-21 Andreas Schwab <schwab@redhat.com>
14750 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14751 Restore proper fallback handling.
14753 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14756 * posix/group_member.c (__group_member): Correct checking loop.
14758 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14759 OOM in getpwuid_r correctly. Return error number when the caller
14760 should return, otherwise -1.
14761 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14762 call returning > 0 value.
14763 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14765 2010-06-07 Andreas Schwab <schwab@redhat.com>
14767 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14768 libc_nonshared.a from targets in modules-names.
14770 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14772 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14775 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14777 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14778 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14780 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14782 2010-06-02 Andreas Schwab <schwab@redhat.com>
14784 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14786 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14788 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14790 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14791 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14794 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14795 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14797 2010-06-14 Roland McGrath <roland@redhat.com>
14799 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14801 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14803 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14804 __REDIRECT followed by __THROW.
14805 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14806 * posix/getopt.h (getopt): Likewise.
14808 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14810 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14811 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14812 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14814 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14815 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14817 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14819 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14821 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14825 Properly check family and model.
14827 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14829 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14831 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14833 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14835 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14837 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14840 2010-05-19 Andreas Schwab <schwab@redhat.com>
14842 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14845 2010-05-21 Andreas Schwab <schwab@redhat.com>
14847 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14848 and internal_recvmmsg.
14849 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14850 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14851 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14852 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14854 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14855 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14856 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14858 2010-05-20 Andreas Schwab <schwab@redhat.com>
14860 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14862 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14864 POWER7 optimizations.
14865 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14866 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14868 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14870 * version.h: Update for 2.13 development version.
14872 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14874 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14875 exceptions. Return 0.
14877 2010-05-07 Roland McGrath <roland@redhat.com>
14879 * elf/ldconfig.c (main): Add a const.
14881 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14883 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14884 (args_options): Add no-idn option.
14885 (ahosts_keys_int): Add idn_flags to ai_flags.
14886 (parse_option): Handle 'i' option to clear idn_flags.
14888 * malloc/malloc.c (_int_free): Possible race in the most recently
14889 added check. Only act on the data if no current modification
14892 See ChangeLog.17 for earlier changes.