1 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3 mktime: merge <sys/types.h> change from gnulib
4 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5 since <time.t> is now guaranteed to define time_t.
7 mktime: merge HAVE_CONFIG_H change from gnulib
8 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17 (struct rusage): Use anonymous union to pad each field to
20 2012-05-21 David S. Miller <davem@davemloft.net>
22 * Makefules (o-iterator): Remove .s cases.
23 (compile-command.s): Delete.
25 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29 * configure.in (libc_cv_predef_stack_protector): Only consider
30 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31 * configure: Regenerated.
33 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36 New macro. Use R*LP on int and pointer.
37 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43 [__WORDSIZE_TIME64_COMPAT32] instead of
44 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45 (struct utmp): Likewise.
46 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49 (__WORDSIZE_TIME64_COMPAT32): This.
50 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
52 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
53 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
54 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55 (__WORDSIZE_TIME64_COMPAT32): New macro.
57 2012-05-21 Andreas Jaeger <aj@suse.de>
59 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60 only if [SHARED]. Add prototype for __wcschr_ia32.
62 2012-05-21 Roland McGrath <roland@hack.frob.com>
64 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65 of %rbp unmolested in the jmp_buf while mangling the low bits.
66 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
67 unmolested high bits of %rbp while demangling the low bits.
68 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70 2012-05-21 Andreas Jaeger <aj@suse.de>
72 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
73 * sunrpc/svc_simple.c: Use it for registerrpc.
74 * sunrpc/xcrypt.c: Use it for passwd2des.
76 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
78 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
80 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81 Don't define if [__SYSCALL_WORDSIZE != 32].
82 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
85 2012-05-21 Bruno Haible <bruno@clisp.org>
86 Andreas Jaeger <aj@suse.de>
88 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
89 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
90 inptr and inend for must_buffer_ch.
91 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
92 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
93 * stdio-common/Makefile (tests): Remove bug15.
94 (bug15-ENV): Remove macro.
95 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
98 2012-05-19 Andreas Jaeger <aj@suse.de>
99 Roland McGrath <roland@hack.frob.com>
101 * manual/contrib.texi: Completely rewritten. It contains now an
102 alphabetical list of contributors and their contributions.
104 2012-05-21 Richard Henderson <rth@twiddle.net>
106 * misc/getauxval.c (__getauxval): Use unsigned long int.
107 * misc/sys/auxv.h: Include <sys/cdefs.h>.
108 (getauxval): Use unsigned long int.
110 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
112 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
114 2012-05-21 Roland McGrath <roland@hack.frob.com>
116 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
117 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
118 __alignof__ (long double).
120 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
124 2012-05-20 Richard Henderson <rth@twiddle.net>
126 * misc/getauxval.c: New file.
127 * misc/sys/auxv.h: New file.
128 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
129 (routines): Add getauxval.
130 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
131 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
132 * elf/dl-sysdep.c (_dl_auxv): Remove.
133 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
134 * elf/dl-support.c (_dl_auxv): New variable.
135 (_dl_aux_init): Initialize it.
136 * manual/startup.texi (Auxiliary Vector): New node.
137 * sysdeps/generic/bits/hwcap.h: New file.
138 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
139 * sysdeps/powerpc/sysdep.h: ... here. Include it.
140 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
141 * sysdeps/sparc/sysdep.h: ... here. Include it.
142 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
143 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
149 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
155 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
159 2012-05-19 David S. Miller <davem@davemloft.net>
161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
163 2012-05-19 Joseph Myers <joseph@codesourcery.com>
166 * math/s_ccosh.c: Include <float.h>
167 (__ccosh): Avoid internal overflow calculating sinh and cosh
168 values before multiplying by sin and cos values.
169 * math/s_ccoshf.c: Likewise.
170 * math/s_ccoshl.c: Likewise.
171 * math/s_csin.c: Likewise.
172 * math/s_csinf.c: Likewise.
173 * math/s_csinl.c: Likewise.
174 * math/s_csinh.c: Likewise.
175 * math/s_csinhf.c: Likewise.
176 * math/s_csinhl.c: Likewise.
177 * math/libm-test.inc (ccos_test): Add more tests.
178 (ccosh_test): Likewise.
179 (csin_test): Likewise.
180 (csinh_test): Likewise.
181 * sysdeps/i386/fpu/libm-test-ulps: Update.
182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
184 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
186 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
187 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
189 * sysdeps/x86_64/x32/_itoa.h: Add comment.
191 2012-05-19 Joseph Myers <joseph@codesourcery.com>
193 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
194 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
195 * sysdeps/powerpc/soft-fp/Versions: Likewise.
196 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
197 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
198 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
199 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
200 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
201 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
202 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
203 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
204 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
205 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
206 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
207 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
208 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
209 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
210 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
211 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
212 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
213 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
214 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
215 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
216 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
217 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
218 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
219 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
220 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
221 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
222 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
223 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
225 2012-05-18 Andreas Jaeger <aj@suse.de>
227 * csu/.gitignore: Delete.
229 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
231 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
232 (timex): Use __syscall_slong_t.
234 2012-05-18 Andreas Jaeger <aj@suse.de>
235 Carlos O'Donell <carlos_odonell@mentor.com>
237 * manual/install.texi (Configuring and compiling): Update
238 description about files modified in the source directory.
239 * INSTALL: Regenerated.
241 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
243 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
244 value. Use "or" to set return value to -1.
245 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
248 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
250 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
251 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
252 failure if the compiler has Graphite support disabled.
253 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
255 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
256 CFLAGS-memmove.c): Likewise.
257 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
260 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
262 * sysdeps/x86_64/x32/_itoa.h: New file.
264 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
265 getdents system call only if kernel and user dirents have the
266 same d_ino and d_off.
268 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
269 LLONG_MAX != LONG_MAX.
270 (_itoa_word): Use _ITOA_WORD_TYPE on value.
271 (_fitoa_word): Likewise.
273 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
275 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
276 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
277 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
279 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
280 include <bits/wordsize.h>. Check __x86_64__ instead of
282 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
283 if __x86_64__ is defined. Use anonymous union on fpstate.
285 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
288 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
290 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
291 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
292 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
293 Refer to _rtld_local_ro instead of _rtld_global_ro.
294 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
296 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
298 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
300 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
301 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
302 of _rtld_global, and rtld_progname instead of _dl_argv[0].
304 * sysdeps/powerpc/powerpc32/dl-machine.c
305 (__elf_machine_runtime_setup) [PROF]: Don't reference
308 2012-05-18 Andreas Jaeger <aj@suse.de>
310 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
311 function only available for GCCs before 3.4 since GCC 3.4
312 introduced a builtin.
322 (nearbyint): Likewise.
323 (nearbyintf): Likewise.
329 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
331 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
332 on both fields and cast pointer to __syscall_ulong_t.
334 * bits/types.h (__fsword_t): New type.
335 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
336 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
338 (__FSWORD_T_TYPE): Likewise.
339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
340 (__FSWORD_T_TYPE): Likewise.
341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
342 (__FSWORD_T_TYPE): Likewise.
343 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
344 (__FSWORD_T_TYPE): Likewise.
345 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
346 __SWORD_TYPE with __fsword_t.
347 (statfs64): Likewise.
349 2012-05-17 David S. Miller <davem@davemloft.net>
351 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
353 2012-05-17 Andreas Jaeger <aj@suse.de>
355 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
358 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
360 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
362 2012-05-17 Andreas Jaeger <aj@suse.de>
364 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
367 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
369 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
371 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
373 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
374 * sysdeps/x86_64/tst-mallocalign1.c: New file.
376 2012-05-17 Andreas Jaeger <aj@suse.de>
377 Carlos O'Donell <carlos_odonell@mentor.com>
380 * sysdeps/x86_64/multiarch/init-arch.h
381 (bit_YMM_Usable): Rename to...
382 (bit_AVX_Usable): ... this.
383 (bit_FMA4_Usable): New macro.
384 (bit_XMM_state): New macro.
385 (bit_YMM_state): New macro.
386 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
387 [__ASSEMBLER__] (index_AVX_Usable): ... this.
388 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
389 (CPUID_OSXSAVE): New macro.
390 (CPUID_AVX): New macro.
391 (CPUID_FMA4): New macro.
392 (index_YMM_Usable): Rename to...
393 (index_AVX_Usable): ... this.
394 (HAS_AVX): Use HAS_ARCH_FEATURE.
395 (HAS_FMA4): Likewise.
396 (HAS_YMM_USABLE): Remove.
397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
398 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
400 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
401 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
402 * sysdeps/x86_64/multiarch/Makefile: Likewise.
403 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
404 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
406 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
408 * math/libm-test.c: Support platforms without multiple rounding modes.
409 * math/bug-nextafter.c: Support platforms without FP exceptions.
410 * math/bug-nexttoward.c: Likewise.
411 * math/test-fenv.c: Likewise.
412 * math/test-misc.c: Likewise.
413 * stdlib/bug-getcontext.c: Likewise.
415 2012-05-17 Andreas Jaeger <aj@suse.de>
417 * manual/examples/search.c (critter_cmp): Change signature to
419 * manual/string.texi (Collation Functions): Likewise.
421 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
423 * bits/types.h: Fold copyright years.
424 * bits/typesizes.h: Likewise.
425 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
426 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
429 * time/time.h: Likewise.
431 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
434 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
435 in instead of returning them. Return void.
436 (__libc_mallinfo): Accumulate over all arenas.
437 (__malloc_stats): Adjust for change in int_mallinfo interface.
439 2012-05-16 Roland McGrath <roland@hack.frob.com>
442 * configure.in (NM): Add AC_CHECK_TOOL for it.
443 (libc_extra_cflags): New substituted variable.
444 Check for -fstack-protector being used implicitly.
445 * configure: Regenerated.
446 * config.make.in (config-extra-cflags): New variable,
447 gets @libc_extra_cflags@.
448 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
451 * configure.in: Check for _FORTIFY_SOURCE being predefined.
452 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
453 * configure: Regenerated.
454 * config.make.in (CPPUNDEFS): New substituted variable.
455 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
456 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
457 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
459 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
461 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
462 (mq_attr): Use __syscall_slong_t.
464 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
466 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
467 Check __x86_64__ instead of __WORDSIZE.
468 (_STAT_VER_LINUX): Likewise.
469 (stat): Check __x86_64__ instead of __WORDSIZE. Use
470 __syscall_ulong_t and __syscall_slong_t.
473 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
475 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
477 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
479 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
481 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
483 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
486 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
487 include <bits/wordsize.h>. Check __x86_64__ instead of
489 (greg_t): Use "__extension__ long long int" if __x86_64__ is
491 (mcontext_t): Replace "unsigned long" with "unsigned long long".
493 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
494 include <bits/wordsize.h>. Check __x86_64__ instead of
496 (user_regs_struct): Use "__extension__ unsigned long long"
497 instead of "unsigned long" if __x86_64__ is defined.
498 (user): Likewise. Pad after pointer field if __ILP32__ is
501 2012-05-16 Joseph Myers <joseph@codesourcery.com>
503 * configure.in (makeinfo): Require version 4.5 or later. Allow
505 * configure: Regenerated.
506 * manual/install.texi (texinfo): Increase version requirement to
508 * INSTALL: Regenerated.
510 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
512 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
514 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
516 * sysdeps/x86_64/x32/ffs.c: New file.
518 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
520 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
521 defined. Use __syscall_ulong_t.
522 (shminfo): Use __syscall_ulong_t.
523 (shm_info): Likewise.
525 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
528 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
530 (msgqnum_t): Use __syscall_ulong_t.
531 (msglen_t): Likewise.
532 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
535 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
536 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
538 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
540 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
541 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
543 * sysvipc/sys/msg.h (msgbuf): Replace long int with
546 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
547 include <bits/wordsize.h>. Check __x86_64__ instead of
550 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
551 "unsigned long long int" if __x86_64__ is defined.
552 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
554 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
555 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
556 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
558 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
560 (GET_PC): Cast to uintptr_t first.
561 (GET_FRAME): Likewise.
562 (GET_STACK): Likewise.
564 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
565 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
566 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
567 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
568 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
569 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
570 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
571 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
572 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
574 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
575 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
576 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
577 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
578 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
579 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
580 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
581 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
582 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
583 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
584 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
585 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
586 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
587 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
588 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
589 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
590 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
594 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
596 * Makerules (+depfiles): Also collect depfiles from .oS in
598 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
599 .oS, $(libnldbl-routines)).
601 * Makerules (native-compile-mkdep-flags): Define.
602 * sunrpc/Makefile (extra-objs): Add $(addprefix
603 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
604 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
605 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
606 calling $(make-target-directory).
608 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
610 * bits/types.h (__snseconds_t): Removed.
611 * time/time.h (struct timespec): Replace __snseconds_t with
613 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
614 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
616 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
617 (__SNSECONDS_T_TYPE): Likewise.
618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
619 (__SNSECONDS_T_TYPE): Likewise.
620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
621 (__SNSECONDS_T_TYPE): Likewise.
623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
625 * sysdeps/mach/hurd/bits/typesizes.h
626 (__SYSCALL_SLONG_TYPE): New macro.
627 (__SYSCALL_ULONG_TYPE): Likewise.
629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
631 * bits/types.h (__syscall_slong_t): New type.
632 (__syscall_ulong_t): Likewise.
634 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
635 (__SYSCALL_ULONG_TYPE): Likewise.
636 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
637 (__SYSCALL_SLONG_TYPE): Likewise.
638 (__SYSCALL_ULONG_TYPE): Likewise.
639 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
640 (__SYSCALL_SLONG_TYPE): Likewise.
641 (__SYSCALL_ULONG_TYPE): Likewise.
642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
643 (__SYSCALL_SLONG_TYPE): Likewise.
644 (__SYSCALL_ULONG_TYPE): Likewise.
646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
648 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
649 Add sigaltstack-offsets.sym.
650 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
651 <sigaltstack-offsets.h>.
652 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
654 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
655 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
657 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
659 2012-05-15 Joseph Myers <joseph@codesourcery.com>
661 * elf/stackguard-macros.h: Remove file.
662 * sysdeps/generic/stackguard-macros.h: New file.
663 * sysdeps/i386/stackguard-macros.h: Likewise.
664 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
665 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
666 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
667 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
668 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
669 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
670 * sysdeps/x86_64/stackguard-macros.h: Likewise.
671 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
672 <elf/stackguard-macros.h>.
675 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
676 __aligned__ in attribute.
677 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
678 (gregset_t): Likewise.
680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
682 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
683 * sysdeps/x86_64/64/Implies-after: Here. New file.
684 * sysdeps/x86_64/x32/Implies-after: New file.
686 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
688 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
689 and access return value for _dl_profile_fixup. Use R10_LP to
692 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
694 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
696 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
698 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
699 * sysdeps/x86_64/x32/sysdep.h: New file.
701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
703 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
704 * sysdeps/x86_64/setjmp.S: Likewise.
706 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
708 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
709 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
710 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
711 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
712 remove unused global constant.
714 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
716 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
717 include of <not-cancel.h>.
719 2012-05-15 Roland McGrath <roland@hack.frob.com>
721 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
723 2012-05-15 Jeff Law <law@redhat.com>
724 Andreas Jaeger <aj@suse.de>
727 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
729 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
730 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
731 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
732 code changing __hst_map_handle.map.
734 2012-05-15 Roland McGrath <roland@hack.frob.com>
736 * configure.in (sysnames): Look for Implies-before and Implies-after
738 * configure: Regenerated.
740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
742 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
743 8-byte data alignment with LP_SIZE alignment.
745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
747 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
750 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
752 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
756 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
757 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
758 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
760 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
764 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
765 (stackinfo_sub_sp): Likewise.
767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
769 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
774 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
779 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
784 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
788 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
789 into R11_LP and load __x86_64_shared_cache_size_half into
792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
794 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
797 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
799 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
805 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
806 powerpc32/power7/fpu/s_logb.c via #include.
807 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
808 powerpc32/power7/fpu/s_logbf.c via #include.
809 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
810 powerpc32/power7/fpu/s_logbl.c via #include.
812 2012-05-15 Joseph Myers <joseph@codesourcery.com>
814 * README.libm: Remove file.
816 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
818 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
819 count for x32. Use R*_LP and omit operand-size suffix.
821 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
823 * shlib-versions: Move x86_64-.*-linux.* entries to ...
824 * sysdeps/x86_64/64/shlib-versions: Here. New file.
825 * sysdeps/x86_64/x32/shlib-versions: New file.
827 2012-05-14 Roland McGrath <roland@hack.frob.com>
829 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
830 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
831 Use _dl_fatal_printf instead.
833 2012-05-14 Joseph Myers <joseph@codesourcery.com>
835 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
836 set if not set by the user. Do not allow for being unset.
837 * sysdeps/unix/sysv/linux/configure: Regenerated.
839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
841 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
842 the `q' suffix from lea and replace .quad with ASM_ADDR.
844 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
847 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
849 (PTR_DEMANGLE): Likewise.
851 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
853 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
855 (ASM_ADDR): Likewise.
873 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
875 * sysdeps/x86_64/x32/dl-machine.h: New file.
877 2012-05-14 Andreas Jaeger <aj@suse.de>
879 * manual/Makefile (subdir): Remove export of subdir.
880 (all): Remove target.
881 (.PHONY): Remove all from list.
882 (mkinstalldirs): Remove.
883 (.PHONY): Remove installdirs from list.
884 ($(inst_infodir)/libc.info): Use make-target-directory.
885 (installdirs): Remove.
887 (glibc-targets): Remove.
890 ($(objpfx)stubs ../po/manual.pot): Remove.
891 ($(objpfx)stamp%): Remove.
892 (make-target-directory): Remove.
893 (subdir_install): Remove.
901 * manual/.gitignore: Remove, it's not needed anymore.
902 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
904 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
906 (texis): Renamed to $(objpfx)texis.
907 (texis-path): New, contains path to generated files.
908 (chapters.%): Use texis-path for complete path, add extra argument
910 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
911 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
912 (summary,texi, stamp-summary): Use complete path of
913 files. Generate files in build dir.
914 (dir-add.texi): Build in build dir.
915 (libm-err.texi,stamp-libm-err): Likewise.
916 (version.texi, stamp-version): Likewise.
917 (.%c.texi): Likewise.
918 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
919 (mostlyclean): Remove target.
920 (realclean): Remove target.
921 (generated): Add new variable with contents from mostlyclean and
922 realclean, remove entries duplicated in common-mostlyclean, add
923 stamp-libm-err and stamp-version.
924 (generated-dirs): Add libc directory.
925 ($(inst_infodir)/libc.info): Install files from build dir.
927 * manual/install.texi (Configuring and compiling): Adjust since
928 the info files are not part of the tar ball anymore.
930 2012-05-14 Andreas Jaeger <aj@suse.de>
932 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
935 2012-05-14 Joseph Myers <joseph@codesourcery.com>
938 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
939 to 2.2.0 where earlier.
940 * sysdeps/unix/sysv/linux/configure: Regenerated.
941 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
942 Remove conditional code.
943 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
944 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
945 Remove conditional code.
946 [!__NR_lchown]: Likewise.
947 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
948 [__NR_lchown]: Likewise.
949 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
950 comment referencing __ASSUME_LCHOWN_SYSCALL.
951 * sysdeps/unix/sysv/linux/i386/sigaction.c
952 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
953 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
954 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
955 Remove conditional code.
956 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
957 (__protocol_available): Remove #if 0 code.
958 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
960 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
961 * sysdeps/unix/sysv/linux/kernel-features.h
962 (__ASSUME_GETCWD_SYSCALL): Don't define.
963 (__ASSUME_REALTIME_SIGNALS): Likewise.
964 (__ASSUME_PREAD_SYSCALL): Likewise.
965 (__ASSUME_PWRITE_SYSCALL): Likewise.
966 (__ASSUME_POLL_SYSCALL): Likewise.
967 (__ASSUME_LCHOWN_SYSCALL): Likewise.
968 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
970 (__ASSUME_SIOCGIFNAME): Don't define.
971 (__ASSUME_MSG_NOSIGNAL): Likewise.
972 (__ASSUME_SENDFILE): Define unconditionally.
973 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
974 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
976 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
977 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
978 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
979 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
980 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
981 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
982 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
984 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
985 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
987 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
988 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
990 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
991 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
993 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
996 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
997 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
999 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1000 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1002 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1005 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1007 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1008 Remove conditional code.
1009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1010 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1011 Remove conditional code.
1012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1013 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1014 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1015 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1016 Remove conditional code.
1017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1018 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1019 Remove conditional code.
1020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1021 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1022 Remove conditional code.
1023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1024 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1025 Remove conditional code.
1026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1027 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1028 Remove conditional code.
1029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1030 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1033 * sysdeps/unix/sysv/linux/sigaction.c
1034 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1035 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1036 * sysdeps/unix/sysv/linux/sigpending.c
1037 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1038 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1039 * sysdeps/unix/sysv/linux/sigprocmask.c
1040 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1041 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1042 * sysdeps/unix/sysv/linux/sigsuspend.c
1043 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1044 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1045 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1046 (__libc_missing_rt_sigs): Remove.
1047 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1048 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1049 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1050 Remove conditional code.
1051 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1052 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1054 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1055 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1056 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1057 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1059 2012-05-14 Andreas Jaeger <aj@suse.de>
1061 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1062 it's not used in glibc.
1063 (__coshm1): Likewise.
1064 (__acosh1p): Likewise.
1067 * manual/string.texi (Copying and Concatenation): Add missing
1068 variable in concat example.
1069 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1071 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1074 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1075 __builtin_clzl with __builtin_clzll.
1077 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1080 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1083 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1085 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1086 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1087 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1088 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1090 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1092 * NEWS: Update ia64 info.
1094 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1096 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1099 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1101 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1102 * sysdeps/unix/syscalls.list (dup3): Likewise.
1103 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1104 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1106 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1108 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1109 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1111 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1113 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1115 (TLS_IE): Use mov/add instead of movq/addq to load thread
1117 (TLS_GD_PREFIX): New.
1120 2012-05-11 David S. Miller <davem@davemloft.net>
1122 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1123 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1124 (_FPU_SETCW): Likewise.
1126 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1128 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1131 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1134 * iconvdata/gb18030.c: Update tables.
1135 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1136 characters specially.
1137 (BODY for TO_LOOP): Add encoding of missing ranges.
1139 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1142 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1143 * sysdeps/mach/hurd/dup3.c: Likewise.
1144 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1145 * sysdeps/powerpc/memmove.c:: Likewise.
1147 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1149 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1150 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1152 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1154 * elf/elf.h (R_X86_64_RELATIVE64): New.
1155 (R_X86_64_NUM): Updated.
1156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1157 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1158 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1159 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1160 tst-quad1pie tst-quad2pie
1161 (modules-names): Add tst-quadmod1 tst-quadmod2.
1162 ($(objpfx)tst-quad1): New dependency.
1163 ($(objpfx)tst-quad2): Likewise.
1164 ($(objpfx)tst-quad1pie): Likewise.
1165 ($(objpfx)tst-quad2pie): Likewise.
1166 * sysdeps/x86_64/tst-quad1.c: New file.
1167 * sysdeps/x86_64/tst-quad1pie.c: New file.
1168 * sysdeps/x86_64/tst-quad2.c: Likewise.
1169 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1170 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1171 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1172 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1173 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1175 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1177 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1178 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1179 * streams/stropts.h (t_scalar_t): Define type.
1181 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1182 (_PATH_PRESERVE): Set to "/var/lib".
1183 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1185 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1188 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1189 if __dir_mkfile succeeded.
1191 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1192 checking for _hurd_dtablesize. Unlock it right after having
1193 finished _hurd_dtable allocation.
1195 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1197 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1198 * sysdeps/mach/hurd/configure: Regenerated.
1199 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1200 special-casing to...
1201 * sysdeps/gnu/configure.in: ... this new file.
1202 * sysdeps/unix/sysv/linux/configure: Regenerated.
1203 * sysdeps/gnu/configure: New generated file.
1205 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1206 for Linux: use nsec instead of usec, as well as:
1207 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1208 members of type struct timespec.
1209 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1211 (struct stat64): Likewise.
1212 (_STATBUF_ST_NSEC): New macro.
1213 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1215 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1216 __strtoul_internal rather than strtoul.
1218 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1220 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1223 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1225 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1226 which preserves existing values.
1227 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1229 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1231 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1232 TIMEOUT values. Return EINVAL for NFDS values either negative or
1233 greater than FD_SETSIZE.
1235 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1237 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1238 allocated, call __vm_protect to finish enabling the existing space, and
1239 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1240 allocate the remainder.
1242 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1244 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1245 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1247 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1249 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1250 sysdeps/mach/hurd/readlink.c.
1252 * posix/tst-sysconf.c (posix_options): Only use
1253 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1254 _POSIX_SYNCHRONIZED_IO when they are defined
1255 * sysdeps/mach/hurd/bits/posix_opt.h:
1256 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1257 (_XOPEN_REALTIME): Undefine macro.
1258 (_XOPEN_REALTIME_THREADS): Undefine macro.
1259 (_XOPEN_SHM): Undefine macro.
1260 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1262 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1264 (_POSIX_ASYNC_IO): Undefine macro.
1265 (_POSIX_PRIORITIZED_IO): Undefine macro.
1266 (_POSIX_SPIN_LOCKS): Define macro to -1.
1268 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1269 SA_NODEFER, SA_RESETHAND.
1270 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1271 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1274 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1276 * elf/Makefile (pldd-modules): Define unconditionally.
1278 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1280 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1282 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1284 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1285 Return ENOENT when name is empty.
1286 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1288 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1290 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1292 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1294 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1296 Fix mlock in all cases except non-readable pages.
1297 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1298 instead of VM_PROT_ALL as parameter to __vm_wire function.
1300 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1301 (__mkdir): When path is `/', just fail with EEXIST.
1302 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1304 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1306 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1307 <sys/uio.h> (for writev).
1308 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1309 and <sys/param.h> (for MIN).
1311 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1313 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1314 REQUESTED_TIME. Properly set the remaining time and return EINTR
1317 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1319 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1320 Depend on against $(link-rpcuserlibs).
1322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1324 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1325 (__libc_stack_end): Do not use attribute_relro.
1326 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1327 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1328 to libthread-provided value.
1329 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1332 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1335 * bits/libc-lock.h (__libc_once_get): New macro.
1336 * sysdeps/mach/bits/libc-lock.h: Likewise.
1337 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1338 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1339 instead of using implementation details.
1341 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1342 * libio/freopen.c: Likewise.
1343 * libio/freopen64.c: Likewise.
1344 * misc/syslog.c: Likewise.
1345 * nscd/connections.c: Likewise.
1346 * nscd/netgroupcache.c: Likewise.
1347 * sysdeps/posix/getcwd.c: Likewise.
1349 2012-05-10 Roland McGrath <roland@hack.frob.com>
1351 * math/w_ilogbf.c: Add #include <limits.h>.
1353 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1355 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1356 path instead of returning without unlocking.
1358 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1359 immediate-write ioctls.
1360 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1362 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1364 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1365 __builtin_frame_address instead of making assumptions about the
1366 location of the return address relative to DATA. Force early load of
1368 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1369 __builtin_frame_address.
1372 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1373 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1374 implement dup3 and do some further code clean-ups.
1375 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1376 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1380 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1382 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1383 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1384 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1385 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1386 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1389 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1390 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1391 when handler == SIG_ERR, not when handler != SIG_ERR.
1393 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1395 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1396 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1399 accept4 for GNU Hurd.
1400 * include/sys/socket.h (__libc_accept4): New prototype.
1401 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1402 to implement __libc_accept4.
1403 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1405 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1407 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1408 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1409 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1414 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1418 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1419 assertion on O_CLOEXEC flag.
1420 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1421 * hurd/intern-fd.c: Likewise.
1422 * hurd/port2fd.c: Likewise.
1424 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1427 * bits/in.h (IPV6_PKTINFO): Define new macro.
1428 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1430 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1436 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1437 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1438 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1439 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1440 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1441 * math/libm-test.inc (logb_test) : Additional logb tests.
1443 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1444 Andreas Jaeger <aj@suse.de>
1446 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1447 * configure: Regenerated.
1448 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1449 * config.make.in (link-obsolete-rpc): New substituted variable.
1450 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1451 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1452 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1453 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1454 so that libc.a contains the symbols.
1455 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1456 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1457 * sunrpc/auth_none.c: Likewise.
1458 * sunrpc/auth_unix.c: Likewise.
1459 * sunrpc/authdes_prot.c: Likewise.
1460 * sunrpc/authuxprot.c: Likewise.
1461 * sunrpc/clnt_gen.c: Likewise.
1462 * sunrpc/clnt_perr.c: Likewise.
1463 * sunrpc/clnt_raw.c: Likewise.
1464 * sunrpc/clnt_simp.c: Likewise.
1465 * sunrpc/clnt_tcp.c: Likewise.
1466 * sunrpc/clnt_udp.c: Likewise.
1467 * sunrpc/clnt_unix.c: Likewise.
1468 * sunrpc/des_crypt.c: Likewise.
1469 * sunrpc/des_soft.c: Likewise.
1470 * sunrpc/get_myaddr.c: Likewise.
1471 * sunrpc/key_call.c: Likewise.
1472 * sunrpc/key_prot.c: Likewise.
1473 * sunrpc/netname.c: Likewise.
1474 * sunrpc/pm_getmaps.c: Likewise.
1475 * sunrpc/pm_getport.c: Likewise.
1476 * sunrpc/pmap_clnt.c: Likewise.
1477 * sunrpc/pmap_prot.c: Likewise.
1478 * sunrpc/pmap_prot2.c: Likewise.
1479 * sunrpc/pmap_rmt.c: Likewise.
1480 * sunrpc/publickey.c: Likewise.
1481 * sunrpc/rpc_cmsg.c: Likewise.
1482 * sunrpc/rpc_common.c: Likewise.
1483 * sunrpc/rpc_dtable.c: Likewise.
1484 * sunrpc/rpc_prot.c: Likewise.
1485 * sunrpc/rpc_thread.c: Likewise.
1486 * sunrpc/rtime.c: Likewise.
1487 * sunrpc/svc.c: Likewise.
1488 * sunrpc/svc_auth.c: Likewise.
1489 * sunrpc/svc_raw.c: Likewise.
1490 * sunrpc/svc_run.c: Likewise.
1491 * sunrpc/svc_tcp.c: Likewise.
1492 * sunrpc/svc_udp.c: Likewise.
1493 * sunrpc/svc_unix.c: Likewise.
1494 * sunrpc/svcauth_des.c: Likewise.
1495 * sunrpc/xcrypt.c: Likewise.
1496 * sunrpc/xdr.c: Likewise.
1497 * sunrpc/xdr_array.c: Likewise.
1498 * sunrpc/xdr_float.c: Likewise.
1499 * sunrpc/xdr_intXX_t.c: Likewise.
1500 * sunrpc/xdr_mem.c: Likewise.
1501 * sunrpc/xdr_rec.c: Likewise.
1502 * sunrpc/xdr_ref.c: Likewise.
1503 * sunrpc/xdr_sizeof.c: Likewise.
1504 * sunrpc/xdr_stdio.c: Likewise.
1506 2012-05-10 Roland McGrath <roland@hack.frob.com>
1508 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1509 change. Update copyright years.
1511 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1513 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1515 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1516 Joseph Myers <joseph@codesourcery.com>
1517 Paul Pluzhnikov <ppluzhnikov@google.com>
1520 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1522 [cross-compiling] (extra-libs): Likewise.
1523 [cross-compiling] (extra-libs-others): Likewise.
1524 [cross-compiling] (librpcsvc-routines): Likewise.
1525 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1526 [cross-compiling] (omit-deps): Likewise.
1527 (sunrpc-CPPFLAGS): New variable.
1528 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1529 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1530 (cross-rpcgen-objs): New variable.
1531 (extra-objs): Append $(cross-rpcgen-objs).
1532 ($(cross-rpcgen-objs)): New rule.
1533 ($(objpfx)cross-rpcgen): Likewise.
1534 (rpcgen-cmd): Define to use $(built-program-file). Expand
1536 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1537 ($(objpfx)x%.stmp): Likewise.
1538 * sunrpc/proto.h [IS_IN_build] (_): Define.
1539 [IS_IN_build] (_libc_intl_domainname): Likewise.
1541 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1543 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1544 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1545 and R_X86_64_TPOFF64.
1547 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1549 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1550 sysdeps/unix/sysv/syscalls.list.
1553 * sysdeps/unix/sysv/syscalls.list: Remove file.
1555 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1558 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1559 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1560 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1561 (__LC_IDENTIFICATION): Make these macros useful in #if
1562 expressions, as required by C99.
1564 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1566 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1567 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1570 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1572 * stdlib/longlong.h: Updated from GCC.
1574 2012-05-09 Andreas Jaeger <aj@suse.de>
1576 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1577 default is first entry.
1578 (run_mode): Set type.
1579 (main): Remove informal message about syslog.
1580 (options): Fix typo.
1583 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1586 (llrintf): Likewise.
1590 (nearbyint): Likewise.
1591 (nearbyintf): Likewise.
1593 2012-05-09 Andreas Jaeger <aj@suse.de>
1594 Pedro Alves <palves@redhat.com>
1596 * nscd/nscd.c (run_mode): Use enum.
1597 (main): Cleanup coding style issue.
1599 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1600 Andreas Jaeger <aj@suse.de>
1602 * nscd/nscd.c (go_background): Replaced with...
1603 (run_mode): ... this.
1604 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1605 (options): Add -F --foreground.
1606 (main): Implement it.
1607 (parse_opt): Parse it.
1609 2012-05-09 Andreas Jaeger <aj@suse.de>
1612 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1613 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1614 -Wconversion warning.
1615 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1618 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1620 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1622 (LC_ALL): Use macro-int-constant.
1623 (LC_COLLATE): Likewise.
1624 (LC_CTYPE): Likewise.
1625 (LC_MESSAGES): Likewise.
1626 (LC_MONETARY): Likewise.
1627 (LC_NUMERIC): Likewise.
1628 (LC_TIME): Likewise.
1629 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1630 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1632 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1634 [C99-based standards] (float_t): Expect type.
1635 [C99-based standards] (double_t): Expect type.
1636 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1638 [C99-based standards] (HUGE_VALL): Likewise.
1639 [C99-based standards] (INFINITY): Likewise.
1640 [C99-based standards] (NAN): Likewise.
1641 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1642 [C99-based standards] (FP_NAN): Likewise.
1643 [C99-based standards] (FP_NORMAL): Likewise.
1644 [C99-based standards] (FP_SUBNORMAL): Likewise.
1645 [C99-based standards] (FP_ZERO): Likewise.
1646 [C99-based standards] (FP_FAST_FMA): Use
1647 optional-macro-int-constant. Specify type. Require == 1.
1648 [C99-based standards] (FP_FAST_FMAF): Likewise.
1649 [C99-based standards] (FP_FAST_FMAL): Likewise.
1650 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1651 [C99-based standards] (FP_ILOGBNAN): Likewise.
1652 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1654 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1655 [C99-based standards] (math_errhandling): Specify type.
1656 [ISO99 || ISO11] (signgam): Do not allow.
1657 [non-C99-based standards] (copysignf): Do not allow.
1658 [non-C99-based standards] (exp2f): Likewise.
1659 [non-C99-based standards] (log2f): Likewise.
1660 [non-C99-based standards] (modff): Allow.
1661 [non-C99-based standards] (erff): Do not allow.
1662 [non-C99-based standards] (erfcf): Likewise.
1663 [non-C99-based standards] (gammaf): Likewise.
1664 [non-C99-based standards] (hypotf): Likewise.
1665 [non-C99-based standards] (j0f): Likewise.
1666 [non-C99-based standards] (j1f): Likewise.
1667 [non-C99-based standards] (jnf): Likewise.
1668 [non-C99-based standards] (lgammaf): Likewise.
1669 [non-C99-based standards] (tgammaf): Likewise.
1670 [non-C99-based standards] (y0f): Likewise.
1671 [non-C99-based standards] (y1f): Likewise.
1672 [non-C99-based standards] (ynf): Likewise.
1673 [non-C99-based standards] (isnanf): Likewise.
1674 [non-C99-based standards] (acoshf): Likewise.
1675 [non-C99-based standards] (asinhf): Likewise.
1676 [non-C99-based standards] (atanhf): Likewise.
1677 [non-C99-based standards] (cbrtf): Likewise.
1678 [non-C99-based standards] (expm1f): Likewise.
1679 [non-C99-based standards] (ilogbf): Likewise.
1680 [non-C99-based standards] (log1pf): Likewise.
1681 [non-C99-based standards] (logbf): Likewise.
1682 [non-C99-based standards] (nextafterf): Likewise.
1683 [non-C99-based standards] (remainderf): Likewise.
1684 [non-C99-based standards] (rintf): Likewise.
1685 [non-C99-based standards] (scalbf): Likewise.
1686 [non-C99-based standards] (copysignl): Likewise.
1687 [non-C99-based standards] (exp2l): Likewise.
1688 [non-C99-based standards] (log2l): Likewise.
1689 [non-C99-based standards] (modfl): Allow.
1690 [non-C99-based standards] (erfl): Do not allow.
1691 [non-C99-based standards] (erfcl): Likewise.
1692 [non-C99-based standards] (gammal): Likewise.
1693 [non-C99-based standards] (hypotl): Likewise.
1694 [non-C99-based standards] (j0l): Likewise.
1695 [non-C99-based standards] (j1l): Likewise.
1696 [non-C99-based standards] (jnl): Likewise.
1697 [non-C99-based standards] (lgammal): Likewise.
1698 [non-C99-based standards] (tgammal): Likewise.
1699 [non-C99-based standards] (y0l): Likewise.
1700 [non-C99-based standards] (y1l): Likewise.
1701 [non-C99-based standards] (ynl): Likewise.
1702 [non-C99-based standards] (isnanl): Likewise.
1703 [non-C99-based standards] (acoshl): Likewise.
1704 [non-C99-based standards] (asinhl): Likewise.
1705 [non-C99-based standards] (atanhl): Likewise.
1706 [non-C99-based standards] (cbrtl): Likewise.
1707 [non-C99-based standards] (expm1l): Likewise.
1708 [non-C99-based standards] (ilogbl): Likewise.
1709 [non-C99-based standards] (log1pl): Likewise.
1710 [non-C99-based standards] (logbl): Likewise.
1711 [non-C99-based standards] (nextafterl): Likewise.
1712 [non-C99-based standards] (remainderl): Likewise.
1713 [non-C99-based standards] (rintl): Likewise.
1714 [non-C99-based standards] (scalbl): Likewise.
1715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1716 [non-C99-based standards] (FP_*): Do not allow.
1717 [C99-based standards] (FP_*): Change to
1718 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1719 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1721 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1722 (SIG_ERR): Likewise.
1723 [X/Open-based standards] (SIG_HOLD): Likewise.
1724 (SIG_IGN): Likewise.
1725 (SIGABRT): Use macro-int-constant. Specify type. Require
1730 (SIGSEGV): Likewise.
1732 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1733 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1734 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1735 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1736 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1737 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1738 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1739 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1740 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1741 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1742 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1743 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1744 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1745 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1746 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1747 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1748 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1749 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1750 [X/Open-based standards] (SIGTRAP): Likewise.
1751 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1752 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1753 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1754 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1755 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1758 2012-05-08 Ian Wienand <ianw@vmware.com>
1761 * time/tzset.c (__tzset_parse_tz): Update default rules for
1762 daylight time changes in the Energy Policy Act of 2005.
1764 2012-05-09 Andreas Jaeger <aj@suse.de>
1767 * elf/ldconfig.c (parse_conf): Change string to make clear that
1768 ldconfig only issued a warning if ld.so.conf does not exist.
1770 2012-05-08 David S. Miller <davem@davemloft.net>
1772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1773 movxtod instead of popping the value on the stack.
1775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1777 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1779 * config.h.in: Add HAVE_ARM_PCS_VFP.
1781 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1784 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1785 checking but the checks are disabled for any reason.
1787 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1789 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1790 and ELF64_R_TYPE with ELFW(R_TYPE).
1792 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1794 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1797 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1798 (settimeofday): Likewise.
1800 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1802 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1803 a struct th_u2 inside the union, and move tu_block/tu_code into
1804 a new th_u3 union of tu_block/tu_code inside of that. Move
1805 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1806 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1807 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1808 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1809 (th_stuff): Change to th_u1.tu_stuff.
1811 (th_msg): Change to th_u1.th_u2.tu_data.
1813 2012-05-07 David S. Miller <davem@davemloft.net>
1815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1818 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1819 (SETUP_PIC_REG): Use it.
1820 (SETUP_PIC_REG_LEAF): Use it.
1822 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1826 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1828 (EXPL_FINITE): Likewise.
1830 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1831 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1833 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1835 (EXPL_FINITE): Likewise.
1837 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1838 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1840 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1841 test of -max_value argument for long double.
1842 * sysdeps/i386/fpu/libm-test-ulps: Update.
1843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1845 2012-05-06 David S. Miller <davem@davemloft.net>
1847 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1848 quad soft-float symbols whose references which are compiler
1850 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1852 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1856 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1858 (EXPL_FINITE): Likewise.
1862 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1863 Adjust comments for base varying.
1864 (__expl_finite): Change alias to EXPL_FINITE.
1865 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1867 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1868 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1870 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1871 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1873 (EXPL_FINITE): Likewise.
1877 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1878 Adjust comments for base varying.
1879 (__expl_finite): Change alias to EXPL_FINITE.
1880 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1885 * math/libm-test.inc (check_float_internal): Correct ulp
1886 calculation for subnormal expected results.
1888 2012-05-06 Andreas Jaeger <aj@suse.de>
1890 * Makeconfig (+math-flags): New, set to -frounding-math.
1891 (+cflags): Add +math-flags so that all of glibc gets compiled with
1894 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1896 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1898 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1904 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1905 (__ieee754_expl): Allow for and saturate large arguments.
1906 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1907 (u_threshold): Likewise.
1908 (__exp): Call __ieee754_exp before checking for overflow and
1910 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1911 (u_threshold): Likewise.
1912 (__expf): Call __ieee754_expf before checking for overflow and
1914 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1915 (u_threshold): Likewise.
1916 (__expl): Call __ieee754_expl before checking for overflow and
1918 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1919 (__ieee754_expl): Allow for and saturate large arguments.
1920 * math/libm-test.inc (exp_test): Add another test. Do not allow
1921 missing overflow exception on overflow.
1922 (expm1_test): Do not allow missing overflow exception on overflow.
1924 * sysdeps/i386/fpu/e_expl.c: Move to ...
1925 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1926 rather than using inline asm.
1927 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1928 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1929 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1931 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1938 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1940 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1941 sysdeps/unix/common/syscalls.list.
1944 (ftruncate): Likewise.
1945 (getrusage): Likewise.
1946 (gettimeofday): Likewise.
1947 (setpgid): Likewise.
1948 (setregid): Likewise.
1949 (setreuid): Likewise.
1950 (sigaction): Likewise.
1951 (truncate): Likewise.
1952 (vhangup): Likewise.
1953 * sysdeps/unix/common/syscalls.list: Remove file.
1954 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1955 * sysdeps/unix/sysv/linux/Implies: Likewise.
1957 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1959 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1961 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1965 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1968 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1971 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1974 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1977 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1980 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1983 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1987 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1991 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1994 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1998 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2002 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2004 * sysdeps/unix/common/bits/dirent.h: Remove file.
2005 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2007 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2008 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2009 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2010 * sysdeps/unix/bsd/isatty.c: Likewise.
2011 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2012 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2013 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2015 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2019 long double comparison inaccuracies.
2020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2023 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2025 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2026 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2028 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2031 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2032 nonzero digits before rounding a hex value.
2033 * stdlib/tst-strtod.c (tests): Add another test.
2035 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2037 * sysdeps/s390/fpu/libm-test-ulps: Update.
2039 2012-05-03 Andreas Jaeger <aj@suse.de>
2041 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2042 does not get optimized out.
2043 (malloc_opt_barrier): New.
2045 2012-05-03 Andreas Jaeger <aj@suse.de>
2046 Roland McGrath <roland@hack.frob.com>
2048 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2049 intermediate file deletion.
2050 (generated): Add .symlist files.
2052 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2055 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2056 Redirect under this condition.
2057 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2058 [__USE_GNU] (__dprintf_chk): Not under this condition.
2059 [__USE_GNU] (__vdprintf_chk): Likewise.
2060 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2061 under this condition.
2062 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2063 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2064 [__USE_XOPEN2K8] (vdprintf): Likewise.
2065 [__USE_GNU] (__dprintf_chk): Not under this condition.
2066 [__USE_GNU] (__vdprintf_chk): Likewise.
2067 [__USE_GNU] (dprintf): Likewise.
2068 [__USE_GNU] (vdprintf): Likewise.
2070 2012-05-03 Roland McGrath <roland@hack.frob.com>
2072 * elf/Makefile (common-generated): Set this instead of generated for
2073 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2074 $(all-built-dso)-derived lists.
2076 2012-05-03 Andreas Jaeger <aj@suse.de>
2078 * sysdeps/i386/fpu/libm-test-ulps: Update.
2082 * scripts/gen-FAQ.pl: Likewise.
2083 * manual/install.texi (Installation): Point to online location of
2085 * Makefile (files-for-dist): Remove FAQ.
2088 2012-05-02 Allan McRae <allan@archlinux.org>
2090 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2091 (LDFLAGS-reldepmod5.so): Likewise.
2092 (LDFLAGS-reldep6mod1.so): Likewise.
2093 (LDFLAGS-reldep6mod4.so): Likewise.
2094 (LDFLAGS-reldep8mod3.so): Likewise.
2095 (LDFLAGS-unload4mod1.so): Likewise.
2096 (LDFLAGS-unload4mod2.so): Likewise.
2097 (LDFLAGS-tst-initorder): Likewise.
2098 (LDFLAGS-tst-initordera2.so): Likewise.
2099 (LDFLAGS-tst-initordera3.so): Likewise.
2100 (LDFLAGS-tst-initordera4.so): Likewise.
2101 (LDFLAGS-tst-initorderb2.so): Likewise.
2102 (LDFLAGS-noload): Likewise.
2103 (LDFLAGS-next): Likewise.
2104 (LDFLAGS-order2mod1.so): Likewise.
2105 (LDFLAGS-order2mod2.so): Likewise.
2106 (LDFLAGS-tst-initorder2): Likewise.
2107 (LDFLAGS-tst-initorder2a.so): Likewise.
2108 (LDFLAGS-tst-initorder2b.so): Likewise.
2109 (LDFLAGS-tst-initorder2c.so): Likewise.
2110 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2112 2012-05-02 David S. Miller <davem@davemloft.net>
2114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2116 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2119 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2121 2012-05-02 Andreas Jaeger <aj@suse.de>
2123 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2124 since we manipulate rounding mode.
2125 (CPPFLAGS-test-idouble.c): Likewise.
2126 (CPPFLAGS-test-ifloat.c): Likewise.
2127 (CFLAGS-test-ldouble.c): Likewise.
2128 (CFLAGS-test-double.c): Likewise.
2129 (CFLAGS-test-float.c): Likewise.
2130 (CFLAGS-test-misc.c): Likewise.
2131 (CFLAGS-test-test-fenv.c): Likewise.
2133 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2137 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2138 comparisons to determine direction to adjust input.
2140 2012-05-01 Roland McGrath <roland@hack.frob.com>
2142 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2143 output to the target.
2145 * scripts/localplt.awk: New file.
2146 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2147 (check-localplt-CFLAGS): Variable removed.
2148 ($(all-built-dso:=.jmprel)): New static pattern rule.
2149 (generated): Add those targets.
2150 (localplt-built-dso): New variable.
2151 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2153 * elf/check-localplt.c: File removed.
2155 * scripts/check-execstack.awk: New file.
2156 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2157 (check-execstack-CFLAGS): Variable removed.
2158 ($(objpfx)check-execstack.h): Target removed.
2159 ($(objpfx)execstack-default): New target.
2160 (generated): Add that instead of check-execstack.h.
2161 ($(all-built-dso:=.phdr)): New static pattern rule.
2162 (generated): Add those targets.
2163 * elf/check-execstack.c: File removed.
2165 * scripts/check-textrel.awk: New file.
2166 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2167 (check-textrel-CFLAGS): Variable removed.
2168 (all-built-dso): Use := to define.o
2169 ($(all-built-dso:=.dyn)): New static pattern rule.
2170 (generated): Add those targets.
2171 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2172 * config.make.in (READELF): New substituted variable.
2173 * elf/check-textrel.c: File removed.
2175 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2177 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2179 * conform/data/ctype.h-data [C99-based standards] (isblank):
2181 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2182 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2184 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2185 Specify type. Require positive value.
2188 [ISO || POSIX] (EILSEQ): Do not expect.
2189 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2190 Specify type. Require positive value.
2191 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2192 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2193 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2194 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2195 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2196 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2197 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2198 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2199 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2200 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2201 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2202 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2203 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2204 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2205 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2206 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2207 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2208 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2209 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2210 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2211 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2212 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2213 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2214 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2215 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2216 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2217 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2218 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2219 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2220 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2221 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2222 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2223 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2224 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2225 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2226 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2227 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2228 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2229 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2230 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2231 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2232 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2233 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2234 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2235 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2236 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2237 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2238 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2239 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2240 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2241 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2242 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2243 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2244 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2245 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2246 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2247 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2248 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2249 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2250 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2251 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2252 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2253 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2254 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2255 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2256 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2257 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2258 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2259 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2260 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2261 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2262 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2263 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2264 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2265 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2266 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2267 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2269 (FLT_ROUNDS): Expect as macro, not constant.
2270 (FLT_MANT_DIG): Use macro-int-constant.
2271 (DBL_MANT_DIG): Likewise.
2272 (LDBL_MANT_DIG): Likewise.
2273 (FLT_DIG): Likewise.
2274 (DBL_DIG): Likewise.
2275 (LDBL_DIG): Likewise.
2276 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2277 (DBL_MIN_EXP): Likewise.
2278 (LDBL_MIN_EXP): Likewise.
2279 (FLT_MAX_EXP): Use macro-int-constant.
2280 (DBL_MAX_EXP): Likewise.
2281 (LDBL_MAX_EXP): Likewise.
2282 (FLT_MAX_10_EXP): Likewise.
2283 (DBL_MAX_10_EXP): Likewise.
2284 (LDBL_MAX_10_EXP): Likewise.
2285 (FLT_MAX): Use macro-constant.
2286 (DBL_MAX): Likewise.
2287 (LDBL_MAX): Likewise.
2288 (FLT_EPSILON): Use macro-constant. Give upper bound.
2289 (DBL_EPSILON): Likewise.
2290 (LDBL_EPSILON): Likewise.
2291 (FLT_MIN): Likewise.
2292 (DBL_MIN): Likewise.
2293 (LDBL_MIN): Likewise.
2294 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2295 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2296 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2297 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2298 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2299 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2300 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2301 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2302 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2303 [ISO11] (FLT_TRUE_MIN): Likewise.
2304 [ISO11] (LDBL_TRUE_MIN): Likewise.
2305 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2306 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2307 (SCHAR_MIN): Use macro-int-constant. Specify type.
2308 (SCHAR_MAX): Likewise.
2309 (UCHAR_MAX): Likewise.
2310 (CHAR_MIN): Likewise.
2311 (CHAR_MAX): Likewise.
2312 (MB_LEN_MAX): Use macro-int-constant.
2313 (SHRT_MIN): Use macro-int-constant. Specify type.
2314 (SHRT_MAX): Likewise.
2315 (USHRT_MAX): Likewise.
2316 (INT_MAX): Likewise.
2317 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2319 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2321 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2323 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2324 bound negative. Suffix upper bound with "L".
2325 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2327 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2329 [C99-based standards] (LLONG_MAX): Likewise.
2330 [C99-based standards] (ULLONG_MAX): Likewise.
2331 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2333 [ISO11] (max_align_t): Require type.
2334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2336 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2337 from $CFLAGS, without defining away __attribute__ calls.
2338 (checknamespace): Use $CFLAGS_namespace.
2340 * conform/conformtest.pl (@keywords): Only include C99 keywords
2341 for standards based on C99 or C11.
2343 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2345 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2348 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2349 usability of symbols in #if.
2351 * conform/conformtest.pl: If macro or constant types start
2352 "promoted:", expect the symbol to be of the following type
2353 promoted by the integer promotions.
2355 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2356 in one place. Also handle "macro-constant".
2358 * conform/conformtest.pl: Only accept expected macro values with
2359 "==". Parse all "macro" lines in one place.
2360 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2362 * conform/conformtest.pl: Handle braced types on "constant" lines
2363 instead of handling "typed-constant".
2364 * conform/data/signal.h-data: Use "constant" instead of
2367 * conform/conformtest.pl: Handle "optional-" at start of lines in
2368 one place rather than duplicating several cases. Handle each
2369 format of "macro" line with initial "optional-".
2371 * conform/conformtest.pl: Only accept expected constant or
2372 optional-constant values with "==". Parse all "constant" lines in
2373 one place. Parse all "optional-constant" lines in one place.
2374 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2375 * conform/data/fmtmsg.h-data: Likewise.
2376 * conform/data/netinet/in.h-data: Likewise.
2377 * conform/data/tar.h-data: Likewise.
2378 * conform/data/limits.h-data: Use "==" form on "constant" and
2379 "optional-constant" lines.
2381 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2382 Use -std=c99 for XOPEN2K.
2383 (@knownproblems): Remove.
2384 (newtoken): Don't check %isknown.
2386 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2387 Do not expect macro.
2388 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2389 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2390 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2391 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2392 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2393 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2394 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2400 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2401 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2405 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2407 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2418 [XPG3] (acosh): Likewise.
2419 [XPG3] (asinh): Likewise.
2420 [XPG3] (atanh): Likewise.
2421 [XPG3] (cbrt): Likewise.
2422 [XPG3] (expm1): Likewise.
2423 [XPG3] (ilogb): Likewise.
2424 [XPG3] (log1p): Likewise.
2425 [XPG3] (logb): Likewise.
2426 [XPG3] (nextafter): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2429 [XPG3] (remainder): Likewise.
2430 [XPG3] (rint): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2438 [UNIX98 || XOPEN2K] (scalb): Expect.
2439 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2440 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2441 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2442 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2443 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2444 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2445 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2463 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2475 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2476 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2478 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2495 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2496 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2497 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2508 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2509 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2510 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2511 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2512 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2513 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2514 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2515 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2516 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2517 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2518 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2519 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2520 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2521 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2522 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2523 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2524 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2525 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2526 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2527 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2528 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2529 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2530 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2531 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2532 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2533 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2534 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2535 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2536 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2537 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2538 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2539 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2540 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2541 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2542 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2543 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2544 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2545 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2546 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2547 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2548 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2549 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2550 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2551 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2552 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2553 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2554 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2555 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2556 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2568 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2569 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2577 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2578 _XOPEN_SOURCE_EXTENDED for XPG4.
2580 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2582 * Makeconfig (localtime): Remove variable.
2583 (inst_localtime-file): Likewise.
2585 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2606 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2610 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2611 comparisons to determine direction to adjust input.
2612 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2613 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2614 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2616 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2618 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2620 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2621 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2623 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2625 * math/libm-test.inc (nexttoward_test): Add more tests.
2627 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2630 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2631 in version GLIBC_2.1, not GLIBC_2.0.
2632 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2635 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2638 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2640 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2641 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2642 * math/libm-test.inc (acos_test): Add more tests.
2643 (asin_test): Likewise.
2644 * sysdeps/i386/fpu/libm-test-ulps: Update.
2645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2648 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2650 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2651 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2652 * math/libm-test.inc (acos_test_tonearest): New function.
2653 (acos_test_towardzero): Likewise.
2654 (acos_test_downward): Likewise.
2655 (acos_test_upward): Likewise.
2656 (asin_test_tonearest): Likewise.
2657 (asin_test_towardzero): Likewise.
2658 (asin_test_downward): Likewise.
2659 (asin_test_upward): Likewise.
2660 (main): Call the new functions.
2661 * sysdeps/i386/fpu/libm-test-ulps: Update.
2662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2666 * math/e_exp10.c: Include <float.h>.
2667 (__ieee754_exp10): Handle underflow here rather than multiplying
2668 large negative argument by M_LN10.
2669 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2671 * math/e_exp10l.c: Include <float.h>.
2672 (__ieee754_exp10l): Handle underflow here rather than multiplying
2673 large negative argument by M_LN10l.
2674 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2675 spurious overflow exception on underflow.
2677 2012-04-29 Marek Polacek <polacek@redhat.com>
2679 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2680 (__fortify_function): New macro.
2681 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2682 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2683 __extern_always_inline.
2684 * libio/bits/stdio2.h: Likewise.
2685 * libio/bits/stdio.h: Likewise.
2686 * string/string.h: Likewise.
2687 * string/bits/string3.h: Likewise.
2688 * include/stdio.h: Likewise.
2689 * stdlib/bits/stdlib.h: Likewise.
2690 * stdlib/stdlib.h: Likewise.
2691 * rt/bits/mqueue2.h: Likewise.
2692 * rt/mqueue.h: Likewise.
2693 * posix/bits/unistd.h: Likewise.
2694 * posix/unistd.h: Likewise.
2695 * io/bits/poll2.h: Likewise.
2696 * io/bits/fcntl2.h: Likewise.
2697 * io/fcntl.h: Likewise.
2698 * io/sys/poll.h: Likewise.
2699 * misc/bits/syslog.h: Likewise.
2700 * misc/bits/syslog-ldbl.h: Likewise.
2701 * misc/sys/syslog.h: Likewise.
2702 * socket/bits/socket2.h: Likewise.
2703 * socket/sys/socket.h: Likewise.
2704 * debug/tst-chk1.c: Likewise.
2705 * wcsmbs/bits/wchar2.h: Likewise.
2706 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2707 * wcsmbs/wchar.h: Likewise.
2709 2012-04-29 Andreas Jaeger <aj@suse.de>
2711 * Makerules (tests): Remove enable-check-abi protection.
2712 (check-abi-warn): Remove.
2713 (check-abi-%): Remove check-abi-warn usage.
2715 * configure.in: Remove check-abi configure option.
2716 * configure: Regenerated.
2717 * config.make.in (enable-check-abi): Remove.
2719 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2722 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2723 double functions to double *_finite functions.
2726 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2727 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2729 * stdio-common/Makefile (tests): Add tst-sprintf3.
2730 * stdio-common/tst-sprintf3.c: New file.
2732 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2733 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2735 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2737 * conform/conformtest.pl: Remove duplicate typed-constant
2740 2012-04-28 David S. Miller <davem@davemloft.net>
2742 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2743 (check-abi-%): Remove AWK script prerequisite and explicit
2745 (check-abi): Rewrite to just diff the symlist with the abilist.
2746 (config-tls, config-abi-config): Delete, no longer used.
2747 (update-abi-%): Remove AWK script and explicit abilist directory.
2748 (update-abi): Rewrite to simply compare and conditionally copy the
2749 symlist and the sysdep abilist file. Remove update-abi-config
2751 * abilist/ld.abilist: Remove.
2752 * abilist/libBrokenLocale.abilist: Remove.
2753 * abilist/libanl.abilist: Remove.
2754 * abilist/libcrypt.abilist: Remove.
2755 * abilist/libdl.abilist: Remove.
2756 * abilist/librt.abilist: Remove.
2757 * abilist/libthread_db.abilist: Remove.
2758 * abilist/libutil.abilist: Remove.
2759 * scripts/extract-abilist.awk: Remove.
2760 * scripts/merge-abilist.awk: Remove.
2761 * sysdeps/generic/libcidn.abilist: New file.
2762 * sysdeps/generic/libnss_compat.abilist: New file.
2763 * sysdeps/generic/libnss_db.abilist: New file.
2764 * sysdeps/generic/libnss_dns.abilist: New file.
2765 * sysdeps/generic/libnss_files.abilist: New file.
2766 * sysdeps/generic/libnss_hesiod.abilist: New file.
2767 * sysdeps/generic/libnss_nis.abilist: New file.
2768 * sysdeps/generic/libnss_nisplus.abilist: New file.
2769 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2770 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2771 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2773 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2774 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2775 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2776 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2777 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2778 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2779 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2780 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2781 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2783 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2784 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2785 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2786 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2788 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2789 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2790 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2791 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2792 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2793 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2795 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2796 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2797 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2799 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2902 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2903 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2904 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2906 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2907 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2908 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2909 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2910 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2911 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2912 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2913 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2914 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2915 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2967 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2969 * conform/conformtest.pl: Fix typo in handling typed-constant from
2972 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2974 * README: Cut down references to pre-2.6 Linux kernels and
2975 Linuxthreads. Update lists of configurations in libc and ports
2976 and sort alphabetically. Say "or newer" with Linux kernel version
2979 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2981 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2984 * math/libm-test.inc (logb_test_downward): New test to expose
2985 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2988 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2991 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2993 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2994 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2996 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2998 * sysdeps/unix/i386/brk.S: Remove file.
2999 * sysdeps/unix/i386/dl-brk.S: Likewise.
3000 * sysdeps/unix/i386/pipe.S: Likewise.
3001 * sysdeps/unix/i386/sigreturn.S: Likewise.
3002 * sysdeps/unix/i386/syscall.S: Likewise.
3003 * sysdeps/unix/i386/vfork.S: Likewise.
3004 * sysdeps/unix/i386/wait.S: Likewise.
3006 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3007 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3009 * configure.in (arm*-none*): Do not allow without
3010 --enable-hacker-mode.
3011 (netbsd*): Remove case setting base_os.
3012 (386bsd*): Likewise.
3013 (freebsd*): Likewise.
3017 (ultrix*): Likewise.
3018 (newsos*): Likewise.
3028 (solaris[2-9]*): Likewise.
3030 * configure: Regenerated.
3032 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3035 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3036 overflow or cancellation in calculating denominator.
3037 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3038 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3039 down expression to avoid unexpected rounding in newer GCCs.
3040 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3042 2012-04-26 David S. Miller <davem@davemloft.net>
3044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3045 long-double compat symbols.
3046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3060 2012-04-25 David S. Miller <davem@davemloft.net>
3062 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3063 HWCAP_* values only after the memory barriers have been defined.
3064 (atomic_full_barrier): Define.
3065 (atomic_read_barrier): Define.
3066 (atomic_write_barrier): Define.
3068 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3070 * shlib-versions: Add libgcc_s version information.
3071 * sysdeps/generic/libgcc_s.h: Remove.
3072 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3074 * sysdeps/gnu/unwind-resume.c: Likewise.
3075 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3077 2012-04-25 David S. Miller <davem@davemloft.net>
3079 * sysdeps/unix/sparc/brk.S: Delete.
3080 * sysdeps/unix/sparc/dl-brk.S: Delete.
3081 * sysdeps/unix/sparc/pipe.S: Delete.
3082 * sysdeps/unix/sparc/sysdep.S: Delete.
3083 * sysdeps/unix/sparc/sysdep.h: Delete.
3084 * sysdeps/unix/sparc/vfork.S: Delete.
3085 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3086 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3087 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3088 ret_ERRVAL, r0, r1, MOVE): Define.
3089 (JUMPTARGET): Remove.
3090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3091 sysdeps/unix/sparc/sysdep.h
3092 (ENTRY, END): Remove.
3093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3095 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3097 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3098 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3101 * timezone/README: Update upstream location and email address for
3103 * timezone/zdump.c: Update from tzcode 2012b.
3104 * timezone/zic.c: Likewise.
3106 * configure.in (libc_cv_as_needed): Remove test.
3107 * configure: Regenerated.
3108 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3109 conditional definition.
3110 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3111 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3112 * config.make.in (have-as-needed): Remove variable.
3114 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3115 Paul Pluzhnikov <ppluzhnikov@google.com>
3117 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3120 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3122 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3123 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3124 * sysdeps/sh/strlen.S: Likewise.
3126 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3128 * sysdeps/unix/fork.S: Remove file.
3129 * sysdeps/unix/i386/fork.S: Likewise.
3130 * sysdeps/unix/sparc/fork.S: Likewise.
3132 * sysdeps/unix/system.c: Remove file.
3133 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3135 * sysdeps/unix/getegid.S: Remove file.
3136 * sysdeps/unix/geteuid.S: Likewise.
3138 2012-04-24 Roland McGrath <roland@hack.frob.com>
3140 * scripts/check-localplt.awk: New file.
3141 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3143 * scripts/data/localplt-generic.data: Add a comment.
3145 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3146 NODE when __dir_mkfile failed.
3147 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3148 Reported by Ludovic Courtès <ludo@gnu.org>.
3150 2012-04-24 Andreas Jaeger <aj@suse.de>
3152 * Makerules (common-clean): Also remove gen-as-const-headers
3155 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3157 * Makerules (native-compile): Do not change working directory for
3158 build. Use $(OUTPUT_OPTION) in command.
3159 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3161 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3164 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3165 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3166 * math/libm-test.inc (floor_test): Add more tests.
3167 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3169 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3171 * sysdeps/unix/getdents.c: Remove file.
3172 * sysdeps/unix/sysv/getdents.c: Likewise.
3173 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3175 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3176 sysdeps/unix/mman/syscalls.list.
3178 (mprotect): Likewise.
3181 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3182 * sysdeps/unix/mman/syscalls.list: Remove.
3183 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3185 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3186 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3187 * configure: Regenerated.
3188 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3190 * config.make.in (libgcc_s_suffix): Remove variable.
3192 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3194 * sysdeps/unix/sysv/gethostname.c: Move to ...
3195 * sysdeps/posix/gethostname.c: ... here.
3197 * sysdeps/unix/execve.S: Remove file.
3199 * sysdeps/unix/_exit.S: Remove file.
3201 2012-04-23 Andreas Jaeger <aj@suse.de>
3204 * manual/Makefile: Remove make dist support, there's no
3205 need for a stand-alone documentation tar ball.
3206 (TEXI2DVI): Define always, it's not in Makeconfig.
3210 (glibc-doc-$(edition).tar): Removed
3214 (ETAGS): Remove, it's in Makeconfig.
3215 (move-if-change): Remove, it's in Makeconfig.
3217 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3220 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3221 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3222 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3223 (strtod_l, strtof_l, strtold_l): Remove __wur.
3224 It is not necessarily an error to ignore strtol's return value.
3225 One can reliably look at the stored endptr to decide whether
3226 the number had valid syntax.
3228 2012-04-21 Andreas Jaeger <aj@suse.de>
3231 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3233 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3235 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3236 * sysdeps/unix/sysv/Versions: Remove file.
3238 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3243 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3246 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3247 version from __vm86.
3249 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3251 * sysdeps/unix/common/lxstat.c: Remove file.
3252 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3254 * sysdeps/unix/sysv/Makefile: Remove file.
3256 * sysdeps/unix/sysv/direct.h: Remove file.
3258 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3259 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3260 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3261 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3262 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3263 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3264 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3266 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3268 * sysdeps/unix/xmknod.c: Remove file.
3269 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3271 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3273 * sysdeps/unix/sysv/i386/time.S: Remove file.
3275 * sysdeps/unix/fxstat.c: Remove file.
3276 * sysdeps/unix/xstat.c: Likewise.
3277 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3279 * sysdeps/unix/sysv/sigaction.c: Remove file.
3281 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3282 (sysdep_headers): Remove variable.
3283 [termio.h not in sysdep_headers] (generated): Likewise.
3284 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3285 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3286 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3287 * sysdeps/unix/sysv/tcflow.c: Likewise.
3288 * sysdeps/unix/sysv/tcflush.c: Likewise.
3289 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3290 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3291 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3292 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3293 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3295 * sysdeps/unix/siglist.c: Remove file.
3297 * sysdeps/unix/getppid.S: Remove file.
3299 * sysdeps/unix/mkdir.c: Remove file.
3300 * sysdeps/unix/rmdir.c: Likewise.
3302 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3304 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3306 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3307 errlist-compat value.
3309 2012-04-18 David S. Miller <davem@davemloft.net>
3311 * sysdeps/generic/memcopy.h (reg_char): Delete.
3312 * debug/strcat_chk.c: Use char, not reg_char.
3313 * debug/strcpy_chk.c: Likewise.
3314 * debug/strncat_chk.c: Likewise.
3315 * debug/strncpy_chk.c: Likewise.
3316 * string/memchr.c: Likewise.
3317 * string/memrchr.c: Likewise.
3318 * string/rawmemchr.c: Likewise.
3319 * string/strcat.c: Likewise.
3320 * string/strchr.c: Likewise.
3321 * string/strchrnul.c: Likewise.
3322 * string/strcmp.c: Likewise.
3323 * string/strcpy.c: Likewise.
3324 * string/strncat.c: Likewise.
3325 * string/strncmp.c: Likewise.
3326 * string/strncpy.c: Likewise.
3328 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3330 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3331 __builtin_memcopy is called when src and dest ranges are known to not
3334 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3336 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3337 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3338 fwd_align_merge macro call.
3339 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3340 bwd_align_merge macro call.
3341 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3343 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3345 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3346 bwd_align_merge macros.
3347 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3348 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3349 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3351 2012-04-18 David S. Miller <davem@davemloft.net>
3353 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3355 2012-04-18 Andreas Jaeger <aj@suse.de>
3358 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3359 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3360 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3362 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3363 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3364 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3366 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3367 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3368 Adjust for changed ldbl-128 files.
3370 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3371 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3372 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3374 2012-04-17 David S. Miller <davem@davemloft.net>
3376 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3378 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3380 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3381 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3382 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3383 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3384 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3385 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3387 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3390 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3391 * math/libm-test.inc: Add ilogb errno and exception tests.
3392 * math/w_ilogb.c: New file: ilogb wrapper.
3393 * math/w_ilogbf.c: New file: ilogbf wrapper.
3394 * math/w_ilogbl.c: New file: ilogbl wrapper.
3395 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3396 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3397 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3398 exception being thrown with 0.0 as argument.
3399 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3400 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3401 exception being thrown with 0.0 as argument.
3402 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3403 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3404 exception being thrown with 0.0 as argument.
3405 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3406 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3407 exception being thrown with 0.0 as argument.
3408 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3409 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3410 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3411 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3412 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3413 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3414 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3415 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3416 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3418 2012-04-17 Petr Baudis <pasky@ucw.cz>
3420 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3423 2012-04-16 Marek Polacek <polacek@redhat.com>
3425 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3427 2012-04-16 Marek Polacek <polacek@redhat.com>
3429 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3430 operands of fdivp instruction.
3432 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3434 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3435 * elf/tst-auditmod3b.c: Likewise.
3436 * elf/tst-auditmod4b.c: Likewise.
3437 * elf/tst-auditmod5b.c: Likewise.
3438 * elf/tst-auditmod6b.c: Likewise.
3439 * elf/tst-auditmod6c.c: Likewise.
3440 * elf/tst-auditmod7b.c: Likewise.
3441 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3442 * sysdeps/x86_64/preconfigure.in: Likewise.
3443 * sysdeps/x86_64/preconfigure: Regenerated.
3445 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3447 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3450 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3452 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3453 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3455 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3458 * locale/iso-639.def: Fix gl language name. Spotted by
3461 2012-04-12 Roland McGrath <roland@hack.frob.com>
3464 * libio/libio.h (__io_write_fn): Update comment.
3466 2012-04-12 Petr Baudis <pasky@ucw.cz>
3469 * stdio.texi (Hook Functions): The user provided writer function
3470 is not allowed to return -1.
3472 2012-04-11 David S. Miller <davem@davemloft.net>
3474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3476 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3478 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3479 Add a leading slash to rtkaio.
3481 2012-04-11 Jim Meyering <meyering@redhat.com>
3484 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3485 It is not necessarily an error to ignore fwrite's return
3486 value. One can reliably use ferror to test for errors after
3489 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3491 * bits/types.h (__snseconds_t): New type.
3492 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3494 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3495 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3496 (__SNSECONDS_T_TYPE): Likewise.
3497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3498 (__SNSECONDS_T_TYPE): Likewise.
3499 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3500 (__SNSECONDS_T_TYPE): Likewise.
3502 2012-04-10 Andreas Jaeger <aj@suse.de>
3505 * manual/time.texi (Processor Time): Return type of times is
3506 elapsed real time since an arbitrary point in the past.
3507 (CPU Time): Move CLK_TCK from here...
3508 (Processor Time): ...to here. Correct description.
3509 * manual/conf.texi (Constants for Sysconf): Correct description of
3512 2012-04-10 David S. Miller <davem@davemloft.net>
3515 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3516 where the is a gap between DT_REL(A) and DT_JMPREL.
3518 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3520 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3521 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3522 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3524 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3526 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3527 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3528 (dl_main): Handle --inhibit-cache.
3529 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3531 * elf/dl-load.c (_dl_map_object): Use it.
3532 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3534 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3537 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3538 (__ieee754_powl): Saturate large exponents rather than testing for
3539 overflow of y*log2(x).
3540 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3541 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3545 * math/s_ctan.c: Include <float.h>.
3546 (__ctan): Avoid internal overflow or cancellation in calculating
3548 * math/s_ctanf.c: Likewise.
3549 * math/s_ctanl.c: Likewise.
3550 * math/s_ctanh.c: Likewise.
3551 * math/s_ctanhf.c: Likewise.
3552 * math/s_ctanhl.c: Likewise.
3553 * math/libm-test.inc (ctan_test): Add more tests.
3554 (ctanh_test): Likewise.
3555 * sysdeps/i386/fpu/libm-test-ulps: Update.
3556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3558 2012-04-09 Andreas Jaeger <aj@suse.de>
3561 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3562 is an optional BSD extension.
3565 * manual/stdio.texi (Opening Streams): Document additional fopen
3568 2012-04-09 Roland McGrath <roland@hack.frob.com>
3570 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3571 %eax without telling the compiler.
3573 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3576 * manual/install.texi: Use sourceware.org.
3578 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3581 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3582 (__ieee754_pow): Generate overflow and underflow using huge*huge
3583 and tiny*tiny rather than just returning constant infinity or zero
3584 for large exponents.
3585 * math/libm-test.inc (pow_test): Require overflow exceptions for
3586 applicable cases of large exponents.
3589 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3590 (__ieee754_pow): Use iterative multiplication algorithm only for
3591 integer exponents with absolute value below 1024. Check for odd
3592 integer exponents when using algorithm for real exponents.
3593 * math/libm-test.inc (pow_test): Add more tests.
3594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3596 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3599 * math/libm-test.inc (exp_test): Do not allow overflow exception
3602 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3605 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3606 instead of __kernel_standard_f.
3608 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3610 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3611 * sysdeps/x86_64/memset_chk.S: Likewise.
3613 2012-04-08 Andreas Jaeger <aj@suse.de>
3616 * manual/startup.texi (Environment Access): Describe return value
3617 for putenv and setenv.
3620 * manual/filesys.texi (Directory Entries): Add description for
3624 * manual/filesys.texi (Directory Entries): Clarify that it's file
3625 system not operating system in the description of DT_UNKNOWN.
3628 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3630 2012-04-08 Stephen Compall <s11@member.fsf.org>
3633 * manual/llio.texi (Opening and Closing Files): Add cross
3634 reference to explain mode argument.
3636 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3638 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3639 * sysdeps/x86_64/memset_chk.S: Likewise.
3641 2012-04-07 David S. Miller <davem@davemloft.net>
3643 * elf/elf.h (R_SPARC_WDISP10): Define.
3644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3646 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3647 R_SPARC_SIZE64 and R_SPARC_H34.
3649 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3651 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3652 conditions and remove no longer applicable assertion.
3654 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3656 * bits/byteswap.h: Include <features.h>.
3657 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3658 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3660 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3662 * bits/byteswap.h (__bswap_16): Removed.
3663 Include <bits/byteswap-16.h> to get __bswap_16.
3664 * sysdeps/i386/bits/byteswap.h: Likewise.
3665 * sysdeps/s390/bits/byteswap.h: Likewise.
3666 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3667 * bits/byteswap-16.h: New file.
3668 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3669 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3670 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3671 * string/Makefile (headers): Add bits/byteswap-16.h.
3673 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3676 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3678 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3679 * nss/tst-nss-static.c: New.
3681 2012-04-06 Robert Millan <rmh@gnu.org>
3684 * manual/llio.texi (File Position Primitive): lseek
3685 refers to WHENCE when it really means OFFSET.
3687 2012-04-06 Andreas Jaeger <aj@suse.de>
3689 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3690 strncmp declarations.
3692 * abilist/libc.abilist: Add __poll and __ppoll.
3694 2012-04-05 David S. Miller <davem@davemloft.net>
3696 * scripts/check-local-headers.sh: Accept a host triplet in the
3697 path matched by the exclude regexp.
3699 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3701 * sysdeps/powerpc/powerpc32/dl-machine.h
3702 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3703 * sysdeps/s390/s390-32/dl-machine.h
3704 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3705 * sysdeps/sparc/sparc32/dl-machine.h
3706 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3707 * sysdeps/sparc/sparc64/dl-machine.h
3708 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3710 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3712 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3713 undefined symbol errors.
3715 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3718 2012-04-05 Michael Matz <matz@suse.de>
3721 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3723 2012-04-05 Andreas Jaeger <aj@suse.de>
3726 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3729 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3731 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3732 which ROUND is no valid rounding mode.
3734 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3736 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3738 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3740 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3742 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3743 an exception using FPU order intentionally.
3745 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3747 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3748 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3749 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3750 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3752 2012-04-05 Simon Josefsson <simon@josefsson.org>
3755 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3756 EINVAL when BUFLEN is too smal.
3758 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3761 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3762 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3764 2012-04-03 Andreas Jaeger <aj@suse.de>
3767 * manual/setjmp.texi (System V contexts): Fix sentence.
3770 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3771 New macro for this case.
3772 [!__GNUC__] (__bswap_64): New inline function for this case.
3773 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3774 * bits/byteswap.h: Likewise.
3775 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3776 ull, guard with __GLIBC_HAVE_LONG_LONG.
3778 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3779 __GLIBC_HAVE_LONG_LONG.
3781 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3782 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3784 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3787 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3788 inptr and inend, rather than using last_ch.
3790 2012-04-02 David S. Miller <davem@davemloft.net>
3792 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3793 * stdio-common/printf-parse.h (read_int): Change return type to
3794 'int', return -1 on INT_MAX overflow.
3795 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3796 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3797 overflows INT_MAX. Check for overflow of in-format-string precision
3798 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3799 SIZE_MAX not INT_MAX for integer overflow test.
3800 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3801 skip the construct in the format string but do not record anything.
3802 * stdio-common/bug22.c: Adjust to test both width/prevision
3803 INT_MAX overflow as well as total length INT_MAX overflow. Check
3804 explicitly for proper errno values.
3806 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3808 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3810 * string/test-strcmp.c [! WIDE]: Likewise.
3811 * time/tst-mktime2.c: Likewise for INT_MAX.
3812 * string/test-string.h: #include <sys/param.h> for MIN.
3814 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3815 * sysdeps/i386/init-first.c (init): Likewise.
3816 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3817 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3818 * sysdeps/sh/init-first.c (init): Likewise.
3820 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3822 * po/ru.po: Update from translation team.
3823 * po/vi.po: Likewise.
3825 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3827 * resolv/nss_dns/dns-host.c: Merge copyright years.
3829 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3831 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3832 Optimize memcpy with prefetch if
3833 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3834 src, dst pointers have unequal 16 byte alignments.
3836 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3839 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3840 from a CNAME entry and return the minimum ttl for the query.
3841 (gaih_getanswer_slice): Likewise.
3843 2012-03-30 Jeff Law <law@redhat.com>
3845 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3847 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3848 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3850 * resolv/nss_dns/dns-host.c: Update copyright year.
3852 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3854 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3855 requests to save a system call. Fix check that all bytes are sent.
3857 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3858 comments for sendmmsg.
3860 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3863 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3864 with only 1 character between 0x0041 and 0x01b0.
3865 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3866 * wcsmbs/tst-mbsnrtowcs.c: New file.
3868 2012-03-29 David S. Miller <davem@davemloft.net>
3870 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3871 small copies by hand.
3873 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3876 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3877 _nss_compat_initgroups_dyn): Fall back to malloc/free
3878 for large group memberships.
3880 2012-03-28 David S. Miller <davem@davemloft.net>
3882 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3883 that branches into memcpy.
3884 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3886 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3887 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3890 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3892 * sysdeps/sparc/mempcpy.S: New file.
3894 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3895 the IFUNC routine in the libc case.
3896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3898 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3899 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3900 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3901 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3902 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3903 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3904 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3905 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3907 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3908 loop to 256 bytes instead of 64 bytes and fix test signedness.
3910 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3911 * sysdeps/sparc/sparc32/Makefile: rather than here...
3912 * sysdeps/sparc/sparc64/Makefile: and here.
3914 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3916 * malloc/mallocbug.c: Avoid warnings about unused variables.
3918 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3921 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3922 in the right place. Discard and retry query if response is
3923 larger than input buffer size.
3925 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3930 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3931 x for large integer exponent.
3932 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3933 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3934 sign of result as needed afterwards.
3935 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3936 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3937 result for underflowing pow the same as for overflow.
3938 (__kernel_standard_l): Handle powl overflow and underflow here
3939 rather than calling __kernel_standard.
3940 * math/libm-test.inc (pow_test): Add more tests.
3955 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3956 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3957 (__kernel_standard_l): New function.
3958 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3960 * math/w_acosl.c (__acosl): Likewise.
3961 * math/w_asinl.c (__asinl): Likewise.
3962 * math/w_atan2l.c (__atan2l): Likewise.
3963 * math/w_atanhl.c (__atanhl): Likewise.
3964 * math/w_coshl.c (__coshl): Likewise.
3965 * math/w_exp10l.c (__exp10l): Likewise.
3966 * math/w_exp2l.c (__exp2l): Likewise.
3967 * math/w_fmodl.c (__fmodl): Likewise.
3968 * math/w_hypotl.c (__hypotl): Likewise.
3969 * math/w_j0l.c (__j0l, __y0l): Likewise.
3970 * math/w_j1l.c (__j1l, __y1l): Likewise.
3971 * math/w_jnl.c (__jnl, __ynl): Likewise.
3972 * math/w_lgammal.c (__lgammal): Likewise.
3973 * math/w_log10l.c (__log10l): Likewise.
3974 * math/w_log2l.c (__log2l): Likewise.
3975 * math/w_logl.c (__logl): Likewise.
3976 * math/w_powl.c (__powl): Likewise.
3977 * math/w_remainderl.c (__remainderl): Likewise.
3978 * math/w_scalbl.c (sysv_scalbl): Likewise.
3979 * math/w_sinhl.c (__sinhl): Likewise.
3980 * math/w_sqrtl.c (__sqrtl): Likewise.
3981 * math/w_tgammal.c (__tgammal): Likewise.
3982 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3983 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3984 * math/libm-test.inc (acos_test): Add more tests.
3985 (acosh_test): Likewise.
3986 (asin_test): Likewise.
3987 (atanh_test): Likewise.
3988 (exp_test): Likewise.
3989 (exp10_test): Likewise.
3990 (exp2_test): Likewise.
3991 (expm1_test): Likewise.
3992 (lgamma_test): Likewise.
3993 (log_test): Likewise.
3994 (log10_test): Likewise.
3995 (log1p_test): Likewise.
3996 (log2_test): Likewise.
3997 (pow_test): Do not allow some spurious overflow exceptions.
3998 (sqrt_test): Add more tests.
3999 (tgamma_test): Likewise.
4000 (y0_test): Likewise.
4001 (y1_test): Likewise.
4002 (yn_test): Likewise.
4004 2012-03-27 Anton Blanchard <anton@samba.org>
4006 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4008 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4009 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4010 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4012 2012-03-27 David S. Miller <davem@davemloft.net>
4014 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4016 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4019 2012-03-27 Andreas Jaeger <aj@suse.de>
4021 * sysdeps/x86_64/elf/configure.in: Moved to ...
4022 * sysdeps/x86_64/configure.in: ... here.
4023 * sysdeps/x86_64/elf/start.S: Moved to ...
4024 * sysdeps/x86_64/start.S: ... here.
4025 * sysdeps/x86_64/elf/configure: Delete.
4027 * sysdeps/x86_64/configure.in: Merge contents from
4028 sysdeps/i386/configure.in (without i686 check).
4030 * sysdeps/i386/elf/Versions: Merge into ...
4031 * sysdeps/i386/Versions: ... this.
4032 * sysdeps/i386/elf/Versions: Delete file.
4033 * sysdeps/i386/elf/start.S: Moved to ...
4034 * sysdeps/i386/start.S: ...here.
4035 * sysdeps/i386/elf/configure.in: Merge into...
4036 * sysdeps/i386/configure.in: ...here.
4037 * sysdeps/i386/elf/configure.in: Delete file.
4038 * sysdeps/i386/elf/configure: Delete file.
4040 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4041 * debug/backtracesyms.c: ... here.
4042 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4043 * debug/backtracesymsfd.c: ... here.
4044 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4045 * sysdeps/generic/ifunc-sel.h: ... here.
4047 * sysdeps/unix/i386/start.c: Delete file.
4048 * sysdeps/unix/sparc/start.c: Delete file.
4049 * sysdeps/unix/start.c: Delete file.
4051 * sysdeps/sh/elf/configure.in: Moved to ...
4052 * sysdeps/sh/configure.in: ... here.
4053 * sysdeps/sh/elf/start.S: Moved to ...
4054 * sysdeps/sh/start.S: ... here.
4055 * sysdeps/sh/elf/configure: Delete file.
4057 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4058 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4059 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4060 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4061 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4062 * sysdeps/powerpc/powerpc64/start.S: here.
4063 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4064 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4065 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4066 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4067 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4069 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4070 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4071 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4072 * sysdeps/powerpc/powerpc32/start.S: ... here.
4073 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4074 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4075 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4077 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4078 * sysdeps/powerpc/ifunc-sel.h: ... here.
4079 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4080 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4082 * sysdeps/sparc/elf/configure.in: Moved to ...
4083 * sysdeps/sparc/configure.in: ... here.
4084 * sysdeps/sparc/elf/configure: Delete file.
4085 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4086 * sysdeps/sparc/sparc32/start.S: ... here.
4087 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4088 * sysdeps/sparc/sparc64/start.S: ... here.
4089 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4090 * sysdeps/sparc/sparc32/Makefile: ... this.
4091 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4092 * sysdeps/sparc/sparc64/Makefile: ... this.
4094 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4095 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4096 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4097 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4098 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4099 * sysdeps/s390/s390-32/setjmp.S: ... here.
4100 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4101 * sysdeps/s390/s390-32/configure.in: ... here.
4102 * sysdeps/s390/s390-32/elf/configure: Delete file.
4103 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4104 * sysdeps/s390/s390-32/start.S: ... here.
4106 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4107 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4108 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4109 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4110 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4111 * sysdeps/s390/s390-64/setjmp.S: ... here.
4112 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4113 * sysdeps/s390/s390-64/configure.in: ... here
4114 * sysdeps/s390/s390-64/elf/configure: Delete file.
4115 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4116 * sysdeps/s390/s390-64/start.S: ... here.
4117 * sysdeps/s390/s390-64/elf/configure: Delete.
4119 * configure.in: Remove support for elf directories in sysdeps.
4121 * configure: Regenerated.
4122 * sysdeps/i386/configure: Regenerated.
4123 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4124 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4125 * sysdeps/s390/s390-32/configure: Regenerated.
4126 * sysdeps/s390/s390-64/configure: Regenerated.
4127 * sysdeps/sh/configure: Regenerated.
4128 * sysdeps/sparc/configure: Regenerated.
4129 * sysdeps/x86_64/configure: Regenerated.
4131 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4135 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4136 denormal result into account.
4138 2012-03-25 Roland McGrath <roland@hack.frob.com>
4140 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4141 Reported by Allan McRae <allan@archlinux.org>.
4143 2012-03-23 Jeff Law <law@redhat.com>
4145 * nss/getnssent.c (__nss_getent): Fix typo.
4147 2012-03-23 David S. Miller <davem@davemloft.net>
4149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4151 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4153 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4154 to pad to uint64_t for each field.
4155 (dl_tls_index): Replace unsigned long with uint64_t.
4157 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4158 Paul Pluzhnikov <ppluzhnikov@google.com>
4161 * grp/Makefile (otherlibs): Don't set it.
4162 * inet/Makefile (otherlibs): Likewise.
4163 * login/Makefile (otherlibs): Likewise.
4164 * nscd/Makefile (otherlibs): Likewise.
4165 * posix/Makefile (otherlibs): Likewise.
4166 * pwd/Makefile (otherlibs): Likewise.
4167 * rt/Makefile (otherlibs): Likewise.
4168 * sunrpc/Makefile (otherlibs): Likewise.
4169 * nss/Makefile (otherlibs): Likewise.
4170 Add libnss_files to routines and static-only-routines.
4171 ($(objpfx)getent): Remove rule.
4172 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4173 static-only-routines.
4175 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4178 * math/s_cexp.c: Include <float.h>.
4179 (__cexp): Handle exp result overflowing not necessarily
4180 overflowing both real and imaginary parts of result.
4181 * math/s_cexpf.c: Likewise.
4182 * math/s_cexpl.c: Likewise.
4183 * math/libm-test.inc (cexp_test): Add more tests.
4184 * sysdeps/i386/fpu/libm-test-ulps: Update.
4185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4187 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4189 * include/link.h (ELFW): New macro.
4190 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4191 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4193 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4195 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4198 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4200 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4202 (struct La_x32_retval): Likewise.
4204 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4206 * sysdeps/x86_64/preconfigure.in: New file.
4207 * sysdeps/x86_64/preconfigure: New generated file.
4209 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4212 * math/e_exp2l.c: Include <float.h>.
4213 (__ieee754_exp2l): Handle overflow and underflow cases
4214 separately. Only pass fractional part of argument to
4216 * math/libm-test.inc (exp2_test): Add more tests.
4218 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4219 negating x to take absolute value.
4220 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4222 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4223 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4225 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4226 computing low part if x was negated.
4227 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4229 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4231 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4233 (pltexit): Cast int_retval to ptrdiff_t.
4234 * elf/tst-auditmod3b.c: Likewise.
4235 * elf/tst-auditmod4b.c: Likewise.
4236 * elf/tst-auditmod5b.c: Likewise.
4237 * elf/tst-auditmod6b.c: Likewise.
4238 * elf/tst-auditmod6c.c: Likewise.
4239 * elf/tst-auditmod7b.c: Likewise.
4241 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4242 and x32_gnu_pltexit.
4244 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4246 (La_x32_regs): New macro.
4247 (La_x32_retval): Likewise.
4248 (la_x32_gnu_pltenter): New function prototype.
4249 (la_x32_gnu_pltexit): Likewise.
4251 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4253 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4258 * configure.in (libc_cv_cc_nofma): Check for option to disable
4259 generation of FMA instructions.
4260 * configure: Regenerate.
4261 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4262 * sysdeps/ieee754/dbl-64/Makefile: New file.
4263 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4264 Remove brandred-fma4.
4265 (CFLAGS-brandred-fma4.c): Remove.
4266 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4267 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4272 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4274 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4275 LLONG_MAX != LONG_MAX.
4276 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4277 (_fitoa_word): Likewise.
4278 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4279 LLONG_MAX != LONG_MAX.
4280 * stdio-common/_itowa.h: Include <_itoa.h>.
4281 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4282 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4283 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4284 only if not defined.
4285 (_ITOA_WORD_TYPE): Likewise.
4286 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4287 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4289 2012-03-21 David S. Miller <davem@davemloft.net>
4291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4293 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4295 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4296 of x86_64 when setting libc_cv_slibdir, libdir and
4298 * sysdeps/unix/sysv/linux/configure: Regenerated.
4300 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4302 * manual/lang.texi (Old Varargs): Remove section.
4303 (How Variadic): Update menu.
4304 (va_start): Do not mention varargs.h.
4306 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4307 Joseph Myers <joseph@codesourcery.com>
4309 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4311 * configure: Regenerated.
4313 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4315 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4316 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4319 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4322 * Makefile (files-for-dist): Remove NOTES.
4323 (NOTES): Remove rule.
4324 * README: Don't refer to NOTES.
4325 * manual/creature.texi: Don't include macros.texi.
4326 * manual/intro.texi (creature.texi): Remove comment referring to
4329 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4330 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4331 * configure: Regenerated.
4332 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4334 (libc_cv_as_i686): Likewise.
4335 (libc_cv_cc_avx): Likewise.
4336 (libc_cv_cc_sse2avx): Likewise.
4337 (libc_cv_cc_fma4): Likewise.
4338 (libc_cv_cc_novzeroupper): Likewise.
4339 * sysdeps/i386/configure: Regenerated.
4342 * sysdeps/i386/fpu/s_cexp.S: Remove.
4343 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4344 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4345 * math/libm-test.inc (cexp_test): Add more tests.
4346 * sysdeps/i386/fpu/libm-test-ulps: Update.
4347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4349 2012-03-21 Allan McRae <allan@archlinux.org>
4351 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4353 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4356 * math/w_exp2.c: Do not include <float.h>.
4357 (o_threshold, u_threshold): Remove.
4358 (__exp2): Calculate result before checking finiteness and calling
4360 * math/w_exp2f.c: Likewise.
4361 * math/w_exp2l.c: Likewise.
4362 * math/libm-test.inc (exp2_test): Require overflow exception for
4366 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4367 range of signed 64-bit integers before using fistpll. Remove
4368 checks for whether integers fit in mantissa bits.
4369 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4370 the range of signed 32-bit integers before using fistpl. Remove
4371 checks for whether integers fit in mantissa bits.
4372 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4373 (__ieee754_powl): Test for y outside the range of signed 64-bit
4374 integers before using fistpll. Reduce 64-bit values to 63-bit
4376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4377 divide-by-zero is raised for zero to large negative powers.
4378 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4379 (__ieee754_powl): Test for y outside the range of signed 64-bit
4380 integers before using fistpll. Reduce 64-bit values to 63-bit
4382 * math/libm-test.inc (pow_test): Add more tests.
4384 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4386 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4387 <stdio-common/_itoa.h>.
4388 * debug/segfault.c: Likewise.
4389 * elf/dl-cache.c: Likewise.
4390 * elf/dl-minimal.c: Likewise.
4391 * elf/dl-misc.c: Likewise.
4392 * elf/dl-sysdep.c: Likewise.
4393 * elf/dl-version.c: Likewise.
4394 * elf/rtld.c: Likewise.
4395 * hurd/hurdsock.c: Likewise.
4396 * hurd/lookup-retry.c: Likewise.
4397 * malloc/malloc.c: Likewise.
4398 * malloc/mtrace.c: Likewise.
4399 * nscd/nscd_getgr_r.c: Likewise.
4400 * nscd/nscd_getpw_r.c: Likewise.
4401 * nscd/nscd_getserv_r.c: Likewise.
4402 * posix/getopt_init.c: Likewise.
4403 * posix/wordexp.c: Likewise.
4404 * stdio-common/_itoa.c: Likewise.
4405 * stdio-common/printf_fphex.c: Likewise.
4406 * stdio-common/vfprintf.c: Likewise.
4407 * string/_strerror.c: Likewise.
4408 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4409 * sysdeps/i386/i686/hp-timing.h: Likewise.
4410 * sysdeps/mach/_strerror.c: Likewise.
4411 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4412 * sysdeps/mach/hurd/sethostid.c: Likewise.
4413 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4414 * sysdeps/mach/xpg-strerror.c: Likewise.
4415 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4416 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4417 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4418 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4419 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4420 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4421 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4422 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4423 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4424 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4425 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4426 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4427 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4428 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4429 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4430 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4431 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4432 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4433 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4434 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4435 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4437 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4439 * stdio-common/_itoa.h: Moved to ...
4440 * sysdeps/generic/_itoa.h: Here.
4442 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4444 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4445 instead of "_itoa.h" and "_itowa.h".
4446 * stdio-common/vfprintf.: Likewise.
4448 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4450 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4452 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4453 (__signbit): Likwise.
4457 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4459 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4462 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4464 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4465 OVERFLOW_EXCEPTION_OK.
4466 * math/libm-test.inc ("Philosophy"): Update comment about
4468 (OVERFLOW_EXCEPTION): Define.
4469 (OVERFLOW_EXCEPTION_OK): Likewise.
4470 (INVALID_EXCEPTION_OK): Renumber.
4471 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4472 (IGNORE_ZERO_INF_SIGN): Likewise.
4473 (test_exceptions): Handle FE_OVERFLOW.
4474 (exp10_test): Expect overflow exceptions.
4475 (exp2_test): Likewise.
4476 (expm1_test): Likewise.
4477 (nextafter_test): Likewise.
4478 (pow_test): Likewise.
4479 (scalbn_test): Likewise.
4480 (scalbln_test): Likewise.
4482 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4484 * sysdeps/x86_64/bits/atomic.h
4485 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4487 (atomic_exchange_acq): Likewise.
4488 (__arch_exchange_and_add_body): Likewise.
4489 (__arch_add_body): Likewise.
4490 (atomic_add_negative): Likewise.
4491 (atomic_add_zero): Likewise.
4493 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4495 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4496 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4498 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4500 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4501 Check __x86_64__ instead of __WORDSIZE.
4503 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4505 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4507 2012-03-19 David S. Miller <davem@davemloft.net>
4509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4511 * sysdeps/sparc/fpu/fenv_private.h: New file.
4512 * sysdeps/sparc/fpu/math_private.h: Use it.
4513 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4515 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4516 (libc_feholdexcept_setroundl): Remove.
4517 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4519 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4520 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4522 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4524 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4525 int64_t instead of long int.
4526 (INSERT_WORDS64): Likwise.
4528 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4530 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4531 _Unwind_GetCFA return to _Unwind_Ptr first.
4533 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4536 * math/s_clog.c: Include <float.h>.
4537 (__clog): Scale large or subnormal inputs.
4538 * math/s_clogf.c: Likewise.
4539 * math/s_clogl.c: Likewise.
4540 * math/s_clog10.c: Include <float.h>.
4541 (M_LOG10_2): Define.
4542 (__clog10): Scale large or subnormal inputs.
4543 * math/s_clog10f.c: Likewise.
4544 * math/s_clog10l.c: Likewise.
4545 * math/libm-test.inc (clog_test): Add more tests.
4546 (clog10_test): Likewise.
4547 * sysdeps/i386/fpu/libm-test-ulps: Update.
4548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4551 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4553 * math/libm-test.inc (atan2_test): Add another test.
4555 * Makerules (common-objdir-compile): Remove.
4556 * sysdeps/unix/Makefile (config-generated): Do not add
4557 $(unix-generated) to variable.
4558 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4559 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4561 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4563 [generic bits/local_lim.h] (before-compile): Do not append to
4565 [generic bits/local_lim.h] (common-generated): Likewise.
4566 [generic sys/param.h] (before-compile): Do not append to variable.
4567 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4568 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4569 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4570 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4572 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4573 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4574 [generic sys/param.h] ($(addprefix
4575 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4576 [generic sys/param.h] (common-generated): Do not append to
4578 [generic sys/param.h] (sysdep_headers): Likewise.
4579 [generic bits/errno.h] (before-compile): Do not append to
4581 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4583 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4584 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4585 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4586 [generic bits/errno.h] (common-generated): Do not append to
4588 [generic bits/ioctls.h] (before-compile): Do not append to
4590 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4592 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4593 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4594 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4596 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4597 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4598 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4599 [generic bits/ioctls.h] (common-generated): Do not append to
4601 [generic sys/syscall.h] (syscall.h): Remove variable.
4602 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4604 [generic sys/syscall.h] (before-compile): Do not append to
4606 [generic sys/syscall.h] (common-generated): Likewise.
4607 * sysdeps/unix/errnos-tmpl.c: Remove file.
4608 * sysdeps/unix/errnos.awk: Likewise.
4609 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4610 * sysdeps/unix/ioctls.awk: Likewise.
4611 * sysdeps/unix/mk-local_lim.c: Likewise.
4612 * sysdeps/unix/snarf-ioctls: Likewise.
4614 2012-03-19 Richard Henderson <rth@twiddle.net>
4616 * sysdeps/i386/fpu/fenv_private.h: New file.
4617 * sysdeps/i386/fpu/math_private.h: Use it.
4618 (math_opt_barrier, math_force_eval): Remove.
4619 (libc_feholdexcept_setround_53bit): Remove.
4620 (libc_feupdateenv_53bit): Remove.
4621 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4622 (math_opt_barrier, math_force_eval): Remove.
4623 (libc_feholdexcept): Remove.
4624 (libc_feholdexcept_setround): Remove.
4625 (libc_fetestexcept, libc_fesetenv): Remove.
4626 (libc_feupdateenv_test): Remove.
4627 (libc_feupdateenv, libc_feholdsetround): Remove.
4628 (libc_feresetround): Remove.
4630 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4631 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4633 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4634 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4635 (libc_feupdateenv_testl): New.
4636 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4637 (libc_feupdateenv_testf): New.
4638 (libc_feupdateenv): Use libc_feupdateenv_test.
4639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4640 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4642 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4643 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4644 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4645 (libc_feresetround_noex): New.
4646 (libc_feresetround_noexf): New.
4647 (libc_feresetround_noexl): New.
4648 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4649 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4650 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4651 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4656 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4657 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4658 SET_RESTORE_ROUND_NOEX.
4659 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4660 SET_RESTORE_ROUND_NOEXF.
4661 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4662 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4663 (libc_feholdsetroundf): New.
4664 (libc_feresetround, libc_feresetroundf): New.
4666 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4667 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4668 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4670 * sysdeps/generic/math_private.h: Include <fenv.h>.
4671 (default_libc_feholdexcept): New.
4672 (default_libc_feholdexcept_setround): New.
4673 (default_libc_fesetenv, default_libc_feupdateenv): New.
4674 (libc_feholdexcept): Only define if undefined.
4675 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4676 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4677 (libc_feholdexcept_setroundl): Likewise.
4678 (libc_feholdexcept_setround_53bit): Likewise.
4679 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4680 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4681 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4682 (libc_feupdateenv_53bit): Likewise.
4683 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4684 (libc_feholdexcept): Convert from macro to inline function.
4685 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4686 (libc_fesetenv, libc_feupdateenv): Likewise.
4688 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4689 not previously defined.
4690 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4691 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4692 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4693 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4694 * sysdeps/ieee754/flt-32/math_private.h: New file.
4695 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4696 math_private.h below SET_FLOAT_WORD.
4697 (__isnan, __isinf_ns, __finite): Remove.
4698 (__isnanf, __isinf_nsf, __finitef): Remove.
4700 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4704 2012-03-17 David S. Miller <davem@davemloft.net>
4707 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4710 2012-03-16 David S. Miller <davem@davemloft.net>
4712 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4716 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4718 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4719 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4720 sysdep_routines when subdir is sysvipc.
4721 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4724 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4726 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4728 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4731 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4733 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4734 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4735 (__lround): Renamed to ...
4736 (__llround): This. Replace long int with long long int.
4737 Define lround functions as aliases of llround functions.
4738 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4740 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4742 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4743 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4744 adresses to uintptr_t. Replace "long int" and "unsigned long
4745 int" with "greg_t" on va_arg.
4747 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4749 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4750 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4752 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4753 Move e_machine check before EI_CLASS check. Handle x32
4754 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4755 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4756 SKIP_EM_IA_64 and include
4757 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4759 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4760 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4761 (add_system_dir): New macro.
4763 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4764 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4766 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4777 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4779 * math/w_j0f.c (j0f): Likewise.
4781 * math/w_j0l.c (__j0l): Likewise.
4783 * math/w_j1.c (j1): Likewise.
4785 * math/w_j1f.c (j1f): Likewise.
4787 * math/w_j1l.c (__j1l): Likewise.
4789 * math/w_jn.c (jn): Likewise.
4791 * math/w_jnf.c (jnf): Likewise.
4793 * math/w_jnl.c (__jnl): Likewise.
4795 * math/libm-test.inc (j0_test): Add more tests.
4796 (j1_test): Likewise.
4797 (jn_test): Likewise. Add trailing semicolon to existing test.
4798 (y0_test): Likewise.
4799 (y1_test): Likewise.
4800 * sysdeps/i386/fpu/libm-test-ulps: Update.
4801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4805 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4806 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4807 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4808 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4809 (__tanl): Set errno for infinite argument.
4810 * sysdeps/i386/fpu/mptan.c: Remove.
4811 * sysdeps/i386/fpu/s_tan.S: Likewise.
4812 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4813 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4814 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4815 * math/libm-test.inc (tan_test): Add more tests and enable more
4816 tests for double and long double.
4817 * sysdeps/i386/fpu/libm-test-ulps: Update.
4818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4820 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4822 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4823 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4825 2012-03-16 Roland McGrath <roland@hack.frob.com>
4827 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4828 * configure.in: Use it for both main tree and add-ons.
4829 * configure: Regenerated.
4831 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4833 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4835 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4837 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4841 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4842 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4847 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4850 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4851 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4852 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4853 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4854 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4855 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4856 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4857 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4858 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4859 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4860 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4861 * math/libm-test.inc (cos_test): Add more tests and enable more
4862 tests for long double.
4863 (sin_test): Likewise.
4864 (sincos_test): Likewise.
4865 * sysdeps/i386/fpu/libm-test-ulps: Update.
4866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4868 2012-03-16 David S. Miller <davem@davemloft.net>
4870 * sysdeps/sparc/fpu/math_private.h: New file.
4872 2012-03-15 David S. Miller <davem@davemloft.net>
4874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4888 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4889 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4891 * sysdeps/sparc/sparc-ifunc.h: New file.
4892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4918 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4919 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4930 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4931 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4932 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4933 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4937 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4939 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4943 2012-03-15 Andreas Jaeger <aj@suse.de>
4946 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4947 ieee754/flt-32 implementation for sin, cos and sincos.
4948 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4949 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4950 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4951 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4952 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4953 ieee754/flt-32 implementation for tan.
4955 * math/libm-test.inc (cos_test): Enable some large input tests for
4957 (sin_test): Likewise.
4958 (sincos_test): Likewise.
4959 (tan_test): Add tests for large input.
4961 * sysdeps/i386/fpu/libm-test-ulps: Update.
4963 2012-03-15 Andreas Jaeger <aj@suse.de>
4966 * math/libm-test.inc (cos_test): Add more test cases.
4967 (sin_test): Likewise.
4968 (sincos_test): Likewise.
4970 2012-03-15 Andreas Jaeger <aj@suse.de>
4973 * math/libm-test.inc (cos_test): Add a test case for large input
4975 (sin_test): Likewise.
4976 (sincos_test): Likewise.
4978 2012-03-15 Andreas Jaeger <aj@suse.de>,
4979 Joseph Myers <joseph@codesourcery.com>
4982 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4983 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4984 * sysdeps/i386/fpu/branred.c: Likewise.
4985 * sysdeps/i386/fpu/dosincos.c: Likewise.
4986 * sysdeps/i386/fpu/mpa.c: Likewise.
4987 * sysdeps/i386/fpu/s_cos.S: Likewise.
4988 * sysdeps/i386/fpu/s_sin.S: Likewise.
4989 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4990 * sysdeps/i386/fpu/sincos32.c: Likewise.
4992 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4994 (libc_feupdateenv_53bit): Define.
4995 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4997 (libc_feupdateenv_53bit): Define.
4999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5000 53 bit (without extend i386 double precision).
5002 * math/libm-test.inc (sincos_test): Add tests for large input.
5006 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5008 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5012 2012-03-15 David S. Miller <davem@davemloft.net>
5014 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5015 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5016 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5017 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5041 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5042 fmin/fmax sysdep routines.
5043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5045 2012-03-14 David S. Miller <davem@davemloft.net>
5047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5052 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5053 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5054 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5068 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5069 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5070 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5071 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5072 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5073 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5119 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5124 * sysdeps/sparc/configure.in: New file.
5125 * sysdeps/sparc/configure: Generate.
5126 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5127 * configure: Regenerate.
5128 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5129 * config.make.in (have-as-vis3): New.
5130 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5131 available use -Av9d instead of -Av9a.
5132 * sysdeps/sparc/sparc64/Makefile: Likewise.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5142 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5144 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5145 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5148 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5149 fzeros/fnegs to load 0x80000000 into a float register instead of
5151 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5153 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5157 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5158 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5159 ($(inst_includedir)/bits/syscall.h): Remove rule.
5160 ($(objpfx)bits/syscall.d): Include instead of
5161 $(objpfx)syscall-list.d.
5162 (generated): Change syscall-list.h and syscall-list.d to
5163 bits/syscall.h and bits/syscall.d.
5165 2012-03-14 Roland McGrath <roland@hack.frob.com>
5168 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5170 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5173 * math/s_csqrt.c: Include <float.h>.
5174 (__csqrt): Scale large or subnormal inputs.
5175 * math/s_csqrtf.c: Likewise.
5176 * math/s_csqrtl.c: Likewise.
5177 * math/libm-test.inc (csqrt_test): Add more tests.
5178 * sysdeps/i386/fpu/libm-test-ulps: Update.
5179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5182 * math/libm-test.inc (hypot_test): Add more tests.
5184 2012-03-13 David S. Miller <davem@davemloft.net>
5187 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5188 double-precision for the calculation instead of scaling.
5190 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5192 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5193 manipulate bits before adding and subtracting TWO52[sx].
5194 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5195 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5197 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5199 2012-03-13 David S. Miller <davem@davemloft.net>
5201 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5202 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5204 rtld-global-offsets.h
5205 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5207 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5210 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5212 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5213 'err' in the ifdef scope in which it is actually used.
5215 * nss/nss_db/db-init.c: Include string.h
5217 2012-03-12 David S. Miller <davem@davemloft.net>
5219 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5220 masking out of the most significant byte of random value used.
5221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5222 Fix coding style in previous change.
5224 * sysdeps/unix/sysv/linux/kernel-features.h
5225 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5226 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5228 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5231 2012-03-11 David S. Miller <davem@davemloft.net>
5233 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5234 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5235 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5236 for 'resultvar' otherwise things get truncated on 64-bit.
5238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5239 Fix masking out of the most significant byte of random value used.
5241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5243 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5247 2012-03-09 David S. Miller <davem@davemloft.net>
5249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5250 variables with appropriate CPP guards.
5251 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5252 frame pointer, not the stack pointer. Correct layout comments. Fix test
5253 on resulting framesize and the management of the outregs buffer for pltexit.
5254 Preserve floating point return values across _dl_call_pltexit call.
5255 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5256 framesize and the management of the outregs buffer for pltexit.
5257 Preserve floating point return values across _dl_call_pltexit
5259 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5260 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5261 (print_exit): Fix format string for return register value.
5263 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5265 * sunrpc/Makefile (others): Add rpcgen.
5266 ($(objpfx)rpcgen): Remove special build rule and dependency on
5268 * sunrpc/rpcgen.c: New file.
5270 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5273 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5274 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5275 * sysdeps/i386/crti.S: Likewise.
5276 * sysdeps/i386/crtn.S: Likewise.
5277 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5278 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5279 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5280 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5281 * sysdeps/sh/crti.S: Likewise.
5282 * sysdeps/sh/crtn.S: Likewise.
5283 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5286 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5288 * locale/programs/locfile-kw.gperf: Likewise.
5289 * locale/programs/charmap-kw.h: Regenerated.
5290 * locale/programs/locfile-kw.h: Likewise.
5293 * intl/plural.y: Replace FSF snail mail address with URL.
5294 * intl/plural.c: Regenerated.
5296 2012-03-09 Richard Henderson <rth@twiddle.net>
5298 * include/math_private.h: Remove file.
5299 * math/math_private.h: Move file ...
5300 * sysdeps/generic/math_private.h: ... here.
5302 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5303 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5304 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5306 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5307 and <math_private.h>.
5308 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5309 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5310 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5311 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5312 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5314 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5323 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5325 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5327 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5329 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5331 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5333 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5396 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5397 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5398 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5399 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5400 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5402 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5403 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5404 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5405 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5406 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5407 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5408 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5409 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5410 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5411 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5412 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5413 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5414 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5415 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5416 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5417 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5418 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5419 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5420 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5421 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5422 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5423 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5424 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5425 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5426 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5427 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5428 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5429 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5430 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5431 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5432 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5433 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5434 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5435 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5436 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5437 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5438 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5439 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5440 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5441 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5442 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5443 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5444 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5445 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5446 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5447 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5448 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5449 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5450 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5451 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5452 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5453 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5454 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5455 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5456 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5457 * sysdeps/ieee754/k_standard.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5514 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5522 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5524 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5572 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5573 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5574 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5575 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5577 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5578 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5580 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5584 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5585 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5590 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5592 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5606 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5607 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5608 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5613 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5618 * sysdeps/ieee754/s_lib_version.c: Likewise.
5619 * sysdeps/ieee754/s_matherr.c: Likewise.
5620 * sysdeps/ieee754/s_signgam.c: Likewise.
5621 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5622 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5623 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5624 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5625 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5626 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5627 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5628 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5629 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5630 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5631 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5632 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5633 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5634 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5635 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5636 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5637 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5638 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5639 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5643 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5645 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5646 * sunrpc/rpc_main.c: Likewise.
5647 * sunrpc/rpc_svcout.c: Likewise.
5649 2012-03-09 David S. Miller <davem@davemloft.net>
5651 * include/math_private.h: New file.
5653 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5655 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5656 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5657 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5658 from <bits/socket_type.h>.
5659 (enum __socket_type): Don't define here.
5660 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5665 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5668 * Makerules ($(inst_includedir)/%.h): New rule.
5669 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5670 (install-others): Remove variable setting.
5671 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5673 2012-03-08 Richard Henderson <rth@twiddle.net>
5675 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5676 from macro to inline function; merge with the
5677 !__LIBC_INTERNAL_MATH_INLINES version.
5678 (__ieee754_sqrtf): Likewise.
5680 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5682 (__rintf, __floor, __floorf): Likewise.
5684 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5685 macro to inline function.
5686 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5688 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5689 not <math/math_private.h>.
5691 2012-03-08 David S. Miller <davem@davemloft.net>
5693 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5695 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5697 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5699 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5701 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5702 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5704 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5706 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5707 be defined individually, they must be defined as a block. Define
5708 S for printing a string instead of hidint the different by using a
5709 macro for adding the 'l'.
5710 * stdio-common/tst-fphex-wide.c: Adjust.
5712 2012-03-07 Marek Polacek <polacek@redhat.com>
5714 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5716 2012-03-08 Marek Polacek <polacek@redhat.com>
5719 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5720 * stdio-common/tst-fphex.c: Define a few macros to make the
5721 test reusable. Use them.
5722 * stdio-common/tst-fphex-wide.c: New file.
5724 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5727 * manual/macros.texi (gnusystems): New macro.
5728 (nongnusystems): Likewise.
5729 (gnulinuxhurdsystems): Likewise.
5730 (gnuhurdsystems): Likewise..
5731 (gnulinuxsystems): Likewise.
5732 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5733 variants of the GNU system, not "GNU system".
5734 * manual/conf.texi: Likewise.
5735 * manual/errno.texi: Likewise. Update example of errno macro
5737 * manual/filesys.texi: Likewise.
5738 (getumask): Document as specific to GNU/Hurd.
5739 * manual/install.texi: Likewise. Reword some references to
5741 * manual/intro.texi: Likewise.
5742 * manual/io.texi: Likewise.
5743 (File Name Portability): Detail which constraints are inapplicable
5744 to all GNU systems and which are only inapplicable to GNU/Hurd.
5745 * manual/job.texi: Likewise.
5746 * manual/llio.texi: Likewise.
5747 (O_NOCTTY): Document as present on GNU/Linux.
5748 * manual/maint.texi: Likewise.
5749 * manual/memory.texi: Likewise.
5750 * manual/pattern.texi: Likewise.
5751 * manual/pipe.texi: Likewise.
5752 * manual/process.texi: Likewise.
5753 * manual/resource.texi: Likewise.
5754 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5756 * manual/setjmp.texi: Likewise.
5757 * manual/signal.texi: Likewise.
5758 * manual/startup.texi: Likewise.
5759 * manual/stdio.texi: Likewise.
5760 * manual/terminal.texi: Likewise.
5761 (ONLCR): Document as POSIX.
5762 (OXTABS): Document availability on GNU/Linux as XTABS.
5763 (ONOEOT): Document availability separately from other bits.
5764 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5765 * manual/time.texi: Likewise.
5766 * manual/users.texi: Likewise.
5767 * INSTALL: Regenerated.
5768 * sysdeps/gnu/errlist.c: Regenerated.
5770 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5771 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5772 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5774 * configure: Regenerated.
5776 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5778 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5779 default includes instead of AC_HEADER_CHECK.
5780 * sysdeps/i386/configure: Regenerated.
5783 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5784 * math/s_cacoshf.c (__cacoshf): Likewise.
5785 * math/s_cacoshl.c (__cacoshl): Likewise.
5786 * math/s_casinh.c (__casinh): Set signs of result from argument.
5787 * math/s_casinhf.c (__casinhf): Likewise.
5788 * math/s_casinhl.c (__casinhl): Likewise.
5789 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5790 (casinh_test): Add more tests.
5791 * sysdeps/i386/fpu/libm-test-ulps: Update.
5792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5794 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5796 * po/zh_TW.po: Update from translation team.
5798 * login/Makefile (distribute): Remove variable.
5799 * catgets/Makefile: Likewise.
5800 * mach/Makefile: Likewise.
5801 * malloc/Makefile: Likewise.
5802 * misc/Makefile: Likewise.
5803 * iconv/Makefile: Likewise.
5804 * nscd/Makefile: Likewise.
5805 * hurd/Makefile: Likewise.
5806 * manual/Makefile: Likewise.
5807 * locale/Makefile: Likewise.
5808 * intl/Makefile: Likewise.
5809 * conform/Makefile: Likewise.
5810 * nss/Makefile: Likewise.
5811 * time/Makefile: Likewise.
5812 * soft-fp/Makefile: Likewise.
5813 * dirent/Makefile: Likewise.
5814 * gmon/Makefile: Likewise.
5815 * po/Makefile: Likewise.
5816 * rt/Makefile: Likewise.
5817 * socket/Makefile: Likewise.
5818 * math/Makefile: Likewise.
5819 * signal/Makefile: Likewise.
5820 * debug/Makefile: Likewise.
5821 * elf/Makefile: Likewise.
5822 * timezone/Makefile: Likewise.
5823 * stdlib/Makefile: Likewise.
5824 * iconvdata/Makefile: Likewise.
5825 * sunrpc/Makefile: Likewise.
5826 * io/Makefile: Likewise.
5827 * argp/Makefile: Likewise.
5828 * inet/Makefile: Likewise.
5829 * hesiod/Makefile: Likewise.
5830 * grp/Makefile: Likewise.
5831 * csu/Makefile: Likewise.
5832 * wctype/Makefile: Likewise.
5833 * crypt/Makefile: Likewise.
5834 * libio/Makefile: Likewise.
5835 * string/Makefile: Likewise.
5836 * nis/Makefile: Likewise.
5837 * resolv/Makefile: Likewise.
5838 * stdio-common/Makefile: Likewise.
5839 * wcsmbs/Makefile: Likewise.
5840 * dlfcn/Makefile: Likewise.
5841 * posix/Makefile: Likewise.
5844 * timezone/Makefile: Don't install timezone files, just the programs
5847 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5849 * nss/databases.def: Add missing gshadow entry.
5851 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5853 2012-03-06 Marek Polacek <polacek@redhat.com>
5856 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5857 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5858 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5859 * stdio-common/tst-long-dbl-fphex.c: New file.
5861 2012-03-06 David S. Miller <davem@davemloft.net>
5863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5864 (set_obp_int): New function.
5865 (get_obp_int): New function.
5866 (__get_clockfreq_via_dev_openprom): Likewise.
5867 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5868 Avoid unused variable warnings on 'val' and use builtin_expect.
5869 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5871 (INLINE_CLONE_SYSCALL): Likewise.
5873 2012-03-05 David S. Miller <davem@davemloft.net>
5875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5877 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5881 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5883 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5885 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5887 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5888 Replace gettimeofday with __vdso_gettimeofday.
5890 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5891 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5892 __vdso_clock_gettime and __vdso_getcpu.
5894 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5895 time with __vdso_time.
5897 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5899 * manual/lang.texi (size_t): Note types to which size_t may be
5900 equivalent with the GNU C Library, but do not describe when
5901 differences between them are significant.
5903 2012-03-05 Andreas Jaeger <aj@suse.de>
5905 * sysdeps/i386/fpu/libm-test-ulps: Update.
5907 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5910 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5911 (__ieee754_pow): Save and restore rounding mode and use
5912 round-to-nearest for main computations.
5913 * math/libm-test.inc (pow_test_tonearest): New function.
5914 (pow_test_towardzero): Likewise.
5915 (pow_test_downward): Likewise.
5916 (pow_test_upward): Likewise.
5917 (main): Call the new functions.
5918 * sysdeps/i386/fpu/libm-test-ulps: Update.
5919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5922 * math/libm-test.inc (cosh_test_tonearest): New function.
5923 (cosh_test_towardzero): Likewise.
5924 (cosh_test_downward): Likewise.
5925 (cosh_test_upward): Likewise.
5926 (sinh_test_tonearest): Likewise.
5927 (sinh_test_towardzero): Likewise.
5928 (sinh_test_downward): Likewise.
5929 (sinh_test_upward): Likewise.
5930 (main): Call the new functions.
5931 * sysdeps/i386/fpu/libm-test-ulps: Update.
5932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5934 2012-03-05 Tom de Vries <tom@codesourcery.com>
5936 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5937 default stack guard is set in last bytes.
5938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5940 2012-03-05 Kees Cook <keescook@chromium.org>
5942 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5945 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5946 possibly allocate from heap instead of stack.
5947 * stdio-common/bug-vfprintf-nargs.c: New file.
5948 * stdio-common/Makefile (tests): Add nargs overflow test.
5950 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5954 2012-03-03 Marek Polacek <polacek@redhat.com>
5956 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5957 * math/math_private.h: Likewise.
5958 * stdlib/tst-strtod.c: Likewise.
5959 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5960 * sysdeps/x86_64/bits/atomic.h: Likewise.
5962 2012-03-02 David S. Miller <davem@davemloft.net>
5964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5968 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5969 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5970 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5971 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5973 2012-03-02 Roland McGrath <roland@hack.frob.com>
5976 * manual/examples/README: New file, says the example source files
5977 can be used under GPL>=2.
5978 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5979 line containing just "*/".
5980 * manual/examples/add.c: Add copyright header (GPL>=2).
5981 * manual/examples/argp-ex1.c: Likewise.
5982 * manual/examples/argp-ex2.c: Likewise.
5983 * manual/examples/argp-ex3.c: Likewise.
5984 * manual/examples/argp-ex4.c: Likewise.
5985 * manual/examples/atexit.c: Likewise.
5986 * manual/examples/db.c: Likewise.
5987 * manual/examples/dir.c: Likewise.
5988 * manual/examples/dir2.c: Likewise.
5989 * manual/examples/execinfo.c: Likewise.
5990 * manual/examples/filecli.c: Likewise.
5991 * manual/examples/filesrv.c: Likewise.
5992 * manual/examples/fmtmsgexpl.c: Likewise.
5993 * manual/examples/genpass.c: Likewise.
5994 * manual/examples/inetcli.c: Likewise.
5995 * manual/examples/inetsrv.c: Likewise.
5996 * manual/examples/isockad.c: Likewise.
5997 * manual/examples/longopt.c: Likewise.
5998 * manual/examples/memopen.c: Likewise.
5999 * manual/examples/memstrm.c: Likewise.
6000 * manual/examples/mkfsock.c: Likewise.
6001 * manual/examples/mkisock.c: Likewise.
6002 * manual/examples/mygetpass.c: Likewise.
6003 * manual/examples/pipe.c: Likewise.
6004 * manual/examples/popen.c: Likewise.
6005 * manual/examples/rprintf.c: Likewise.
6006 * manual/examples/search.c: Likewise.
6007 * manual/examples/select.c: Likewise.
6008 * manual/examples/setjmp.c: Likewise.
6009 * manual/examples/sigh1.c: Likewise.
6010 * manual/examples/sigusr.c: Likewise.
6011 * manual/examples/stpcpy.c: Likewise.
6012 * manual/examples/strdupa.c: Likewise.
6013 * manual/examples/strftim.c: Likewise.
6014 * manual/examples/strncat.c: Likewise.
6015 * manual/examples/subopt.c: Likewise.
6016 * manual/examples/swapcontext.c: Likewise.
6017 * manual/examples/termios.c: Likewise.
6018 * manual/examples/testopt.c: Likewise.
6019 * manual/examples/testpass.c: Likewise.
6020 * manual/examples/timeval_subtract.c: Likewise.
6023 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6025 * manual/timeval_subtract.c.texi: ... here, new file.
6027 2012-03-02 David S. Miller <davem@davemloft.net>
6029 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6031 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6034 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6035 (__sin): Save and restore rounding mode and use round-to-nearest
6036 for all computations.
6037 (__cos): Save and restore rounding mode and use round-to-nearest
6038 for all computations.
6039 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6041 (tan): Save and restore rounding mode and use round-to-nearest for
6043 * math/libm-test.inc (cos_test_tonearest): New function.
6044 (cos_test_towardzero): Likewise.
6045 (cos_test_downward): Likewise.
6046 (cos_test_upward): Likewise.
6047 (sin_test_tonearest): Likewise.
6048 (sin_test_towardzero): Likewise.
6049 (sin_test_downward): Likewise.
6050 (sin_test_upward): Likewise.
6051 (tan_test_tonearest): Likewise.
6052 (tan_test_towardzero): Likewise.
6053 (tan_test_downward): Likewise.
6054 (tan_test_upward): Likewise.
6055 (main): Call the new functions.
6056 * sysdeps/i386/fpu/libm-test-ulps: Update.
6057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6060 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6061 small n, then large n, before computing and testing k+n.
6062 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6063 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6065 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6067 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6068 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6069 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6070 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6071 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6072 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6073 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6074 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6075 * math/libm-test.inc (scalbn_test): Add more tests.
6076 (scalbln_test): Likewise.
6078 * manual/filesys.texi (mode_t): Describe constraints on size and
6079 signedness, not exact equivalence to a particular type.
6081 (ino64_t): Likewise.
6083 (nlink_t): Likewise.
6084 (blkcnt_t): Likewise.
6085 (blkcnt64_t): Likewise.
6086 * manual/llio.texi (off_t): Likewise.
6089 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6090 (__ieee754_exp): Save and restore rounding mode and use
6091 round-to-nearest for all computations.
6092 * math/libm-test.inc (exp_test_tonearest): New function.
6093 (exp_test_towardzero): Likewise.
6094 (exp_test_downward): Likewise.
6095 (exp_test_upward): Likewise.
6096 (main): Call the new functions.
6097 * sysdeps/i386/fpu/libm-test-ulps: Update.
6098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6100 2012-03-01 Chris Demetriou <cgd@google.com>
6102 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6103 have predictable order.
6105 2012-03-01 David S. Miller <davem@davemloft.net>
6107 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6109 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6110 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6111 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6112 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6114 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6115 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6116 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6118 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6119 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6120 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6121 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6122 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6126 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6127 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6128 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6130 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6131 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6132 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6133 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6134 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6135 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6136 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6137 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6138 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6139 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6140 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6141 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6143 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6144 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6145 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6146 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6147 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6148 * sysdeps/sparc/elf/configure: Regenerated.
6150 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6152 * configure.in (AS, LD): Require binutils 2.20 or later.
6153 * configure: Regenerated.
6154 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6155 as required minimum version.
6156 * INSTALL: Regenerated.
6160 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6161 before squaring exponent.
6162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6163 bottom long double and 27 bits of top long double before squaring
6165 * math/libm-test.inc (erfc_test): Add more tests.
6166 * sysdeps/i386/fpu/libm-test-ulps: Update.
6167 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6170 2012-03-01 Kai Tietz <ktietz@redhat.com>
6172 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6173 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6174 containing bit-fields.
6175 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6176 * soft-fp/single.h (_FP_UNION_S): Likewise.
6177 * soft-fp/double.h (_FP_UNION_D): Likewise.
6179 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6182 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6183 not include ../strcmp.S.
6184 [USE_AS_STRNCASECMP_L]: Likewise.
6185 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6186 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6187 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6188 (__strncasecmp_l_ia32): Define as alias to
6189 __strncasecmp_l_nonascii.
6192 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6193 * sysdeps/i386/fpu/libm-test-ulps: Update.
6194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6196 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6199 2012-02-29 Jeff Law <law@redhat.com>
6201 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6204 2012-02-29 Marek Polacek <polacek@redhat.com>
6207 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6208 * elf/Makefile: Add rules to run tst-unused-dep.out.
6210 2012-02-28 David S. Miller <davem@davemloft.net>
6212 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6213 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6214 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6216 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6217 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6219 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6221 * math/libm-test.inc (llround_test): Move one test from
6222 lround_test. Use TEST_f_L in moved test.
6223 (lround_test): Move misplaced test to llround_test. Add testcase
6226 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6228 * sysdeps/x86_64/fpu/e_expf.S: New file.
6229 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6231 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6234 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6235 of remain_len that may cause incomplete multi-byte character and
6237 * posix/bug-regex33.c: New file.
6238 * posix/Makefile (tests): Add bug-regex33.
6240 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6242 * manual/macros.texi: New file.
6243 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6244 * manual/libc.texinfo: Include macros.texi.
6245 * manual/creatute.texi: Likewise.
6246 * manual/install.texi: Likewise.
6247 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6248 @glibcadj{} in references to the GNU C Library.
6249 * manual/charset.texi: Likewise.
6250 * manual/conf.texi: Likewise.
6251 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6252 when not using those macros.
6253 * manual/creature.texi: Likewise.
6254 * manual/crypt.texi: Likewise.
6255 * manual/errno.texi: Likewise.
6256 * manual/filesys.texi: Likewise.
6257 * manual/header.texi: Likewise.
6258 * manual/install.texi: Likewise.
6259 * manual/intro.texi: Likewise.
6260 * manual/io.texi: Likewise.
6261 * manual/job.texi: Likewise.
6262 * manual/lang.texi: Likewise.
6263 * manual/libc.texiinfo: Likewise.
6264 * manual/llio.texi: Likewise.
6265 * manual/locale.texi: Likewise.
6266 * manual/maint.texi: Likewise.
6267 * manual/math.texi: Likewise.
6268 * manual/memory.texi: Likewise.
6269 * manual/message.texi: Likewise.
6270 * manual/nss.texi: Likewise.
6271 * manual/pattern.texi: Likewise.
6272 * manual/process.texi: Likewise.
6273 * manual/resource.texi: Likewise.
6274 * manual/search.texi: Likewise.
6275 * manual/setjmp.texi: Likewise.
6276 * manual/signal.texi: Likewise.
6277 * manual/socket.texi: Likewise.
6278 * manual/startup.texi: Likewise.
6279 * manual/stdio.texi: Likewise.
6280 * manual/string.texi: Likewise.
6281 * manual/sysinfo.texi: Likewise.
6282 * manual/syslog.texi: Likewise.
6283 * manual/terminal.texi: Likewise.
6284 * manual/time.texi: Likewise.
6285 * manual/users.texi: Likewise.
6286 * INSTALL: Regenerated.
6287 * NOTES: Regenerated.
6288 * sysdeps/gnu/errlist.c: Regenerated.
6290 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6292 * include/dirent.h: Include <dirstream.h> before
6295 2012-02-28 David S. Miller <davem@davemloft.net>
6297 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6298 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6299 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6300 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6302 2012-02-27 David S. Miller <davem@davemloft.net>
6304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6306 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6307 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6310 frame pointer instead of stack pointer relative arg slot.
6311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6312 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6313 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6315 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6318 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6320 2012-02-27 David S. Miller <davem@davemloft.net>
6322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6326 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6327 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6328 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6329 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6331 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6333 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6334 later. Allow versions 5-9.
6335 * configure: Regenerated.
6336 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6337 required minimum version and 4.6 as recommended version. Do not
6338 mention bugs in GCC 2.7 and 2.8.
6339 * INSTALL: Regenerated.
6341 2012-02-27 David S. Miller <davem@davemloft.net>
6343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6347 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6348 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6349 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6350 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6352 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6353 manipulate bits before adding and subtracting TWO112[sx].
6354 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6356 2012-02-27 Roland McGrath <roland@hack.frob.com>
6359 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6360 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6361 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6362 being in POSIX, because they are in 1003.1-2008.
6364 * rt/tst-aio.c: Include <fcntl.h>.
6365 * rt/tst-aio7.c: Likewise.
6366 * rt/tst-aio64.c: Likewise.
6368 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6370 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6372 * manual/install.texi (--with-headers): Describe headers as
6373 interface headers, not private headers.
6374 (Specific advice for GNU/Linux systems): Describe use of headers
6375 from "make headers_install", not private headers from older
6377 * INSTALL: Regenerated.
6378 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6380 * sysdeps/unix/sysv/linux/configure: Regenerated.
6382 * manual/llio.texi (fclean): Remove documentation.
6384 * manual/Makefile (libc-texi-generated): New variable. Include
6386 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6387 $(libc-texi-generated), not duplicated list of files.
6388 (version.texi, stamp-version): New rules.
6389 (realclean): Remove $(libc-texi-generated), not individual files
6390 from that list. Do not remove dir-add.texinfo.
6391 * manual/libc.texinfo: Comment out uses of edition numbers and
6392 references to printed manual. Remove last-updated dates.
6393 (EDITION): Comment out.
6395 (VERSION, UPDATED): Remove.
6396 (version.texi): Include.
6398 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6400 * sysdeps/posix/spawni.c: Include <signal.h>.
6401 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6402 * sysdeps/pthread/aio_fsync.c: Likewise.
6404 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6406 * conform/Makefile (tests): Run only when not cross-compiling and
6407 when fast-check is not defined.
6409 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6410 * conform/data/limits.h-data: Fixes for POSIX2008.
6411 * conform/run-conformtest.sh: Run all tests.
6412 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6414 * include/bits/dlfcn.h: Likewise.
6415 * include/langinfo.h: Likewise.
6416 * include/monetary.h: Likewise.
6417 * include/sys/poll.h: Likewise.
6419 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6421 * posix/spawn.h: Define __need_sigset_t.
6422 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6423 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6424 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6425 to get sigevent_t only.
6426 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6429 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6430 process_vm_writev only for __USE_GNU.
6431 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6433 * conform/Makefile: For now ignore errors from run-conformtest.
6434 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6435 POSIX to avoid namespace pollution. Don't prepend headers.
6436 * conform/data/aio.h-data: Fixes for POSIX testing.
6437 * conform/data/fcntl.h-data: Likewise.
6438 * conform/data/glob.h-data: Likewise.
6439 * conform/data/grp.h-data: Likewise.
6440 * conform/data/pthread.h-data: Likewise.
6441 * conform/data/pwd.h-data: Likewise.
6442 * conform/data/signal.h-data: Likewise.
6443 * conform/data/spawn.h-data: Likewise.
6444 * conform/data/stdio.h-data: Likewise.
6445 * conform/data/stdlib.h-data: Likewise.
6446 * conform/data/stropts.h-data: Likewise.
6447 * conform/data/sys/mman.h-data: Likewise.
6448 * conform/data/sys/stat.h-data: Likewise.
6449 * conform/data/sys/types.h-data: Likewise.
6450 * conform/data/sys/wait.h-data: Likewise.
6451 * conform/data/time.h-data: Likewise.
6452 * conform/data/unistd.h-data: Likewise.
6453 * conform/data/utime.h-data: Likewise.
6455 * io/sys/stat.h: fchmod was always in POSIX.
6456 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6457 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6458 * rt/aio.h: Define __need_timespec before including <time.h>.
6459 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6460 struct. Add forward declaration of pthread_attr_t and use it in
6462 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6464 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6465 always remove CLK_TCK definition.
6467 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6469 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6471 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6473 * conform/run-conformtest.sh: New file.
6474 * conform/Makefile: Run run-conformtest for tests.
6475 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6478 * conform/data/uchar.h-data: New file.
6479 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6480 * conform/data/arpa/inet.h-data: Likewise.
6481 * conform/data/assert.h-data: Likewise.
6482 * conform/data/complex.h-data: Likewise.
6483 * conform/data/cpio.h-data: Likewise.
6484 * conform/data/ctype.h-data: Likewise.
6485 * conform/data/dirent.h-data: Likewise.
6486 * conform/data/dlfcn.h-data: Likewise.
6487 * conform/data/errno.h-data: Likewise.
6488 * conform/data/fcntl.h-data: Likewise.
6489 * conform/data/float.h-data: Likewise.
6490 * conform/data/fmtmsg.h-data: Likewise.
6491 * conform/data/fnmatch.h-data: Likewise.
6492 * conform/data/ftw.h-data: Likewise.
6493 * conform/data/glob.h-data: Likewise.
6494 * conform/data/grp.h-data: Likewise.
6495 * conform/data/iconv.h-data: Likewise.
6496 * conform/data/inttypes.h-data: Likewise.
6497 * conform/data/langinfo.h-data: Likewise.
6498 * conform/data/libgen.h-data: Likewise.
6499 * conform/data/limits.h-data: Likewise.
6500 * conform/data/locale.h-data: Likewise.
6501 * conform/data/math.h-data: Likewise.
6502 * conform/data/monetary.h-data: Likewise.
6503 * conform/data/mqueue.h-data: Likewise.
6504 * conform/data/ndbm.h-data: Likewise.
6505 * conform/data/net/if.h-data: Likewise.
6506 * conform/data/netdb.h-data: Likewise.
6507 * conform/data/netinet/in.h-data: Likewise.
6508 * conform/data/nl_types.h-data: Likewise.
6509 * conform/data/poll.h-data: Likewise.
6510 * conform/data/pthread.h-data: Likewise.
6511 * conform/data/pwd.h-data: Likewise.
6512 * conform/data/regex.h-data: Likewise.
6513 * conform/data/sched.h-data: Likewise.
6514 * conform/data/search.h-data: Likewise.
6515 * conform/data/semaphore.h-data: Likewise.
6516 * conform/data/setjmp.h-data: Likewise.
6517 * conform/data/signal.h-data: Likewise.
6518 * conform/data/spawn.h-data: Likewise.
6519 * conform/data/stdarg.h-data: Likewise.
6520 * conform/data/stdio.h-data: Likewise.
6521 * conform/data/stdlib.h-data: Likewise.
6522 * conform/data/string.h-data: Likewise.
6523 * conform/data/strings.h-data: Likewise.
6524 * conform/data/stropts.h-data: Likewise.
6525 * conform/data/sys/ipc.h-data: Likewise.
6526 * conform/data/sys/mman.h-data: Likewise.
6527 * conform/data/sys/msg.h-data: Likewise.
6528 * conform/data/sys/resource.h-data: Likewise.
6529 * conform/data/sys/select.h-data: Likewise.
6530 * conform/data/sys/sem.h-data: Likewise.
6531 * conform/data/sys/shm.h-data: Likewise.
6532 * conform/data/sys/socket.h-data: Likewise.
6533 * conform/data/sys/stat.h-data: Likewise.
6534 * conform/data/sys/statvfs.h-data: Likewise.
6535 * conform/data/sys/time.h-data: Likewise.
6536 * conform/data/sys/timeb.h-data: Likewise.
6537 * conform/data/sys/times.h-data: Likewise.
6538 * conform/data/sys/types.h-data: Likewise.
6539 * conform/data/sys/uio.h-data: Likewise.
6540 * conform/data/sys/un.h-data: Likewise.
6541 * conform/data/sys/utsname.h-data: Likewise.
6542 * conform/data/sys/wait.h-data: Likewise.
6543 * conform/data/syslog.h-data: Likewise.
6544 * conform/data/tar.h-data: Likewise.
6545 * conform/data/termios.h-data: Likewise.
6546 * conform/data/utime.h-data: Likewise.
6547 * conform/data/utmpx.h-data: Likewise.
6548 * conform/data/varargs.h-data: Likewise.
6549 * conform/data/wchar.h-data: Likewise.
6550 * conform/data/wctype.h-data: Likewise.
6551 * conform/data/wordexp.h-data: Likewise.
6553 * include/stropts.h: New file.
6554 * include/uchar.h: New file.
6555 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6556 * include/assert.h: Likewise.
6557 * include/ctype.h: Likewise.
6558 * include/dirent.h: Likewise.
6559 * include/dlfcn.h: Likewise.
6560 * include/fcntl.h: Likewise.
6561 * include/fnmatch.h: Likewise.
6562 * include/glob.h: Likewise.
6563 * include/grp.h: Likewise.
6564 * include/libio.h: Likewise.
6565 * include/locale.h: Likewise.
6566 * include/math.h: Likewise.
6567 * include/net/if.h: Likewise.
6568 * include/netdb.h: Likewise.
6569 * include/netinet/in.h: Likewise.
6570 * include/pthread.h: Likewise.
6571 * include/pwd.h: Likewise.
6572 * include/regex.h: Likewise.
6573 * include/sched.h: Likewise.
6574 * include/search.h: Likewise.
6575 * include/setjmp.h: Likewise.
6576 * include/signal.h: Likewise.
6577 * include/stdio.h: Likewise.
6578 * include/stdlib.h: Likewise.
6579 * include/string.h: Likewise.
6580 * include/sys/cdefs.h: Likewise.
6581 * include/sys/mman.h: Likewise.
6582 * include/sys/msg.h: Likewise.
6583 * include/sys/resource.h: Likewise.
6584 * include/sys/select.h: Likewise.
6585 * include/sys/socket.h: Likewise.
6586 * include/sys/stat.h: Likewise.
6587 * include/sys/statvfs.h: Likewise.
6588 * include/sys/time.h: Likewise.
6589 * include/sys/times.h: Likewise.
6590 * include/sys/uio.h: Likewise.
6591 * include/sys/utsname.h: Likewise.
6592 * include/sys/wait.h: Likewise.
6593 * include/termios.h: Likewise.
6594 * include/time.h: Likewise.
6595 * include/ulimit.h: Likewise.
6596 * include/unistd.h: Likewise.
6597 * include/utime.h: Likewise.
6598 * include/wchar.h: Likewise.
6599 * include/wctype.h: Likewise.
6600 * include/wordexp.h: Likewise.
6602 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6604 * time/time.h: TIME_UTC must be a macro.
6605 Make timespec_get available for ISO C11 only as well.
6607 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6609 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6610 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6612 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6614 * configure.in: Use -o not -a in test for unsupported multi-arch.
6616 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6618 * manual/texinfo.tex: Update to version 2012-01-19.16.
6620 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6622 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6624 2012-02-24 Roland McGrath <roland@hack.frob.com>
6627 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6628 * manual/fdl-1.3.texi: New file.
6629 * manual/fdl-1.1.texi: File removed.
6632 * manual/libc.texinfo (FDL_VERSION): New @set.
6633 Use it for mention of FDL in cover text.
6634 (Documentation License): Use it in @include file name.
6636 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6637 Roland McGrath <roland@hack.frob.com>
6640 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6641 not LONG_LONG_MAX and LONG_LONG_MIN.
6642 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6643 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6645 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6647 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6651 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6652 manipulate bits before adding and subtracting TWO23[sx].
6653 * math/libm-test.inc (nearbyint_test): Add more tests.
6655 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6658 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6659 bits before adding and subtracting TWO23[sx].
6660 * math/libm-test.inc (rint_test): Add more tests.
6661 (rint_test_tonearest): Likewise.
6662 (rint_test_towardzero): Likewise.
6663 (rint_test_downward): Likewise.
6664 (rint_test_upward: Likewise.
6666 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6669 * include/stdc-predef.h: New file. Extracted from features.h.
6670 * include/features.h: Include stdc-predef.h.
6671 * Makefile (headers): Add stdc-predef.h.
6672 * CONFORMANCE (Compiler limitations): Update.
6674 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6676 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6678 2012-02-21 David S. Miller <davem@davemloft.net>
6680 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6681 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6683 2012-02-20 David S. Miller <davem@davemloft.net>
6685 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6686 using a normal save/restore sequence, rather than allocating a
6687 dummy stack frame just to store a frame pointer and restore.
6688 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6690 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6692 * manual/install.texi: Fix stray word in line-wrapped comment.
6694 2012-02-20 David S. Miller <davem@davemloft.net>
6696 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6697 both binutils and gcc support GOTDATA.
6699 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6700 "rd %pc" in the PIC register setup sequences.
6702 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6703 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6704 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6705 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6706 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6708 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6709 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6711 (SYSCALL_ERROR_HANDLER): Likewise.
6712 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6713 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6715 (SYSCALL_ERROR_HANDLER): Likewise.
6717 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6718 (HAVE_GCC_GOTDATA): New.
6719 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6720 relocation support in both binutils and gcc.
6721 * sysdeps/sparc/elf/configure: Regenerate.
6723 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6724 * sysdeps/sparc/sparc32/elf/configure: Delete.
6725 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6726 * sysdeps/sparc/sparc64/elf/configure: Delete.
6727 * sysdeps/sparc/elf/configure.in: New file.
6728 * sysdeps/sparc/elf/configure: Generate.
6730 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6731 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6732 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6733 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6734 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6736 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6738 * manual/install.texi: Do not mention specific glibc version
6740 * manual/libc.texinfo (VERSION, UPDATED): Update.
6741 (@copying): Use @copyright{} and range of years.
6743 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6746 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6747 [crti.S not in sysdirs] (generated): Do not append.
6748 [crti.S not in sysdirs] (omit-deps): Likewise.
6749 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6750 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6751 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6752 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6753 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6755 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6756 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6757 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6758 * csu/defs.awk: Remove file.
6759 * sysdeps/generic/initfini.c: Likewise.
6760 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6762 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6765 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6767 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6768 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6769 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6770 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6771 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6772 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6774 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6775 (__EPOLL_PACKED): Define to empty if not defined by
6777 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6778 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6781 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6783 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6784 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6785 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6786 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6788 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6792 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6794 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6796 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6797 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6798 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6801 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6803 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6804 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6806 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6808 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6809 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6811 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6813 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6816 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6818 * math/w_acos.c: Use non-signaling floating-point comparisons.
6819 * math/w_acosf.c: Likewise.
6820 * math/w_acosh.c: Likewise.
6821 * math/w_acoshf.c: Likewise.
6822 * math/w_acoshl.c: Likewise.
6823 * math/w_acosl.c: Likewise.
6824 * math/w_asin.c: Likewise.
6825 * math/w_asinf.c: Likewise.
6826 * math/w_asinl.c: Likewise.
6827 * math/w_atanh.c: Likewise.
6828 * math/w_atanhf.c: Likewise.
6829 * math/w_atanhl.c: Likewise.
6830 * math/w_exp2.c: Likewise.
6831 * math/w_exp2f.c: Likewise.
6832 * math/w_exp2l.c: Likewise.
6833 * math/w_j0.c: Likewise.
6834 * math/w_j0f.c: Likewise.
6835 * math/w_j0l.c: Likewise.
6836 * math/w_j1.c: Likewise.
6837 * math/w_j1f.c: Likewise.
6838 * math/w_j1l.c: Likewise.
6839 * math/w_jn.c: Likewise.
6840 * math/w_jnf.c: Likewise.
6841 * math/w_log.c: Likewise.
6842 * math/w_log10.c: Likewise.
6843 * math/w_log10f.c: Likewise.
6844 * math/w_log10l.c: Likewise.
6845 * math/w_log2.c: Likewise.
6846 * math/w_log2f.c: Likewise.
6847 * math/w_log2l.c: Likewise.
6848 * math/w_logf.c: Likewise.
6849 * math/w_logl.c: Likewise.
6850 * math/w_sqrt.c: Likewise.
6851 * math/w_sqrtf.c: Likewise.
6852 * math/w_sqrtl.c: Likewise.
6853 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6855 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6856 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6857 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6859 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6862 * manual/string.texi (strnlen): Use correct parameter name in
6863 equivalent expression.
6865 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6868 * manual/users.texi (seteuid): Consistently use neweuid for
6871 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6874 * manual/nss.texi (Services in the NSS configuration): Correct
6875 list of services in example configuration file.
6877 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6880 * manual/arith.texi: Remove statements about negative zero
6881 behaving identically to zero.
6883 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6886 * manual/install.texi: Do not document upgrading from libc5.
6888 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6891 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6893 2012-02-18 David S. Miller <davem@davemloft.net>
6895 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6896 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6897 %o7 across the call.
6898 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6902 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6903 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6904 * sysdeps/sparc/crtn.S: Likewise.
6906 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6908 * aout/Makefile: Remove.
6910 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6913 * manual/examples/argp-ex1.c (main): Format definition in GNU
6915 * manual/examples/argp-ex2.c (main): Likewise.
6916 * manual/examples/argp-ex3.c (main): Likewise.
6917 * manual/examples/argp-ex4.c (main): Likewise.
6918 * manual/examples/longopt.c (main): Use new-style prototype
6920 * manual/examples/strncat.c (main): Specify return type and use
6921 (void) for arguments.
6922 * manual/examples/subopt.c (main): Use char **argv argument.
6924 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6927 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6930 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6933 * manual/string.texi (strchr): Change when strchrnul is
6936 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6939 * manual/locale.texi (setlocale): Document LOCPATH.
6941 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6944 * manual/process.texi (execle): Move @dots{} before last argument.
6946 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6949 * manual/charset.texi (Generic Charset Conversion): Fix typo
6950 (LC_TYPE -> LC_CTYPE).
6952 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6955 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6956 (scalbnf): Likewise.
6957 (scalbnl): Likewise.
6958 (scalbln): Likewise.
6959 (scalblnf): Likewise.
6960 (scalblnl): Likewise.
6961 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6965 * manual/filesys.texi (telldir): Use braces around return type.
6966 * manual/llio.texi (mmap): Add space after comma.
6968 * manual/math.texi (jn): Use @var{} on parameter names.
6974 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6976 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6978 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6979 (sched_get_priority_max): Likewise.
6980 * manual/signal.texi (sigvec): Add space after comma.
6981 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6983 (if_indextoname): Likewise.
6984 (if_freenameindex): Likewise.
6985 (sendto): Use ',' instead of '.' in prototype.
6986 * manual/startup.texi (syscall): Use @dots{} instead of literal
6988 * manual/stdio.texi (__fpending): Separate initial words of
6989 paragraph from @deftypefun line.
6990 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6992 (vsyslog): Use @var{} on parameter names.
6993 * manual/terminal.texi (stty): Use @var{} on parameter names.
6994 * manual/users.texi (getutmp): Use @var{} on parameter names.
6995 (getutmpx): Likewise.
6997 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7000 * manual/stdio.texi (fopen): Fix typos in description of
7003 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7006 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7007 get clock_id definition.
7009 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7012 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7013 (madvise): Cast every argument to void on its own.
7015 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7018 * manual/startup.texi (Exit Status): Fix typo.
7020 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7023 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7024 * manual/examples/argp-ex2.c: Likewise.
7025 * manual/examples/argp-ex3.c: Likewise.
7027 2012-02-16 Richard Henderson <rth@redhat.com>
7029 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7030 * sysdeps/s390/s390-32/initfini.c: Remove.
7031 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7032 * sysdeps/s390/s390-64/initfini.c: Remove.
7034 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7036 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7037 compiler output for sysdeps/generic/initfini.c.
7038 * sysdeps/sh/elf/initfini.c: Remove file.
7040 2012-02-16 David S. Miller <davem@davemloft.net>
7043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7045 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7046 * sysdeps/sparc/crti.S: New file.
7047 * sysdeps/sparc/crtn.S: New file.
7048 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7049 * sysdeps/sparc/sparc64/Makefile: Likewise.
7051 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7054 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7056 2012-02-15 Roland McGrath <roland@hack.frob.com>
7059 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7061 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7062 (write, read, close): Likewise.
7063 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7065 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7067 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7068 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7069 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7070 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7072 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7076 2012-02-14 Marek Polacek <polacek@redhat.com>
7078 * sysdeps/x86_64/crti.S: New file.
7079 * sysdeps/x86_64/crtn.S: New file.
7080 * sysdeps/x86_64/elf/initfini.c: Remove file.
7082 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7084 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7085 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7086 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7087 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7089 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7093 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7095 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7096 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7097 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7098 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7100 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7104 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7106 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7107 __feraiseexcept instead of feraiseexcept.
7109 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7110 nanosleep invocations.
7111 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7112 strings, and add error checking for a nanosleep invocations.
7114 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7116 Replace FSF snail mail address with URLs, as per GNU coding standards.
7117 Most of the snail mail addresses were wrong anyway, and omitting
7118 them makes the source code easier to maintain. Almost all of the
7119 changes are to license notices and to locale LC_IDENTIFICATION
7120 addresses, except for this one:
7121 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7122 not its snail mail address.
7124 2012-02-09 Richard Henderson <rth@twiddle.net>
7126 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7127 of kernel-features.h.
7129 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7131 2012-02-08 Marek Polacek <polacek@redhat.com>
7133 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7134 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7135 * sysdeps/gnu/_G_config.h: Likewise.
7136 * sysdeps/generic/_G_config.h: Likewise.
7138 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7140 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7144 * sysdeps/powerpc/powerpc32/crti.S: New file.
7145 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7146 * sysdeps/powerpc/powerpc64/crti.S: New file.
7147 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7149 * Makeconfig (have-initfini): Don't set.
7150 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7151 * configure.in (nopic_initfini): Don't substitute.
7152 * config.h.in (HAVE_INITFINI): Don't #undef.
7153 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7154 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7156 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7158 Support crti.S and crtn.S provided directly by architectures.
7159 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7160 [crti.S in sysdirs] (omit-deps): Likewise.
7161 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7162 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7163 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7164 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7165 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7166 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7167 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7168 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7169 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7170 compiler output for sysdeps/generic/initfini.c.
7171 * sysdeps/i386/elf/Makefile: Remove file.
7172 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7174 2012-02-07 Marek Polacek <polacek@redhat.com>
7176 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7177 * sysdeps/gnu/_G_config.h: Likewise.
7178 * sysdeps/mach/hurd/_G_config.h: Likewise.
7180 2012-02-07 Marek Polacek <polacek@redhat.com>
7182 * math/Makefile (tests): Add tst-CMPLX2.
7183 * math/tst-CMPLX2.c: New file.
7185 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7187 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7189 * math/libm-test.inc (jn_test): Add missing L suffix.
7191 2012-02-06 Marek Polacek <polacek@redhat.com>
7193 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7194 * sysdeps/i386/fpu/e_powf.S: Likewise.
7195 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7196 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7197 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7198 * sysdeps/i386/fpu/e_pow.S: Likewise.
7199 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7200 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7201 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7202 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7203 * sysdeps/i386/fpu/e_log2.S: Likewise.
7204 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7205 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7206 * sysdeps/i386/fpu/e_powl.S: Likewise.
7207 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7208 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7209 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7210 * sysdeps/i386/fpu/e_logl.S: Likewise.
7211 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7212 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7213 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7214 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7215 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7216 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7217 * sysdeps/i386/fpu/e_log.S: Likewise.
7218 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7219 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7220 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7221 * sysdeps/i386/fpu/e_logf.S: Likewise.
7222 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7223 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7224 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7225 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7226 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7227 * sysdeps/i386/fpu/e_log10.S: Likewise.
7228 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7229 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7230 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7231 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7232 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7233 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7234 * sysdeps/i386/asm-syntax.h: Likewise.
7235 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7236 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7237 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7238 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7239 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7240 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7241 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7242 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7243 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7244 * sysdeps/powerpc/sysdep.h: Likewise.
7245 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7246 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7248 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7251 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7253 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7255 * sysdeps/i386/sysdep.h: Include <features.h>.
7256 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7259 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7261 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7263 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7266 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7268 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7269 (SETUP_PIC_REG): Use GET_PC_THUNK.
7270 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7273 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7275 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7276 for non-PIC compilation.
7277 (SETUP_PIC_REG): Add .p2align directive.
7278 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7279 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7280 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7281 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7282 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7283 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7284 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7285 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7286 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7287 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7288 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7289 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7290 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7291 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7292 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7293 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7294 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7295 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7296 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7297 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7298 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7299 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7300 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7301 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7305 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7307 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7309 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7311 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7313 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7314 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7315 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7317 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7318 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7320 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7322 * math/tst-CMPLX.c: Include <stdio.h>.
7324 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7326 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7328 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7329 * sysdeps/sparc/bits/mathdef.h: Likewise.
7331 2012-01-31 Marek Polacek <polacek@redhat.com>
7333 * libio/libio.h: Don't define _PARAMS.
7334 * locale/programs/config.h: Don't define PARAMS.
7335 * stdlib/strtol_l.c: Likewise.
7336 (__strtol_l): Remove PARAMS from the prototype.
7338 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7340 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7341 names. Just use the correct names. Remove unnecessary wrapper
7343 * malloc/arena.c: Likewise.
7344 * malloc/hooks.c: Likewise.
7346 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7347 ARENA_TEST says not to. Simplify test for creation of a new arena.
7348 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7350 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7352 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7354 (update_get_addr): New function.
7355 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7356 GET_ADDR_MODULE parameter.
7358 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7360 * crypt/cert.c: Remove __STDC__ conditionals.
7361 * crypt/crypt-entry.c: Likewise.
7362 * crypt/crypt_util.c: Likewise.
7363 * libio/filedoalloc.c: Likewise.
7364 * libio/fileops.c: Likewise.
7365 * libio/genops.c: Likewise.
7366 * libio/iofclose.c: Likewise.
7367 * libio/iofdopen.c: Likewise.
7368 * libio/iofopen.c: Likewise.
7369 * libio/iofopen64.c: Likewise.
7370 * libio/iogetdelim.c: Likewise.
7371 * libio/iopopen.c: Likewise.
7372 * libio/obprintf.c: Likewise.
7373 * libio/oldfileops.c: Likewise.
7374 * libio/oldiofclose.c: Likewise.
7375 * libio/oldiofdopen.c: Likewise.
7376 * libio/oldiofopen.c: Likewise.
7377 * libio/oldiopopen.c: Likewise.
7378 * libio/wfiledoalloc.c: Likewise.
7379 * libio/wgenops.c: Likewise.
7380 * locale/programs/xmalloc.c: Likewise.
7381 * misc/syslog.c: Likewise.
7382 * stdio-common/xbug.c: Likewise.
7383 * string/memchr.c: Likewise.
7384 * string/memcmp.c: Likewise.
7385 * string/memrchr.c: Likewise.
7386 * string/rawmemchr.c: Likewise.
7387 * sysdeps/posix/getcwd.c: Likewise.
7388 * time/strftime_l.c: Likewise.
7390 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7392 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7393 * config.make.in (config-cflags-sse2avx): Define.
7394 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7397 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7399 * scripts/config.guess: Update from upstream config git repository.
7400 * scripts/config.sub: Likewise.
7402 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7404 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7406 (R_TILEPRO_*, R_TILEGX_*): New macros.
7408 * scripts/firstversions.awk: Fix bug in version range handling.
7410 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7412 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7414 * include/sys/epoll.h: New file.
7415 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7418 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7420 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7421 Avoid unnecessary __WORDSIZE == 64 test.
7422 (fmaxf): Use VEX format if possible.
7427 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7428 * math/math_private.h: Remove libc_fegetround* and
7430 * sysdeps/i386/configure.in: Check for -msse2avx.
7431 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7432 also if SSE2AVX is defined.
7433 Remove libc_fegetround* and libc_fesetround*.
7434 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7435 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7444 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7446 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7448 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7450 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7452 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7455 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7457 * Makeconfig (libm): Define.
7458 * elf/Makefile: Add rules to build and run tst-relsort1.
7459 * elf/tst-relsort1.c: New file.
7460 * elf/tst-relsort1mod1.c: New file.
7461 * elf/tst-relsort1mod2.c: New file.
7463 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7465 * math/s_ldexp.c: Remove __STDC__ conditionals.
7466 * math/s_ldexpf.c: Likewise.
7467 * math/s_ldexpl.c: Likewise.
7468 * math/s_nextafter.c: Likewise.
7469 * math/s_nexttowardf.c: Likewise.
7470 * math/s_significand.c: Likewise.
7471 * math/s_significandf.c: Likewise.
7472 * math/s_significandl.c: Likewise.
7473 * math/w_jnl.c: Likewise.
7474 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7475 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7476 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7477 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7478 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7481 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7482 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7484 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7493 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7494 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7495 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7496 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7497 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7498 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7499 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7500 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7501 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7502 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7503 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7504 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7505 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7506 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7507 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7508 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7509 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7510 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7511 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7512 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7513 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7514 * sysdeps/ieee754/k_standard.c: Likewise.
7515 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7517 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7518 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7524 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7525 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7528 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7532 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7533 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7534 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7535 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7537 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7576 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7581 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7589 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7590 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7594 * sysdeps/ieee754/s_matherr.c: Likewise.
7595 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7596 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7597 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7598 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7600 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7602 * crypt/md5.h: Remove __STDC__ conditionals.
7603 * libio/libioP.h: Likewise.
7604 * locale/programs/config.h: Likewise.
7605 * sysdeps/generic/sysdep.h: Likewise.
7606 * sysdeps/i386/asm-syntax.h: Likewise.
7607 * sysdeps/s390/asm-syntax.h: Likewise.
7608 * sysdeps/unix/sysdep.h: Likewise.
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7612 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7614 * libio/libio.h: Remove __STDC__ conditionals.
7615 * malloc/obstack.h: Likewise.
7616 * math/complex.h: Likewise.
7617 * math/math.h: Likewise.
7618 * sysdeps/generic/_G_config.h: Likewise.
7619 * sysdeps/gnu/_G_config.h: Likewise.
7620 * sysdeps/mach/hurd/_G_config.h: Likewise.
7621 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7622 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7623 * sysdeps/sparc/bits/mathdef.h: Likewise.
7625 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7628 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7629 Clean up HAS_* macros.
7630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7631 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7636 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7641 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7643 * elf/tst-unique3.cc (gets): Remove declaration.
7644 * elf/tst-unique3lib.cc (gets): Likewise.
7645 * elf/tst-unique3lib2.cc (gets): Likewise.
7646 * elf/tst-unique4.cc (gets): Likewise.
7648 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7650 * include/stdio.h: Add C++ protection. Add gets declarations and
7652 * debug/tst-chk1.c: Don't declare gets here.
7653 * stdio-common/tst-gets.c: Likewise.
7655 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7657 * posix/glob: Remove directory.
7659 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7661 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7663 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7665 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7666 of the non-standard EPFNOSUPPORT.
7668 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7670 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7671 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7672 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7674 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7676 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7678 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7680 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7682 * nscd/grpcache.c (cache_addgr): Likewise.
7683 * nscd/hstcache.c (cache_addhst): Likewise.
7684 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7685 * nscd/pwdcache.c (cache_addpw): Likewise.
7686 * nscd/servicescache.c (cache_addserv): Likewise.
7688 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7690 * malloc/malloc.c: Various cleanups.
7691 * malloc/hooks.c: Likewise.
7693 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7694 * stdlib/bug-fmtmsg1.c: New file.
7696 * stdlib/fmtmsg.c (init): Add missing unlock.
7697 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7699 2012-01-12 Marek Polacek <polacek@redhat.com>
7701 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7704 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7706 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7707 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7708 macro to ensure uniqueness of label name.
7709 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7710 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7712 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7714 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7716 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7717 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7718 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7721 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7723 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7725 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7726 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7727 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7729 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7732 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7733 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7736 * math/bits/math-finite.h: Add ldexp support.
7738 2012-01-10 Marek Polacek <polacek@redhat.com>
7740 * locale/programs/localedef.h (show_archive_content): Add noreturn
7743 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7745 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7747 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7749 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7751 * io/Makefile (headers): Add bits/poll2.h.
7753 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7756 typo #include statement.
7758 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7760 * include/sys/cdefs.h: Define __attribute_alloc_size.
7761 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7762 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7763 * elf/pldd.c: Likewise.
7764 * iconv/iconv_charmap.c: Likewise.
7765 * iconv/iconvconfig.c: Likewise.
7766 * iconv/strtab.c: Likewise.
7767 * locale/programs/locale.c: Likewise.
7768 * locale/programs/localedef.h: Likewise.
7769 * locale/programs/simple-hash.c: Likewise.
7770 * nscd/nscd.h: Likewise.
7771 * nss/makedb.c: Likewise.
7772 * sysdeps/generic/ldconfig.h: Likewise.
7773 * locale/programs/localedef.c: Remove xmalloc prototype.
7774 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7776 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7778 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7781 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7783 * math/Makefile (tests): Add tst-CMPLX.
7784 * math/tst-CMPLX.c: New file.
7786 * math/complex.h (CMPLXL): Fix typo.
7788 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7789 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7791 * debug/tst-chk1.c: Add poll and ppoll tests.
7792 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7793 * include/sys/poll.h: Add hidden proto for ppoll.
7794 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7795 * sysdeps/mach/hurd/ppoll.c: Likewise.
7796 * io/ppoll.c: Likewise.
7797 * debug/poll_chk.c: New file.
7798 * debug/ppoll_chk.c: New file.
7799 * include/bits/poll2.h: New file.
7800 * io/bits/poll2.h: New file.
7803 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7805 * configure.in: static is always set to yes. Remove.
7806 * config.make.in: Don't set build-static.
7807 * Makeconfig: Remove use of build-static.
7808 * dlfcn/Makefile: Likewise.
7809 * elf/Makefile: Likewise.
7810 * math/Makefile: Likewise.
7811 * misc/Makefile: Likewise.
7812 * nptl/Makefile: Likewise.
7813 * sysdeps/mach/hurd/Makefile: Likewise.
7815 * configure.in: PWD_P is not used anymore.
7816 * config.make.in: Remove PWD_P entry.
7818 * configure.in: Remove last remnants of RANLIB.
7819 No need to check for signed size_t anymore.
7820 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7822 Remove __builtin_expect test because we require at least gcc 3.4.
7823 * aclocal.m4: Likewise.
7825 * wcsmbs/mbrtoc16.c: Implement using towc function.
7826 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7827 * wcsmbs/wcsmbsload.c: Likewise.
7828 * iconv/gconv_simple.c: Likewise.
7829 * iconv/gconv_int.h: Likewise.
7830 * iconv/gconv_builtin.h: Likewise.
7831 * iconv/iconv_prog.c: Remove CHAR16 handling.
7833 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7835 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7837 * configure.in: Remove --with-elf and --enable-bounded options.
7838 Dont set base_machine for ia64. More non-ELF conditions removed.
7839 Remove testing and setting of leading underscore information.
7840 * config.make.in (build-bounded): Set to no.
7841 * config.h.in: Remove NO_UNDERSCORES entry.
7842 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7844 * csu/start.c: Remove !NO_UNDERSCORE code.
7845 * locale/localeinfo.h: Likewise.
7846 * sysdeps/generic/machine-gmon.h: Likewise.
7847 * sysdeps/generic/sysdep.h: Likewise.
7848 * sysdeps/i386/sysdep.h: Likewise.
7849 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7850 * sysdeps/mach/sysdep.h: Likewise.
7851 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7853 * sysdeps/sh/sysdep.h: Likewise.
7854 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7855 * sysdeps/unix/i386/sysdep.S: Likewise.
7856 * sysdeps/unix/sparc/start.c: Likewise.
7857 * sysdeps/unix/sparc/sysdep.S: Likewise.
7858 * sysdeps/unix/sparc/sysdep.h: Likewise.
7859 * sysdeps/unix/start.c: Likewise.
7860 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7861 * sysdeps/x86_64/sysdep.h: Likewise.
7863 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7866 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7868 * argp/argp-fmtstream.h: Use const instead __const.
7869 * argp/argp.h: Likewise.
7870 * assert/assert.h: Likewise.
7871 * bits/fenv.h: Likewise.
7872 * bits/sched.h: Likewise.
7873 * bits/sigset.h: Likewise.
7874 * bits/sigthread.h: Likewise.
7875 * catgets/nl_types.h: Likewise.
7876 * conform/data/pthread.h-data: Likewise.
7877 * crypt/crypt-private.h: Likewise.
7878 * crypt/crypt.h: Likewise.
7879 * crypt/crypt_util.c: Likewise.
7880 * ctype/ctype.h: Likewise.
7881 * debug/execinfo.h: Likewise.
7882 * debug/mbsnrtowcs_chk.c: Likewise.
7883 * debug/mbsrtowcs_chk.c: Likewise.
7884 * debug/wcsnrtombs_chk.c: Likewise.
7885 * debug/wcsrtombs_chk.c: Likewise.
7886 * debug/wcstombs_chk.c: Likewise.
7887 * dirent/dirent.h: Likewise.
7888 * dlfcn/dlfcn.h: Likewise.
7889 * elf/neededtest4.c: Likewise.
7890 * grp/grp.h: Likewise.
7891 * gshadow/gshadow.h: Likewise.
7892 * iconv/gconv.h: Likewise.
7893 * iconv/gconv_int.h: Likewise.
7894 * iconv/gconv_simple.c: Likewise.
7895 * iconv/iconv.h: Likewise.
7896 * iconv/loop.c: Likewise.
7897 * iconv/skeleton.c: Likewise.
7898 * include/aio.h: Likewise.
7899 * include/aliases.h: Likewise.
7900 * include/argz.h: Likewise.
7901 * include/arpa/inet.h: Likewise.
7902 * include/assert.h: Likewise.
7903 * include/dirent.h: Likewise.
7904 * include/dlfcn.h: Likewise.
7905 * include/execinfo.h: Likewise.
7906 * include/fcntl.h: Likewise.
7907 * include/fenv.h: Likewise.
7908 * include/glob.h: Likewise.
7909 * include/grp.h: Likewise.
7910 * include/libintl.h: Likewise.
7911 * include/mntent.h: Likewise.
7912 * include/netdb.h: Likewise.
7913 * include/pwd.h: Likewise.
7914 * include/rpc/netdb.h: Likewise.
7915 * include/sched.h: Likewise.
7916 * include/search.h: Likewise.
7917 * include/shadow.h: Likewise.
7918 * include/signal.h: Likewise.
7919 * include/stdio.h: Likewise.
7920 * include/stdlib.h: Likewise.
7921 * include/string.h: Likewise.
7922 * include/sys/socket.h: Likewise.
7923 * include/sys/stat.h: Likewise.
7924 * include/sys/statfs.h: Likewise.
7925 * include/sys/statvfs.h: Likewise.
7926 * include/sys/syslog.h: Likewise.
7927 * include/sys/time.h: Likewise.
7928 * include/sys/uio.h: Likewise.
7929 * include/time.h: Likewise.
7930 * include/unistd.h: Likewise.
7931 * include/utmp.h: Likewise.
7932 * include/wchar.h: Likewise.
7933 * include/wctype.h: Likewise.
7934 * inet/aliases.h: Likewise.
7935 * inet/arpa/inet.h: Likewise.
7936 * inet/netinet/ether.h: Likewise.
7937 * inet/netinet/in.h: Likewise.
7938 * intl/libintl.h: Likewise.
7939 * io/bits/fcntl2.h: Likewise.
7940 * io/fcntl.h: Likewise.
7941 * io/ftw.h: Likewise.
7942 * io/sys/poll.h: Likewise.
7943 * io/sys/stat.h: Likewise.
7944 * io/sys/statfs.h: Likewise.
7945 * io/sys/statvfs.h: Likewise.
7946 * io/utime.h: Likewise.
7947 * libio/bits/stdio.h: Likewise.
7948 * libio/bits/stdio2.h: Likewise.
7949 * libio/libio.h: Likewise.
7950 * libio/libioP.h: Likewise.
7951 * libio/stdio.h: Likewise.
7952 * locale/lc-ctype.c: Likewise.
7953 * locale/locale.h: Likewise.
7954 * login/utmp.h: Likewise.
7955 * malloc/arena.c: Likewise.
7956 * malloc/malloc.c: Likewise.
7957 * malloc/malloc.h: Likewise.
7958 * malloc/mcheck.c: Likewise.
7959 * malloc/mtrace.c: Likewise.
7960 * math/bits/mathcalls.h: Likewise.
7961 * math/fenv.h: Likewise.
7962 * math/math_private.h: Likewise.
7963 * misc/bits/error.h: Likewise.
7964 * misc/bits/syslog.h: Likewise.
7965 * misc/err.h: Likewise.
7966 * misc/error.h: Likewise.
7967 * misc/fstab.h: Likewise.
7968 * misc/mntent.h: Likewise.
7969 * misc/regexp.h: Likewise.
7970 * misc/search.h: Likewise.
7971 * misc/sgtty.h: Likewise.
7972 * misc/sys/mman.h: Likewise.
7973 * misc/sys/syslog.h: Likewise.
7974 * misc/sys/uio.h: Likewise.
7975 * misc/sys/xattr.h: Likewise.
7976 * misc/ttyent.h: Likewise.
7977 * nis/rpcsvc/ypclnt.h: Likewise.
7978 * nss/nss.h: Likewise.
7979 * posix/bits/unistd.h: Likewise.
7980 * posix/fnmatch.h: Likewise.
7981 * posix/glob.h: Likewise.
7982 * posix/sched.h: Likewise.
7983 * posix/spawn.h: Likewise.
7984 * posix/sys/wait.h: Likewise.
7985 * posix/unistd.h: Likewise.
7986 * posix/wordexp.h: Likewise.
7987 * pwd/pwd.h: Likewise.
7988 * resolv/netdb.h: Likewise.
7989 * resource/sys/resource.h: Likewise.
7990 * rt/aio.h: Likewise.
7991 * rt/bits/mqueue2.h: Likewise.
7992 * rt/mqueue.h: Likewise.
7993 * shadow/shadow.h: Likewise.
7994 * signal/signal.h: Likewise.
7995 * socket/send.c: Likewise.
7996 * socket/sendto.c: Likewise.
7997 * socket/sys/socket.h: Likewise.
7998 * stdio-common/printf.h: Likewise.
7999 * stdlib/bits/stdlib.h: Likewise.
8000 * stdlib/fmtmsg.h: Likewise.
8001 * stdlib/monetary.h: Likewise.
8002 * stdlib/stdlib.h: Likewise.
8003 * stdlib/ucontext.h: Likewise.
8004 * streams/stropts.h: Likewise.
8005 * string/argz.h: Likewise.
8006 * string/bits/string2.h: Likewise.
8007 * string/string.h: Likewise.
8008 * string/strings.h: Likewise.
8009 * sunrpc/rpc/auth.h: Likewise.
8010 * sunrpc/rpc/auth_des.h: Likewise.
8011 * sunrpc/rpc/clnt.h: Likewise.
8012 * sunrpc/rpc/netdb.h: Likewise.
8013 * sunrpc/rpc/pmap_clnt.h: Likewise.
8014 * sunrpc/rpc/xdr.h: Likewise.
8015 * sysdeps/generic/inttypes.h: Likewise.
8016 * sysdeps/generic/net/if.h: Likewise.
8017 * sysdeps/generic/sys/swap.h: Likewise.
8018 * sysdeps/gnu/net/if.h: Likewise.
8019 * sysdeps/gnu/utmpx.h: Likewise.
8020 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8021 * sysdeps/i386/i486/bits/string.h: Likewise.
8022 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8023 * sysdeps/s390/bits/string.h: Likewise.
8024 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8025 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8026 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8027 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8028 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8029 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8030 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8031 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8032 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8033 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8034 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8035 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8036 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8037 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8038 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8039 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8040 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8042 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8043 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8044 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8045 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8046 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8047 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8048 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8049 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8050 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8051 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8052 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8053 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8054 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8055 * sysvipc/sys/ipc.h: Likewise.
8056 * sysvipc/sys/msg.h: Likewise.
8057 * sysvipc/sys/sem.h: Likewise.
8058 * sysvipc/sys/shm.h: Likewise.
8059 * termios/termios.h: Likewise.
8060 * time/sys/time.h: Likewise.
8061 * time/time.h: Likewise.
8062 * wcsmbs/bits/wchar2.h: Likewise.
8063 * wcsmbs/uchar.h: Likewise.
8064 * wcsmbs/wchar.h: Likewise.
8065 * wctype/wctype.h: Likewise.
8068 * Makeconfig: Remove all but ELF support including AIX support.
8069 * Makerules: Likewise.
8070 * config.h.in: Likewise.
8071 * config.make.in: Likewise.
8072 * configure: Likewise.
8073 * configure.in: Likewise.
8074 * csu/Makefile: Likewise.
8075 * csu/version.c: Likewise.
8076 * debug/Makefile: Likewise.
8077 * dlfcn/Makefile: Likewise.
8078 * elf/Makefile: Likewise.
8079 * extra-lib.mk: Likewise.
8080 * iconv/Makefile: Likewise.
8081 * include/libc-symbols.h: Likewise.
8082 * include/shlib-compat.h: Likewise.
8083 * resolv/Makefile: Likewise.
8084 * resolv/res_libc.c: Likewise.
8085 * rt/Makefile: Likewise.
8086 * sysdeps/i386/asm-syntax.h: Likewise.
8087 * sysdeps/i386/sysdep.h: Likewise.
8088 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8089 * sysdeps/mach/sysdep.h: Likewise.
8090 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8091 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8092 * sysdeps/s390/asm-syntax.h: Likewise.
8093 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8094 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8095 * sysdeps/sh/sysdep.h: Likewise.
8096 * sysdeps/unix/sparc/sysdep.h: Likewise.
8097 * sysdeps/wordsize-32/divdi3.c: Likewise.
8098 * sysdeps/x86_64/sysdep.h: Likewise.
8100 * argp/Versions: Remove _argp_unlock_xxx.
8103 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8104 * abilist/libBrokenLocale.abilist: Likewise.
8105 * abilist/libanl.abilist: Likewise.
8106 * abilist/libc.abilist: Likewise.
8107 * abilist/libcrypt.abilist: Likewise.
8108 * abilist/libdl.abilist: Likewise.
8109 * abilist/libm.abilist: Likewise.
8110 * abilist/libnsl.abilist: Likewise.
8111 * abilist/libpthread.abilist: Likewise.
8112 * abilist/libresolv.abilist: Likewise.
8113 * abilist/librt.abilist: Likewise.
8114 * abilist/libthread_db.abilist: Likewise.
8115 * abilist/libutil.abilist: Likewise.
8116 * abilist/libnss_db.abilist: New file.
8118 * scripts/abilist.awk: Add support for indirect functions.
8120 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8122 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8124 * shlib-versions: Remove entries for ports architectures.
8126 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8128 * elf/stackguard-macros.h: Remove support for IA-64.
8129 * elf/tst-auditmod1.c: Likewise.
8130 * sysdeps/generic/ldsodefs.h: Likewise.
8132 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8133 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8137 * configure.in: Remove --enable-omitfp support.
8139 * config.make.in: Likewise.
8140 * Makeconfig: Likewise.
8141 * manual/install.texi: Likewise.
8143 In case anyone cares, the IA-64 architecture could move to ports.
8144 * sysdeps/ia64/*: Removed.
8145 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8146 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8149 * configure.in: Remove entries for unsupported architectures.
8152 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8153 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8155 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8156 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8157 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8158 fall back to using wcrtomb.
8159 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8160 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8162 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8163 * wcsmbs/tst-c16c32-1.c: New file.
8165 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8168 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8170 * elf/tst-unique3.cc: Add explicit declaration of gets.
8171 * elf/tst-unique3lib.cc: Likewise.
8172 * elf/tst-unique3lib2.cc: Likewise.
8173 * elf/tst-unique4.cc: Likewise.
8175 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8177 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8180 * assert/assert.h (static_assert): Don't define for C++.
8181 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8182 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8184 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8186 * iconv/loop.c (single loop): Fix assertion in storing of
8189 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8191 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8193 * posix/getconf.c: Update copyright year.
8194 * nss/getent.c: Likewise.
8195 * nss/makedb.c: Likewise.
8196 * iconv/iconvconfig.c: Likewise.
8197 * iconv/iconv_prog.c: Likewise.
8198 * elf/ldconfig.c: Likewise.
8199 * elf/pldd.c: Likewise.
8200 * elf/sotruss.ksh: Likewise.
8201 * catgets/gencat.c: Likewise.
8202 * csu/version.c: Likewise.
8203 * elf/ldd.bash.in: Likewise.
8204 * elf/sprof.c (print_version): Likewise.
8205 * locale/programs/locale.c: Likewise.
8206 * locale/programs/localedef.c: Likewise.
8207 * login/programs/pt_chown.c: Likewise.
8208 * nscd/nscd.c (print_version): Likewise.
8209 * debug/xtrace.sh: Likewise.
8210 * malloc/memusage.sh: Likewise.
8211 * malloc/mtrace.pl: Likewise.
8212 * debug/catchsegv.sh: Likewise.
8214 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8216 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8219 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8222 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8223 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8225 * iconv/gconv_int.h: Likewise.
8226 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8227 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8228 from libc for GLIBC_2.16.
8229 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8230 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8231 * wcsmbs/uchar.h: Really define mbstate_t.
8232 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8233 * wcsmbs/c16rtomb.c: New file.
8234 * wcsmbs/mbrtoc16.c: New file.
8235 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8237 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8238 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8240 * wcsmbs/wchar.h: Add missing __restrict.
8242 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8245 * time/Makefile (routines): Add timespec_get.
8246 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8247 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8248 timespec for ISO C11.
8249 * time/timespec_get.c: New file.
8250 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8251 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8254 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8255 * stdlib/stdlib.h: Declare aligned_alloc.
8256 * Versions.def: Add GLIBC_2.16 for libc.
8257 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8260 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8263 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8267 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8270 * assert/assert.h (static_assert): Define.
8272 * version.h: Update for 2.16 development version.
8275 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8278 * version.h (RELEASE): Bump for 2.15 release.
8279 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8281 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8282 Patch by Marek Polacek <mpolacek@redhat.com>.
8284 * bits/byteswap.h: Protect long long constants with __extension__.
8285 * sysdeps/i386/bits/byteswap.h: Likewise.
8286 * sysdeps/ia64/bits/byteswap.h: Likewise.
8287 * sysdeps/s390/bits/byteswap.h: Likewise.
8288 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8290 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8293 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8295 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8297 2011-12-23 Marek Polacek <polacek@redhat.com>
8299 * elf/dl-addr.c (determine_info): Add inline keyword.
8300 * elf/tst-auditmod4b.c (check_avx): Likewise.
8301 * elf/tst-auditmod6b.c (check_avx): Likewise.
8302 * elf/tst-auditmod6c.c (check_avx): Likewise.
8303 * elf/tst-auditmod7b.c (check_avx): Likewise.
8305 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8307 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8310 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8313 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8314 processing for last bytes.
8316 2011-08-06 Bruno Haible <bruno@clisp.org>
8319 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8320 U+0385, not to U+1FEE.
8323 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8324 entry for U+00A5 U+0301.
8326 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8329 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8330 buffer for the output is too small.
8332 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8336 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8337 SSE flags if possible.
8339 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8342 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8343 processing for last bytes.
8345 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8347 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8348 (syscall-list-default-options, syscall-list-default-condition)
8349 (syscall-list-includes): Define.
8350 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8351 list of ABIs and options and #if conditions for each ABI. Do not
8352 handle common syscalls between ABIs specially.
8353 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8355 (syscall-list-variants, syscall-list-32bit-options)
8356 (syscall-list-32bit-condition, syscall-list-64bit-options)
8357 (syscall-list-64bit-condition): Define.
8358 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8359 (syscall-list-variants, syscall-list-32bit-options)
8360 (syscall-list-32bit-condition, syscall-list-64bit-options)
8361 (syscall-list-64bit-condition): Define.
8362 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8364 (syscall-list-variants, syscall-list-32bit-options)
8365 (syscall-list-32bit-condition, syscall-list-64bit-options)
8366 (syscall-list-64bit-condition): Define.
8367 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8369 (syscall-list-variants, syscall-list-32bit-options)
8370 (syscall-list-32bit-condition, syscall-list-64bit-options)
8371 (syscall-list-64bit-condition): Define.
8373 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8375 * locale/iso-639.def: Add brx entry.
8378 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8379 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8381 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8382 __feraiseexcept_renamed.
8384 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8387 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8388 EPOLLET with unsigned values.
8389 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8390 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8392 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8393 to large cancellation.
8394 * math/s_cacoshf.c: Likewise.
8395 * math/s_cacoshl.c: Likewise.
8397 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8401 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8402 * math/s_cacoshf.c: Likewise.
8403 * math/s_cacoshl.c: Likewise.
8405 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8408 * iconv/gconv.h: Define __GCONV_SWAP.
8409 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8410 * iconvdata/utf-16.c: Likewise.
8411 * iconvdata/utf-32.c: Likewise.
8413 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8416 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8417 numerator after shifting it by one limb.
8419 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8421 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8422 under [__USE_EXTERN_INLINES].
8424 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8427 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8429 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8431 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8432 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8434 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8436 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8437 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8438 for strncasecmp/strncasecmp_l compilation.
8439 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8440 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8442 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8445 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8448 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8451 * time/tzfile.c (__tzfile_read): Check values from file header.
8453 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8455 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8456 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8457 * powerpc/powerpc32/dl-start.S: Likewise.
8458 * powerpc/powerpc32/elf/start.S: Likewise.
8459 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8460 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8461 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8462 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8463 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8464 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8465 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8466 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8467 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8468 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8469 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8470 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8471 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8472 * powerpc/powerpc32/memset.S: Likewise.
8473 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8474 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8475 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8476 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8477 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8478 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8479 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8480 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8481 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8482 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8483 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8484 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8485 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8487 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8489 * math/libm-test.inc: Added more nearbyint tests.
8490 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8491 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8493 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8495 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8497 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8500 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8502 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8503 Add wcscpy-ssse3 wcscpy-c.
8504 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8505 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8506 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8507 * sysdeps/x86_64/wcschr.S: New file.
8508 * sysdeps/x86_64/wcsrchr.S: New file.
8509 * string/test-strcmp.c: Remove checking of wcscmp function for
8511 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8512 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8513 wcsrchr-sse2 wcsrchr-c.
8514 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8515 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8516 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8517 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8518 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8519 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8520 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8521 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8522 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8523 * wcsmbc/wcschr.c (WCSCHR): New macro.
8525 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8527 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8528 * wcsmbs/test-wcsrchr.c: New file.
8529 * string/test-strrchr.c: Add wcsrchr support.
8531 * wcsmbs/test-wcscpy.c: New file.
8532 * string/test-strcpy.c: Add wcscpy support.
8535 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8537 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8540 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8543 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8545 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8547 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8548 Minor optimizations.
8550 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8551 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8552 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8554 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8556 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8557 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8558 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8559 for gcc to avoid warnings.
8560 * inet/Makefile (tests): Add tst-checks.
8561 * inet/tst-checks.c: New file.
8563 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8566 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8569 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8570 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8572 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8574 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8576 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8579 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8581 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8583 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8584 conditional on GCC version.
8585 (__arch_compare_and_exchange_val_8_acq)
8586 (__arch_compare_and_exchange_val_16_acq)
8587 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8588 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8589 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8591 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8593 * sysdeps/sh/backtrace.c: New file.
8595 2011-12-02 Andreas Schwab <schwab@redhat.com>
8597 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8600 2011-12-01 Andreas Schwab <schwab@redhat.com>
8602 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8603 falling back to utime.
8605 2011-11-30 Andreas Schwab <schwab@redhat.com>
8607 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8608 expectations for float.
8610 2011-11-29 Andreas Schwab <schwab@redhat.com>
8612 * locale/weight.h (findidx): Add parameter len.
8613 * locale/weightwc.h (findidx): Likewise.
8614 * posix/fnmatch_loop.c (FCT): Adjust caller.
8615 * posix/regcomp.c (build_equiv_class): Likewise.
8616 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8617 * posix/regexec.c (check_node_accept_bytes): Likewise.
8618 * string/strcoll_l.c (STRCOLL): Likewise.
8619 * string/strxfrm_l.c (STRXFRM): Likewise.
8621 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8623 * Makefile.in: Remove CVSOPT handling.
8624 * configure.in: Remove use of AC_REVISION.
8625 * iconvdata/Makefile (distribute): No need to filter out CVS.
8626 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8629 2011-11-16 Andreas Schwab <schwab@redhat.com>
8631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8632 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8633 [USE_AS_STRNCASECMP_L]: Likewise.
8634 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8635 NO_TLS_DIRECT_SEG_REFS.
8636 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8637 Fix argument offsets for non-PIC.
8638 [USE_AS_STRNCASECMP_L]: Likewise.
8639 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8640 NO_TLS_DIRECT_SEG_REFS.
8642 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8644 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8646 * locale/loadlocale.c (_nl_load_locale): Likewise.
8648 2011-11-15 Andreas Schwab <schwab@redhat.com>
8650 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8651 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8652 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8653 (SYSCALL_GETTIME): Set errno on error.
8655 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8656 count references to noai6ai_cached.
8658 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8660 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8662 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8663 FD_CLOEXEC for /proc/self/maps.
8665 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8666 FD_CLOEXEC for /proc/meminfo.
8668 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8671 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8672 FD_CLOEXEC for given file.
8674 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8676 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8677 FD_CLOEXEC for /etc/hosts.
8678 (_gethtent): Likewise.
8680 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8682 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8683 cancellation and set FD_CLOEXEC for /etc/netgroup.
8685 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8686 reading /etc/publickey.
8688 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8689 allow cancellation when reading /etc/group.
8691 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8693 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8695 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8696 when using data file.
8698 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8700 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8701 (write_nis_obj): Use "c" and "e" in fopen.
8703 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8705 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8707 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8709 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8711 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8714 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8716 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8718 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8720 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8721 file parsing and set FD_CLOEXEC.
8723 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8725 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8727 2011-11-14 Andreas Schwab <schwab@redhat.com>
8729 * malloc/arena.c (arena_get2): Don't call reused_arena when
8730 _int_new_arena failed.
8732 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8734 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8735 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8736 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8737 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8738 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8739 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8740 to compile strcasecmp and strncasecmp.
8741 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8742 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8746 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8748 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8749 locale-defines.sym to gen-as-const-headers.
8750 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8751 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8753 to compile strcasecmp and strncasecmp.
8754 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8755 strcasecmp_l and strncasecmp_l.
8756 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8757 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8758 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8759 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8760 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8761 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8762 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8763 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8764 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8765 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8766 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8768 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8770 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8771 result of SYSDEP_GETTIME_CPU to retval.
8772 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8773 parameter list to macro. Remove trailing semicolon. Adjust users.
8775 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8778 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8780 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8782 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8783 from unused variable.
8785 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8787 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8790 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8793 * sunrpc/rpc_prot.c (rejected): Fix case value.
8795 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8796 unsigned long long int to avoid warnings in shift.
8798 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8800 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8803 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8804 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8805 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8807 * nis/nis_table.c (nis_list): Use variable of correct type for
8808 result of __follow_path call.
8810 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8812 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8813 of math functions ceil, trunc, floor, round, and sqrt, when
8814 avaliable on the platform.
8815 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8817 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8818 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8819 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8821 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8823 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8824 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8826 2011-11-11 Roland McGrath <roland@hack.frob.com>
8828 * include/unistd.h: Fix __readlink return type.
8829 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8831 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8833 * stdlib/ucontext.h: Undo last change for makecontext.
8835 2011-11-11 Andreas Schwab <schwab@redhat.com>
8837 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8839 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8840 * setjmp/setjmp.h: Mark functions as non-leaf.
8841 * setjmp/bits/setjmp2.h: Likewise.
8842 * stdlib/ucontext.h: Likewise.
8844 2011-11-10 Andreas Schwab <schwab@redhat.com>
8846 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8847 (reused_arena): Don't check arena limit.
8848 (arena_get2): Atomically check arena limit.
8850 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8852 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8853 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8858 2011-11-07 Andreas Schwab <schwab@redhat.com>
8860 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8861 handler when locking.
8863 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8864 Fix size of allocated buffer.
8866 2011-11-04 Andreas Schwab <schwab@redhat.com>
8869 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8870 declarations for long double functions.
8871 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8873 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8875 2011-11-03 Andreas Schwab <schwab@redhat.com>
8877 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8880 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8883 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8885 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8887 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8889 * include/alloca.h (stackinfo_alloca_round): Define.
8890 (extend_alloca): Use it.
8891 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8892 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8895 * scripts/check-local-headers.sh: Ignore libaudit.h.
8897 * nscd/Makefile (extra-objs): Make recursively expanded.
8899 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8901 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8902 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8904 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8905 * posix/tst-rfc3484-2.c: Likewise.
8906 * posix/tst-rfc3484-3.c: Likewise.
8908 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8910 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8912 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8913 process_vm_writev from libc using GLIBC_2.15 version.
8915 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8917 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8919 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8922 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8925 * nss/getent.c (initgroups_keys): Show error message in case no group
8928 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8929 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8930 __bump_nl_timestamp.
8931 * nscd/connections (nscd_init): When host database is served open
8932 netlink socket and request notification about configuration changes.
8933 (main_loop_poll): Track netlink file descriptor and bump timestamp
8934 in case data becomes available.
8935 (main_loop_epoll): Likewise.
8936 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8937 (database_pers_head): Add extra_data fileds.
8938 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8939 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8940 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8942 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8943 in6ai data, call __free_in6ai.
8944 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8946 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8947 interface information. Reuse previous data if netlink timestamp
8949 (__bump_nl_timestamp): New function.
8950 (__free_in6ai): New function.
8952 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8954 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8955 close_not_cancel_no_status here.
8956 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8958 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8961 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8964 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8965 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8966 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8968 2011-07-03 Andreas Jaeger <aj@suse.de>
8971 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8972 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8973 * math/libm-test.inc (sin_test): Add test case.
8975 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8978 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8979 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8981 * elf/chroot_canon.c (chroot_canon): Cleanups.
8983 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8986 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8987 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8989 * string/test-strchr.c: Make usable for strchrnul testing.
8990 * string/test-strchrnul.c: New file.
8991 * string/Makefile (strop-tests): Add strchrnul.
8993 * po/it.po: Update from translation team.
8994 * po/es.po: Likewise.
8996 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8998 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8999 the three constants needed as parameters. Drop the others.
9000 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9001 __m128i_strloadu_tolower.
9002 Create and initialize variable zero and use it in all the places
9003 where _mm_setzero_si128 was used.
9005 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9006 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9007 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9008 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9010 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9011 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9012 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9013 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9014 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9015 __mpranred, __mptan.
9016 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9017 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9018 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9019 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9020 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9021 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9023 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9024 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9026 2011-10-28 Andreas Schwab <schwab@redhat.com>
9028 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9030 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9033 wide char related routines to wcsmbs subdir.
9035 2011-10-27 Andreas Schwab <schwab@redhat.com>
9038 * misc/sys/cdefs.h (__THROWNL): Define.
9039 * posix/unistd.h: Use __THREADNL instead of __THREAD
9040 for memory synchronization functions.
9042 2011-10-26 Roland McGrath <roland@hack.frob.com>
9045 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9047 * manual/stdio.texi (Obstack Streams): Node removed.
9049 2011-10-26 Andreas Schwab <schwab@redhat.com>
9051 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9052 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9053 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9055 * math/math_private.h (math_force_eval): Allow non-addressable
9057 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9059 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9061 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9064 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9065 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9066 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9067 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9068 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9069 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9070 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9071 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9073 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9074 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9075 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9076 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9077 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9078 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9079 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9080 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9081 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9082 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9083 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9084 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9085 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9086 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9087 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9088 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9089 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9090 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9091 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9093 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9094 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9096 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9097 place. Use VEX encoding when compiling for AVX.
9099 2011-10-25 Andreas Schwab <schwab@redhat.com>
9101 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9102 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9104 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9106 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9108 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9109 useless if() expression.
9110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9120 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9121 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9122 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9123 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9124 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9125 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9126 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9130 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9132 2011-10-25 Andreas Schwab <schwab@redhat.com>
9134 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9138 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9140 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9141 .text section. Avoid duplicate constants.
9142 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9152 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9154 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9157 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9159 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9165 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9166 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9167 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9168 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9169 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9170 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9171 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9172 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9173 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9174 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9175 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9176 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9177 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9178 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9180 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9181 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9182 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9183 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9184 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9185 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9186 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9188 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9190 * sysdeps/x86_64/dla.h: Move to ...
9191 * sysdeps/x86_64/fpu/dla.h: ...here.
9192 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9193 situations. Use __builtin_fma only for gcc 4.6 and up.
9195 * config.make.in: Add have-mfma4 entry.
9196 * configure.in: Substitute libc_cv_cc_fma4.
9197 * math/Makefile (dbl-only-routines): Add sincostab.
9198 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9199 Use __sincostab not sincos.
9200 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9202 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9207 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9208 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9209 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9210 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9212 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9213 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9215 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9216 define aliases when function name is a macro.
9217 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9218 sysdeps/ieee754/dbl-64/sincos.tbl.
9219 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9220 fma4-enabled routines.
9221 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9222 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9223 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9224 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9225 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9226 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9228 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9229 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9230 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9231 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9232 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9233 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9234 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9235 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9236 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9237 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9238 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9239 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9240 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9241 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9242 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9243 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9244 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9245 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9246 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9248 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9250 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9252 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9263 2011-10-24 Andreas Schwab <schwab@redhat.com>
9265 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9267 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9269 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9271 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9273 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9275 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9276 Remove unused variable magic_bits.
9277 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9279 * string/strnlen.c: Define and use STRNLEN macro.
9280 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9281 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9282 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9283 * wcsmbs/wcslen.c: Define and use WCSLEN.
9284 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9285 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9286 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9287 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9288 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9289 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9290 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9292 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9295 strnlen-sse2-no-bsf.
9296 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9298 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9299 Add strnlen support.
9300 (USE_AS_STRNLEN): New macro.
9301 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9302 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9303 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9304 * sysdeps/x86_64/wcslen.S: New file.
9306 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9308 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9309 XMM-moves are used for copying on small sizes.
9311 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9313 * wcsmbs/Makefile (strop-tests): Add wcschr.
9314 * wcsmbs/test-wcschr.c: New file.
9315 * string/test-strchr.c: Update.
9319 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9321 * wcsmbs/Makefile (strop-tests): Add wcslen.
9322 * wcsmbs/test-wcslen.c: New file.
9323 * string/test-strlen.c: Update.
9327 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9329 * po/it.po: Update from translation team.
9331 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9333 * sysdeps/x86_64/wcscmp.S: Update.
9334 Fix wrong comparison semantics.
9335 wcscmp shall use signed comparison not unsigned.
9336 Don't use substraction to avoid overflow bug.
9337 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9338 * wcsmbc/wcscmp.c: Likewise.
9339 * string/test-strcmp.c: Likewise.
9340 Add new tests to check cases with negative values.
9342 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9344 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9345 * sysdeps/x86_64/dla.h: ...here. New file.
9346 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9352 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9353 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9354 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9356 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9359 __ynl_finite aliases.
9361 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9365 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9367 [DLA_FMA] (EMULV): Use DLA_FMA.
9368 [DLA_FMA] (MUL12): Use EMULV.
9369 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9370 that are not needed.
9371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9379 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9381 * math/s_nan.c: Undef __nan.
9382 * math/s_nanf.c: Undef __nanf.
9383 * math/s_nanl.c: Undef __nanl.
9384 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9387 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9389 * math/s_catan.c: Add branch predictions.
9390 * math/s_catanf.c: Likewise.
9391 * math/s_catanh.c: Likewise.
9392 * math/s_catanhf.c: Likewise.
9393 * math/s_catanhl.c: Likewise.
9394 * math/s_catanl.c: Likewise.
9395 * math/s_cexp.c: Likewise.
9396 * math/s_cexpf.c: Likewise.
9397 * math/s_cexpl.c: Likewise.
9398 * math/s_clog.c: Likewise.
9399 * math/s_clog10.c: Likewise.
9400 * math/s_clog10f.c: Likewise.
9401 * math/s_clog10l.c: Likewise.
9402 * math/s_clogf.c: Likewise.
9403 * math/s_clogl.c: Likewise.
9404 * math/s_csqrt.c: Likewise.
9405 * math/s_csqrtf.c: Likewise.
9406 * math/s_csqrtl.c: Likewise.
9407 * math/s_ctanf.c: Likewise.
9408 * math/s_ctanh.c: Likewise.
9409 * math/s_ctanhf.c: Likewise.
9410 * math/s_ctanhl.c: Likewise.
9411 * math/s_ctanl.c: Likewise.
9413 * math/math_private.h: Define __nan, __nanf, __nanl.
9414 * math/s_cacosh.c: Include <math_private.h>.
9415 * math/s_cacoshl.c: Likewise.
9416 * math/s_casinh.c: Likewise.
9417 * math/s_casinhf.c: Likewise.
9418 * math/s_casinhl.c: Likewise.
9419 * math/s_ccos.c: Rely entire on ccosh.
9420 * math/s_ccosf.c: Rely entire on ccoshf.
9421 * math/s_ccosl.c: Rely entirely on ccoshl.
9422 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9423 Remove tests for FE_INVALID.
9424 * math/s_ccoshf.c: Likewise.
9425 * math/s_ccoshl.c: Likewise.
9426 * math/s_csin.c: Likewise.
9427 * math/s_csinf.c: Likewise.
9428 * math/s_csinh.c Likewise.
9429 * math/s_csinhf.c: Likewise.
9430 * math/s_csinhl.c: Likewise.
9431 * math/s_csinl.c: Likewise.
9432 * math/s_ctan.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9434 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9435 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9437 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9440 compilation problems.
9442 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9445 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9447 * sysdeps/i386/configure.in: Test for -mfma4 option.
9448 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9449 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9450 COMMON_CPUID_INDEX_80000001.
9451 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9452 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9453 use it if FMA3 is not supported.
9454 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9456 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9457 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9459 2011-10-20 Andreas Schwab <schwab@redhat.com>
9462 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9463 it would create a cycle with a link time dependency.
9465 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9467 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9469 * string/Makefile (strop-tests): Add rawmemchr.
9470 * string/test-rawmemchr.c: New file.
9472 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9474 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9475 when compiling str{,n}casecmp and when AVX is available. Hook up
9476 new optimized code in initializers.
9478 2011-10-19 Andreas Schwab <schwab@redhat.com>
9480 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9481 __feraiseexcept instead of feraiseexcept.
9483 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9485 * math/math_private.h: Define defaults for libc_fetestexcept and
9487 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9488 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9489 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9490 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9491 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9492 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9493 libc_fetestexcept and libc_feupdateenv.
9495 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9496 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9497 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9498 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9499 libc_feholdexcept_setround.
9501 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9502 Add s_nearbyint-c and s_nearbyintf-c.
9503 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9505 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9506 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9507 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9508 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9510 * math/math_private.h: Define defaults for libc_fegetround,
9511 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9512 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9513 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9514 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9515 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9517 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9518 Remove comments and hacks for old compiler versions.
9519 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9520 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9523 2011-10-18 Andreas Schwab <schwab@redhat.com>
9525 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9526 (__feraiseexcept_renamed): Add __NTH.
9527 (feraiseexcept): Add __NTH. Rename local variables to fix
9528 namespace violations.
9530 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9532 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9534 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9536 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9537 recently added interfaces.
9538 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9540 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9541 about macro parameter expansion.
9543 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9544 __NO_MATH_INLINES is defined. Cleanups.
9546 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9547 and __floorf is target has SSE4.1.
9548 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9549 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9550 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9551 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9553 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9557 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9559 2011-10-17 Andreas Schwab <schwab@redhat.com>
9561 * misc/sys/cdefs.h: Fix last change.
9563 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9566 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9568 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9570 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9572 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9573 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9574 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9576 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9577 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9578 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9579 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9580 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9581 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9582 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9583 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9584 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9585 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9586 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9587 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9588 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9589 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9590 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9591 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9593 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9594 ceil, ceilf, floor, floorf.
9596 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9597 Perform IRELATIVE relocations last.
9599 * elf/do-rel.h: Add another parameter nrelative, replacing the
9600 local variable with the same name. Change name of the function
9601 to end in Rel or Rela (uppercase).
9602 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9603 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9604 elf_dynamic_do_##reloc function.
9606 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9608 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9609 is sufficient, at least on modern CPUs.
9611 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9613 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9614 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9616 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9618 * math/bits/math-finite.h: Add entries for exp.
9619 * math/e_expl.c: Add __*_finite alias.
9620 * sysdeps/i386/fpu/e_exp.S: Likewise.
9621 * sysdeps/i386/fpu/e_expf.S: Likewise.
9622 * sysdeps/i386/fpu/e_expl.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9624 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9627 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9628 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9629 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9631 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9632 is sufficient, at least on modern CPUs.
9634 * ctype/ctype-info.c (__ctype_init): Define.
9635 * include/ctype.h (__ctype_init): Declare.
9636 (__ctype_b_loc): The variable is always initialized.
9637 (__ctype_toupper_loc): Likewise.
9638 (__ctype_tolower_loc): Likewise.
9639 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9640 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9642 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9644 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9646 * configure.in: Also look in $cxxmachine/include for C++ system
9649 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9651 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9652 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9653 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9654 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9655 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9656 (USE_AS_WMEMCMP): New macro.
9658 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9659 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9660 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9661 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9663 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9664 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9665 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9666 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9667 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9668 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9669 (USE_AS_WMEMCMP): New macro.
9670 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9671 * sysdeps/string/test-memcmp.c: Update.
9674 * wcsmbs/wmemcmp.c: Update.
9675 (WMEMCMP): New macro.
9678 2011-10-12 Andreas Jaeger <aj@suse.de>
9681 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9683 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9685 * libio/iofwide.c (do_length): Avoid warning.
9687 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9689 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9691 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9693 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9694 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9695 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9696 * sysdeps/i386/i686/fpu/e_log.S: New file.
9697 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9698 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9700 * ctype/ctype.h: Add support for inlined isXXX functions when
9703 2011-10-14 Andreas Schwab <schwab@redhat.com>
9705 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9707 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9709 2011-10-13 Roland McGrath <roland@hack.frob.com>
9712 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9714 2011-10-13 Andreas Schwab <schwab@redhat.com>
9716 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9717 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9720 * sysdeps/x86_64/memrchr.S: Check for zero size.
9722 * string/stratcliff.c: Add memrchr tests.
9724 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9727 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9728 rawmemchr-sse2 rawmemchr-sse2-bsf.
9729 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9730 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9731 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9732 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9733 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9734 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9735 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9736 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9737 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9738 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9739 * string/memrchr.c (MEMRCHR): New macro.
9741 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9743 Add integration with gcc's -ffinite-math-only and optimize wrapper
9745 * Versions.def: Define GLIBC_2.15 version for libm.
9746 * math/Makefile (headers): Add bits/math-finite.h.
9747 * math/bits/math-finite.h: New file.
9748 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9749 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9750 * math/e_acoshl.c: Add __*_finite alias.
9751 * math/e_acosl.c: Likewise.
9752 * math/e_asinl.c: Likewise.
9753 * math/e_atan2l.c: Likewise.
9754 * math/e_atanhl.c: Likewise.
9755 * math/e_coshl.c: Likewise.
9756 * math/e_exp10.c: Likewise.
9757 * math/e_exp10f.c: Likewise.
9758 * math/e_exp10l.c: Likewise.
9759 * math/e_exp2l.c: Likewise.
9760 * math/e_fmodl.c: Likewise.
9761 * math/e_gammal_r.c: Likewise.
9762 * math/e_hypotl.c: Likewise.
9763 * math/e_j0l.c: Likewise.
9764 * math/e_j1l.c: Likewise.
9765 * math/e_jnl.c: Likewise.
9766 * math/e_lgammal_r.c: Likewise.
9767 * math/e_log10l.c: Likewise.
9768 * math/e_log2l.c: Likewise.
9769 * math/e_logl.c: Likewise.
9770 * math/e_powl.c: Likewise.
9771 * math/e_sinhl.c: Likewise.
9772 * math/e_sqrtl.c: Likewise.
9773 * math/e_scalb.c: Completely rewritten and optimized.
9774 * math/e_scalbf.c: Likewise.
9775 * math/e_scalbl.c: Likewise.
9776 * math/w_acos.c: Likewise.
9777 * math/w_acosf.c: Likewise.
9778 * math/w_acosl.c: Likewise.
9779 * math/w_acosh.c: Likewise.
9780 * math/w_acoshf.c: Likewise.
9781 * math/w_acoshl.c: Likewise.
9782 * math/w_asin.c: Likewise.
9783 * math/w_asinf.c: Likewise.
9784 * math/w_asinl.c: Likewise.
9785 * math/w_atan2.c: Likewise.
9786 * math/w_atan2f.c: Likewise.
9787 * math/w_atan2l.c: Likewise.
9788 * math/w_atanh.c: Likewise.
9789 * math/w_atanhf.c: Likewise.
9790 * math/w_atanhl.c: Likewise.
9791 * math/w_exp10.c: Likewise.
9792 * math/w_exp10f.c: Likewise.
9793 * math/w_exp10l.c: Likewise.
9794 * math/w_fmod.c: Likewise.
9795 * math/w_fmodf.c: Likewise.
9796 * math/w_fmodl.c: Likewise.
9797 * math/w_j0.c: Likewise.
9798 * math/w_j0f.c: Likewise.
9799 * math/w_j0l.c: Likewise.
9800 * math/w_j1.c: Likewise.
9801 * math/w_j1f.c: Likewise.
9802 * math/w_j1l.c: Likewise.
9803 * math/w_jn.c: Likewise.
9804 * math/w_jnf.c: Likewise.
9805 * math/w_log.c: Likewise.
9806 * math/w_logf.c: Likewise.
9807 * math/w_logl.c: Likewise.
9808 * math/w_log10.c: Likewise.
9809 * math/w_log10f.c: Likewise.
9810 * math/w_log10l.c: Likewise.
9811 * math/w_log2.c: Likewise.
9812 * math/w_log2f.c: Likewise.
9813 * math/w_log2l.c: Likewise.
9814 * math/w_pow.c: Likewise.
9815 * math/w_powf.c: Likewise.
9816 * math/w_powl.c: Likewise.
9817 * math/w_remainder.c: Likewise.
9818 * math/w_remainderf.c: Likewise.
9819 * math/w_remainderl.c: Likewise.
9820 * math/w_scalb.c: Likewise.
9821 * math/w_scalbf.c: Likewise.
9822 * math/w_scalbl.c: Likewise.
9823 * math/w_sqrt.c: Likewise.
9824 * math/w_sqrtf.c: Likewise.
9825 * math/w_sqrtl.c: Likewise.
9826 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9827 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9829 * math/math_private.h: Declare __kernel_standard_f.
9830 * math/w_cosh.c: Remove cruft and optimize a bit.
9831 * math/w_coshf.c: Likewise.
9832 * math/w_coshl.c: Likewise.
9833 * math/w_exp2.c: Likewise.
9834 * math/w_exp2f.c: Likewise.
9835 * math/w_exp2l.c: Likewise.
9836 * math/w_hypot.c: Likewise.
9837 * math/w_hypotf.c: Likewise.
9838 * math/w_hypotl.c: Likewise.
9839 * math/w_lgamma.c: Likewise.
9840 * math/w_lgamma_r.c: Likewise.
9841 * math/w_lgammaf.c: Likewise.
9842 * math/w_lgammaf_r.c: Likewise.
9843 * math/w_lgammal.c: Likewise.
9844 * math/w_lgammal_r.c: Likewise.
9845 * math/w_sinh.c: Likewise.
9846 * math/w_sinhf.c: Likewise.
9847 * math/w_sinhl.c: Likewise.
9848 * math/w_tgamma.c: Likewise.
9849 * math/w_tgammaf.c: Likewise.
9850 * math/w_tgammal.c: Likewise.
9851 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9852 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9853 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9854 Minor optimizations. Pretty printing. Remove cruft.
9855 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9856 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9857 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9859 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9860 * sysdeps/i386/fpu/e_asin.S: Likewise.
9861 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9862 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9863 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9864 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9865 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9866 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9867 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9868 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9869 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9870 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9871 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9872 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9873 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9874 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9875 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9876 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9877 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9878 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9879 * sysdeps/i386/fpu/e_log.S: Likewise.
9880 * sysdeps/i386/fpu/e_log10.S: Likewise.
9881 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9882 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9883 * sysdeps/i386/fpu/e_log2.S: Likewise.
9884 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9885 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9886 * sysdeps/i386/fpu/e_logf.S: Likewise.
9887 * sysdeps/i386/fpu/e_logl.S: Likewise.
9888 * sysdeps/i386/fpu/e_pow.S: Likewise.
9889 * sysdeps/i386/fpu/e_powf.S: Likewise.
9890 * sysdeps/i386/fpu/e_powl.S: Likewise.
9891 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9892 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9893 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9894 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9895 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9896 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9897 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9898 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9899 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9900 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9901 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9903 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9905 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9906 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9909 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9910 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9913 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9918 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9921 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9922 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9923 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9924 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9925 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9926 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9927 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9928 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9929 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9930 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9931 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9932 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9933 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9934 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9935 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9936 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9937 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9938 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9939 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9940 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9941 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9942 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9944 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9946 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9952 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9959 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9980 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9983 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9985 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9986 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9988 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9991 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9992 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9993 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9994 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9995 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9996 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9997 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9998 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9999 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10000 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10001 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10002 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10003 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10004 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10005 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10006 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10007 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10008 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10009 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10010 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10011 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10012 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10013 (__isnanf): Likewise.
10014 (__isinf_ns): Likewise.
10015 (__isinf_nsf): Likewise.
10016 (__finite): Likewise.
10017 (__finitef): Likewise.
10018 (__ieee754_sqrt): Define as macro.
10019 (__ieee754_sqrtf): Define as macro.
10020 (__ieee754_sqrtl): Define as macro.
10021 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10023 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10024 __FINITE_MATH_ONLY__ consistent.
10025 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10027 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10029 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10032 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10034 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10036 * po/ja.po: Update from translation team.
10038 2011-10-08 Roland McGrath <roland@hack.frob.com>
10040 * locale/programs/locarchive.c (prepare_address_space): New function.
10041 (create_archive, enlarge_archive, open_archive): Use it.
10043 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10044 inside [SHARED], where it is used.
10046 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10048 * nss/getent.c (netgroup_keys): Remove unused variable.
10049 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10051 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10053 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10054 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10055 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10056 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10057 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10058 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10059 * math/Makefile (libm-calls): Add s_isinf_ns.
10060 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10061 * math/multc3.c: Likewise.
10062 * math/s_casin.c: Likewise.
10063 * math/s_casinf.c: Likewise.
10064 * math/s_casinl.c: Likewise.
10065 * math/s_ccos.c: Likewise.
10066 * math/s_ccosf.c: Likewise.
10067 * math/s_ccosl.c: Likewise.
10068 * math/s_ctan.c: Likewise.
10069 * math/s_ctanf.c: Likewise.
10070 * math/s_ctanh.c: Likewise.
10071 * math/s_ctanhf.c: Likewise.
10072 * math/s_ctanhl.c: Likewise.
10073 * math/s_ctanl.c: Likewise.
10074 * math/w_fmod.c: Likewise.
10075 * math/w_fmodf.c: Likewise.
10076 * math/w_fmodl.c: Likewise.
10077 * math/w_remainder.c: Likewise.
10078 * math/w_remainderf.c: Likewise.
10079 * math/w_remainderl.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10081 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10082 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10084 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10085 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10086 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10087 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10089 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10091 * stdio-common/printf_fphex.c: Likewise.
10092 * stdio-common/printf_size.c: Likewise.
10094 * math/e_exp10.c: Include math_private.h using <...> not "...".
10095 * math/e_exp10f.c: Likewise.
10096 * math/e_exp10l.c: Likewise.
10097 * math/e_exp2l.c: Likewise.
10098 * math/e_j0l.c: Likewise.
10099 * math/e_j1l.c: Likewise.
10100 * math/e_jnl.c: Likewise.
10101 * math/e_lgammal_r.c: Likewise.
10102 * math/e_rem_pio2l.c: Likewise.
10103 * math/e_scalb.c: Likewise.
10104 * math/e_scalbf.c: Likewise.
10105 * math/e_scalbl.c: Likewise.
10106 * math/k_cosl.c: Likewise.
10107 * math/k_sinl.c: Likewise.
10108 * math/k_tanl.c: Likewise.
10109 * math/s_cacoshf.c: Likewise.
10110 * math/s_catan.c: Likewise.
10111 * math/s_catanf.c: Likewise.
10112 * math/s_catanh.c: Likewise.
10113 * math/s_catanhf.c: Likewise.
10114 * math/s_catanhl.c: Likewise.
10115 * math/s_catanl.c: Likewise.
10116 * math/s_ccosh.c: Likewise.
10117 * math/s_ccoshf.c: Likewise.
10118 * math/s_ccoshl.c: Likewise.
10119 * math/s_cexp.c: Likewise.
10120 * math/s_cexpf.c: Likewise.
10121 * math/s_cexpl.c: Likewise.
10122 * math/s_clog.c: Likewise.
10123 * math/s_clog10.c: Likewise.
10124 * math/s_clog10f.c: Likewise.
10125 * math/s_clog10l.c: Likewise.
10126 * math/s_clogf.c: Likewise.
10127 * math/s_clogl.c: Likewise.
10128 * math/s_csin.c: Likewise.
10129 * math/s_csinf.c: Likewise.
10130 * math/s_csinh.c: Likewise.
10131 * math/s_csinhf.c: Likewise.
10132 * math/s_csinhl.c: Likewise.
10133 * math/s_csinl.c: Likewise.
10134 * math/s_csqrt.c: Likewise.
10135 * math/s_csqrtf.c: Likewise.
10136 * math/s_csqrtl.c: Likewise.
10137 * math/s_ctan.c: Likewise.
10138 * math/s_ctanf.c: Likewise.
10139 * math/s_ctanh.c: Likewise.
10140 * math/s_ctanhf.c: Likewise.
10141 * math/s_ctanhl.c: Likewise.
10142 * math/s_ctanl.c: Likewise.
10143 * math/s_ldexp.c: Likewise.
10144 * math/s_ldexpf.c: Likewise.
10145 * math/s_ldexpl.c: Likewise.
10146 * math/s_significand.c: Likewise.
10147 * math/s_significandf.c: Likewise.
10148 * math/s_significandl.c: Likewise.
10149 * math/w_acos.c: Likewise.
10150 * math/w_acosf.c: Likewise.
10151 * math/w_acosh.c: Likewise.
10152 * math/w_acoshf.c: Likewise.
10153 * math/w_acoshl.c: Likewise.
10154 * math/w_acosl.c: Likewise.
10155 * math/w_asin.c: Likewise.
10156 * math/w_asinf.c: Likewise.
10157 * math/w_asinl.c: Likewise.
10158 * math/w_atan2.c: Likewise.
10159 * math/w_atan2f.c: Likewise.
10160 * math/w_atan2l.c: Likewise.
10161 * math/w_atanh.c: Likewise.
10162 * math/w_atanhf.c: Likewise.
10163 * math/w_atanhl.c: Likewise.
10164 * math/w_cosh.c: Likewise.
10165 * math/w_coshf.c: Likewise.
10166 * math/w_coshl.c: Likewise.
10167 * math/w_dremf.c: Likewise.
10168 * math/w_exp10.c: Likewise.
10169 * math/w_exp10f.c: Likewise.
10170 * math/w_exp10l.c: Likewise.
10171 * math/w_exp2.c: Likewise.
10172 * math/w_exp2f.c: Likewise.
10173 * math/w_fmod.c: Likewise.
10174 * math/w_fmodf.c: Likewise.
10175 * math/w_fmodl.c: Likewise.
10176 * math/w_hypot.c: Likewise.
10177 * math/w_hypotf.c: Likewise.
10178 * math/w_hypotl.c: Likewise.
10179 * math/w_j0.c: Likewise.
10180 * math/w_j0f.c: Likewise.
10181 * math/w_j0l.c: Likewise.
10182 * math/w_j1.c: Likewise.
10183 * math/w_j1f.c: Likewise.
10184 * math/w_j1l.c: Likewise.
10185 * math/w_jn.c: Likewise.
10186 * math/w_jnf.c: Likewise.
10187 * math/w_jnl.c: Likewise.
10188 * math/w_lgamma.c: Likewise.
10189 * math/w_lgamma_r.c: Likewise.
10190 * math/w_lgammaf.c: Likewise.
10191 * math/w_lgammaf_r.c: Likewise.
10192 * math/w_lgammal.c: Likewise.
10193 * math/w_lgammal_r.c: Likewise.
10194 * math/w_log.c: Likewise.
10195 * math/w_log10.c: Likewise.
10196 * math/w_log10f.c: Likewise.
10197 * math/w_log10l.c: Likewise.
10198 * math/w_log2.c: Likewise.
10199 * math/w_log2f.c: Likewise.
10200 * math/w_log2l.c: Likewise.
10201 * math/w_logf.c: Likewise.
10202 * math/w_logl.c: Likewise.
10203 * math/w_pow.c: Likewise.
10204 * math/w_powf.c: Likewise.
10205 * math/w_powl.c: Likewise.
10206 * math/w_remainder.c: Likewise.
10207 * math/w_remainderf.c: Likewise.
10208 * math/w_remainderl.c: Likewise.
10209 * math/w_scalb.c: Likewise.
10210 * math/w_scalbf.c: Likewise.
10211 * math/w_scalbl.c: Likewise.
10212 * math/w_sinh.c: Likewise.
10213 * math/w_sinhf.c: Likewise.
10214 * math/w_sinhl.c: Likewise.
10215 * math/w_sqrt.c: Likewise.
10216 * math/w_sqrtf.c: Likewise.
10217 * math/w_sqrtl.c: Likewise.
10218 * math/w_tgamma.c: Likewise.
10219 * math/w_tgammaf.c: Likewise.
10220 * math/w_tgammal.c: Likewise.
10222 * po/ja.po: Update from translation team.
10224 2011-09-29 Andreas Jaeger <aj@suse.de>
10227 * sunrpc/netname.c (netname2host): Fix logic.
10231 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10233 * math/w_remainder.c (__remainder): Likewise.
10234 * math/w_remainderf.c (__remainderf): Likewise.
10235 * math/libm-test.inc (remainder_test): Add test cases.
10237 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10239 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10242 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10244 * string/test-memcmp.c: Avoid unncessary #defines.
10245 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10247 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10249 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10250 Use new sse2 version for core i3 - i7 as it's faster
10251 than sse42 version.
10252 (bit_Prefer_PMINUB_for_stringop): New.
10253 * sysdeps/x86_64/rawmemchr.S: Update.
10254 Replace with faster SSE2 version.
10255 * sysdeps/x86_64/memrchr.S: New file.
10256 * sysdeps/x86_64/memchr.S: Update.
10257 Replace with faster SSE2 version.
10259 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10261 * elf/dl-load.c (lose): Add cast to avoid warning.
10263 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10265 * po/ca.po: Update from translation team.
10267 * inet/getnetgrent_r.c: Hook up nscd.
10268 * nscd/Makefile (routines): Add nscd_netgroup.
10269 (nscd-modules): Add netgroupcache.
10270 (CFLAGS-netgroupcache.c): Define.
10271 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10272 (cache_search): Add const to second parameter.
10273 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10275 (dbs): Add netgrdb entry.
10276 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10277 (verify_persistent_db): Handle netgrdb.
10278 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10279 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10281 (netgroup_response_header): Define.
10282 (innetgroup_response_header): Define.
10283 (datahead): Add netgroup_response_header and innetgroup_response_header
10285 * nscd/nscd.conf: Add entries for netgroup cache.
10286 * nscd/nscd.h (dbtype): Add netgrdb.
10287 (_PATH_NSCD_NETGROUP_DB): Define.
10288 (netgroup_iov_disabled): Declare.
10289 (xmalloc, xcalloc, xrealloc): Move declarations here.
10290 (cache_search): Adjust prototype.
10291 Add netgroup-related prototypes.
10292 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10293 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10294 (__nscd_innetgr): Declare.
10295 * nscd/selinux.c (perms): Use access_vector_t as element type and
10296 add netgroup-related initializers.
10297 * nscd/netgroupcache.c: New file.
10298 * nscd/nscd_netgroup.c: New file.
10299 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10300 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10301 For four parameters use innetgr.
10302 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10303 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10304 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10305 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10307 * nscd/connections.c (register_traced_file): Don't register file
10308 for disabled databases.
10310 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10312 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10314 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10315 from tree and freeing node.
10317 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10319 * nss/nsswitch.c (__nss_database_lookup): Handle
10320 nss_parse_service_list out of memory case.
10322 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10324 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10325 out of memory case.
10327 2011-10-04 Andreas Schwab <schwab@redhat.com>
10329 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10330 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10332 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10333 elf_machine_rela, elf_machine_lazy_rel.
10334 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10335 (ELF_DYNAMIC_DO_REL): Likewise.
10336 (ELF_DYNAMIC_DO_RELA): Likewise.
10337 (ELF_DYNAMIC_RELOCATE): Likewise.
10338 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10339 to ELF_DYNAMIC_DO_REL.
10340 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10341 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10342 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10344 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10345 skip_ifunc, don't call ifunc function if non-zero.
10346 (elf_machine_rela): Likewise.
10347 (elf_machine_lazy_rel): Likewise.
10348 (elf_machine_lazy_rela): Likewise.
10349 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10350 (elf_machine_lazy_rel): Likewise.
10351 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10353 (elf_machine_lazy_rel): Likewise.
10354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10356 (elf_machine_lazy_rel): Likewise.
10357 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10358 (elf_machine_lazy_rel): Likewise.
10359 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10360 (elf_machine_lazy_rel): Likewise.
10361 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10362 (elf_machine_lazy_rel): Likewise.
10363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10364 (elf_machine_lazy_rel): Likewise.
10365 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10366 (elf_machine_lazy_rel): Likewise.
10367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10368 (elf_machine_lazy_rel): Likewise.
10370 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10372 * nss/nss_files/files-init.c (_nss_files_init): Use static
10373 initialization for all the *_traced_file variables.
10375 2011-09-28 Andreas Schwab <schwab@redhat.com>
10377 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10379 2011-09-27 Roland McGrath <roland@hack.frob.com>
10382 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10384 2011-09-27 Andreas Schwab <schwab@redhat.com>
10386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10387 Reread the line before reparsing it.
10389 2011-09-26 Andreas Schwab <schwab@redhat.com>
10391 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10393 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10394 Maxim Kuvyrkov <maxim@codesourcery.com>
10395 Joseph Myers <joseph@codesourcery.com>
10397 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10398 if needed for __stack_chk_guard.
10400 2011-09-19 Roland McGrath <roland@hack.frob.com>
10402 * sysdeps/posix/spawni.c (script_execute): Always define it.
10403 It will be optimized away if unused.
10404 (maybe_script_execute): New function.
10405 (__spawni): Call it.
10407 * Makerules: Don't include tls.make.
10408 (config-tls): Always set to thread.
10409 * tls.make.c: File removed.
10411 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10413 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10414 * config.make.in (CPPFLAGS-config): New substituted variable.
10416 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10418 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10421 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10422 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10424 2011-09-15 Roland McGrath <roland@hack.frob.com>
10426 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10427 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10428 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10429 (CALL_FAIL): Likewise.
10430 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10431 (CALL_FAIL): Macro removed.
10432 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10434 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10436 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10437 for __FINITE_MATH_ONLY__ == 1.
10439 2011-09-15 Andreas Schwab <schwab@redhat.com>
10441 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10442 __ieee754_sqrt instead of sqrt.
10443 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10444 __ieee754_sqrtf instead of sqrtf.
10445 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10446 __floorf instead of floorf.
10447 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10448 __floorf, __truncf instead of floorf, truncf.
10450 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10452 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10454 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10455 __extern_always_inline.
10456 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10459 2011-09-14 Andreas Schwab <schwab@redhat.com>
10461 * elf/rtld.c (dl_main): Also relocate in dependency order when
10462 doing symbol dependency testing.
10464 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10466 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10467 Always define `refsym'.
10469 2011-09-13 Andreas Schwab <schwab@redhat.com>
10471 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10472 (__FD_ELT): Renamed from __FDELT.
10473 * misc/bits/select2.h (__FD_ELT): Likewise.
10474 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10475 __FD_MASK instead of __FDELT, __FDMASK.
10476 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10478 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10481 * elf/Makefile (gen-ldd): Fix pattern.
10483 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10484 (init_tls): Likewise.
10486 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10488 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10490 2011-09-12 Andreas Schwab <schwab@redhat.com>
10492 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10493 `struct cmsghdr *' instead of `void *'.
10494 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10497 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10499 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10501 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10502 ldd_rewrite_script.
10504 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10506 * configure.in: Remove --with-tls option.
10507 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10508 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10509 out in case it is missing.
10510 * sysdeps/ia64/elf/configure.in: Likewise.
10511 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10512 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10513 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10514 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10515 * sysdeps/sh/elf/configure.in: Likewise.
10516 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10517 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10518 * sysdeps/x86_64/elf/configure.in: Likewise.
10519 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10520 * sysdeps/mach/hurd/tls.h: Likewise.
10523 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10526 * configure.in: Fix use of AC_INIT.
10528 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10530 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10532 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10534 * malloc/hooks.c: Likewise.
10537 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10538 variables statically.
10539 (narenas): Initialize.
10540 (list_lock): Initialize.
10541 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10542 initializtion of main_arena and list_lock. Small cleanups.
10543 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10544 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10545 Add initializers to main_arena and mp_.
10546 (malloc_state): Remove pagesize member. Change all users to use
10549 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10550 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10551 is always initialized.
10553 * malloc/malloc.c: Removed unused configurations and dead code.
10554 * malloc/arena.c: Likewise.
10555 * malloc/hooks.c: Likewise.
10556 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10558 * include/tls.h: Removed. USE___THREAD must always be defined.
10559 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10560 * elf/dl-libc.c: Likewise.
10561 * elf/dl-tsd.c: Likewise.
10562 * include/errno.h: Likewise.
10563 * include/netdb.h: Likewise.
10564 * include/resolv.h: Likewise.
10565 * inet/herrno-loc.c: Likewise.
10566 * inet/herrno.c: Likewise.
10567 * malloc/arena.c: Likewise.
10568 * malloc/hooks.c: Likewise.
10569 * malloc/malloc.c: Likewise.
10570 * resolv/res-state.c: Likewise.
10571 * resolv/res_libc.c: Likewise.
10572 * sysdeps/i386/dl-machine.h: Likewise.
10573 * sysdeps/ia64/dl-machine.h: Likewise.
10574 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10575 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10576 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10577 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10578 * sysdeps/sh/dl-machine.h: Likewise.
10579 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10580 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10581 * sysdeps/unix/i386/sysdep.S: Likewise.
10582 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10583 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10584 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10586 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10587 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10588 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10590 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10592 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10593 * sysdeps/x86_64/dl-machine.h: Likewise.
10594 * tls.make.c: Likewise.
10596 * configure.in: Remove --with-__thread option. Make tests for
10597 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10598 tls_model attribute fail if no support is available. Remove
10600 * Makeconfig: Adjust for dropped configure option. All features are
10602 * Makerules: Likewise.
10603 * Versions.def: Likewise.
10604 * argp/argp-fmtstream.c: Likewise.
10605 * argp/argp-fmtstream.h: Likewise.
10606 * argp/argp-help.c: Likewise.
10607 * assert/assert.c: Likewise.
10608 * config.h.in: Likewise.
10609 * config.make.in: Likewise.
10610 * configure: Likewise.
10611 * configure.in: Likewise.
10612 * csu/Versions: Likewise.
10613 * csu/init.c: Likewise.
10614 * elf/tst-audit2.c: Likewise.
10615 * elf/tst-tls10.c: Likewise.
10616 * elf/tst-tls10.h: Likewise.
10617 * elf/tst-tls11.c: Likewise.
10618 * elf/tst-tls12.c: Likewise.
10619 * elf/tst-tls14.c: Likewise.
10620 * elf/tst-tlsmod11.c: Likewise.
10621 * elf/tst-tlsmod12.c: Likewise.
10622 * elf/tst-tlsmod13.c: Likewise.
10623 * elf/tst-tlsmod13a.c: Likewise.
10624 * elf/tst-tlsmod14a.c: Likewise.
10625 * elf/tst-tlsmod15b.c: Likewise.
10626 * elf/tst-tlsmod16a.c: Likewise.
10627 * elf/tst-tlsmod16b.c: Likewise.
10628 * elf/tst-tlsmod7.c: Likewise.
10629 * elf/tst-tlsmod8.c: Likewise.
10630 * elf/tst-tlsmod9.c: Likewise.
10631 * gmon/gmon.c: Likewise.
10632 * grp/fgetgrent_r.c: Likewise.
10633 * grp/putgrent.c: Likewise.
10634 * hurd/fopenport.c: Likewise.
10635 * include/libc-symbols.h: Likewise.
10636 * include/tls.h: Likewise.
10637 * intl/gettextP.h: Likewise.
10638 * intl/loadinfo.h: Likewise.
10639 * locale/global-locale.c: Likewise.
10640 * locale/localeinfo.h: Likewise.
10641 * mach/devstream.c: Likewise.
10642 * malloc/arena.c: Likewise.
10643 * malloc/set-freeres.c: Likewise.
10644 * misc/err.c: Likewise.
10645 * misc/getttyent.c: Likewise.
10646 * misc/mntent_r.c: Likewise.
10647 * posix/getopt.c: Likewise.
10648 * posix/wordexp.c: Likewise.
10649 * pwd/fgetpwent_r.c: Likewise.
10650 * resolv/Versions: Likewise.
10651 * resolv/res_hconf.c: Likewise.
10652 * shadow/fgetspent_r.c: Likewise.
10653 * shadow/putspent.c: Likewise.
10654 * stdio-common/printf_fphex.c: Likewise.
10655 * stdio-common/tmpfile.c: Likewise.
10656 * stdlib/abort.c: Likewise.
10657 * stdlib/fmtmsg.c: Likewise.
10658 * sunrpc/auth_unix.c: Likewise.
10659 * sunrpc/clnt_perr.c: Likewise.
10660 * sunrpc/clnt_tcp.c: Likewise.
10661 * sunrpc/clnt_udp.c: Likewise.
10662 * sunrpc/clnt_unix.c: Likewise.
10663 * sunrpc/openchild.c: Likewise.
10664 * sunrpc/svc_simple.c: Likewise.
10665 * sunrpc/svc_tcp.c: Likewise.
10666 * sunrpc/svc_udp.c: Likewise.
10667 * sunrpc/svc_unix.c: Likewise.
10668 * sunrpc/xdr.c: Likewise.
10669 * sunrpc/xdr_array.c: Likewise.
10670 * sunrpc/xdr_rec.c: Likewise.
10671 * sunrpc/xdr_ref.c: Likewise.
10672 * sunrpc/xdr_stdio.c: Likewise.
10674 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10676 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10678 2011-07-03 Andreas Jaeger <aj@suse.de>
10680 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10681 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10682 regenerate with gen-libm-tests.pl.
10684 2010-05-12 Petr Baudis <pasky@suse.cz>
10687 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10688 around j0() zero points by switching to j1().
10689 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10690 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10692 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10694 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10696 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10698 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10701 Patch in part by Pavel Roskin <proski@gnu.org>.
10704 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10706 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10707 Free memory block if necessary.
10710 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10711 be NULL. Don't lock in this case.
10713 2011-09-09 Roland McGrath <roland@hack.frob.com>
10715 * elf/elf.h (ELFOSABI_GNU): New macro.
10716 (ELFOSABI_LINUX): Define to that.
10718 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10720 * string/strncat.c (strncat): Undef the symbol in case it has been
10721 defined in bits/string.h.
10723 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10725 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10727 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10730 2011-08-17 Andreas Jaeger <aj@suse.de>
10732 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10734 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10735 Ian Lance Taylor <iant@google.com>
10737 * math/libm-test.inc (lround_test): New testcase.
10738 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10740 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10742 * Makefile: Remove support for automatic cvs check-ins.
10743 * Makerules: Likewise.
10744 * config.make.in: Likewise.
10745 * configure.in: Likewise.
10746 * intl/Makefile: Likewise.
10747 * locale/Makefile: Likewise.
10748 * po/Makefile: Likewise.
10749 * posix/Makefile: Likewise.
10750 * sysdeps/gnu/Makefile: Likewise.
10751 * sysdeps/mach/hurd/Makefile: Likewise.
10752 * sysdeps/sparc/sparc32/Makefile: Likewise.
10755 * posix/Makefile (bug-regex32-ENV): Define.
10756 Patch by John Stanley <jpsinthemix@verizon.net>.
10758 * misc/Makefile (headers): Add bits/select2.h.
10759 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10760 * misc/bits/select2.h: New file.
10761 * include/bits/select2.h: New file.
10762 * debug/Makefile (routines): Add fdelt_chk.
10763 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10764 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10766 * debug/fdelt_chk.c: New file.
10768 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10769 * wcsmbs/test-wmemcmp.c: Likewise.
10770 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10771 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10773 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10775 * string/Makefile (strop-tests): Add memcmp.
10776 * string/test-wmemcmp.c: New file.
10777 * string/test-memcmp.c: Add wmemcmp support.
10779 2011-09-08 Roland McGrath <roland@hack.frob.com>
10782 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10785 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10786 garbage value in a __mach_port_mod_refs call in the cases of the
10787 task-self and thread-self ports.
10789 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10791 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10793 2011-09-08 Andreas Schwab <schwab@redhat.com>
10795 * elf/dl-load.c (lose): Check for non-null L.
10797 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10799 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10801 * elf/dl-libc.c (dlerror_run): Pass back error code from
10805 * elf/dl-load.c (lose): Free l_origin if it is valid.
10807 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10809 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10810 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10811 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10812 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10813 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10814 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10816 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10818 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10819 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10820 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10821 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10822 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10823 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10824 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10825 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10826 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10827 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10829 2011-08-15 Alan Modra <amodra@gmail.com>
10832 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10833 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10834 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10835 ppc_mcount to static-only-routines.
10836 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10838 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10839 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10841 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10843 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10844 for finite and infinity parameters.
10846 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10848 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10849 and add nop instructions for throughput optimization.
10850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10852 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10854 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10855 aligned copy for power7 with vector-scalar instructions.
10856 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10858 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10863 2011-09-07 Andreas Schwab <schwab@redhat.com>
10866 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10869 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10871 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10872 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10873 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10874 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10877 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10879 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10880 Forgot to demangle the pointer.
10882 * sysdeps/i386/sysdep.h: Define atom_text_section.
10883 * sysdeps/x86_64/sysdep.h: Likewise.
10884 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10885 section with atom_text_section.
10886 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10887 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10888 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10890 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10892 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10893 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10894 already be defined. Change to take two parameters and don't assign
10895 result to variable. Adjust all users.
10896 Define INTERNAL_GETTIME if not already defined.
10897 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10900 HAVE_CLOCK_GETTIME_VSYSCALL.
10901 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10904 gettimeofday vsyscall, just use time.
10906 2011-09-06 Andreas Schwab <schwab@redhat.com>
10908 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10911 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10913 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10917 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10918 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10919 syscall if possible.
10921 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10923 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10924 e_ident. Don't pass to find_mapsXX.
10925 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10927 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10930 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10931 * sysdeps/x86_64/multiarch/strchr.S: Update.
10932 Check bit_slow_BSF bit.
10933 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10934 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10935 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10937 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10940 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10942 (tryshell): Define.
10943 (__spawni): Change last parameter to be flag. Test
10944 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10945 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10946 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10947 * posix/spawni.c: Likewise.
10948 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10949 * posix/spawnp.c: Likewise. Change normal version to use
10950 SPAWN_XFLAGS_USE_PATH.
10951 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10952 SPAWN_XFLAGS_TRY_SHELL.
10955 * posix/glob.h: Remove gcc 1.x support.
10958 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10960 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10963 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10965 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10966 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10967 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10968 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10969 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10970 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10972 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10974 * sysdeps/x86_64/wcscmp.S: New file.
10976 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10977 wcscmp-c wcscmp-sse2
10978 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10979 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10980 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10981 * wcsmbs/wcscmp.c: Allow renaming.
10983 2011-09-05 David S. Miller <davem@davemloft.net>
10985 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10986 stack slot, rather than the struct return pointer slot.
10987 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10988 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10990 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10992 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10994 * po/ja.po: Update from translation team.
10997 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10998 kernel in 64-bit binaries.
11000 2011-09-01 David S. Miller <davem@davemloft.net>
11002 * elf/elf.h (HWCAP_SPARC_*): Move to..
11003 * sysdeps/sparc/sysdep.h: this new file and add new values.
11004 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11005 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11006 _DL_HWCAP_COUNT to 24.
11007 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11009 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11010 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11011 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11013 instead of magic constants.
11014 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11016 2011-08-31 David S. Miller <davem@davemloft.net>
11018 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11020 Reimplement to do errno handling inline.
11021 (SYSCALL_ERROR_HANDLER): New macro.
11022 (__SYSCALL_STRING): Do not do errno handling in asm.
11023 (__CLONE_SYSCALL_STRING): Delete.
11024 (__INTERNAL_SYSCALL_STRING): Delete.
11025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11026 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11027 (PSEUDO): Reimplement to do errno handling inline.
11028 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11029 (SYSCALL_ERROR_HANDLER): New macro.
11030 (__SYSCALL_STRING): Do not do errno handling in asm.
11031 (__CLONE_SYSCALL_STRING): Delete.
11032 (__INTERNAL_SYSCALL_STRING): Delete.
11033 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11034 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11036 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11037 (inline_syscall*): Add 'err' argument.
11038 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11039 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11040 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11041 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11043 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11044 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11046 2011-08-30 Andreas Schwab <schwab@redhat.com>
11048 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11050 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11052 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11055 2011-08-24 David S. Miller <davem@davemloft.net>
11057 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11059 2011-08-24 Andreas Schwab <schwab@redhat.com>
11061 * elf/Makefile: Add rules to build and run unload8 test.
11062 * elf/unload8.c: New file.
11063 * elf/unload8mod1.c: New file.
11064 * elf/unload8mod1x.c: New file.
11065 * elf/unload8mod2.c: New file.
11066 * elf/unload8mod3.c: New file.
11068 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11071 2011-08-23 David S. Miller <davem@davemloft.net>
11073 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11074 subtract stack bias.
11075 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11076 %sp not %fp in calculations.
11077 (_JMPBUF_UNWINDS_ADJ): Likewise.
11079 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11080 (aio_suspend): Call it to force an exception region around the
11081 AIO_MISC_WAIT() invocation.
11083 2011-08-23 Andreas Schwab <schwab@redhat.com>
11085 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11088 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11090 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11092 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11093 and <dl-machine.h>.
11094 (Elf64_FuncDesc): Remove.
11096 2011-08-22 David S. Miller <davem@davemloft.net>
11098 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11099 sigaltstack check, add missing cfi directives.
11100 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11101 missing cfi directives, and sigaltstack handling.
11103 2011-08-16 Andreas Schwab <schwab@redhat.com>
11106 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11107 object is seen twice.
11108 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11110 * elf/Makefile (distribute): Add tst-initorder2.c.
11111 (tests): Add tst-initorder2.
11112 (modules-names): Add tst-initorder2a tst-initorder2b
11113 tst-initorder2c tst-initorder2d. Add rules to build them.
11114 ($(objpfx)tst-initorder2.out): New rule.
11115 * elf/tst-initorder2.c: New file.
11116 * elf/tst-initorder2.exp: New file.
11118 2011-08-22 Andreas Schwab <schwab@redhat.com>
11120 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11122 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11123 dependencies back to end of function.
11125 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11126 $(elfobjdir)/ld.so.
11128 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11130 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11131 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11133 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11134 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11135 of __vdso_gettimeofday.
11136 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11137 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11139 (_libc_vdso_platform_setup): Remove initialization of
11140 __vdso_gettimeofday and __vdso_time.
11142 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11144 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11145 and fgetc_unlocked.
11146 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11149 * elf/dl-open.c (add_to_global): Report additions to the global scope
11150 for LD_DEBUG=scopes.
11151 (dl_open_worker): Also print scope of newly loaded dependencies.
11152 (_dl_show_scope): Indicate if there is no scope.
11155 * stdio-common/Makefile (tests): Add bug24.
11156 * stdio-common/bug24.c: New file.
11158 2011-08-19 Andreas Jaeger <aj@suse.de>
11161 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11162 non-existant file when using close-on-exec mode.
11164 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11167 the very first instruction.
11169 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11170 the CFI state in the end.
11171 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11172 inclusion of dl-trampoline.h.
11173 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11175 2011-08-19 Andreas Schwab <schwab@redhat.com>
11177 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11178 expectations for long double.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11181 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11183 2011-08-14 David S. Miller <davem@davemloft.net>
11185 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11186 artificual limit depends upon the system page size.
11188 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11190 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11191 * resolv/Makefile: Define CFLAGS-libresolv.
11193 2011-08-17 Andreas Schwab <schwab@redhat.com>
11195 * nss/makedb.c (compute_tables): Make variables used in nested
11198 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11200 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11201 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11202 if buffer was too small.
11204 * elf/pldd.c (main): Attach to all threads in the process.
11205 Rewrite /proc handling to use *at functions.
11207 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11209 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11210 specifies first scope to show.
11211 (dl_open_worker): Update callers. Move printing scope of new
11212 object to before the relocation.
11213 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11214 * sysdeps/generic/ldsodefs.h: Update declaration.
11216 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11217 string for the scope number.
11219 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11221 * nscd/servicescache.c (cache_addserv): Make sure written is always
11224 2011-08-14 Roland McGrath <roland@hack.frob.com>
11226 * sysdeps/i386/i486/bits/atomic.h
11227 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11228 statement expression, so as to suppress "set but not used" warning.
11229 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11231 * string/strncat.c (STRNCAT): Use prototype definition.
11233 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11234 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11236 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11237 (localedef-modules): Add localedef.
11238 (locale-modules): Add locale.
11240 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11241 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11242 to avoid a warning.
11244 2011-08-14 David S. Miller <davem@davemloft.net>
11246 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11247 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11249 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11251 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11252 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11253 * elf/rtld.c (dl_main): Set l_name of vDSO.
11254 Call _dl_show_scope when DL_DEBUG_SCOPES.
11255 (process_dl_debug): Recognize scopes flag and also set it for all.
11256 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11257 Declare _dl_show_scope.
11259 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11260 (do_dlopen): Pass caller_dlopen to dl_open.
11261 (__libc_dlopen_mode): Initialize caller_dlopen.
11263 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11264 of libc. Make tolower call locale-independent. Optimize a bit by
11265 using isdigit instead of isalnum.
11266 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11268 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11270 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11271 was a dependency or dynamically loaded.
11273 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11275 * intl/l10nflist.c: Allow architecture-specific pop function.
11276 * sysdeps/x86_64/l10nflist.c: New file.
11278 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11281 2011-08-10 Andreas Schwab <schwab@redhat.com>
11283 * include/dirent.h: Add libc_hidden_proto for scandirat and
11284 scandirat64. Don't declare __scandirat64.
11285 * dirent/scandirat.c: Add libc_hidden_def.
11286 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11287 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11289 2011-08-10 David S. Miller <davem@davemloft.net>
11291 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11293 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11294 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11295 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11297 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11299 * Versions.def [libc]: Add GLIBC_2.15.
11300 * dirent/Makefile (routines): Add scandirat and scandirat64.
11301 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11303 * dirent/dirent.h: Declare scandirat and scandirat64.
11304 * dirent/scandirat.c: New file.
11305 * dirent/scandirat64.c: New file.
11306 * sysdeps/wordsize-64/scandirat.c: New file.
11307 * sysdeps/wordsize-64/scandirat64.c: New file.
11308 * dirent/opendir.c: Define opendirat.
11309 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11311 * dirent/scandir64.c: Adjust for scandir.c change.
11312 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11313 __scandirat64, and __scandir_cancel_handler.
11314 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11315 additional parameter and use openat instead of open (outside of ld.so).
11316 Add new __opendir as wrapper around __opendirat.
11317 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11318 here without requiring old scandirat implementation.
11320 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11322 * dirent/scandir.c (cancel_handler): Renamed to
11323 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11324 defined. Adjust users.
11325 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11326 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11328 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11330 * string/test-string.h (IMPL): Use __STRING to expand name and then
11333 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11336 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11338 * string/Makefile: Update.
11339 (strop-tests): Append strncat.
11340 * string/test-wcscmp.c: New file.
11341 New comprehensive test for wcscmp.
11342 * string/test-strcmp.c: Update.
11343 (WIDE): New define.
11345 2011-07-22 Andreas Schwab <schwab@redhat.com>
11347 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11350 2011-07-26 Andreas Schwab <schwab@redhat.com>
11352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11353 encoding to ACE if AI_IDN.
11355 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11357 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11358 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11360 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11362 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11363 Fix overflow bug in strncat.
11364 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11366 * string/test-strncat.c: Update.
11367 Add new tests for checking overflow bugs.
11369 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11372 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11373 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11374 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11375 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11376 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11377 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11378 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11379 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11381 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11382 (USE_AS_STRCAT): Define.
11383 Add strcat and strncat support.
11384 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11386 2011-07-25 Andreas Schwab <schwab@redhat.com>
11388 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11389 __n bigger than INT_MAX+1.
11390 (__strncmp_g): Likewise.
11392 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11394 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11395 * libio/stido.h: Likewise.
11397 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11399 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11402 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11404 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11405 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11406 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11409 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11414 (_dl_x86_64_save_sse): Likewise.
11416 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11420 (_dl_x86_64_save_sse): Likewise.
11422 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11424 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11426 2011-07-21 Andreas Schwab <schwab@redhat.com>
11428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11430 (_dl_x86_64_save_sse): Use correct AVX check.
11432 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11434 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11435 bug in strncpy/strncat.
11436 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11438 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11440 * string/tester.c (test_strcat): Add tests for different alignments
11441 of source and destination.
11442 (test_strncat): Likewise.
11444 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11447 * posix/glob.c (glob): Check passed in values before using them in
11448 expressions to avoid some overflows.
11449 (glob_in_dir): Likewise.
11452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11453 check for AVX enablement so that we don't crash with old kernels and
11455 * elf/tst-audit4.c: Add same checks here.
11456 * elf/tst-audit6.c: Likewise.
11458 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11460 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11462 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11464 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11466 * po/cs.po: Update from translation team.
11467 * po/bg.po: Likewise.
11469 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11471 * misc/sys/cdefs.h: Add support for const attribute.
11472 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11473 to gnu_dev_{major,minor,makedev} functions.
11475 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11477 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11479 2011-07-20 Andreas Schwab <schwab@redhat.com>
11481 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11484 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11487 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11488 register in order to avoid conflicts with the soft frame pointer
11489 being held in r11 when necessary.
11490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11491 (INTERNAL_VSYSCALL_NCS): Likewise.
11493 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11495 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11496 * elf/dl-fini.c (_dl_fini): Adjust caller.
11497 * elf/dl-close.c (_dl_close_worker): Likewise.
11498 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11500 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11502 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11503 "aux_cache->nlibs < 0".
11505 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11506 in the reload-count case.
11508 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11511 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11512 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11513 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11514 * sysdeps/x86_64/multiarch/strcat.S: New file.
11515 * sysdeps/x86_64/multiarch/strncat.S: New file.
11516 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11517 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11518 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11519 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11520 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11521 (USE_AS_STRCAT): Define.
11522 Add strcat and strncat support.
11523 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11525 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11526 * string/strncat.c: Update.
11527 (USE_AS_STRNCAT): Define.
11528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11529 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11531 * sysdeps/x86_64/multiarch/init-arch.h
11532 (bit_Prefer_PMINUB_for_stringop): New.
11533 (index_Prefer_PMINUB_for_stringop): Likewise.
11534 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11535 bit_Prefer_PMINUB_for_stringop.
11537 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11539 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11541 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11542 of casting of buffer.
11543 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11544 buffer32 and buffer64.
11545 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11546 writes instead of casting of buffer.
11547 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11549 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11552 2011-07-19 Andreas Schwab <schwab@redhat.com>
11554 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11556 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11558 * nscd/nscd.c (termination_handler): Don't do anything for a database
11559 if it has not yet been initialized.
11561 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11563 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11565 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11567 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11569 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11571 * po/nl.po: Update from translation team.
11572 * po/sv.po: Likewise.
11574 2011-07-16 Roland McGrath <roland@hack.frob.com>
11576 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11577 now disallowed by GCC.
11579 * configure.in (use-default-link): Default to yes if a test -shared
11580 link meets our qualifications.
11581 * configure: Regenerated.
11583 * config.make.in (output-format): New variable.
11584 * configure.in: Check for ld --print-output-format support.
11585 * configure: Regenerated.
11586 * Makerules ($(common-objpfx)format.lds)
11587 [$(output-format) != unknown]: Just use $(output-format),
11588 instead of the linker-script munging.
11590 2011-07-14 Roland McGrath <roland@hack.frob.com>
11592 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11593 of $(common-objpfx)shlib.lds.
11594 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11596 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11597 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11599 * configure.in (-z relro check): Adjust test code to add a large
11600 writable data section after it.
11601 * configure: Regenerated.
11603 2011-07-11 Roland McGrath <roland@hack.frob.com>
11605 * configure.in (-z relro check): Fix test code to make the variable
11607 * configure: Regenerated.
11609 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11611 * nscd/nscd.h (struct traced_file): Define.
11612 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11613 elements. Add traced_files.
11614 (inotify_fd): Declare.
11615 (register_traced_file): Declare.
11616 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11617 (inotify_fd): Export.
11618 (resolv_conf_descr): Remove.
11619 (nscd_init): Move inotify descriptor creation to main.
11620 Don't register files for notification here.
11621 (register_traced_file): New function.
11622 (invalidate_cache): Don't use reset_res to determine whether to call
11623 res_init, go through the list of registered files.
11624 (main_loop_poll): The inotify descriptors are now stored in the
11625 structures for the traced files.
11626 (main_loop_epoll): Likewise
11627 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11628 to __nss_disable_nscd.
11629 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11630 for a database anymore. Check the records for all the registered
11632 * nss/Makefile (libnss_files-routines): Add files-init.
11633 (libnss_db-routines): Add db-init.
11634 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11635 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11636 * nss/nss_db/db-init.c: New file.
11637 * nss/nss_files/files-init.c: New file.
11638 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11639 __nss_lookup_function.
11640 (__nss_lookup_function): Call nss_load_library.
11641 (nss_load_all_libraries): New function.
11642 (__nss_disable_nscd): Take parameter with callback function for files
11643 to register. Set is_nscd. Load all the DSOs for the NSS modules
11644 used for the cached services.
11645 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11646 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11647 options for features to all the files in nscd.
11649 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11651 2011-07-10 Roland McGrath <roland@hack.frob.com>
11653 * csu/elf-init.c (__libc_csu_init): Comment typo.
11655 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11657 * po/pl.po: Update from translation team.
11658 * po/ja.po: Likewise.
11659 * po/ru.po: Likewise.
11660 * po/ko.po: Likewise.
11661 * po/fr.po: Likewise.
11663 2011-07-09 Roland McGrath <roland@hack.frob.com>
11665 * configure.in (.ctors/.dtors header and trailer check):
11666 Use an empirical test on a built program.
11667 * configure: Regenerated.
11669 * configure.in (-z relro check): Use an empirical test on a built DSO.
11670 Detect, but do not require, on ia64.
11671 * configure: Regenerated.
11673 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11674 Update tests that use readelf to use $READELF instead.
11675 * configure: Regenerated.
11677 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11679 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11680 if the result is not used.
11682 2011-07-05 Andreas Jaeger <aj@suse.de>
11685 * stdlib/tst-strtod.c: Add testcase.
11687 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11689 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11690 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11691 The latter has a higher limit. Take additional parameter to pass to
11693 (__pathconf): Pass file to __statfs_link_max.
11694 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11696 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11700 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11701 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11703 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11704 (__statfs_filesize_max): Likewise.
11705 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11707 2011-07-05 Andreas Jaeger <aj@suse.de>
11709 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11711 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11713 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11715 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11718 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11720 * Makefile (strop-tests): Add strncat.
11721 * string/test-strncat.c: New file.
11723 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11725 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11727 2011-06-21 Andreas Jaeger <aj@suse.de>
11729 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11730 Copy rule from iconvdata/Makefile.
11732 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11735 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11736 but no long options are defined, just return 'W'.
11738 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11741 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11743 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11745 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11747 (innetgr): Likewise.
11749 2011-07-05 Roland McGrath <roland@hack.frob.com>
11751 * config.make.in (install_root): Default to $(DESTDIR).
11753 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11755 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11757 2011-07-02 Roland McGrath <roland@hack.frob.com>
11759 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11761 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11762 containing directory rather than embedding absolute directory names.
11764 * scripts/check-local-headers.sh: Rewritten using awk.
11765 Match by word, not by line. Print error messages for matches.
11766 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11768 * Makerules [shlib-lds-flags empty]:
11769 ($(common-objpfx)libc_pic.opts): New target.
11770 ($(common-objpfx)libc_pic.os.clean): New target.
11771 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11773 * config.make.in (OBJCOPY): New variable.
11774 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11775 * configure: Regenerated.
11777 * config.make.in (use-default-link): New variable.
11778 * configure.in (use_default_link): Grok --with-default-link to set it.
11779 * configure: Regenerated.
11780 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11781 (shlib-lds, shlib-lds-flags): Define to empty.
11783 * Makerules (shlib-lds): New variable.
11784 (shlib-lds-flags): New variable.
11785 (build-shlib, build-moduile, build-module-asneeded): Use it.
11786 ($(common-objpfx)libc.so): Use $(shlib-lds).
11787 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11788 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11790 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11791 DT_FLAGS/DT_FLAGS_1 with zero flags.
11793 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11794 linker script munging.
11796 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11798 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11800 * crypt/sha512.c (sha512_process_block): Perform total addition using
11801 128-bit if possible.
11802 (__sha512_finish_ctx): Likewise.
11803 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11805 * crypt/sha256.c (SWAP64): Define.
11806 (sha256_process_block): Perform total addition using 64-bit if
11808 (__sha256_finish_ctx): Likewise.
11810 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11812 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11813 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11814 * nscd/hstcache.c (cache_addhst): Likewise.
11815 * nscd/grpcache.c (cache_addgr): Likewise.
11816 * nscd/aicache.c (addhstaiX): Likewise
11817 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11819 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11821 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11822 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11823 * nscd/hstcache.c (cache_addhst): Likewise.
11824 * nscd/grpcache.c (cache_addgr): Likewise.
11825 * nscd/aicache.c (addhstaiX): Likewise
11827 2011-07-01 Andreas Schwab <schwab@redhat.com>
11829 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11830 domain only when needed.
11832 2011-06-30 Andreas Schwab <schwab@redhat.com>
11834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11835 is always restored.
11837 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11839 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11840 are re-adding the entry.
11841 * nscd/servicescache.c (cache_addserv): Likewise.
11843 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11845 * sysdeps/generic/dl-irel.h: fix protection against multiple
11847 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11849 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11852 * malloc/memusage.sh: Fix quoting in message.
11853 * debug/xtrace.sh: Likewise.
11855 * configure.in: Remove support for --experimental-malloc option, make
11857 * config.make.in: Likewise.
11858 * malloc/Makefile: Likewise.
11860 2011-06-27 Andreas Schwab <schwab@redhat.com>
11862 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11863 two-byte characters.
11865 2011-06-27 Roland McGrath <roland@hack.frob.com>
11867 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11868 AC_CACHE_CHECK invocation.
11869 * configure: Regenerated.
11871 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11873 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11876 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11877 bit from old_res_options.
11879 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11881 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11882 value type for setfct.
11884 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11886 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11887 __gettimeofday instead of gettimeofday.
11889 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11891 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11893 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11895 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11897 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11900 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11903 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11904 strcpy-sse2-unaligned strncpy-sse2-unaligned
11905 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11906 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11907 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11908 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11909 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11912 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11913 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11914 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11915 (STRCPY): Support SSE2 and SSSE3 versions.
11917 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11920 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11921 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11922 kernels which artificially limit size of requests.
11924 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11927 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11928 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11929 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11930 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11931 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11932 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11933 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11934 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11936 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11937 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11938 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11939 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11940 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11942 Enable unaligned load optimization for Intel Core i3, i5 and i7
11944 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11946 (index_Fast_Unaligned_Load): Define.
11947 (HAS_FAST_UNALIGNED_LOAD): Define.
11949 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11951 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11953 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11956 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11957 until it is clear that the information is realy needed.
11958 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11960 2011-06-22 Andreas Schwab <schwab@redhat.com>
11962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11964 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11966 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11967 /sys/devices/system/cpu/online if it is usable.
11969 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11970 reading the information from the /proc filesystem to once a second.
11972 2011-06-21 Andreas Jaeger <aj@suse.de>
11974 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11975 NULL after inclusion of kernel headers.
11977 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11979 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11980 calls to internal_setent.
11983 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11984 addresses using gethostbyname4_r ignore IPv4 addresses.
11986 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11987 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11989 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11991 2011-06-20 David S. Miller <davem@davemloft.net>
11993 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11995 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11997 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11998 (elf_irel): Use it.
11999 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12000 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12001 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12002 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12003 * sysdeps/x86_64/dl-irel.h: Likewise.
12005 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12006 * elf/dl-sym.c: Likewise.
12008 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12010 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12011 need to dereference resplen2.
12013 2011-06-14 Andreas Schwab <schwab@redhat.com>
12015 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12017 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12019 * Makeconfig: Define vardbdir and inst_vardbdir.
12020 * nss/Makefile: Add rules to install db-Makefile.
12022 * nss/nss_db/db-XXX.c: Cleanup.
12024 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12025 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12027 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12028 * nss/makedb.c: Implement -g option to specify that value strings
12029 are generated and should not be added to table iterated over for
12031 * nss/nss_db/db-initgroups.c: New file.
12033 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12036 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12037 (internal_getgrouplist): Adjust to name change.
12038 Update use_initgroups_entry if this is not the first call.
12039 * nss/databases.def: Add initgroups entry.
12041 * nss/makedb.c (compute_tables): Check result of multiple hash table
12042 sizes to minimize maximum chain length.
12044 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12046 * Versions.def: Add entry for libnss_db.
12047 * shlib-versions: Likewise.
12048 * nss/Makefile: Add rules to build libnss_db.
12049 * nss/Versions: Add libnss_db information. Organize libnss_files
12051 * nss/db-Makefile: Add gshadow support. Change rules for the new
12052 makedb progra. Some minor improvements to generate smaller files.
12053 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12055 * nss/makedb.c: ...here.
12056 Improve database format to be smaller and require less memory at
12058 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12060 * nss/nss_db/db-netgrp.c: Likewise.
12061 * nss/nss_db/db-open.c: Likewise.
12062 * nss/nss_files/flies-XXX.x: Adjust comments.
12063 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12064 * nss/nss_files/files-grp.c: Likewise.
12065 * nss/nss_files/files-hosts.c: Likewise.
12066 * nss/nss_files/files-network.c: Likewise.
12067 * nss/nss_files/files-proto.c: Likewise.
12068 * nss/nss_files/files-pwd.c: Likewise.
12069 * nss/nss_files/files-rpc.c: Likewise.
12070 * nss/nss_files/files-service.c: Likewise.
12071 * nss/nss_files/files-sgrp.c: Likewise.
12072 * nss/nss_files/files-spwd.c: Likewise.
12073 * nss/nss_db/db-alias.c: Removed.
12074 * nss/nss_db/dummy-db.h: Removed.
12076 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12078 * nss/makedb.c: Rewritten to not use database library.
12079 * nss/Makefile: Update to build new makedb program.
12081 2011-06-14 Andreas Jaeger <aj@suse.de>
12083 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12084 memset declaration.
12086 2011-06-10 Andreas Schwab <schwab@redhat.com>
12088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12091 2011-06-10 Roland McGrath <roland@hack.frob.com>
12093 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12094 * elf/Makefile ($(objpfx)ld.so): Likewise.
12096 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12097 Don't list ld.so twice in dependencies.
12099 * posix/bug-regex31.c: Include <stdlib.h>.
12101 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12103 * nis/nss_compat/compat-spwd.c
12104 (getspent_next_nss_netgr): Remove unused variable.
12105 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12107 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12108 nonmembers" output to use the right array.
12110 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12112 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12114 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12115 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12116 * catgets/gencat.c (read_input_file): Likewise.
12117 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12119 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12120 variable definition inside #if's controlling its use.
12122 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12124 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12126 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12128 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12131 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12133 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12134 * configure: Regenerated.
12136 * Makerules: Revert last change.
12137 * elf/Makefile: Likewise.
12139 2011-06-09 Roland McGrath <roland@hack.frob.com>
12141 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12142 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12143 (reloc-link): Likewise.
12145 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12147 * elf/Makefile: Add rules to build pldd.
12148 * elf/pldd.c: New file.
12149 * elf/pldd-xx.c: New file.
12151 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12153 * version.h: Update for 2.15 development version.
12155 2011-06-07 David S. Miller <davem@davemloft.net>
12157 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12160 elf_machine_lazy_rel): Likewise.
12161 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12163 elf_machine_lazy_rel): Likewise.
12164 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12165 dl_hwcap via passed in argument.
12166 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12169 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12171 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12173 2011-06-06 Roland McGrath <roland@hack.frob.com>
12176 * manual/fdl-1.1.texi: New file, verbatim from:
12177 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12178 * manual/lgpl-2.1.texi: New file, verbatim from:
12179 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12180 * manual/Makefile (licenses): New variable, list those new file names.
12182 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12184 * manual/fdl.texi: File removed.
12185 * manual/lesser.texi: File removed.
12186 * manual/libc.texinfo (Copying, Documentation License):
12187 Use new @include file names, put @appendix directive before @include.
12189 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12192 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12193 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12194 (mq_open): Add __NTH.
12196 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12199 Assume Intel Core i3/i5/i7 processor if AVX is available.
12201 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12206 2011-05-31 Andreas Schwab <schwab@redhat.com>
12208 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12209 memory. Use alloca_account. Fix memory leak when retrying.
12211 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12213 * version.h (RELEASE): Bump for 2.14 release.
12214 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12216 * config.make.in (RANLIB): Remove entry.
12218 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12220 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12221 (libc.pot): Work around missing support for .ksh extension in xgettext.
12224 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12225 if both request failed.
12226 (send_dg): In case of server errors clear resplen or *resplen2.
12229 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12230 when there are multiple maps.
12231 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12232 (_dl_fini): Remove test here.
12234 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12236 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12239 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12240 bit from old_res_options.
12241 (gaih_inet): Likewise.
12244 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12247 * resolv/res_init.c (res_setoptions): Make the code more compact.
12250 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12254 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12256 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12259 * malloc/malloc.h: Declare malloc hook variables as volatile.
12261 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12265 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12266 raise in the comment.
12267 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12268 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12269 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12271 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12274 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12275 grow the buffers more if it already has to be sufficient.
12276 (build_wcs_upper_buffer): Likewise.
12277 * posix/regexec.c (check_matching): Likewise.
12278 (clean_state_log_if_needed): Likewise.
12279 (extend_buffers): Don't enlarge buffers beyond size of the input
12281 Patches mostly by Emil Wojak <emil@wojak.eu>.
12282 * posix/bug-regex32.c: New file.
12283 * posix/Makefile (tests): Add bug-regex32.
12285 * locale/findlocale.c (_nl_find_locale): Return right away if
12286 _nl_explode_name failed.
12287 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12289 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12291 * debug/xtrace.sh: Unify messages.
12292 * malloc/memusage.sh: Likewise.
12295 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12296 time symbol from vDSO. Substitute with vsyscall if not available.
12297 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12300 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12301 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12302 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12303 Add sendmmsg and internal_sendmmsg.
12304 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12305 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12308 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12309 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12310 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12312 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12315 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12316 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12318 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12322 * iconvdata/Makefile (tests): Add bug-iconv9.
12323 * iconvdata/bug-iconv9.c: New file.
12325 2011-05-27 Andreas Schwab <schwab@redhat.com>
12328 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12330 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12332 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12333 (struct user_regs_struct): Change intcs field back to cs.
12335 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12337 * po/ja.po: Update from translation team.
12339 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12342 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12343 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12345 2011-05-20 Andreas Schwab <schwab@redhat.com>
12347 * stdlib/longlong.h: Update from GCC.
12349 2011-05-23 Andreas Schwab <schwab@redhat.com>
12351 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12353 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12354 Add parameter name.
12355 (__sysconf): Pass it down.
12357 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12360 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12362 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12363 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12364 add in in __libc_use_alloca calls. Adjust callers.
12365 (glob): Use malloc in some situations.
12367 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12368 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12371 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12373 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12374 and CLOCK_BOOTTIME_ALARM.
12377 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12380 * string/_strerror.c (__strerror_r): Print negative errors as signed
12384 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12385 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12386 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12388 * configure.in: Fix typo in redirection and correct removal of test
12389 files in two cases.
12392 * locale/setlocale.c (new_composite_name): Fix test to check for
12393 identical name of all categories.
12396 * libio/filedoalloc.c (local_isatty): New function.
12397 (_IO_file_doallocate): Use local_isatty.
12398 * stdio-common/perror.c (perror): In case a new stream is used
12399 forward the stream error.
12400 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12403 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12408 * include/alloca.h (extend_alloca_account): Define.
12411 * posix/regex.h: Fix comments with documentation of user-accessible
12412 fields after compilation and describe correct free'ing of pattern
12413 after re_compile_pattern.
12414 Patch by Reuben Thomas <rrt@sc3d.org>.
12416 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12418 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12419 and -mno-altivec to prevent the compiler from using Altivec and/or
12420 VSX instructions when the corresponding registers are not available.
12422 2011-05-19 Andreas Schwab <schwab@redhat.com>
12424 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12426 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12428 * libio/freopen.c (freopen): Use __dup2, not dup2.
12429 * libio/freopen64.c (freopen64): Likewise.
12431 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12434 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12435 * math/Makefile (tests): Add test-powl.
12436 (CFLAGS-test-powl.c): Define.
12437 * math/test-powl.c: New file.
12439 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12441 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12443 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12446 * iconvdata/gb18030.c: Update to GB18020-2005.
12448 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12450 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12451 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12452 Patch by Aharon Robbins <arnold@skeeve.com>.
12455 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12459 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12460 through underflows.
12463 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12464 point to strings before performing equality test for error_one_per_line
12468 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12472 (struct user_fpregs_struct): Avoid __uint*_t types.
12475 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12476 symbol info. Use it instead of calling _dl_addr locally.
12477 (lock_and_info): New function.
12478 (tr_freehook): Call lock_and_info and pass symbol info as additional
12479 parameter to tr_where.
12480 (tr_mallochook): Likewise.
12481 (tr_reallochook): Likewise.
12482 (tr_memalignhook): Likewise.
12484 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12485 used and couldn't be at all thread-safe.
12487 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12489 * libio/freopen.c (freopen): Don't close old file descriptor
12490 before the new one is opened. Instead dup the new file descriptor
12491 to the old one after the new stream is created.
12492 * libio/freopen64.c (freopen64): Likewise.
12493 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12494 * libio/fileops.c (_IO_new_file_close_it): Handle new
12495 _IO_FLAGS2_NOCLOSE flag.
12496 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12497 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12498 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12499 _IO_FLAGS2_NOCLOSE flag.
12500 * include/unistd.h: Add hidden_proto for dup3.
12501 Define __have_dup3.
12502 * io/dup3.c: Define hidden symbol.
12503 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12506 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12507 when an incomplete long option is used.
12508 * posix/tst-getopt_long1.c: New file.
12509 * posix/Makefile (tests): Add tst-getopt_long1.
12512 * scripts/config.guess: Update from autoconf-2.68.
12513 * scripts/config.sub: Likewise.
12516 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12518 (has_cpuclock): ...this. New function.
12519 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12520 macro here based on has_cpuclock code.
12523 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12524 First byte (not low byte) is now always NUL.
12525 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12528 Use non-cancelable interfaces.
12531 * locale/iso-639.def: Add entry for Sorani.
12534 * include/stdlib.h: Move include protection to the right place.
12535 Define abort_msg_s. Declare __abort_msg with it.
12536 * stdlib/abort.c (__abort_msg): Adjust type.
12537 * assert/assert.c (__assert_fail_base): New function. Majority
12538 of code from __assert_fail. Allocate memory for __abort_msg with
12540 (__assert_fail): Now call __assert_fail_base.
12541 * assert/assert-perr.c: Remove bulk of implementation. Use
12542 __assert_fail_base.
12543 * include/assert.hL Declare __assert_fail_base.
12544 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12546 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12548 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12552 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12553 until all modules are registered in the DTV.
12554 * elf/Makefile: Add rules to build and run tst-tls19.
12555 * elf/tst-tls19.c: New file.
12556 * elf/tst-tls19mod1.c: New file.
12557 * elf/tst-tls19mod2.c: New file.
12558 * elf/tst-tls19mod3.c: New file.
12559 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12562 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12566 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12567 two-byte sequence errors.
12568 * iconvdata/Makefile (tests): Add bug-iconv8.
12569 * iconvdata/bug-iconv8.c: New file.
12572 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12575 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12578 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12579 (dummy_getcfa): New function.
12580 (init): Get _Unwind_GetCFA address, use dummy if not found.
12581 (backtrace_helper): In recursion check, also check whether CFA changes.
12582 (__backtrace): Completely initialize arg.
12584 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12585 storing incomplete byte sequence in state object. Avoid testing for
12586 guaranteed too small input if we know there is enough data available.
12588 2011-05-11 Andreas Schwab <schwab@redhat.com>
12590 * Makeconfig (+link-pie): Indent.
12591 * Rules (binaries-pie): Define if $(have-fpie) and
12593 (binaries-shared): Also filter out $(binaries-pie).
12594 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12595 * nscd/Makefile (others-pie): Add nscd.
12596 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12597 ($(objpfx)nscd): Remove command override.
12598 * login/Makefile (others-pie): Add pt_chown.
12599 ($(objpfx)pt_chown): Remove command override.
12600 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12601 remove command overrides.
12603 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12605 * libio/tst_putwc.c: Fix error messages.
12608 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12609 currently writing and seek to current position when not.
12610 * libio/Makefile (tests): Add bug-fclose1.
12611 * libio/bug-fclose1.c: New file.
12613 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12616 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12617 don't set DF_1_NODELETE here.
12618 (do_lookup_x): When entering new entry test for copy relocation
12619 and if necessary set DF_1_NODELETE flag.
12620 * elf/tst-unique4.cc: New file.
12621 * elf/tst-unique4.h: New file.
12622 * elf/tst-unique4lib.cc: New file.
12623 * elf/Makefile: Add rules to build and run tst-unique4.
12624 Patch by Piotr Bury <pbury@goahead.com>.
12626 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12629 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12632 * misc/mntent_r.c (addmntent): Flush the stream after the output
12635 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12636 (is_trusted_path_normalize): Skip initial colon. Append slash
12637 to empty buffer. Duplicate is_trusted_path code but allow
12638 constructed patch to be prefix.
12639 (is_dst): Allow $ORIGIN followed by /.
12640 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12641 Correct testing of result of is_trusted_path_normalize
12642 (decompose_rpath): Fix warning.
12644 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12647 * grp/initgroups.c (internal_getgrouplist): When we found the service
12648 list through the initgroups entry in nsswitch.conf do not always
12649 continue on a successful lookup. Don't always use the
12650 __nss_group_database value if it is set.
12651 * nss/nsswitch.conf (initgroups): Change action for successful db
12652 lookup to continue for compatibility.
12654 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12657 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12659 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12661 * iconvdata/tst-tables.sh: Likewise.
12662 * iconvdata/cp770.c: New file.
12663 * iconvdata/cp771.c: New file.
12664 * iconvdata/cp772.c: New file.
12665 * iconvdata/cp773.c: New file.
12666 * iconvdata/cp774.c: New file.
12667 * iconvdata/testdata/CP770: New file.
12668 * iconvdata/testdata/CP770..UTF8: New file.
12669 * iconvdata/testdata/CP771: New file.
12670 * iconvdata/testdata/CP771..UTF8: New file.
12671 * iconvdata/testdata/CP772: New file.
12672 * iconvdata/testdata/CP772..UTF8: New file.
12673 * iconvdata/testdata/CP773: New file.
12674 * iconvdata/testdata/CP773..UTF8: New file.
12675 * iconvdata/testdata/CP774: New file.
12676 * iconvdata/testdata/CP774..UTF8: New file.
12678 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12680 * iconvdata/gen-8bit-gap.sh: Likewise.
12681 * iconvdata/gen-8bit.sh: Likewise.
12683 * locale/iso-639.def: Add ary entry.
12686 * locale/C-translit.h.in: Add U20A1 transliteration.
12689 * locale/iso-639.def: Add wae entry.
12690 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12693 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12697 * locale/C-translit.h.in: Add entry for U20B9.
12698 Patch by pravin.d.s@gmail.com.
12700 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12703 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12704 ENAMETOOLONG use generic getcwd.
12705 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12706 in rtld. Use *stat64.
12707 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12708 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12709 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12710 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12711 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12712 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12713 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12714 __fstatat64 macros.
12715 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12716 * dirent/rewinddir.c: Add libc_hidden_def.
12717 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12718 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12720 * include/dirent.h (__alloc_dir): Add flags parameter.
12721 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12722 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12724 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12725 from fdopendir if O_CLOEXEC is already set.
12727 2011-03-15 Alan Modra <amodra@gmail.com>
12729 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12730 l_tls_firstbyte_offset non-zero. Save padding offset in
12731 l_tls_firstbyte_offset for later use.
12732 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12733 freeing static tls block.
12735 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12737 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12738 where #ifdef was intended. The intent is to prevent ARG_MAX from
12739 being defined by the kernel headers.
12741 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12744 * resolv/resolv.h: Define RES_NOTLDQUERY.
12745 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12746 no-tld-query and set RES_NOTLDQUERY.
12747 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12748 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12749 modern BIND to search name as TLD unless forbidden.
12751 2011-05-07 Petr Baudis <pasky@suse.cz>
12752 Ulrich Drepper <drepper@gmail.com>
12755 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12756 (is_trusted_path): ...to here.
12757 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12758 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12759 using is_trusted_path_normalize() in setuid scripts.
12761 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12763 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12764 __BEGIN/__END_DECLS.
12766 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12768 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12769 NSS_STATUS_NOTFOUND if no record was found.
12771 2011-05-05 Andreas Schwab <schwab@redhat.com>
12773 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12774 (headers-not-in-tirpc): Remove rpc/netdb.h
12775 * resolv/netdb.h: Revert last change.
12777 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12779 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12780 circular dependency between libgcc.a and libc.a.
12782 2011-05-05 Andreas Schwab <schwab@redhat.com>
12784 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12785 * nis/Makefile: Don't install rpcsvc/*.
12786 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12787 instead of <rpc/types.h>.
12788 (MAXHOSTNAMELEN): Define.
12790 2011-05-03 Andreas Schwab <schwab@redhat.com>
12792 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12794 2011-04-28 Maciej Babinski <mbabinski@google.com>
12797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12798 gethostbyname4_r when IPv6 results are possible.
12800 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12803 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12804 _PC_PIPE_BUF handling.
12806 2011-04-30 Bruno Haible <bruno@clisp.org>
12809 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12810 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12812 * inet/getnameinfo.c (getnameinfo): Likewise.
12814 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12816 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12817 to groups setting in database lookup.
12818 * nss/nsswitch.conf: Add initgroups entry.
12820 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12823 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12825 Patch by Eric Blake <eblake@redhat.com>.
12827 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12829 * sunrpc/Makefile (need-export-routines): Add svc_run.
12830 (routines): Remove svc_run.
12831 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12832 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12833 * sunrpc/svc_run.c (svc_run): Likewise.
12834 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12836 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12838 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12839 problem in reallocation in last patch.
12841 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12843 * sunrpc/Makefile: Move inclusion of Rules.
12845 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12847 * nss/nss_files/files-initgroups.c: New file.
12848 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12849 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12850 _nss_files_initgroups_dyn.
12852 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12854 * elf/elf.h (R_ARM_IRELATIVE): Define.
12856 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12858 * po/ru.po: Update from translation team.
12860 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12862 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12865 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12868 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12869 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12870 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12871 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12872 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12874 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12876 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12878 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12879 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12880 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12882 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12885 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12887 * stdlib/bug-getcontext.c: New file.
12888 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12890 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12892 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12893 instructions into .machine "z9-109".
12894 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12895 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12897 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12899 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12900 between environment variables and auxiliary vector.
12902 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12904 * Makefile: Add rules to build linkobj/libc.so.
12905 * include/libc-symbols.h: Define libc_hidden_nolink.
12906 * include/rpc/auth.h: Mark functions which are to be hidden.
12907 * include/rpc/auth_des.h: Likewise.
12908 * include/rpc/auth_unix.h: Likewise.
12909 * include/rpc/clnt.h: Likewise.
12910 * include/rpc/des_crypt.h: Likewise.
12911 * include/rpc/key_prot.h: Likewise.
12912 * include/rpc/pmap_clnt.h: Likewise.
12913 * include/rpc/pmap_prot.h: Likewise.
12914 * include/rpc/pmap_rmt.h: Likewise.
12915 * include/rpc/rpc_msg.h: Likewise.
12916 * include/rpc/svc.h: Likewise.
12917 * include/rpc/svc_auth.h: Likewise.
12918 * include/rpc/xdr.h: Likewise.
12919 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12920 * nss/Makefile: Likewise.
12921 * sunrpc/Makefile: Don't install headers. Build library with normal
12922 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12923 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12924 for the compat linking library. Remove use of INTDEF/INTUSE.
12925 * sunrpc/auth_none.c: Likewise.
12926 * sunrpc/auth_unix.c: Likewise.
12927 * sunrpc/authdes_prot.c: Likewise.
12928 * sunrpc/authuxprot.c: Likewise.
12929 * sunrpc/clnt_gen.c: Likewise.
12930 * sunrpc/clnt_perr.c: Likewise.
12931 * sunrpc/clnt_raw.c: Likewise.
12932 * sunrpc/clnt_simp.c: Likewise.
12933 * sunrpc/clnt_tcp.c: Likewise.
12934 * sunrpc/clnt_udp.c: Likewise.
12935 * sunrpc/clnt_unix.c: Likewise.
12936 * sunrpc/des_crypt.c: Likewise.
12937 * sunrpc/des_soft.c: Likewise.
12938 * sunrpc/get_myaddr.c: Likewise.
12939 * sunrpc/key_call.c: Likewise.
12940 * sunrpc/key_prot.c: Likewise.
12941 * sunrpc/netname.c: Likewise.
12942 * sunrpc/pm_getmaps.c: Likewise.
12943 * sunrpc/pm_getport.c: Likewise.
12944 * sunrpc/pmap_clnt.c: Likewise.
12945 * sunrpc/pmap_prot.c: Likewise.
12946 * sunrpc/pmap_prot2.c: Likewise.
12947 * sunrpc/pmap_rmt.c: Likewise.
12948 * sunrpc/publickey.c: Likewise.
12949 * sunrpc/rpc_cmsg.c: Likewise.
12950 * sunrpc/rpc_common.c: Likewise.
12951 * sunrpc/rpc_dtable.c: Likewise.
12952 * sunrpc/rpc_prot.c: Likewise.
12953 * sunrpc/rpc_thread.c: Likewise.
12954 * sunrpc/rtime.c: Likewise.
12955 * sunrpc/svc.c: Likewise.
12956 * sunrpc/svc_auth.c: Likewise.
12957 * sunrpc/svc_authux.c: Likewise.
12958 * sunrpc/svc_raw.c: Likewise.
12959 * sunrpc/svc_run.c: Likewise.
12960 * sunrpc/svc_simple.c: Likewise.
12961 * sunrpc/svc_tcp.c: Likewise.
12962 * sunrpc/svc_udp.c: Likewise.
12963 * sunrpc/svc_unix.c: Likewise.
12964 * sunrpc/svcauth_des.c: Likewise.
12965 * sunrpc/xcrypt.c: Likewise.
12966 * sunrpc/xdr.c: Likewise.
12967 * sunrpc/xdr_array.c: Likewise.
12968 * sunrpc/xdr_float.c: Likewise.
12969 * sunrpc/xdr_intXX_t.c: Likewise.
12970 * sunrpc/xdr_mem.c: Likewise.
12971 * sunrpc/xdr_rec.c: Likewise.
12972 * sunrpc/xdr_ref.c: Likewise.
12973 * sunrpc/xdr_sizeof.c: Likewise.
12974 * sunrpc/xdr_stdio.c: Likewise.
12976 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12979 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12980 * sysdeps/ia64/dl-tls.h: Likewise.
12981 * sysdeps/powerpc/dl-tls.h: Likewise.
12982 * sysdeps/s390/dl-tls.h: Likewise.
12983 * sysdeps/sh/dl-tls.h: Likewise.
12984 * sysdeps/sparc/dl-tls.h: Likewise.
12985 * sysdeps/x86_64/dl-tls.h: Likewise.
12986 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12988 2011-03-14 Andreas Schwab <schwab@redhat.com>
12990 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12991 rpath element also skip the following colon.
12992 (expand_dynamic_string_token): Add is_path parameter and pass
12993 down to DL_DST_REQUIRED and _dl_dst_substitute.
12994 (decompose_rpath): Call expand_dynamic_string_token with
12995 non-zero is_path. Ignore empty rpaths.
12996 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12999 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13004 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13007 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13008 Patch by Filipe David Manana <fdmanana@apache.org>.
13010 2011-04-07 Andreas Schwab <schwab@redhat.com>
13012 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13013 Maintain aligned stack.
13014 (CHECK_RSP): Remove unused macro.
13016 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13018 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13019 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13021 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13023 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13025 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13027 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13030 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13031 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13032 * sysdeps/x86_64/memmove.c: New file.
13033 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13034 (memcpy): Renamed to ...
13035 (__new_memcpy): This.
13036 (memcpy): Provide GLIBC_2_14 memcpy.
13037 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13038 (memcpy): Provide GLIBC_2_2_5 memcpy.
13040 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13043 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13045 2011-03-30 Andreas Schwab <schwab@redhat.com>
13047 * misc/syncfs.c: New file.
13048 * misc/Makefile (routines): Add syncfs.
13049 * posix/unistd.h: Declare syncfs.
13050 * sysdeps/unix/syscalls.list: Add syncfs.
13052 2011-04-01 Andreas Schwab <schwab@redhat.com>
13054 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13057 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13059 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13061 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13062 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13064 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13066 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13067 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13068 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13070 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13074 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13075 sync_file_range.c with -fexceptions.
13076 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13077 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13078 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13079 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13080 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13081 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13083 sync_file_range as cancellation point
13084 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13085 now a wrapper around __call_sync_file_range with cancellation handling.
13086 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13087 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13088 function name to __call_sync_file_range.
13089 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13090 Add call_sync_file_range.
13092 2011-04-01 Andreas Schwab <schwab@redhat.com>
13094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13097 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13099 * iconv/iconv.h: Fix typo in comment.
13100 * io/fcntl.h: Likewise.
13101 * libio/stdio.h: Likewise.
13102 * posix/spawn.h: Likewise.
13103 * posix/unistd.h: Likewise.
13104 * stdlib/stdlib.h: Likewise.
13105 * time/time.h: Likewise.
13106 * wcsmbs/wchar.h: Likewise.
13108 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13109 open_by_handle): Add.
13110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13111 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13112 Augment a few comments.
13113 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13114 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13115 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13118 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13121 * io/fcntl.h (AT_EMPTY_PATH): Define.
13123 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13125 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13126 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13127 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13129 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13130 * Versions.def: Add GLIBC_2.14.
13131 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13134 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13136 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13138 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13140 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13143 * string/test-strncmp.c (do_page_test): New function.
13144 (check2): Likewise.
13145 (test_main): Call check2.
13146 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13148 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13151 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13152 Handle cache information in CPU leaf 4.
13153 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13155 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13158 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13159 character representation.
13160 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13162 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13164 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13165 END(__isnan) to END(__isnanf) to match function entry point/label
13166 EALIGN(__isnanf,...).
13168 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13170 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13172 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13175 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13176 copy from the symbol referenced in the relocation to initialize the
13178 Patch by Piotr Bury <pbury@goahead.com>.
13179 * elf/Makefile: Add rules to build and tst-unique3.
13180 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13181 * elf/tst-unique3.cc: New file.
13182 * elf/tst-unique3.h: New file.
13183 * elf/tst-unique3lib.cc: New file.
13184 * elf/tst-unique3lib2.cc: New file.
13186 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13188 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13190 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13191 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13194 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13196 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13197 to-be-loaded object along a path to loader is ld.so.
13199 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13200 Ulrich Drepper <drepper@gmail.com>
13202 * sysdeps/x86_64/memset.S: After aligning destination, code
13203 branches to different locations depending on the value of
13204 misalignment, when multiarch is enabled. Fix this.
13206 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13208 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13209 Set _x86_64_preferred_memory_instruction for AMD processsors.
13210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13211 Set bit_Prefer_SSE_for_memop for AMD processors.
13213 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13215 * libio/fmemopen.c (fmemopen): Optimize a bit.
13217 2011-03-03 Andreas Schwab <schwab@redhat.com>
13219 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13221 2011-03-03 Roland McGrath <roland@redhat.com>
13223 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13225 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13227 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13228 __bzero_ultra1 instead of __memset_ultra1.
13230 2011-02-23 Andreas Schwab <schwab@redhat.com>
13231 Ulrich Drepper <drepper@gmail.com>
13234 * include/link.h (struct link_map): Add l_orig_initfini.
13235 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13236 returning unsuccessfully.
13237 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13238 close of a file loaded at startup, restore the original l_initfini
13240 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13241 list, store the pointer.
13242 * elf/Makefile ($(objpfx)noload-mem): New rule.
13243 (noload-ENV): Define.
13244 (tests): Add $(objpfx)noload-mem.
13245 * elf/noload.c: Include <memcheck.h>.
13246 (main): Call mtrace. Close all opened handles.
13248 2011-02-17 Andreas Schwab <schwab@redhat.com>
13251 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13252 dependencies are missing.
13254 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13256 Fix __if_freereq crash: Unlike the generic version which uses free,
13258 * sysdeps/mach/hurd/ifreq.h: New file.
13260 2011-01-27 Petr Baudis <pasky@suse.cz>
13261 Ulrich Drepper <drepper@gmail.com>
13264 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13265 to extend_alloca().
13266 * stdio-common/bug23.c: New file.
13267 * stdio-common/Makefile (tests): Add bug23.
13269 2010-09-28 Andreas Schwab <schwab@redhat.com>
13270 Ulrich Drepper <drepper@gmail.com>
13273 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13274 before performing relro protection. At old place add assertion
13275 to make sure nothing changed.
13277 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13278 Glauber de Oliveira Costa <glommer@gmail.com>
13280 * elf/elf.h: Add new ARM TLS relocs.
13282 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13285 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13287 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13289 * sysdeps/wordsize-64/tst-writev.c: New file.
13291 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13293 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13294 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13295 insns in _dl_start to prevent a TOC reference before relocs are
13298 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13301 * Makeconfig: Remove RANLIB definition.
13302 * Makerules: Don't use RANLIB.
13303 * aclocal.m4: Remove ranlib test.
13304 * configure.in: No need to check for ranlib.
13305 * elf/rtld-Rules: Don't use RANLIB.
13307 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13309 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13311 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13312 inclusion protection macro.
13314 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13315 SIGRTMIN and SIGRTMAX and print information in that case only when
13316 SIGRTMIN is defined.
13318 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13320 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13321 arginfo fn returning -1.
13323 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13324 and thousands string is zero terminated.
13326 2011-02-03 Andreas Schwab <schwab@redhat.com>
13328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13329 sysdeps/unix/sysv/linux/bits/socket.h.
13331 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13333 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13334 (__CPU_COUNT): Remove old macros.
13335 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13336 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13337 (__CPU_ALLOC, __CPU_FREE): Add macros.
13338 (__sched_cpualloc, __sched_cpufree): Add declarations.
13340 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13342 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13343 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13344 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13345 (readdhstai): Return value of addhstaiX call.
13346 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13347 (addgrbyX): Return value returned by cache_addgr.
13348 (readdgrbyname): Return value returned by addgrbyX.
13349 (readdgrbygid): Likewise.
13350 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13351 (addpwbyX): Return value returned by cache_addpw.
13352 (readdpwbyname): Return value returned by addhstbyX.
13353 (readdpwbyuid): Likewise.
13354 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13355 (addservbyX): Return value returned by cache_addserv.
13356 (readdservbyname): Return value returned by addservbyX:
13357 (readdservbyport): Likewise.
13358 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13359 (addhstbyX): Return value returned by cache_addhst.
13360 (readdhstbyname): Return value returned by addhstbyX.
13361 (readdhstbyaddr): Likewise.
13362 (readdhstbynamev6): Likewise.
13363 (readdhstbyaddrv6): Likewise.
13364 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13365 (readdinitgroups): Return value returned by addinitgroupsX.
13366 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13367 (prune_cache): Keep track of timeout value of re-added entries.
13368 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13369 * nscd/nscd.h: Adjust prototypes of readd* functions.
13371 2011-02-04 Roland McGrath <roland@redhat.com>
13373 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13374 (nis_stats): Likewise.
13375 * nis/nis_modify.c (nis_modify): Likewise.
13376 * nis/nis_remove.c (nis_remove): Likewise.
13377 * nis/nis_add.c (nis_add): Likewise.
13379 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13381 * posix/fnmatch_loop.c: Add some consts.
13383 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13385 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13388 * config.make.in (config-cflags-novzeroupper): Define.
13389 * configure.in: Substitute libc_cv_cc_novzeroupper.
13390 * elf/Makefile (AVX-CFLAGS): Define.
13391 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13392 (CFLAGS-tst-auditmod4a.c): Likewise.
13393 (CFLAGS-tst-auditmod4b.c): Likewise.
13394 (CFLAGS-tst-auditmod6b.c): Likewise.
13395 (CFLAGS-tst-auditmod6c.c): Likewise.
13396 (CFLAGS-tst-auditmod7b.c): Likewise.
13397 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13399 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13401 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13402 function to the callback.
13403 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13405 2011-02-02 Andreas Schwab <schwab@redhat.com>
13407 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13410 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13413 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13415 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13417 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13420 * elf/Makefile: Add rules to build and run new test.
13421 * elf/tst-initorder.c: New file.
13422 * elf/tst-initorder.exp: New file.
13423 * elf/tst-initordera1.c: New file.
13424 * elf/tst-initordera2.c: New file.
13425 * elf/tst-initordera3.c: New file.
13426 * elf/tst-initordera4.c: New file.
13427 * elf/tst-initorderb1.c: New file.
13428 * elf/tst-initorderb2.c: New file.
13429 * elf/tst-order-a1.c: New file.
13430 * elf/tst-order-a2.c: New file.
13431 * elf/tst-order-a3.c: New file.
13432 * elf/tst-order-a4.c: New file.
13433 * elf/tst-order-b1.c: New file.
13434 * elf/tst-order-b2.c: New file.
13435 * elf/tst-order-main.c: New file.
13436 New test case by George Gensure <werkt0@gmail.com>.
13438 2010-10-01 Andreas Schwab <schwab@redhat.com>
13440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13441 decoding ACE if AI_CANONIDN.
13443 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13445 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13447 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13449 * version.h (RELEASE): Bump for 2.13 release.
13450 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13452 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13454 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13456 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13457 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13458 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13459 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13460 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13461 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13463 * posix/getconf.c: Update copyright year.
13464 * catgets/gencat.c: Likewise.
13465 * csu/version.c: Likewise.
13466 * debug/catchsegv.sh: Likewise.
13467 * debug/xtrace.sh: Likewise.
13468 * elf/ldconfig.c: Likewise.
13469 * elf/ldd.bash.in: Likewise.
13470 * elf/sprof.c (print_version): Likewise.
13471 * iconv/iconv_prog.c: Likewise.
13472 * iconv/iconvconfig.c: Likewise.
13473 * locale/programs/locale.c: Likewise.
13474 * locale/programs/localedef.c: Likewise.
13475 * malloc/memusage.sh: Likewise.
13476 * malloc/mtrace.pl: Likewise.
13477 * nscd/nscd.c (print_version): Likewise.
13478 * nss/getent.c: Likewise.
13480 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13481 PF_CAIF, and PF_ALG.
13482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13484 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13486 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13487 (modules-names): Use them.
13488 (ifunc-test-modules, ifunc-pie-tests): Define.
13489 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13490 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13491 (test-extras): Likewise.
13492 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13493 $(compile-command.c).
13494 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13495 (all-built-dso): Define.
13496 (check-textrel.out, check-execstack.out): Depend on it.
13498 * configure.in: Don't override --enable-multi-arch.
13500 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13503 * nscd/hstcache.c (tryagain): Define.
13504 (cache_addhst): Return tryagain not notfound for temporary errors.
13505 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13508 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13511 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13512 to make the syscall.
13513 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13516 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13517 and fall back to matching as normal character if the string ends before
13518 the matching ']' is found. This is what POSIX requires.
13519 * posix/testfnm.c: Adjust test result.
13520 * posix/globtest.sh: Adjust test result. Add new test.
13521 * posix/tst-fnmatch.input: Likewise.
13522 * posix/tst-fnmatch2.c: Add new test.
13524 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13526 * elf/Makefile (check-execstack): Revert last change. Depend on
13528 (check-execstack.h): New target.
13529 (generated): Add check-execstack.h.
13530 * elf/check-execstack.c: Include "check-execstack.h".
13531 (main): Revert last change.
13532 (handle_file): Return zero if GNU_STACK is absent and
13533 DEFAULT_STACK_PERMS doesn't include PF_X.
13535 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13537 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13538 in child fails because the descriptor is already closed.
13539 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13540 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13541 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13544 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13548 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13549 temporary buffer used to handle multi lookups locally.
13550 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13552 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13554 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13557 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13559 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13560 alignment for SSE2.
13562 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13565 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13566 characters. When rounding increased number of integer digits recompute
13568 * stdio-common/tst-grouping.c: New file.
13569 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13571 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13573 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13574 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13576 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13578 * bits/select.h: Likewise.
13580 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13582 * po/ja.po: Update from translation team.
13584 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13587 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13588 implementation just like for lxstat, fxstatat, et al.
13590 2010-12-27 Jim Meyering <meyering@redhat.com>
13593 * posix/regexec.c (build_trtable): Return failure indication upon
13594 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13596 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13599 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13600 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13601 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13602 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13605 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13608 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13609 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13611 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13613 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13614 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13615 script has SORT_BY_INIT_PRIORITY.
13616 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13617 NO_CTORS_DTORS_SECTIONS is defined.
13618 * elf/soinit.c: Likewise.
13619 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13620 NO_CTORS_DTORS_SECTIONS is defined.
13621 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13622 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13623 * sysdeps/sh/init-first.c: Likewise.
13624 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13626 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13628 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13629 always use the slow path.
13631 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13633 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13634 similar rule which adds the sysdep directories to the header search in
13635 order to pick up the correct platform stackinfo.h.
13636 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13637 perform test if it is, otherwise return successfully without testing.
13638 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13639 DEFAULT_STACK_PERMS define in stackinfo.h.
13640 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13641 defined in stackinfo.h.
13642 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13643 DEFAULT_STACK_PERMS defined in stackinfo.h.
13644 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13645 * sysdeps/ia64/stackinfo.h: Likewise.
13646 * sysdeps/s390/stackinfo.h: Likewise.
13647 * sysdeps/sh/stackinfo.h: Likewise.
13648 * sysdeps/sparc/stackinfo.h: Likewise.
13649 * sysdeps/x86_64/stackinfo.h: Likewise.
13650 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13651 PF_X for powerpc64. Retain PF_X for powerpc32.
13653 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13655 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13657 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13658 GETDENTS_64BIT_ALIGNED.
13660 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13662 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13664 2010-12-10 Andreas Schwab <schwab@redhat.com>
13666 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13669 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13670 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13672 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13673 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13675 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13678 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13681 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13683 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13685 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13687 * po/it.po: Update from translation team.
13689 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13694 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13696 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13698 2010-11-24 Andreas Schwab <schwab@redhat.com>
13700 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13702 (gaih_getanswer_slice): Likewise.
13704 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13708 2010-05-31 Petr Baudis <pasky@suse.cz>
13711 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13712 silently even in the chroot mode.
13714 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13716 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13717 last patch a bit. Pretty printing
13719 2010-05-31 Petr Baudis <pasky@suse.cz>
13722 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13723 initialization of skip_initgroups_dyn.
13725 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13727 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13728 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13730 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13732 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13734 2010-11-11 Andreas Schwab <schwab@redhat.com>
13736 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13737 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13738 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13739 ($(objpfx)tst-fnmatch-mem): New rule.
13740 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13741 * posix/tst-fnmatch.c (main): Call mtrace.
13743 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13746 Support Intel processor model 6 and model 0x2c.
13748 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13750 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13753 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13756 * string/test-strncasecmp.c (check_result): New function.
13757 (do_one_test): Use it.
13758 (check1): New function.
13759 (test_main): Use it.
13760 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13761 Support strcasecmp and strncasecmp.
13763 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13766 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13767 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13769 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13771 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13775 * sysdeps/x86_64/multiarch/bzero.S: New file.
13776 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13777 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13778 * sysdeps/x86_64/multiarch/memset.S: New file.
13779 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13781 Set bit_Prefer_SSE_for_memop for Intel processors.
13782 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13784 (index_Prefer_SSE_for_memop): Define.
13785 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13787 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13789 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13790 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13792 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13795 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13796 (__x86_64_raw_data_cache_size_half): Likewise.
13797 (__x86_64_raw_shared_cache_size): Likewise.
13798 (__x86_64_raw_shared_cache_size_half): Likewise.
13800 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13801 (__x86_64_raw_data_cache_size_half): Likewise.
13802 (__x86_64_raw_shared_cache_size): Likewise.
13803 (__x86_64_raw_shared_cache_size_half): Likewise.
13804 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13805 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13806 and __x86_64_raw_shared_cache_size_half. Round
13807 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13808 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13809 to multiple of 256 bytes.
13811 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13814 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13815 of inacessible symlinks. Verify result of symlink before returning it.
13816 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13817 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13819 2010-10-28 Erich Ritz <erichritz@gmail.com>
13821 * math/math.h (isinf): Fix typo in comment.
13823 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13825 * po/da.po: Update from translation team.
13827 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13829 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13830 is added to the list.
13832 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13833 Ulrich Drepper <drepper@gmail.com>
13835 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13836 the global list here. Move code to...
13837 (_dl_add_to_namespace_list): ...here. New function.
13838 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13839 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13840 * elf/dl-load.c (lose): Don't remove the element from the list.
13841 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13842 (_dl_map_object): Likewise.
13844 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13847 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13848 into all bytes of SSE register.
13849 Patch by Richard Li <richardpku@gmail.com>.
13851 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13854 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13857 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13859 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13860 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13861 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13862 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13867 2010-10-22 Andreas Schwab <schwab@redhat.com>
13869 * include/dlfcn.h (__RTLD_SECURE): Define.
13870 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13871 mode & __RTLD_SECURE instead.
13872 (open_path): Rename preloaded parameter to secure.
13873 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13874 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13875 * elf/dl-deps.c (openaux): Likewise.
13876 * elf/rtld.c (struct map_args): Remove is_preloaded.
13877 (map_doit): Don't use it.
13878 (dl_main): Likewise.
13879 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13880 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13882 2010-09-09 Andreas Schwab <schwab@redhat.com>
13884 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13885 (sysd-rules-targets): Remove duplicates.
13886 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13887 rtld-%.$o dependency.
13889 2010-10-18 Andreas Schwab <schwab@redhat.com>
13891 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13892 _dl_map_object do it.
13894 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13896 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13897 fast fma builtins, define the macros in the C99 standard.
13898 (FP_FAST_FMAF): Likewise.
13899 (FP_FAST_FMAL): Likewise.
13900 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13902 * bits/mathdef.h: Update copyright year.
13903 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13905 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13907 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13908 builtins, define the macros in the C99 standard.
13909 (FP_FAST_FMAF): Likewise.
13910 (FP_FAST_FMAL): Likewise.
13911 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13913 (FP_FAST_FMAF): Likewise.
13915 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13918 * math/libm-test.inc (fma_test): Some new testcases.
13919 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13920 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13921 y and infinite z. Do multiplication by C already in long double.
13922 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13924 y and infinite z. Do bitwise or of inexact bit into u.d.
13925 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13926 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13927 * sysdeps/i386/fpu/s_fma.S: Removed.
13928 * sysdeps/i386/fpu/s_fmal.S: Removed.
13930 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13933 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13935 computation is not scheduled after fetestexcept. Fix value
13936 of minimum denormal long double.
13938 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13941 * math/libm-test.inc (fma_test): Add some more tests.
13942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13945 2010-10-15 Andreas Schwab <schwab@redhat.com>
13947 * scripts/data/localplt-s390-linux-gnu.data: New file.
13948 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13950 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13953 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13954 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13956 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13958 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13960 if one of x and y is very large and the other is subnormal.
13961 * sysdeps/s390/fpu/s_fmaf.c: New file.
13962 * sysdeps/s390/fpu/s_fma.c: New file.
13963 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13964 * sysdeps/powerpc/fpu/s_fma.S: New file.
13965 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13966 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13967 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13969 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13972 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13974 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13975 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13976 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13977 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13978 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13979 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13980 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13982 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13985 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13986 * posix/bug-regex31.input: Add test case.
13988 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13990 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13991 * posix/bug-regex31.input: New file.
13994 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13995 (parse_sub_exp): Fix last change, use postorder.
13997 * posix/bug-regex31.c: New file.
13998 * posix/Makefile: Add rules to build and run bug-regex31.
14000 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14003 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14006 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14007 to have entries in sys_siglist.
14010 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14013 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14016 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14017 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14018 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14019 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14020 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14021 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14022 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14023 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14024 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14025 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14026 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14027 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14028 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14029 * math/ftestexcept.c (fetestexcept): Likewise.
14030 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14031 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14032 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14033 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14034 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14035 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14036 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14038 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14041 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14044 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14046 * string/bug-strstr1.c: New file.
14047 * string/Makefile: Add rules to build and run bug-strstr1.
14049 2010-10-05 Eric Blake <eblake@redhat.com>
14052 * string/str-two-way.h (two_way_long_needle): Always clear memory
14053 when skipping input due to the shift table.
14055 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14058 * malloc/mcheck.c: Handle large requests.
14061 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14062 for strncmp and strncasecmp.
14063 * string/stratcliff.c: Add tests for strcmp and strncmp.
14064 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14066 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14068 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14071 2010-09-30 Andreas Jaeger <aj@suse.de>
14073 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14074 (CGROUP_SUPER_MAGIC): Define.
14075 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14076 Handle btrfs and cgroup file systems.
14077 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14080 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14082 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14083 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14085 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14088 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14089 trying to locate the ELF header.
14091 2010-09-27 Andreas Schwab <schwab@redhat.com>
14094 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14095 Mask out sign-bit copies when constructing f_fsid.
14097 2010-09-24 Petr Baudis <pasky@suse.cz>
14099 * debug/stack_chk_fail_local.c: Add missing licence exception.
14100 * debug/warning-nop.c: Likewise.
14102 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14104 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14105 implementing getdents64 using getdents syscall, set d_type if
14106 __ASSUME_GETDENTS32_D_TYPE.
14108 2010-09-16 Andreas Schwab <schwab@redhat.com>
14110 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14111 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14113 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14116 * posix/unistd.h: Undo change of feature selection for ftruncate from
14119 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14121 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14124 2010-09-20 Andreas Schwab <schwab@redhat.com>
14126 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14128 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14130 2010-09-14 Andreas Schwab <schwab@redhat.com>
14132 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14133 variables after CHECK_SP call.
14134 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14136 2010-09-13 Andreas Schwab <schwab@redhat.com>
14137 Ulrich Drepper <drepper@redhat.com>
14139 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14140 re-relocationg ld.so.
14141 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14142 _dl_init_paths call.
14143 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14146 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14148 * resolv/res_init.c (__res_vinit): Count the default server we added.
14150 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14151 Ulrich Drepper <drepper@redhat.com>
14154 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14155 (____longjmp_chk): Use %ebx for saving value across system call.
14158 2010-09-06 Andreas Schwab <schwab@redhat.com>
14160 * manual/Makefile: Don't mix pattern rules with normal rules.
14162 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14164 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14166 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14167 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14168 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14169 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14173 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14176 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14177 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14179 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14181 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14182 * sysdeps/x86_64/addmul_1.S: Likewise.
14183 * sysdeps/x86_64/lshift.S: Likewise.
14184 * sysdeps/x86_64/mul_1.S: Likewise.
14185 * sysdeps/x86_64/rshift.S: Likewise.
14186 * sysdeps/x86_64/sub_n.S: Likewise.
14187 * sysdeps/x86_64/submul_1.S: Likewise.
14189 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14191 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14192 Define __sched_param instead of SCHED_* and sched_param when
14193 <bits/sched.h> is included with __need_schedparam defined.
14194 * bits/sched.h [__need_schedparam]
14195 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14196 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14197 (__defined_schedparam): Define to 1.
14198 (__sched_param): New structure, identical to sched_param.
14199 (__need_schedparam): Undefine.
14201 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14203 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14204 (epoll_create1): Declare.
14206 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14208 2010-08-31 Andreas Schwab <schwab@redhat.com>
14211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14212 shifting retval into place.
14214 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14216 * nis/rpcsvc/nis.h: Update copyright notice.
14217 * nis/rpcsvc/nis.x: Likewise.
14218 * nis/rpcsvc/nis_callback.h: Likewise.
14219 * nis/rpcsvc/nis_callback.x: Likewise.
14220 * nis/rpcsvc/nis_object.x: Likewise.
14221 * nis/rpcsvc/nis_tags.h: Likewise.
14222 * nis/rpcsvc/yp.h: Likewise.
14223 * nis/rpcsvc/yp.x: Likewise.
14224 * nis/rpcsvc/ypupd.h: Likewise.
14225 * nis/yp_xdr.c: Likewise.
14226 * nis/ypupdate_xdr.c: Likewise.
14228 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14229 mainly the body of pmap_getport. Add parameters to specify timeouts.
14230 (pmap_getport): Use __libc_rpc_getport.
14231 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14232 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14233 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14235 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14240 2010-08-27 Roland McGrath <roland@redhat.com>
14242 * sysdeps/i386/i686/multiarch/Makefile
14243 (CFLAGS-varshift.c): New variable.
14245 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14247 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14248 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14252 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14254 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14256 * sysdeps/x86_64/strlen.S: Unroll the loop.
14257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14258 strlen-sse2 strlen-sse2-bsf.
14259 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14260 __strlen_no_bsf if bit_Slow_BSF is set.
14261 (__strlen_sse42): Removed.
14262 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14263 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14265 2010-08-25 Roland McGrath <roland@redhat.com>
14267 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14268 * sysdeps/x86_64/multiarch/varshift.c: New file.
14269 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14270 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14271 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14272 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14274 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14277 strlen-sse2 strlen-sse2-bsf.
14278 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14279 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14280 (__strlen_sse2): Removed.
14281 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14282 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14284 bit_Slow_BSF for Atom.
14285 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14286 (index_Slow_BSF): Define.
14287 (HAS_SLOW_BSF): Define.
14289 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14292 * resolv/res_init.c (__res_vinit): When no server address at all
14293 is given default to loopback.
14295 2010-08-24 Roland McGrath <roland@redhat.com>
14297 * configure.in: Remove config-name.h generation.
14298 * configure: Regenerated.
14299 * config-name.in: File removed.
14300 * scripts/config-uname.sh: New file.
14301 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14302 ($(objdir)config-name.h): New target.
14304 * sunrpc/rpc_parse.h: Avoid nested comment.
14306 2010-08-24 Richard Henderson <rth@redhat.com>
14307 Ulrich Drepper <drepper@redhat.com>
14308 H.J. Lu <hongjiu.lu@intel.com>
14310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14312 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14313 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14314 _mm_alignr_epi8 with _mm_loadu_si128.
14315 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14316 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14317 (__m128i_shift_right): Removed.
14318 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14319 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14320 * sysdeps/x86_64/multiarch/varshift.h: New file.
14321 * sysdeps/x86_64/multiarch/varshift.S: New file.
14323 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14325 * configure.in: Move assembler checks to before sysdep dir checking.
14327 2010-08-20 Petr Baudis <pasky@suse.cz>
14329 * LICENSES: Sync the sunrpc license.
14331 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14333 * sunrpc/auth_des.c: Update copyright notice once again.
14334 * sunrpc/auth_none.c: Likewise.
14335 * sunrpc/auth_unix.c: Likewise.
14336 * sunrpc/authdes_prot.c: Likewise.
14337 * sunrpc/authuxprot.c: Likewise.
14338 * sunrpc/bindrsvprt.c: Likewise.
14339 * sunrpc/clnt_gen.c: Likewise.
14340 * sunrpc/clnt_perr.c: Likewise.
14341 * sunrpc/clnt_raw.c: Likewise.
14342 * sunrpc/clnt_simp.c: Likewise.
14343 * sunrpc/clnt_tcp.c: Likewise.
14344 * sunrpc/clnt_udp.c: Likewise.
14345 * sunrpc/clnt_unix.c: Likewise.
14346 * sunrpc/des_crypt.c: Likewise.
14347 * sunrpc/des_soft.c: Likewise.
14348 * sunrpc/get_myaddr.c: Likewise.
14349 * sunrpc/getrpcport.c: Likewise.
14350 * sunrpc/key_call.c: Likewise.
14351 * sunrpc/key_prot.c: Likewise.
14352 * sunrpc/openchild.c: Likewise.
14353 * sunrpc/pm_getmaps.c: Likewise.
14354 * sunrpc/pm_getport.c: Likewise.
14355 * sunrpc/pmap_clnt.c: Likewise.
14356 * sunrpc/pmap_prot.c: Likewise.
14357 * sunrpc/pmap_prot2.c: Likewise.
14358 * sunrpc/pmap_rmt.c: Likewise.
14359 * sunrpc/rpc/auth.h: Likewise.
14360 * sunrpc/rpc/auth_unix.h: Likewise.
14361 * sunrpc/rpc/clnt.h: Likewise.
14362 * sunrpc/rpc/des_crypt.h: Likewise.
14363 * sunrpc/rpc/key_prot.h: Likewise.
14364 * sunrpc/rpc/netdb.h: Likewise.
14365 * sunrpc/rpc/pmap_clnt.h: Likewise.
14366 * sunrpc/rpc/pmap_prot.h: Likewise.
14367 * sunrpc/rpc/pmap_rmt.h: Likewise.
14368 * sunrpc/rpc/rpc.h: Likewise.
14369 * sunrpc/rpc/rpc_des.h: Likewise.
14370 * sunrpc/rpc/rpc_msg.h: Likewise.
14371 * sunrpc/rpc/svc.h: Likewise.
14372 * sunrpc/rpc/svc_auth.h: Likewise.
14373 * sunrpc/rpc/types.h: Likewise.
14374 * sunrpc/rpc/xdr.h: Likewise.
14375 * sunrpc/rpc_clntout.c: Likewise.
14376 * sunrpc/rpc_cmsg.c: Likewise.
14377 * sunrpc/rpc_common.c: Likewise.
14378 * sunrpc/rpc_cout.c: Likewise.
14379 * sunrpc/rpc_dtable.c: Likewise.
14380 * sunrpc/rpc_hout.c: Likewise.
14381 * sunrpc/rpc_main.c: Likewise.
14382 * sunrpc/rpc_parse.c: Likewise.
14383 * sunrpc/rpc_parse.h: Likewise.
14384 * sunrpc/rpc_prot.c: Likewise.
14385 * sunrpc/rpc_sample.c: Likewise.
14386 * sunrpc/rpc_scan.c: Likewise.
14387 * sunrpc/rpc_scan.h: Likewise.
14388 * sunrpc/rpc_svcout.c: Likewise.
14389 * sunrpc/rpc_tblout.c: Likewise.
14390 * sunrpc/rpc_util.c: Likewise.
14391 * sunrpc/rpc_util.h: Likewise.
14392 * sunrpc/rpcinfo.c: Likewise.
14393 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14394 * sunrpc/rpcsvc/key_prot.x: Likewise.
14395 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14396 * sunrpc/rpcsvc/mount.x: Likewise.
14397 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14398 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14399 * sunrpc/rpcsvc/rex.x: Likewise.
14400 * sunrpc/rpcsvc/rstat.x: Likewise.
14401 * sunrpc/rpcsvc/rusers.x: Likewise.
14402 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14403 * sunrpc/rpcsvc/spray.x: Likewise.
14404 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14405 * sunrpc/rtime.c: Likewise.
14406 * sunrpc/svc.c: Likewise.
14407 * sunrpc/svc_auth.c: Likewise.
14408 * sunrpc/svc_authux.c: Likewise.
14409 * sunrpc/svc_raw.c: Likewise.
14410 * sunrpc/svc_run.c: Likewise.
14411 * sunrpc/svc_simple.c: Likewise.
14412 * sunrpc/svc_tcp.c: Likewise.
14413 * sunrpc/svc_udp.c: Likewise.
14414 * sunrpc/svc_unix.c: Likewise.
14415 * sunrpc/svcauth_des.c: Likewise.
14416 * sunrpc/xcrypt.c: Likewise.
14417 * sunrpc/xdr.c: Likewise.
14418 * sunrpc/xdr_array.c: Likewise.
14419 * sunrpc/xdr_float.c: Likewise.
14420 * sunrpc/xdr_mem.c: Likewise.
14421 * sunrpc/xdr_rec.c: Likewise.
14422 * sunrpc/xdr_ref.c: Likewise.
14423 * sunrpc/xdr_sizeof.c: Likewise.
14424 * sunrpc/xdr_stdio.c: Likewise.
14426 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14429 2010-08-19 Andreas Schwab <schwab@redhat.com>
14431 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14433 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14435 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14436 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14437 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14438 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14439 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14440 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14441 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14442 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14443 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14444 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14445 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14446 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14447 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14448 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14450 2010-07-26 Anton Blanchard <anton@samba.org>
14452 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14453 * malloc/arena.c (heap_trim): Likewise.
14455 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14457 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14460 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14462 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14464 * sysdeps/i386/elf/Makefile: New file.
14466 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14468 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14469 from fanotify_init.
14470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14471 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14473 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14475 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14477 * sysdeps/multiarch/strcmp.S: Likewise.
14479 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14481 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14482 strncase_l-nonascii.
14483 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14484 Add strncase_l-ssse3.
14485 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14486 * sysdeps/x86_64/strcmp.S: Likewise.
14487 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14488 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14489 * sysdeps/x86_64/strncase.S: New file.
14490 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14491 * sysdeps/x86_64/strncase_l.S: New file.
14492 * string/Makefile (strop-tests): Add strncasecmp.
14493 * string/test-strncasecmp.c: New file.
14495 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14498 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14499 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14501 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14503 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14505 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14507 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14508 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14509 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14511 2010-05-01 Alan Modra <amodra@gmail.com>
14513 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14514 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14515 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14516 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14517 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14518 tidying. Don't tail-call __sigjmp_save for static lib.
14519 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14521 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14522 (CALL_MCOUNT): Add eh info, and nop after bl.
14523 (TAIL_CALL_SYSCALL_ERROR): New macro.
14524 (PSEUDO_RET): Use it.
14525 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14526 Correct save location of integer regs and cr.
14527 (_dl_profile_resolve): Correct cr save location. Delete nops
14528 after bl when SHARED. Reduce cfi size a little by better
14529 placement of cfi directives.
14530 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14531 make a stack frame. Instead use parm save area as a temp.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14533 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14535 Don't make a stack frame for parent, use parm save area.
14536 Increase child stack frame to 112 bytes. Don't save unused reg,
14537 and adjust reg usage. Set up cfi on error recovery and
14538 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14540 (__makecontext): Add dummy nop after jump to exit.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14542 Use correct parm save area and cr save, reduce stack frame.
14543 Correct cfi for possible PSEUDO_RET frame setup.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14545 Branch to local label emitted by PSEUDO_RET rather than
14548 2010-08-12 Andreas Schwab <schwab@redhat.com>
14551 * locale/programs/locale.c (print_assignment): New function.
14552 (show_locale_vars): Use it.
14554 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14556 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14558 (struct statfs64): Likewise.
14559 (_STATFS_F_FLAGS): Define.
14560 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14562 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14563 (ST_VALID): Define locally.
14564 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14565 __statvfs_getflags, use the provided value.
14566 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14567 __ASSUME_STATFS_F_FLAGS.
14569 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14571 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14572 Add sys/fanotify.h.
14573 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14574 fanotify_mask for GLIBC_2.13.
14575 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14576 fanotify_init and fanotify_mark.
14577 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14578 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14580 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14582 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14583 prlimit64 for GLIBC_2.13.
14584 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14589 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14590 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14591 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14592 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14594 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14597 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14598 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14600 * nss/Makefile: Add rules to build and run tst-nss-test1.
14601 * shlib-versions: Add entry for libnss_test1.
14602 * nss/nss_test1.c: New file.
14603 * nss/tst-nss-test1.c: New file.
14605 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14606 (__nss_configure_lookup): Set appropriate entry in
14607 __nss_configure_lookup to true.
14608 * nss/nsswitch.h: Define enum with indeces of databases in
14609 databases and __nss_database_custom arrays. Declare
14610 __nss_database_custom.
14611 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14612 to avoid using nscd when custom rules are installed.
14613 * nss/getXXbyYY_r.c: Likewise.
14614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14616 * nss/nss_files/files-parse.c: Whitespace fixes.
14618 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14621 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14622 * posix/fnmatch_loop.c: Likewise.
14624 2010-07-17 Andi Kleen <ak@linux.intel.com>
14626 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14627 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14628 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14629 * Versions.def [GLIBC_2.13]: Add.
14631 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14633 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14634 Also fail if tpwd after pwuid call is NULL.
14636 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14638 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14639 when converting to ms.
14641 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14643 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14644 EOPNOTSUPP errors with ENOTTY.
14645 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14646 EOPNOTSUPP errors with ENOTTY.
14648 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14650 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14651 Add strcasecmp_l-ssse3.
14652 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14654 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14655 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14656 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14658 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14660 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14662 * string/Makefile (strop-tests): Add strcasecmp.
14663 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14664 strcasecmp_l-nonascii.
14665 (gen-as-const-headers): Add locale-defines.sym.
14666 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14667 * sysdeps/x86_64/strcasecmp.S: New file.
14668 * sysdeps/x86_64/strcasecmp_l.S: New file.
14669 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14670 * sysdeps/x86_64/locale-defines.sym: New file.
14671 * string/test-strcasecmp.c: New file.
14673 * string/test-strcasestr.c: Test both ends of the range of characters.
14674 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14676 2010-07-29 Roland McGrath <roland@redhat.com>
14679 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14681 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14683 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14686 2010-07-27 Andreas Schwab <schwab@redhat.com>
14688 * manual/memory.texi (Malloc Tunable Parameters): Document
14691 2010-07-26 Roland McGrath <roland@redhat.com>
14694 * configure.in (-fgnu89-inline check): Set and substitute
14695 gnu89_inline, not libc_cv_gnu89_inline.
14696 * configure: Regenerated.
14697 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14699 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14701 * string/test-strnlen.c: New file.
14702 * string/Makefile (strop-tests): Add strnlen.
14703 * string/tester.c (test_strnlen): Add a few more test cases.
14704 * string/tst-strlen.c: Better error reporting.
14706 * sysdeps/x86_64/strnlen.S: New file.
14708 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14710 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14711 lower-latency instructions.
14713 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14715 * string/test-strcasestr.c: New file.
14716 * string/test-strstr.c: New file.
14717 * string/Makefile (strop-tests): Add strstr and strcasestr.
14718 * string/str-two-way.h: Don't undefine MAX.
14719 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14721 2010-07-21 Andreas Schwab <schwab@redhat.com>
14723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14724 strcasestr-nonascii.
14725 (CFLAGS-strcasestr-nonascii.c): Define.
14726 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14727 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14728 Remove unused attribute.
14730 2010-07-20 Roland McGrath <roland@redhat.com>
14732 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14733 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14734 ld.so.cache was broken. With it, there is no way to disable dsocaps
14735 like LD_HWCAP_MASK can disable hwcaps.
14737 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14739 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14741 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14743 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14744 call in strcasestr.
14745 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14746 __strcasestr_sse42_nonascii.
14747 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14748 strcasestr-nonascii.c.
14749 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14751 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14753 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14754 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14755 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14756 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14758 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14760 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14763 2010-07-06 Andreas Schwab <schwab@redhat.com>
14766 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14769 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14772 _PC_PIPE_BUF using F_GETPIPE_SZ.
14774 2010-07-05 Roland McGrath <roland@redhat.com>
14776 * manual/arith.texi (Rounding Functions): Fix rint description
14777 implicit in round description.
14779 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14781 * elf/Makefile: Fix linking for a few tests to make recent linker
14784 2010-06-30 Andreas Schwab <schwab@redhat.com>
14786 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14787 $(common-objpfx)libc_nonshared.a.
14789 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14791 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14792 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14793 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14794 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14795 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14796 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14797 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14798 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14813 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14814 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14815 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14816 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14817 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14818 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14819 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14820 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14821 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14822 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14823 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14824 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14840 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14842 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14843 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14844 * string/memmove.c (memmove): Renamed to ...
14845 (MEMMOVE): ...this. Default to memmove.
14846 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14847 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14850 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14851 mempcpy-ssse3-back memmove-ssse3-back.
14852 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14854 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14855 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14856 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14857 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14858 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14859 * sysdeps/x86_64/multiarch/memmove.c: New file.
14860 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14861 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14862 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14863 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14864 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14865 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14867 (index_Fast_Copy_Backward): Define.
14868 (HAS_ARCH_FEATURE): Define.
14869 (HAS_FAST_REP_STRING): Define.
14870 (HAS_FAST_COPY_BACKWARD): Define.
14872 2010-06-21 Andreas Schwab <schwab@redhat.com>
14874 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14875 Restore proper fallback handling.
14877 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14880 * posix/group_member.c (__group_member): Correct checking loop.
14882 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14883 OOM in getpwuid_r correctly. Return error number when the caller
14884 should return, otherwise -1.
14885 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14886 call returning > 0 value.
14887 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14889 2010-06-07 Andreas Schwab <schwab@redhat.com>
14891 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14892 libc_nonshared.a from targets in modules-names.
14894 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14896 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14899 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14901 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14902 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14903 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14904 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14906 2010-06-02 Andreas Schwab <schwab@redhat.com>
14908 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14910 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14912 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14921 2010-06-14 Roland McGrath <roland@redhat.com>
14923 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14925 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14927 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14928 __REDIRECT followed by __THROW.
14929 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14930 * posix/getopt.h (getopt): Likewise.
14932 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14934 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14935 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14936 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14938 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14939 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14941 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14943 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14945 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14949 Properly check family and model.
14951 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14953 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14955 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14957 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14959 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14961 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14964 2010-05-19 Andreas Schwab <schwab@redhat.com>
14966 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14969 2010-05-21 Andreas Schwab <schwab@redhat.com>
14971 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14972 and internal_recvmmsg.
14973 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14974 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14975 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14976 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14978 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14979 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14980 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14982 2010-05-20 Andreas Schwab <schwab@redhat.com>
14984 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14986 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14988 POWER7 optimizations.
14989 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14990 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14992 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14994 * version.h: Update for 2.13 development version.
14996 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14998 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14999 exceptions. Return 0.
15001 2010-05-07 Roland McGrath <roland@redhat.com>
15003 * elf/ldconfig.c (main): Add a const.
15005 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15007 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15008 (args_options): Add no-idn option.
15009 (ahosts_keys_int): Add idn_flags to ai_flags.
15010 (parse_option): Handle 'i' option to clear idn_flags.
15012 * malloc/malloc.c (_int_free): Possible race in the most recently
15013 added check. Only act on the data if no current modification
15016 See ChangeLog.17 for earlier changes.