1 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3 mktime: merge time_r change from gnulib
4 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6 mktime: merge DEBUG change from gnulib
7 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8 case system <time.h> has a #define.
10 mktime: merge <sys/types.h> change from gnulib
11 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12 since <time.t> is now guaranteed to define time_t.
14 mktime: merge HAVE_CONFIG_H change from gnulib
15 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24 (struct rusage): Use anonymous union to pad each field to
27 2012-05-21 David S. Miller <davem@davemloft.net>
29 * Makefules (o-iterator): Remove .s cases.
30 (compile-command.s): Delete.
32 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36 * configure.in (libc_cv_predef_stack_protector): Only consider
37 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38 * configure: Regenerated.
40 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43 New macro. Use R*LP on int and pointer.
44 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50 [__WORDSIZE_TIME64_COMPAT32] instead of
51 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
52 (struct utmp): Likewise.
53 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
54 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56 (__WORDSIZE_TIME64_COMPAT32): This.
57 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
59 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62 (__WORDSIZE_TIME64_COMPAT32): New macro.
64 2012-05-21 Andreas Jaeger <aj@suse.de>
66 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
67 only if [SHARED]. Add prototype for __wcschr_ia32.
69 2012-05-21 Roland McGrath <roland@hack.frob.com>
71 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72 of %rbp unmolested in the jmp_buf while mangling the low bits.
73 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74 unmolested high bits of %rbp while demangling the low bits.
75 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77 2012-05-21 Andreas Jaeger <aj@suse.de>
79 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
80 * sunrpc/svc_simple.c: Use it for registerrpc.
81 * sunrpc/xcrypt.c: Use it for passwd2des.
83 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
85 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
87 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
88 Don't define if [__SYSCALL_WORDSIZE != 32].
89 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
92 2012-05-21 Bruno Haible <bruno@clisp.org>
93 Andreas Jaeger <aj@suse.de>
95 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
96 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
97 inptr and inend for must_buffer_ch.
98 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
99 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
100 * stdio-common/Makefile (tests): Remove bug15.
101 (bug15-ENV): Remove macro.
102 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
105 2012-05-19 Andreas Jaeger <aj@suse.de>
106 Roland McGrath <roland@hack.frob.com>
108 * manual/contrib.texi: Completely rewritten. It contains now an
109 alphabetical list of contributors and their contributions.
111 2012-05-21 Richard Henderson <rth@twiddle.net>
113 * misc/getauxval.c (__getauxval): Use unsigned long int.
114 * misc/sys/auxv.h: Include <sys/cdefs.h>.
115 (getauxval): Use unsigned long int.
117 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
119 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
121 2012-05-21 Roland McGrath <roland@hack.frob.com>
123 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
124 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
125 __alignof__ (long double).
127 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
131 2012-05-20 Richard Henderson <rth@twiddle.net>
133 * misc/getauxval.c: New file.
134 * misc/sys/auxv.h: New file.
135 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
136 (routines): Add getauxval.
137 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
138 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
139 * elf/dl-sysdep.c (_dl_auxv): Remove.
140 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
141 * elf/dl-support.c (_dl_auxv): New variable.
142 (_dl_aux_init): Initialize it.
143 * manual/startup.texi (Auxiliary Vector): New node.
144 * sysdeps/generic/bits/hwcap.h: New file.
145 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
146 * sysdeps/powerpc/sysdep.h: ... here. Include it.
147 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
148 * sysdeps/sparc/sysdep.h: ... here. Include it.
149 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
150 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
156 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
162 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
166 2012-05-19 David S. Miller <davem@davemloft.net>
168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
170 2012-05-19 Joseph Myers <joseph@codesourcery.com>
173 * math/s_ccosh.c: Include <float.h>
174 (__ccosh): Avoid internal overflow calculating sinh and cosh
175 values before multiplying by sin and cos values.
176 * math/s_ccoshf.c: Likewise.
177 * math/s_ccoshl.c: Likewise.
178 * math/s_csin.c: Likewise.
179 * math/s_csinf.c: Likewise.
180 * math/s_csinl.c: Likewise.
181 * math/s_csinh.c: Likewise.
182 * math/s_csinhf.c: Likewise.
183 * math/s_csinhl.c: Likewise.
184 * math/libm-test.inc (ccos_test): Add more tests.
185 (ccosh_test): Likewise.
186 (csin_test): Likewise.
187 (csinh_test): Likewise.
188 * sysdeps/i386/fpu/libm-test-ulps: Update.
189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
191 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
193 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
194 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
196 * sysdeps/x86_64/x32/_itoa.h: Add comment.
198 2012-05-19 Joseph Myers <joseph@codesourcery.com>
200 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
201 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
202 * sysdeps/powerpc/soft-fp/Versions: Likewise.
203 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
204 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
205 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
206 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
207 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
208 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
209 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
210 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
211 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
212 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
213 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
214 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
215 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
216 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
217 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
218 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
219 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
220 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
221 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
222 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
223 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
224 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
225 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
226 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
227 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
228 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
229 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
230 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
232 2012-05-18 Andreas Jaeger <aj@suse.de>
234 * csu/.gitignore: Delete.
236 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
238 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
239 (timex): Use __syscall_slong_t.
241 2012-05-18 Andreas Jaeger <aj@suse.de>
242 Carlos O'Donell <carlos_odonell@mentor.com>
244 * manual/install.texi (Configuring and compiling): Update
245 description about files modified in the source directory.
246 * INSTALL: Regenerated.
248 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
250 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
251 value. Use "or" to set return value to -1.
252 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
255 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
257 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
258 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
259 failure if the compiler has Graphite support disabled.
260 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
262 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
263 CFLAGS-memmove.c): Likewise.
264 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
267 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
269 * sysdeps/x86_64/x32/_itoa.h: New file.
271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
272 getdents system call only if kernel and user dirents have the
273 same d_ino and d_off.
275 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
276 LLONG_MAX != LONG_MAX.
277 (_itoa_word): Use _ITOA_WORD_TYPE on value.
278 (_fitoa_word): Likewise.
280 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
282 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
283 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
284 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
286 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
287 include <bits/wordsize.h>. Check __x86_64__ instead of
289 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
290 if __x86_64__ is defined. Use anonymous union on fpstate.
292 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
295 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
297 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
298 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
299 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
300 Refer to _rtld_local_ro instead of _rtld_global_ro.
301 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
303 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
305 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
307 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
308 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
309 of _rtld_global, and rtld_progname instead of _dl_argv[0].
311 * sysdeps/powerpc/powerpc32/dl-machine.c
312 (__elf_machine_runtime_setup) [PROF]: Don't reference
315 2012-05-18 Andreas Jaeger <aj@suse.de>
317 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
318 function only available for GCCs before 3.4 since GCC 3.4
319 introduced a builtin.
329 (nearbyint): Likewise.
330 (nearbyintf): Likewise.
336 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
338 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
339 on both fields and cast pointer to __syscall_ulong_t.
341 * bits/types.h (__fsword_t): New type.
342 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
343 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
345 (__FSWORD_T_TYPE): Likewise.
346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
347 (__FSWORD_T_TYPE): Likewise.
348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
349 (__FSWORD_T_TYPE): Likewise.
350 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
351 (__FSWORD_T_TYPE): Likewise.
352 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
353 __SWORD_TYPE with __fsword_t.
354 (statfs64): Likewise.
356 2012-05-17 David S. Miller <davem@davemloft.net>
358 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
360 2012-05-17 Andreas Jaeger <aj@suse.de>
362 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
365 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
367 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
369 2012-05-17 Andreas Jaeger <aj@suse.de>
371 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
374 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
376 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
378 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
380 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
381 * sysdeps/x86_64/tst-mallocalign1.c: New file.
383 2012-05-17 Andreas Jaeger <aj@suse.de>
384 Carlos O'Donell <carlos_odonell@mentor.com>
387 * sysdeps/x86_64/multiarch/init-arch.h
388 (bit_YMM_Usable): Rename to...
389 (bit_AVX_Usable): ... this.
390 (bit_FMA4_Usable): New macro.
391 (bit_XMM_state): New macro.
392 (bit_YMM_state): New macro.
393 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
394 [__ASSEMBLER__] (index_AVX_Usable): ... this.
395 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
396 (CPUID_OSXSAVE): New macro.
397 (CPUID_AVX): New macro.
398 (CPUID_FMA4): New macro.
399 (index_YMM_Usable): Rename to...
400 (index_AVX_Usable): ... this.
401 (HAS_AVX): Use HAS_ARCH_FEATURE.
402 (HAS_FMA4): Likewise.
403 (HAS_YMM_USABLE): Remove.
404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
405 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
407 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
408 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
409 * sysdeps/x86_64/multiarch/Makefile: Likewise.
410 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
411 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
413 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
415 * math/libm-test.c: Support platforms without multiple rounding modes.
416 * math/bug-nextafter.c: Support platforms without FP exceptions.
417 * math/bug-nexttoward.c: Likewise.
418 * math/test-fenv.c: Likewise.
419 * math/test-misc.c: Likewise.
420 * stdlib/bug-getcontext.c: Likewise.
422 2012-05-17 Andreas Jaeger <aj@suse.de>
424 * manual/examples/search.c (critter_cmp): Change signature to
426 * manual/string.texi (Collation Functions): Likewise.
428 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
430 * bits/types.h: Fold copyright years.
431 * bits/typesizes.h: Likewise.
432 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
436 * time/time.h: Likewise.
438 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
441 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
442 in instead of returning them. Return void.
443 (__libc_mallinfo): Accumulate over all arenas.
444 (__malloc_stats): Adjust for change in int_mallinfo interface.
446 2012-05-16 Roland McGrath <roland@hack.frob.com>
449 * configure.in (NM): Add AC_CHECK_TOOL for it.
450 (libc_extra_cflags): New substituted variable.
451 Check for -fstack-protector being used implicitly.
452 * configure: Regenerated.
453 * config.make.in (config-extra-cflags): New variable,
454 gets @libc_extra_cflags@.
455 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
458 * configure.in: Check for _FORTIFY_SOURCE being predefined.
459 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
460 * configure: Regenerated.
461 * config.make.in (CPPUNDEFS): New substituted variable.
462 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
463 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
464 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
466 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
468 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
469 (mq_attr): Use __syscall_slong_t.
471 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
473 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
474 Check __x86_64__ instead of __WORDSIZE.
475 (_STAT_VER_LINUX): Likewise.
476 (stat): Check __x86_64__ instead of __WORDSIZE. Use
477 __syscall_ulong_t and __syscall_slong_t.
480 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
484 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
486 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
488 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
490 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
493 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
494 include <bits/wordsize.h>. Check __x86_64__ instead of
496 (greg_t): Use "__extension__ long long int" if __x86_64__ is
498 (mcontext_t): Replace "unsigned long" with "unsigned long long".
500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
501 include <bits/wordsize.h>. Check __x86_64__ instead of
503 (user_regs_struct): Use "__extension__ unsigned long long"
504 instead of "unsigned long" if __x86_64__ is defined.
505 (user): Likewise. Pad after pointer field if __ILP32__ is
508 2012-05-16 Joseph Myers <joseph@codesourcery.com>
510 * configure.in (makeinfo): Require version 4.5 or later. Allow
512 * configure: Regenerated.
513 * manual/install.texi (texinfo): Increase version requirement to
515 * INSTALL: Regenerated.
517 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
519 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
521 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
523 * sysdeps/x86_64/x32/ffs.c: New file.
525 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
527 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
528 defined. Use __syscall_ulong_t.
529 (shminfo): Use __syscall_ulong_t.
530 (shm_info): Likewise.
532 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
535 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
537 (msgqnum_t): Use __syscall_ulong_t.
538 (msglen_t): Likewise.
539 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
542 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
543 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
545 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
547 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
548 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
550 * sysvipc/sys/msg.h (msgbuf): Replace long int with
553 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
554 include <bits/wordsize.h>. Check __x86_64__ instead of
557 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
558 "unsigned long long int" if __x86_64__ is defined.
559 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
561 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
562 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
563 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
565 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
567 (GET_PC): Cast to uintptr_t first.
568 (GET_FRAME): Likewise.
569 (GET_STACK): Likewise.
571 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
572 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
575 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
577 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
578 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
579 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
580 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
581 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
582 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
583 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
584 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
585 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
586 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
587 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
588 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
589 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
590 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
593 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
594 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
596 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
598 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
599 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
601 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
603 * Makerules (+depfiles): Also collect depfiles from .oS in
605 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
606 .oS, $(libnldbl-routines)).
608 * Makerules (native-compile-mkdep-flags): Define.
609 * sunrpc/Makefile (extra-objs): Add $(addprefix
610 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
611 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
612 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
613 calling $(make-target-directory).
615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
617 * bits/types.h (__snseconds_t): Removed.
618 * time/time.h (struct timespec): Replace __snseconds_t with
620 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
621 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
624 (__SNSECONDS_T_TYPE): Likewise.
625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
626 (__SNSECONDS_T_TYPE): Likewise.
627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
628 (__SNSECONDS_T_TYPE): Likewise.
630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
632 * sysdeps/mach/hurd/bits/typesizes.h
633 (__SYSCALL_SLONG_TYPE): New macro.
634 (__SYSCALL_ULONG_TYPE): Likewise.
636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
638 * bits/types.h (__syscall_slong_t): New type.
639 (__syscall_ulong_t): Likewise.
641 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
642 (__SYSCALL_ULONG_TYPE): Likewise.
643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
644 (__SYSCALL_SLONG_TYPE): Likewise.
645 (__SYSCALL_ULONG_TYPE): Likewise.
646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
647 (__SYSCALL_SLONG_TYPE): Likewise.
648 (__SYSCALL_ULONG_TYPE): Likewise.
649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
650 (__SYSCALL_SLONG_TYPE): Likewise.
651 (__SYSCALL_ULONG_TYPE): Likewise.
653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
655 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
656 Add sigaltstack-offsets.sym.
657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
658 <sigaltstack-offsets.h>.
659 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
661 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
662 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
664 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
666 2012-05-15 Joseph Myers <joseph@codesourcery.com>
668 * elf/stackguard-macros.h: Remove file.
669 * sysdeps/generic/stackguard-macros.h: New file.
670 * sysdeps/i386/stackguard-macros.h: Likewise.
671 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
672 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
673 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
674 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
675 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
676 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
677 * sysdeps/x86_64/stackguard-macros.h: Likewise.
678 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
679 <elf/stackguard-macros.h>.
682 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
683 __aligned__ in attribute.
684 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
685 (gregset_t): Likewise.
687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
689 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
690 * sysdeps/x86_64/64/Implies-after: Here. New file.
691 * sysdeps/x86_64/x32/Implies-after: New file.
693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
695 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
696 and access return value for _dl_profile_fixup. Use R10_LP to
699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
701 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
705 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
706 * sysdeps/x86_64/x32/sysdep.h: New file.
708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
710 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
711 * sysdeps/x86_64/setjmp.S: Likewise.
713 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
715 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
716 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
717 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
718 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
719 remove unused global constant.
721 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
723 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
724 include of <not-cancel.h>.
726 2012-05-15 Roland McGrath <roland@hack.frob.com>
728 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
730 2012-05-15 Jeff Law <law@redhat.com>
731 Andreas Jaeger <aj@suse.de>
734 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
736 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
737 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
738 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
739 code changing __hst_map_handle.map.
741 2012-05-15 Roland McGrath <roland@hack.frob.com>
743 * configure.in (sysnames): Look for Implies-before and Implies-after
745 * configure: Regenerated.
747 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
749 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
750 8-byte data alignment with LP_SIZE alignment.
752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
754 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
759 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
763 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
764 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
767 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
771 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
772 (stackinfo_sub_sp): Likewise.
774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
776 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
781 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
786 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
791 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
795 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
796 into R11_LP and load __x86_64_shared_cache_size_half into
799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
801 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
804 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
813 powerpc32/power7/fpu/s_logb.c via #include.
814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
815 powerpc32/power7/fpu/s_logbf.c via #include.
816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
817 powerpc32/power7/fpu/s_logbl.c via #include.
819 2012-05-15 Joseph Myers <joseph@codesourcery.com>
821 * README.libm: Remove file.
823 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
825 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
826 count for x32. Use R*_LP and omit operand-size suffix.
828 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
830 * shlib-versions: Move x86_64-.*-linux.* entries to ...
831 * sysdeps/x86_64/64/shlib-versions: Here. New file.
832 * sysdeps/x86_64/x32/shlib-versions: New file.
834 2012-05-14 Roland McGrath <roland@hack.frob.com>
836 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
837 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
838 Use _dl_fatal_printf instead.
840 2012-05-14 Joseph Myers <joseph@codesourcery.com>
842 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
843 set if not set by the user. Do not allow for being unset.
844 * sysdeps/unix/sysv/linux/configure: Regenerated.
846 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
848 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
849 the `q' suffix from lea and replace .quad with ASM_ADDR.
851 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
854 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
856 (PTR_DEMANGLE): Likewise.
858 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
860 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
862 (ASM_ADDR): Likewise.
880 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
882 * sysdeps/x86_64/x32/dl-machine.h: New file.
884 2012-05-14 Andreas Jaeger <aj@suse.de>
886 * manual/Makefile (subdir): Remove export of subdir.
887 (all): Remove target.
888 (.PHONY): Remove all from list.
889 (mkinstalldirs): Remove.
890 (.PHONY): Remove installdirs from list.
891 ($(inst_infodir)/libc.info): Use make-target-directory.
892 (installdirs): Remove.
894 (glibc-targets): Remove.
897 ($(objpfx)stubs ../po/manual.pot): Remove.
898 ($(objpfx)stamp%): Remove.
899 (make-target-directory): Remove.
900 (subdir_install): Remove.
908 * manual/.gitignore: Remove, it's not needed anymore.
909 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
911 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
913 (texis): Renamed to $(objpfx)texis.
914 (texis-path): New, contains path to generated files.
915 (chapters.%): Use texis-path for complete path, add extra argument
917 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
918 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
919 (summary,texi, stamp-summary): Use complete path of
920 files. Generate files in build dir.
921 (dir-add.texi): Build in build dir.
922 (libm-err.texi,stamp-libm-err): Likewise.
923 (version.texi, stamp-version): Likewise.
924 (.%c.texi): Likewise.
925 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
926 (mostlyclean): Remove target.
927 (realclean): Remove target.
928 (generated): Add new variable with contents from mostlyclean and
929 realclean, remove entries duplicated in common-mostlyclean, add
930 stamp-libm-err and stamp-version.
931 (generated-dirs): Add libc directory.
932 ($(inst_infodir)/libc.info): Install files from build dir.
934 * manual/install.texi (Configuring and compiling): Adjust since
935 the info files are not part of the tar ball anymore.
937 2012-05-14 Andreas Jaeger <aj@suse.de>
939 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
942 2012-05-14 Joseph Myers <joseph@codesourcery.com>
945 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
946 to 2.2.0 where earlier.
947 * sysdeps/unix/sysv/linux/configure: Regenerated.
948 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
949 Remove conditional code.
950 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
951 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
952 Remove conditional code.
953 [!__NR_lchown]: Likewise.
954 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
955 [__NR_lchown]: Likewise.
956 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
957 comment referencing __ASSUME_LCHOWN_SYSCALL.
958 * sysdeps/unix/sysv/linux/i386/sigaction.c
959 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
960 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
961 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
962 Remove conditional code.
963 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
964 (__protocol_available): Remove #if 0 code.
965 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
967 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
968 * sysdeps/unix/sysv/linux/kernel-features.h
969 (__ASSUME_GETCWD_SYSCALL): Don't define.
970 (__ASSUME_REALTIME_SIGNALS): Likewise.
971 (__ASSUME_PREAD_SYSCALL): Likewise.
972 (__ASSUME_PWRITE_SYSCALL): Likewise.
973 (__ASSUME_POLL_SYSCALL): Likewise.
974 (__ASSUME_LCHOWN_SYSCALL): Likewise.
975 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
977 (__ASSUME_SIOCGIFNAME): Don't define.
978 (__ASSUME_MSG_NOSIGNAL): Likewise.
979 (__ASSUME_SENDFILE): Define unconditionally.
980 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
981 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
983 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
984 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
985 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
986 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
987 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
988 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
989 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
991 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
994 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1000 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1003 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1006 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1009 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1012 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1014 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1015 Remove conditional code.
1016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1017 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1018 Remove conditional code.
1019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1020 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1021 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1022 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1023 Remove conditional code.
1024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1025 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1026 Remove conditional code.
1027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1028 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1029 Remove conditional code.
1030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1031 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1032 Remove conditional code.
1033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1034 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1035 Remove conditional code.
1036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1037 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1038 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1040 * sysdeps/unix/sysv/linux/sigaction.c
1041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1043 * sysdeps/unix/sysv/linux/sigpending.c
1044 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1045 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1046 * sysdeps/unix/sysv/linux/sigprocmask.c
1047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1049 * sysdeps/unix/sysv/linux/sigsuspend.c
1050 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1051 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1052 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1053 (__libc_missing_rt_sigs): Remove.
1054 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1055 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1056 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1057 Remove conditional code.
1058 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1059 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1061 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1062 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1063 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1064 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1066 2012-05-14 Andreas Jaeger <aj@suse.de>
1068 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1069 it's not used in glibc.
1070 (__coshm1): Likewise.
1071 (__acosh1p): Likewise.
1074 * manual/string.texi (Copying and Concatenation): Add missing
1075 variable in concat example.
1076 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1078 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1082 __builtin_clzl with __builtin_clzll.
1084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1087 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1090 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1092 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1093 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1094 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1095 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1097 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1099 * NEWS: Update ia64 info.
1101 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1103 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1106 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1108 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1109 * sysdeps/unix/syscalls.list (dup3): Likewise.
1110 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1111 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1113 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1115 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1116 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1118 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1120 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1122 (TLS_IE): Use mov/add instead of movq/addq to load thread
1124 (TLS_GD_PREFIX): New.
1127 2012-05-11 David S. Miller <davem@davemloft.net>
1129 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1130 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1131 (_FPU_SETCW): Likewise.
1133 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1135 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1138 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1141 * iconvdata/gb18030.c: Update tables.
1142 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1143 characters specially.
1144 (BODY for TO_LOOP): Add encoding of missing ranges.
1146 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1149 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1150 * sysdeps/mach/hurd/dup3.c: Likewise.
1151 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1152 * sysdeps/powerpc/memmove.c:: Likewise.
1154 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1157 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1159 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1161 * elf/elf.h (R_X86_64_RELATIVE64): New.
1162 (R_X86_64_NUM): Updated.
1163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1164 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1165 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1166 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1167 tst-quad1pie tst-quad2pie
1168 (modules-names): Add tst-quadmod1 tst-quadmod2.
1169 ($(objpfx)tst-quad1): New dependency.
1170 ($(objpfx)tst-quad2): Likewise.
1171 ($(objpfx)tst-quad1pie): Likewise.
1172 ($(objpfx)tst-quad2pie): Likewise.
1173 * sysdeps/x86_64/tst-quad1.c: New file.
1174 * sysdeps/x86_64/tst-quad1pie.c: New file.
1175 * sysdeps/x86_64/tst-quad2.c: Likewise.
1176 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1177 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1178 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1179 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1180 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1182 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1184 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1185 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1186 * streams/stropts.h (t_scalar_t): Define type.
1188 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1189 (_PATH_PRESERVE): Set to "/var/lib".
1190 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1192 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1195 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1196 if __dir_mkfile succeeded.
1198 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1199 checking for _hurd_dtablesize. Unlock it right after having
1200 finished _hurd_dtable allocation.
1202 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1204 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1205 * sysdeps/mach/hurd/configure: Regenerated.
1206 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1207 special-casing to...
1208 * sysdeps/gnu/configure.in: ... this new file.
1209 * sysdeps/unix/sysv/linux/configure: Regenerated.
1210 * sysdeps/gnu/configure: New generated file.
1212 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1213 for Linux: use nsec instead of usec, as well as:
1214 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1215 members of type struct timespec.
1216 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1218 (struct stat64): Likewise.
1219 (_STATBUF_ST_NSEC): New macro.
1220 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1222 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1223 __strtoul_internal rather than strtoul.
1225 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1227 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1230 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1232 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1233 which preserves existing values.
1234 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1236 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1238 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1239 TIMEOUT values. Return EINVAL for NFDS values either negative or
1240 greater than FD_SETSIZE.
1242 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1244 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1245 allocated, call __vm_protect to finish enabling the existing space, and
1246 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1247 allocate the remainder.
1249 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1251 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1252 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1254 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1256 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1257 sysdeps/mach/hurd/readlink.c.
1259 * posix/tst-sysconf.c (posix_options): Only use
1260 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1261 _POSIX_SYNCHRONIZED_IO when they are defined
1262 * sysdeps/mach/hurd/bits/posix_opt.h:
1263 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1264 (_XOPEN_REALTIME): Undefine macro.
1265 (_XOPEN_REALTIME_THREADS): Undefine macro.
1266 (_XOPEN_SHM): Undefine macro.
1267 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1269 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1271 (_POSIX_ASYNC_IO): Undefine macro.
1272 (_POSIX_PRIORITIZED_IO): Undefine macro.
1273 (_POSIX_SPIN_LOCKS): Define macro to -1.
1275 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1276 SA_NODEFER, SA_RESETHAND.
1277 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1278 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1281 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1283 * elf/Makefile (pldd-modules): Define unconditionally.
1285 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1287 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1291 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1292 Return ENOENT when name is empty.
1293 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1295 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1297 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1299 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1301 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1303 Fix mlock in all cases except non-readable pages.
1304 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1305 instead of VM_PROT_ALL as parameter to __vm_wire function.
1307 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1308 (__mkdir): When path is `/', just fail with EEXIST.
1309 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1313 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1314 <sys/uio.h> (for writev).
1315 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1316 and <sys/param.h> (for MIN).
1318 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1320 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1321 REQUESTED_TIME. Properly set the remaining time and return EINTR
1324 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1326 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1327 Depend on against $(link-rpcuserlibs).
1329 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1331 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1332 (__libc_stack_end): Do not use attribute_relro.
1333 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1334 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1335 to libthread-provided value.
1336 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1339 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1342 * bits/libc-lock.h (__libc_once_get): New macro.
1343 * sysdeps/mach/bits/libc-lock.h: Likewise.
1344 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1345 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1346 instead of using implementation details.
1348 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1349 * libio/freopen.c: Likewise.
1350 * libio/freopen64.c: Likewise.
1351 * misc/syslog.c: Likewise.
1352 * nscd/connections.c: Likewise.
1353 * nscd/netgroupcache.c: Likewise.
1354 * sysdeps/posix/getcwd.c: Likewise.
1356 2012-05-10 Roland McGrath <roland@hack.frob.com>
1358 * math/w_ilogbf.c: Add #include <limits.h>.
1360 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1362 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1363 path instead of returning without unlocking.
1365 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1366 immediate-write ioctls.
1367 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1369 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1371 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1372 __builtin_frame_address instead of making assumptions about the
1373 location of the return address relative to DATA. Force early load of
1375 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1376 __builtin_frame_address.
1379 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1380 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1381 implement dup3 and do some further code clean-ups.
1382 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1383 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1385 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1387 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1389 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1390 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1391 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1392 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1393 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1396 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1397 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1398 when handler == SIG_ERR, not when handler != SIG_ERR.
1400 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1402 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1403 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1406 accept4 for GNU Hurd.
1407 * include/sys/socket.h (__libc_accept4): New prototype.
1408 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1409 to implement __libc_accept4.
1410 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1412 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1414 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1415 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1416 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1421 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1423 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1425 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1426 assertion on O_CLOEXEC flag.
1427 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1428 * hurd/intern-fd.c: Likewise.
1429 * hurd/port2fd.c: Likewise.
1431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1434 * bits/in.h (IPV6_PKTINFO): Define new macro.
1435 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1437 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1442 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1444 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1445 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1447 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1448 * math/libm-test.inc (logb_test) : Additional logb tests.
1450 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1451 Andreas Jaeger <aj@suse.de>
1453 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1454 * configure: Regenerated.
1455 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1456 * config.make.in (link-obsolete-rpc): New substituted variable.
1457 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1458 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1459 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1460 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1461 so that libc.a contains the symbols.
1462 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1463 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1464 * sunrpc/auth_none.c: Likewise.
1465 * sunrpc/auth_unix.c: Likewise.
1466 * sunrpc/authdes_prot.c: Likewise.
1467 * sunrpc/authuxprot.c: Likewise.
1468 * sunrpc/clnt_gen.c: Likewise.
1469 * sunrpc/clnt_perr.c: Likewise.
1470 * sunrpc/clnt_raw.c: Likewise.
1471 * sunrpc/clnt_simp.c: Likewise.
1472 * sunrpc/clnt_tcp.c: Likewise.
1473 * sunrpc/clnt_udp.c: Likewise.
1474 * sunrpc/clnt_unix.c: Likewise.
1475 * sunrpc/des_crypt.c: Likewise.
1476 * sunrpc/des_soft.c: Likewise.
1477 * sunrpc/get_myaddr.c: Likewise.
1478 * sunrpc/key_call.c: Likewise.
1479 * sunrpc/key_prot.c: Likewise.
1480 * sunrpc/netname.c: Likewise.
1481 * sunrpc/pm_getmaps.c: Likewise.
1482 * sunrpc/pm_getport.c: Likewise.
1483 * sunrpc/pmap_clnt.c: Likewise.
1484 * sunrpc/pmap_prot.c: Likewise.
1485 * sunrpc/pmap_prot2.c: Likewise.
1486 * sunrpc/pmap_rmt.c: Likewise.
1487 * sunrpc/publickey.c: Likewise.
1488 * sunrpc/rpc_cmsg.c: Likewise.
1489 * sunrpc/rpc_common.c: Likewise.
1490 * sunrpc/rpc_dtable.c: Likewise.
1491 * sunrpc/rpc_prot.c: Likewise.
1492 * sunrpc/rpc_thread.c: Likewise.
1493 * sunrpc/rtime.c: Likewise.
1494 * sunrpc/svc.c: Likewise.
1495 * sunrpc/svc_auth.c: Likewise.
1496 * sunrpc/svc_raw.c: Likewise.
1497 * sunrpc/svc_run.c: Likewise.
1498 * sunrpc/svc_tcp.c: Likewise.
1499 * sunrpc/svc_udp.c: Likewise.
1500 * sunrpc/svc_unix.c: Likewise.
1501 * sunrpc/svcauth_des.c: Likewise.
1502 * sunrpc/xcrypt.c: Likewise.
1503 * sunrpc/xdr.c: Likewise.
1504 * sunrpc/xdr_array.c: Likewise.
1505 * sunrpc/xdr_float.c: Likewise.
1506 * sunrpc/xdr_intXX_t.c: Likewise.
1507 * sunrpc/xdr_mem.c: Likewise.
1508 * sunrpc/xdr_rec.c: Likewise.
1509 * sunrpc/xdr_ref.c: Likewise.
1510 * sunrpc/xdr_sizeof.c: Likewise.
1511 * sunrpc/xdr_stdio.c: Likewise.
1513 2012-05-10 Roland McGrath <roland@hack.frob.com>
1515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1516 change. Update copyright years.
1518 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1520 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1522 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1523 Joseph Myers <joseph@codesourcery.com>
1524 Paul Pluzhnikov <ppluzhnikov@google.com>
1527 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1529 [cross-compiling] (extra-libs): Likewise.
1530 [cross-compiling] (extra-libs-others): Likewise.
1531 [cross-compiling] (librpcsvc-routines): Likewise.
1532 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1533 [cross-compiling] (omit-deps): Likewise.
1534 (sunrpc-CPPFLAGS): New variable.
1535 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1536 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1537 (cross-rpcgen-objs): New variable.
1538 (extra-objs): Append $(cross-rpcgen-objs).
1539 ($(cross-rpcgen-objs)): New rule.
1540 ($(objpfx)cross-rpcgen): Likewise.
1541 (rpcgen-cmd): Define to use $(built-program-file). Expand
1543 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1544 ($(objpfx)x%.stmp): Likewise.
1545 * sunrpc/proto.h [IS_IN_build] (_): Define.
1546 [IS_IN_build] (_libc_intl_domainname): Likewise.
1548 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1551 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1552 and R_X86_64_TPOFF64.
1554 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1556 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1557 sysdeps/unix/sysv/syscalls.list.
1560 * sysdeps/unix/sysv/syscalls.list: Remove file.
1562 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1565 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1566 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1567 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1568 (__LC_IDENTIFICATION): Make these macros useful in #if
1569 expressions, as required by C99.
1571 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1573 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1574 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1577 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1579 * stdlib/longlong.h: Updated from GCC.
1581 2012-05-09 Andreas Jaeger <aj@suse.de>
1583 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1584 default is first entry.
1585 (run_mode): Set type.
1586 (main): Remove informal message about syslog.
1587 (options): Fix typo.
1590 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1593 (llrintf): Likewise.
1597 (nearbyint): Likewise.
1598 (nearbyintf): Likewise.
1600 2012-05-09 Andreas Jaeger <aj@suse.de>
1601 Pedro Alves <palves@redhat.com>
1603 * nscd/nscd.c (run_mode): Use enum.
1604 (main): Cleanup coding style issue.
1606 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1607 Andreas Jaeger <aj@suse.de>
1609 * nscd/nscd.c (go_background): Replaced with...
1610 (run_mode): ... this.
1611 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1612 (options): Add -F --foreground.
1613 (main): Implement it.
1614 (parse_opt): Parse it.
1616 2012-05-09 Andreas Jaeger <aj@suse.de>
1619 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1620 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1621 -Wconversion warning.
1622 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1625 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1627 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1629 (LC_ALL): Use macro-int-constant.
1630 (LC_COLLATE): Likewise.
1631 (LC_CTYPE): Likewise.
1632 (LC_MESSAGES): Likewise.
1633 (LC_MONETARY): Likewise.
1634 (LC_NUMERIC): Likewise.
1635 (LC_TIME): Likewise.
1636 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1637 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1638 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1639 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1641 [C99-based standards] (float_t): Expect type.
1642 [C99-based standards] (double_t): Expect type.
1643 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1645 [C99-based standards] (HUGE_VALL): Likewise.
1646 [C99-based standards] (INFINITY): Likewise.
1647 [C99-based standards] (NAN): Likewise.
1648 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1649 [C99-based standards] (FP_NAN): Likewise.
1650 [C99-based standards] (FP_NORMAL): Likewise.
1651 [C99-based standards] (FP_SUBNORMAL): Likewise.
1652 [C99-based standards] (FP_ZERO): Likewise.
1653 [C99-based standards] (FP_FAST_FMA): Use
1654 optional-macro-int-constant. Specify type. Require == 1.
1655 [C99-based standards] (FP_FAST_FMAF): Likewise.
1656 [C99-based standards] (FP_FAST_FMAL): Likewise.
1657 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1658 [C99-based standards] (FP_ILOGBNAN): Likewise.
1659 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1661 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1662 [C99-based standards] (math_errhandling): Specify type.
1663 [ISO99 || ISO11] (signgam): Do not allow.
1664 [non-C99-based standards] (copysignf): Do not allow.
1665 [non-C99-based standards] (exp2f): Likewise.
1666 [non-C99-based standards] (log2f): Likewise.
1667 [non-C99-based standards] (modff): Allow.
1668 [non-C99-based standards] (erff): Do not allow.
1669 [non-C99-based standards] (erfcf): Likewise.
1670 [non-C99-based standards] (gammaf): Likewise.
1671 [non-C99-based standards] (hypotf): Likewise.
1672 [non-C99-based standards] (j0f): Likewise.
1673 [non-C99-based standards] (j1f): Likewise.
1674 [non-C99-based standards] (jnf): Likewise.
1675 [non-C99-based standards] (lgammaf): Likewise.
1676 [non-C99-based standards] (tgammaf): Likewise.
1677 [non-C99-based standards] (y0f): Likewise.
1678 [non-C99-based standards] (y1f): Likewise.
1679 [non-C99-based standards] (ynf): Likewise.
1680 [non-C99-based standards] (isnanf): Likewise.
1681 [non-C99-based standards] (acoshf): Likewise.
1682 [non-C99-based standards] (asinhf): Likewise.
1683 [non-C99-based standards] (atanhf): Likewise.
1684 [non-C99-based standards] (cbrtf): Likewise.
1685 [non-C99-based standards] (expm1f): Likewise.
1686 [non-C99-based standards] (ilogbf): Likewise.
1687 [non-C99-based standards] (log1pf): Likewise.
1688 [non-C99-based standards] (logbf): Likewise.
1689 [non-C99-based standards] (nextafterf): Likewise.
1690 [non-C99-based standards] (remainderf): Likewise.
1691 [non-C99-based standards] (rintf): Likewise.
1692 [non-C99-based standards] (scalbf): Likewise.
1693 [non-C99-based standards] (copysignl): Likewise.
1694 [non-C99-based standards] (exp2l): Likewise.
1695 [non-C99-based standards] (log2l): Likewise.
1696 [non-C99-based standards] (modfl): Allow.
1697 [non-C99-based standards] (erfl): Do not allow.
1698 [non-C99-based standards] (erfcl): Likewise.
1699 [non-C99-based standards] (gammal): Likewise.
1700 [non-C99-based standards] (hypotl): Likewise.
1701 [non-C99-based standards] (j0l): Likewise.
1702 [non-C99-based standards] (j1l): Likewise.
1703 [non-C99-based standards] (jnl): Likewise.
1704 [non-C99-based standards] (lgammal): Likewise.
1705 [non-C99-based standards] (tgammal): Likewise.
1706 [non-C99-based standards] (y0l): Likewise.
1707 [non-C99-based standards] (y1l): Likewise.
1708 [non-C99-based standards] (ynl): Likewise.
1709 [non-C99-based standards] (isnanl): Likewise.
1710 [non-C99-based standards] (acoshl): Likewise.
1711 [non-C99-based standards] (asinhl): Likewise.
1712 [non-C99-based standards] (atanhl): Likewise.
1713 [non-C99-based standards] (cbrtl): Likewise.
1714 [non-C99-based standards] (expm1l): Likewise.
1715 [non-C99-based standards] (ilogbl): Likewise.
1716 [non-C99-based standards] (log1pl): Likewise.
1717 [non-C99-based standards] (logbl): Likewise.
1718 [non-C99-based standards] (nextafterl): Likewise.
1719 [non-C99-based standards] (remainderl): Likewise.
1720 [non-C99-based standards] (rintl): Likewise.
1721 [non-C99-based standards] (scalbl): Likewise.
1722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1723 [non-C99-based standards] (FP_*): Do not allow.
1724 [C99-based standards] (FP_*): Change to
1725 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1726 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1728 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1729 (SIG_ERR): Likewise.
1730 [X/Open-based standards] (SIG_HOLD): Likewise.
1731 (SIG_IGN): Likewise.
1732 (SIGABRT): Use macro-int-constant. Specify type. Require
1737 (SIGSEGV): Likewise.
1739 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1740 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1741 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1742 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1743 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1744 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1745 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1746 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1747 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1748 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1749 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1750 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1751 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1752 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1753 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1754 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1755 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1756 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1757 [X/Open-based standards] (SIGTRAP): Likewise.
1758 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1759 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1760 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1761 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1762 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1765 2012-05-08 Ian Wienand <ianw@vmware.com>
1768 * time/tzset.c (__tzset_parse_tz): Update default rules for
1769 daylight time changes in the Energy Policy Act of 2005.
1771 2012-05-09 Andreas Jaeger <aj@suse.de>
1774 * elf/ldconfig.c (parse_conf): Change string to make clear that
1775 ldconfig only issued a warning if ld.so.conf does not exist.
1777 2012-05-08 David S. Miller <davem@davemloft.net>
1779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1780 movxtod instead of popping the value on the stack.
1782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1784 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1786 * config.h.in: Add HAVE_ARM_PCS_VFP.
1788 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1791 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1792 checking but the checks are disabled for any reason.
1794 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1796 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1797 and ELF64_R_TYPE with ELFW(R_TYPE).
1799 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1801 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1804 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1805 (settimeofday): Likewise.
1807 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1809 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1810 a struct th_u2 inside the union, and move tu_block/tu_code into
1811 a new th_u3 union of tu_block/tu_code inside of that. Move
1812 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1813 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1814 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1815 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1816 (th_stuff): Change to th_u1.tu_stuff.
1818 (th_msg): Change to th_u1.th_u2.tu_data.
1820 2012-05-07 David S. Miller <davem@davemloft.net>
1822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1825 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1826 (SETUP_PIC_REG): Use it.
1827 (SETUP_PIC_REG_LEAF): Use it.
1829 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1833 * sysdeps/i386/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/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1840 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1842 (EXPL_FINITE): Likewise.
1844 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1845 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1847 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1848 test of -max_value argument for long double.
1849 * sysdeps/i386/fpu/libm-test-ulps: Update.
1850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1852 2012-05-06 David S. Miller <davem@davemloft.net>
1854 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1855 quad soft-float symbols whose references which are compiler
1857 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1859 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1863 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1865 (EXPL_FINITE): Likewise.
1869 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1870 Adjust comments for base varying.
1871 (__expl_finite): Change alias to EXPL_FINITE.
1872 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1874 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1875 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1877 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1878 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1880 (EXPL_FINITE): Likewise.
1884 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1885 Adjust comments for base varying.
1886 (__expl_finite): Change alias to EXPL_FINITE.
1887 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1892 * math/libm-test.inc (check_float_internal): Correct ulp
1893 calculation for subnormal expected results.
1895 2012-05-06 Andreas Jaeger <aj@suse.de>
1897 * Makeconfig (+math-flags): New, set to -frounding-math.
1898 (+cflags): Add +math-flags so that all of glibc gets compiled with
1901 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1903 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1905 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1911 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1912 (__ieee754_expl): Allow for and saturate large arguments.
1913 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1914 (u_threshold): Likewise.
1915 (__exp): Call __ieee754_exp before checking for overflow and
1917 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1918 (u_threshold): Likewise.
1919 (__expf): Call __ieee754_expf before checking for overflow and
1921 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1922 (u_threshold): Likewise.
1923 (__expl): Call __ieee754_expl before checking for overflow and
1925 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1926 (__ieee754_expl): Allow for and saturate large arguments.
1927 * math/libm-test.inc (exp_test): Add another test. Do not allow
1928 missing overflow exception on overflow.
1929 (expm1_test): Do not allow missing overflow exception on overflow.
1931 * sysdeps/i386/fpu/e_expl.c: Move to ...
1932 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1933 rather than using inline asm.
1934 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1935 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1936 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1938 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1945 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1947 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1948 sysdeps/unix/common/syscalls.list.
1951 (ftruncate): Likewise.
1952 (getrusage): Likewise.
1953 (gettimeofday): Likewise.
1954 (setpgid): Likewise.
1955 (setregid): Likewise.
1956 (setreuid): Likewise.
1957 (sigaction): Likewise.
1958 (truncate): Likewise.
1959 (vhangup): Likewise.
1960 * sysdeps/unix/common/syscalls.list: Remove file.
1961 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1962 * sysdeps/unix/sysv/linux/Implies: Likewise.
1964 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1966 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1968 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1972 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1975 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1978 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1981 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1984 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1987 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1990 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1994 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1998 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2005 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2009 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2011 * sysdeps/unix/common/bits/dirent.h: Remove file.
2012 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2014 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2015 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2016 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2017 * sysdeps/unix/bsd/isatty.c: Likewise.
2018 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2019 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2020 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2022 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2025 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2026 long double comparison inaccuracies.
2027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2030 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2032 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2035 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2038 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2039 nonzero digits before rounding a hex value.
2040 * stdlib/tst-strtod.c (tests): Add another test.
2042 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2044 * sysdeps/s390/fpu/libm-test-ulps: Update.
2046 2012-05-03 Andreas Jaeger <aj@suse.de>
2048 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2049 does not get optimized out.
2050 (malloc_opt_barrier): New.
2052 2012-05-03 Andreas Jaeger <aj@suse.de>
2053 Roland McGrath <roland@hack.frob.com>
2055 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2056 intermediate file deletion.
2057 (generated): Add .symlist files.
2059 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2062 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2063 Redirect under this condition.
2064 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2065 [__USE_GNU] (__dprintf_chk): Not under this condition.
2066 [__USE_GNU] (__vdprintf_chk): Likewise.
2067 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2068 under this condition.
2069 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2070 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2071 [__USE_XOPEN2K8] (vdprintf): Likewise.
2072 [__USE_GNU] (__dprintf_chk): Not under this condition.
2073 [__USE_GNU] (__vdprintf_chk): Likewise.
2074 [__USE_GNU] (dprintf): Likewise.
2075 [__USE_GNU] (vdprintf): Likewise.
2077 2012-05-03 Roland McGrath <roland@hack.frob.com>
2079 * elf/Makefile (common-generated): Set this instead of generated for
2080 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2081 $(all-built-dso)-derived lists.
2083 2012-05-03 Andreas Jaeger <aj@suse.de>
2085 * sysdeps/i386/fpu/libm-test-ulps: Update.
2089 * scripts/gen-FAQ.pl: Likewise.
2090 * manual/install.texi (Installation): Point to online location of
2092 * Makefile (files-for-dist): Remove FAQ.
2095 2012-05-02 Allan McRae <allan@archlinux.org>
2097 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2098 (LDFLAGS-reldepmod5.so): Likewise.
2099 (LDFLAGS-reldep6mod1.so): Likewise.
2100 (LDFLAGS-reldep6mod4.so): Likewise.
2101 (LDFLAGS-reldep8mod3.so): Likewise.
2102 (LDFLAGS-unload4mod1.so): Likewise.
2103 (LDFLAGS-unload4mod2.so): Likewise.
2104 (LDFLAGS-tst-initorder): Likewise.
2105 (LDFLAGS-tst-initordera2.so): Likewise.
2106 (LDFLAGS-tst-initordera3.so): Likewise.
2107 (LDFLAGS-tst-initordera4.so): Likewise.
2108 (LDFLAGS-tst-initorderb2.so): Likewise.
2109 (LDFLAGS-noload): Likewise.
2110 (LDFLAGS-next): Likewise.
2111 (LDFLAGS-order2mod1.so): Likewise.
2112 (LDFLAGS-order2mod2.so): Likewise.
2113 (LDFLAGS-tst-initorder2): Likewise.
2114 (LDFLAGS-tst-initorder2a.so): Likewise.
2115 (LDFLAGS-tst-initorder2b.so): Likewise.
2116 (LDFLAGS-tst-initorder2c.so): Likewise.
2117 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2119 2012-05-02 David S. Miller <davem@davemloft.net>
2121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2123 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2126 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2128 2012-05-02 Andreas Jaeger <aj@suse.de>
2130 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2131 since we manipulate rounding mode.
2132 (CPPFLAGS-test-idouble.c): Likewise.
2133 (CPPFLAGS-test-ifloat.c): Likewise.
2134 (CFLAGS-test-ldouble.c): Likewise.
2135 (CFLAGS-test-double.c): Likewise.
2136 (CFLAGS-test-float.c): Likewise.
2137 (CFLAGS-test-misc.c): Likewise.
2138 (CFLAGS-test-test-fenv.c): Likewise.
2140 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2145 comparisons to determine direction to adjust input.
2147 2012-05-01 Roland McGrath <roland@hack.frob.com>
2149 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2150 output to the target.
2152 * scripts/localplt.awk: New file.
2153 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2154 (check-localplt-CFLAGS): Variable removed.
2155 ($(all-built-dso:=.jmprel)): New static pattern rule.
2156 (generated): Add those targets.
2157 (localplt-built-dso): New variable.
2158 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2160 * elf/check-localplt.c: File removed.
2162 * scripts/check-execstack.awk: New file.
2163 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2164 (check-execstack-CFLAGS): Variable removed.
2165 ($(objpfx)check-execstack.h): Target removed.
2166 ($(objpfx)execstack-default): New target.
2167 (generated): Add that instead of check-execstack.h.
2168 ($(all-built-dso:=.phdr)): New static pattern rule.
2169 (generated): Add those targets.
2170 * elf/check-execstack.c: File removed.
2172 * scripts/check-textrel.awk: New file.
2173 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2174 (check-textrel-CFLAGS): Variable removed.
2175 (all-built-dso): Use := to define.o
2176 ($(all-built-dso:=.dyn)): New static pattern rule.
2177 (generated): Add those targets.
2178 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2179 * config.make.in (READELF): New substituted variable.
2180 * elf/check-textrel.c: File removed.
2182 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2184 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2186 * conform/data/ctype.h-data [C99-based standards] (isblank):
2188 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2189 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2190 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2191 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2192 Specify type. Require positive value.
2195 [ISO || POSIX] (EILSEQ): Do not expect.
2196 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2197 Specify type. Require positive value.
2198 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2199 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2200 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2201 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2202 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2203 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2204 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2205 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2206 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2207 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2208 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2209 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2210 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2211 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2212 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2213 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2214 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2215 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2216 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2217 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2218 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2219 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2220 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2221 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2222 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2223 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2224 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2225 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2226 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2227 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2228 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2229 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2230 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2231 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2232 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2233 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2234 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2235 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2236 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2237 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2238 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2239 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2240 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2241 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2242 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2243 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2244 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2245 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2246 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2247 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2248 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2249 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2250 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2251 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2252 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2253 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2254 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2255 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2256 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2257 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2258 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2259 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2260 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2261 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2262 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2263 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2264 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2265 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2266 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2267 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2268 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2269 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2270 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2271 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2272 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2273 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2274 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2276 (FLT_ROUNDS): Expect as macro, not constant.
2277 (FLT_MANT_DIG): Use macro-int-constant.
2278 (DBL_MANT_DIG): Likewise.
2279 (LDBL_MANT_DIG): Likewise.
2280 (FLT_DIG): Likewise.
2281 (DBL_DIG): Likewise.
2282 (LDBL_DIG): Likewise.
2283 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2284 (DBL_MIN_EXP): Likewise.
2285 (LDBL_MIN_EXP): Likewise.
2286 (FLT_MAX_EXP): Use macro-int-constant.
2287 (DBL_MAX_EXP): Likewise.
2288 (LDBL_MAX_EXP): Likewise.
2289 (FLT_MAX_10_EXP): Likewise.
2290 (DBL_MAX_10_EXP): Likewise.
2291 (LDBL_MAX_10_EXP): Likewise.
2292 (FLT_MAX): Use macro-constant.
2293 (DBL_MAX): Likewise.
2294 (LDBL_MAX): Likewise.
2295 (FLT_EPSILON): Use macro-constant. Give upper bound.
2296 (DBL_EPSILON): Likewise.
2297 (LDBL_EPSILON): Likewise.
2298 (FLT_MIN): Likewise.
2299 (DBL_MIN): Likewise.
2300 (LDBL_MIN): Likewise.
2301 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2302 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2303 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2304 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2305 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2306 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2307 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2308 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2309 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2310 [ISO11] (FLT_TRUE_MIN): Likewise.
2311 [ISO11] (LDBL_TRUE_MIN): Likewise.
2312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2313 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2314 (SCHAR_MIN): Use macro-int-constant. Specify type.
2315 (SCHAR_MAX): Likewise.
2316 (UCHAR_MAX): Likewise.
2317 (CHAR_MIN): Likewise.
2318 (CHAR_MAX): Likewise.
2319 (MB_LEN_MAX): Use macro-int-constant.
2320 (SHRT_MIN): Use macro-int-constant. Specify type.
2321 (SHRT_MAX): Likewise.
2322 (USHRT_MAX): Likewise.
2323 (INT_MAX): Likewise.
2324 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2326 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2328 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2330 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2331 bound negative. Suffix upper bound with "L".
2332 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2334 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2336 [C99-based standards] (LLONG_MAX): Likewise.
2337 [C99-based standards] (ULLONG_MAX): Likewise.
2338 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2340 [ISO11] (max_align_t): Require type.
2341 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2343 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2344 from $CFLAGS, without defining away __attribute__ calls.
2345 (checknamespace): Use $CFLAGS_namespace.
2347 * conform/conformtest.pl (@keywords): Only include C99 keywords
2348 for standards based on C99 or C11.
2350 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2352 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2355 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2356 usability of symbols in #if.
2358 * conform/conformtest.pl: If macro or constant types start
2359 "promoted:", expect the symbol to be of the following type
2360 promoted by the integer promotions.
2362 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2363 in one place. Also handle "macro-constant".
2365 * conform/conformtest.pl: Only accept expected macro values with
2366 "==". Parse all "macro" lines in one place.
2367 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2369 * conform/conformtest.pl: Handle braced types on "constant" lines
2370 instead of handling "typed-constant".
2371 * conform/data/signal.h-data: Use "constant" instead of
2374 * conform/conformtest.pl: Handle "optional-" at start of lines in
2375 one place rather than duplicating several cases. Handle each
2376 format of "macro" line with initial "optional-".
2378 * conform/conformtest.pl: Only accept expected constant or
2379 optional-constant values with "==". Parse all "constant" lines in
2380 one place. Parse all "optional-constant" lines in one place.
2381 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2382 * conform/data/fmtmsg.h-data: Likewise.
2383 * conform/data/netinet/in.h-data: Likewise.
2384 * conform/data/tar.h-data: Likewise.
2385 * conform/data/limits.h-data: Use "==" form on "constant" and
2386 "optional-constant" lines.
2388 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2389 Use -std=c99 for XOPEN2K.
2390 (@knownproblems): Remove.
2391 (newtoken): Don't check %isknown.
2393 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2394 Do not expect macro.
2395 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2400 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2401 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2405 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2407 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2408 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2422 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2423 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2424 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2425 [XPG3] (acosh): Likewise.
2426 [XPG3] (asinh): Likewise.
2427 [XPG3] (atanh): Likewise.
2428 [XPG3] (cbrt): Likewise.
2429 [XPG3] (expm1): Likewise.
2430 [XPG3] (ilogb): Likewise.
2431 [XPG3] (log1p): Likewise.
2432 [XPG3] (logb): Likewise.
2433 [XPG3] (nextafter): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2436 [XPG3] (remainder): Likewise.
2437 [XPG3] (rint): Likewise.
2438 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2439 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2440 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2441 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2442 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2443 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2444 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2445 [UNIX98 || XOPEN2K] (scalb): Expect.
2446 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2447 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2463 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2475 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2476 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2478 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2495 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2496 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2497 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2508 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2509 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2510 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2511 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2512 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2513 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2514 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2515 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2516 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2517 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2518 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2519 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2520 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2521 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2522 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2523 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2524 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2525 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2526 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2527 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2528 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2529 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2530 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2531 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2532 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2533 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2534 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2535 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2536 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2537 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2538 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2539 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2540 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2541 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2542 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2543 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2544 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2545 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2546 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2547 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2548 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2549 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2550 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2551 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2552 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2553 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2554 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2555 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2556 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2568 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2569 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2576 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2580 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2581 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2582 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2584 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2585 _XOPEN_SOURCE_EXTENDED for XPG4.
2587 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2589 * Makeconfig (localtime): Remove variable.
2590 (inst_localtime-file): Likewise.
2592 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2613 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2617 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2618 comparisons to determine direction to adjust input.
2619 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2620 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2621 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2623 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2625 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2627 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2628 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2630 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2632 * math/libm-test.inc (nexttoward_test): Add more tests.
2634 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2637 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2638 in version GLIBC_2.1, not GLIBC_2.0.
2639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2642 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2645 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2647 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2648 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2649 * math/libm-test.inc (acos_test): Add more tests.
2650 (asin_test): Likewise.
2651 * sysdeps/i386/fpu/libm-test-ulps: Update.
2652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2655 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2657 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2658 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2659 * math/libm-test.inc (acos_test_tonearest): New function.
2660 (acos_test_towardzero): Likewise.
2661 (acos_test_downward): Likewise.
2662 (acos_test_upward): Likewise.
2663 (asin_test_tonearest): Likewise.
2664 (asin_test_towardzero): Likewise.
2665 (asin_test_downward): Likewise.
2666 (asin_test_upward): Likewise.
2667 (main): Call the new functions.
2668 * sysdeps/i386/fpu/libm-test-ulps: Update.
2669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2673 * math/e_exp10.c: Include <float.h>.
2674 (__ieee754_exp10): Handle underflow here rather than multiplying
2675 large negative argument by M_LN10.
2676 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2678 * math/e_exp10l.c: Include <float.h>.
2679 (__ieee754_exp10l): Handle underflow here rather than multiplying
2680 large negative argument by M_LN10l.
2681 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2682 spurious overflow exception on underflow.
2684 2012-04-29 Marek Polacek <polacek@redhat.com>
2686 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2687 (__fortify_function): New macro.
2688 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2689 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2690 __extern_always_inline.
2691 * libio/bits/stdio2.h: Likewise.
2692 * libio/bits/stdio.h: Likewise.
2693 * string/string.h: Likewise.
2694 * string/bits/string3.h: Likewise.
2695 * include/stdio.h: Likewise.
2696 * stdlib/bits/stdlib.h: Likewise.
2697 * stdlib/stdlib.h: Likewise.
2698 * rt/bits/mqueue2.h: Likewise.
2699 * rt/mqueue.h: Likewise.
2700 * posix/bits/unistd.h: Likewise.
2701 * posix/unistd.h: Likewise.
2702 * io/bits/poll2.h: Likewise.
2703 * io/bits/fcntl2.h: Likewise.
2704 * io/fcntl.h: Likewise.
2705 * io/sys/poll.h: Likewise.
2706 * misc/bits/syslog.h: Likewise.
2707 * misc/bits/syslog-ldbl.h: Likewise.
2708 * misc/sys/syslog.h: Likewise.
2709 * socket/bits/socket2.h: Likewise.
2710 * socket/sys/socket.h: Likewise.
2711 * debug/tst-chk1.c: Likewise.
2712 * wcsmbs/bits/wchar2.h: Likewise.
2713 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2714 * wcsmbs/wchar.h: Likewise.
2716 2012-04-29 Andreas Jaeger <aj@suse.de>
2718 * Makerules (tests): Remove enable-check-abi protection.
2719 (check-abi-warn): Remove.
2720 (check-abi-%): Remove check-abi-warn usage.
2722 * configure.in: Remove check-abi configure option.
2723 * configure: Regenerated.
2724 * config.make.in (enable-check-abi): Remove.
2726 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2729 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2730 double functions to double *_finite functions.
2733 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2734 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2736 * stdio-common/Makefile (tests): Add tst-sprintf3.
2737 * stdio-common/tst-sprintf3.c: New file.
2739 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2740 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2742 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2744 * conform/conformtest.pl: Remove duplicate typed-constant
2747 2012-04-28 David S. Miller <davem@davemloft.net>
2749 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2750 (check-abi-%): Remove AWK script prerequisite and explicit
2752 (check-abi): Rewrite to just diff the symlist with the abilist.
2753 (config-tls, config-abi-config): Delete, no longer used.
2754 (update-abi-%): Remove AWK script and explicit abilist directory.
2755 (update-abi): Rewrite to simply compare and conditionally copy the
2756 symlist and the sysdep abilist file. Remove update-abi-config
2758 * abilist/ld.abilist: Remove.
2759 * abilist/libBrokenLocale.abilist: Remove.
2760 * abilist/libanl.abilist: Remove.
2761 * abilist/libcrypt.abilist: Remove.
2762 * abilist/libdl.abilist: Remove.
2763 * abilist/librt.abilist: Remove.
2764 * abilist/libthread_db.abilist: Remove.
2765 * abilist/libutil.abilist: Remove.
2766 * scripts/extract-abilist.awk: Remove.
2767 * scripts/merge-abilist.awk: Remove.
2768 * sysdeps/generic/libcidn.abilist: New file.
2769 * sysdeps/generic/libnss_compat.abilist: New file.
2770 * sysdeps/generic/libnss_db.abilist: New file.
2771 * sysdeps/generic/libnss_dns.abilist: New file.
2772 * sysdeps/generic/libnss_files.abilist: New file.
2773 * sysdeps/generic/libnss_hesiod.abilist: New file.
2774 * sysdeps/generic/libnss_nis.abilist: New file.
2775 * sysdeps/generic/libnss_nisplus.abilist: New file.
2776 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2777 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2778 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2780 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2781 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2782 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2783 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2784 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2785 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2786 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2787 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2788 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2790 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2791 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2792 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2793 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2795 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2796 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2797 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2798 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2799 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2800 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2802 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2803 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2804 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2806 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2909 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2910 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2911 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2914 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2915 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2916 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2917 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2918 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2919 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2920 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2921 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2922 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2974 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2976 * conform/conformtest.pl: Fix typo in handling typed-constant from
2979 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2981 * README: Cut down references to pre-2.6 Linux kernels and
2982 Linuxthreads. Update lists of configurations in libc and ports
2983 and sort alphabetically. Say "or newer" with Linux kernel version
2986 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2988 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2991 * math/libm-test.inc (logb_test_downward): New test to expose
2992 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2995 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2998 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3000 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3001 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3003 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3005 * sysdeps/unix/i386/brk.S: Remove file.
3006 * sysdeps/unix/i386/dl-brk.S: Likewise.
3007 * sysdeps/unix/i386/pipe.S: Likewise.
3008 * sysdeps/unix/i386/sigreturn.S: Likewise.
3009 * sysdeps/unix/i386/syscall.S: Likewise.
3010 * sysdeps/unix/i386/vfork.S: Likewise.
3011 * sysdeps/unix/i386/wait.S: Likewise.
3013 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3014 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3016 * configure.in (arm*-none*): Do not allow without
3017 --enable-hacker-mode.
3018 (netbsd*): Remove case setting base_os.
3019 (386bsd*): Likewise.
3020 (freebsd*): Likewise.
3024 (ultrix*): Likewise.
3025 (newsos*): Likewise.
3035 (solaris[2-9]*): Likewise.
3037 * configure: Regenerated.
3039 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3042 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3043 overflow or cancellation in calculating denominator.
3044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3046 down expression to avoid unexpected rounding in newer GCCs.
3047 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3049 2012-04-26 David S. Miller <davem@davemloft.net>
3051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3052 long-double compat symbols.
3053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3067 2012-04-25 David S. Miller <davem@davemloft.net>
3069 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3070 HWCAP_* values only after the memory barriers have been defined.
3071 (atomic_full_barrier): Define.
3072 (atomic_read_barrier): Define.
3073 (atomic_write_barrier): Define.
3075 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3077 * shlib-versions: Add libgcc_s version information.
3078 * sysdeps/generic/libgcc_s.h: Remove.
3079 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3081 * sysdeps/gnu/unwind-resume.c: Likewise.
3082 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3084 2012-04-25 David S. Miller <davem@davemloft.net>
3086 * sysdeps/unix/sparc/brk.S: Delete.
3087 * sysdeps/unix/sparc/dl-brk.S: Delete.
3088 * sysdeps/unix/sparc/pipe.S: Delete.
3089 * sysdeps/unix/sparc/sysdep.S: Delete.
3090 * sysdeps/unix/sparc/sysdep.h: Delete.
3091 * sysdeps/unix/sparc/vfork.S: Delete.
3092 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3093 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3094 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3095 ret_ERRVAL, r0, r1, MOVE): Define.
3096 (JUMPTARGET): Remove.
3097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3098 sysdeps/unix/sparc/sysdep.h
3099 (ENTRY, END): Remove.
3100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3102 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3104 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3105 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3108 * timezone/README: Update upstream location and email address for
3110 * timezone/zdump.c: Update from tzcode 2012b.
3111 * timezone/zic.c: Likewise.
3113 * configure.in (libc_cv_as_needed): Remove test.
3114 * configure: Regenerated.
3115 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3116 conditional definition.
3117 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3118 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3119 * config.make.in (have-as-needed): Remove variable.
3121 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3122 Paul Pluzhnikov <ppluzhnikov@google.com>
3124 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3127 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3129 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3130 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3131 * sysdeps/sh/strlen.S: Likewise.
3133 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3135 * sysdeps/unix/fork.S: Remove file.
3136 * sysdeps/unix/i386/fork.S: Likewise.
3137 * sysdeps/unix/sparc/fork.S: Likewise.
3139 * sysdeps/unix/system.c: Remove file.
3140 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3142 * sysdeps/unix/getegid.S: Remove file.
3143 * sysdeps/unix/geteuid.S: Likewise.
3145 2012-04-24 Roland McGrath <roland@hack.frob.com>
3147 * scripts/check-localplt.awk: New file.
3148 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3150 * scripts/data/localplt-generic.data: Add a comment.
3152 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3153 NODE when __dir_mkfile failed.
3154 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3155 Reported by Ludovic Courtès <ludo@gnu.org>.
3157 2012-04-24 Andreas Jaeger <aj@suse.de>
3159 * Makerules (common-clean): Also remove gen-as-const-headers
3162 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3164 * Makerules (native-compile): Do not change working directory for
3165 build. Use $(OUTPUT_OPTION) in command.
3166 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3168 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3171 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3172 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3173 * math/libm-test.inc (floor_test): Add more tests.
3174 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3176 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3178 * sysdeps/unix/getdents.c: Remove file.
3179 * sysdeps/unix/sysv/getdents.c: Likewise.
3180 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3182 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3183 sysdeps/unix/mman/syscalls.list.
3185 (mprotect): Likewise.
3188 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3189 * sysdeps/unix/mman/syscalls.list: Remove.
3190 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3192 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3193 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3194 * configure: Regenerated.
3195 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3197 * config.make.in (libgcc_s_suffix): Remove variable.
3199 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3201 * sysdeps/unix/sysv/gethostname.c: Move to ...
3202 * sysdeps/posix/gethostname.c: ... here.
3204 * sysdeps/unix/execve.S: Remove file.
3206 * sysdeps/unix/_exit.S: Remove file.
3208 2012-04-23 Andreas Jaeger <aj@suse.de>
3211 * manual/Makefile: Remove make dist support, there's no
3212 need for a stand-alone documentation tar ball.
3213 (TEXI2DVI): Define always, it's not in Makeconfig.
3217 (glibc-doc-$(edition).tar): Removed
3221 (ETAGS): Remove, it's in Makeconfig.
3222 (move-if-change): Remove, it's in Makeconfig.
3224 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3227 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3228 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3229 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3230 (strtod_l, strtof_l, strtold_l): Remove __wur.
3231 It is not necessarily an error to ignore strtol's return value.
3232 One can reliably look at the stored endptr to decide whether
3233 the number had valid syntax.
3235 2012-04-21 Andreas Jaeger <aj@suse.de>
3238 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3240 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3242 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3243 * sysdeps/unix/sysv/Versions: Remove file.
3245 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3250 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3254 version from __vm86.
3256 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3258 * sysdeps/unix/common/lxstat.c: Remove file.
3259 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3261 * sysdeps/unix/sysv/Makefile: Remove file.
3263 * sysdeps/unix/sysv/direct.h: Remove file.
3265 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3266 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3267 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3268 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3269 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3270 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3271 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3273 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3275 * sysdeps/unix/xmknod.c: Remove file.
3276 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3278 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3280 * sysdeps/unix/sysv/i386/time.S: Remove file.
3282 * sysdeps/unix/fxstat.c: Remove file.
3283 * sysdeps/unix/xstat.c: Likewise.
3284 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3286 * sysdeps/unix/sysv/sigaction.c: Remove file.
3288 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3289 (sysdep_headers): Remove variable.
3290 [termio.h not in sysdep_headers] (generated): Likewise.
3291 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3292 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3293 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3294 * sysdeps/unix/sysv/tcflow.c: Likewise.
3295 * sysdeps/unix/sysv/tcflush.c: Likewise.
3296 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3297 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3298 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3299 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3300 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3302 * sysdeps/unix/siglist.c: Remove file.
3304 * sysdeps/unix/getppid.S: Remove file.
3306 * sysdeps/unix/mkdir.c: Remove file.
3307 * sysdeps/unix/rmdir.c: Likewise.
3309 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3311 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3313 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3314 errlist-compat value.
3316 2012-04-18 David S. Miller <davem@davemloft.net>
3318 * sysdeps/generic/memcopy.h (reg_char): Delete.
3319 * debug/strcat_chk.c: Use char, not reg_char.
3320 * debug/strcpy_chk.c: Likewise.
3321 * debug/strncat_chk.c: Likewise.
3322 * debug/strncpy_chk.c: Likewise.
3323 * string/memchr.c: Likewise.
3324 * string/memrchr.c: Likewise.
3325 * string/rawmemchr.c: Likewise.
3326 * string/strcat.c: Likewise.
3327 * string/strchr.c: Likewise.
3328 * string/strchrnul.c: Likewise.
3329 * string/strcmp.c: Likewise.
3330 * string/strcpy.c: Likewise.
3331 * string/strncat.c: Likewise.
3332 * string/strncmp.c: Likewise.
3333 * string/strncpy.c: Likewise.
3335 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3337 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3338 __builtin_memcopy is called when src and dest ranges are known to not
3341 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3343 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3344 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3345 fwd_align_merge macro call.
3346 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3347 bwd_align_merge macro call.
3348 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3350 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3352 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3353 bwd_align_merge macros.
3354 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3355 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3356 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3358 2012-04-18 David S. Miller <davem@davemloft.net>
3360 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3362 2012-04-18 Andreas Jaeger <aj@suse.de>
3365 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3366 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3367 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3369 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3370 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3371 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3373 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3374 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3375 Adjust for changed ldbl-128 files.
3377 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3378 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3379 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3381 2012-04-17 David S. Miller <davem@davemloft.net>
3383 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3385 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3387 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3388 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3389 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3390 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3391 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3392 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3394 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3397 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3398 * math/libm-test.inc: Add ilogb errno and exception tests.
3399 * math/w_ilogb.c: New file: ilogb wrapper.
3400 * math/w_ilogbf.c: New file: ilogbf wrapper.
3401 * math/w_ilogbl.c: New file: ilogbl wrapper.
3402 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3403 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3404 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3405 exception being thrown with 0.0 as argument.
3406 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3407 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3408 exception being thrown with 0.0 as argument.
3409 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3410 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3411 exception being thrown with 0.0 as argument.
3412 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3413 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3414 exception being thrown with 0.0 as argument.
3415 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3416 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3417 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3418 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3419 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3420 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3421 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3422 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3423 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3425 2012-04-17 Petr Baudis <pasky@ucw.cz>
3427 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3430 2012-04-16 Marek Polacek <polacek@redhat.com>
3432 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3434 2012-04-16 Marek Polacek <polacek@redhat.com>
3436 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3437 operands of fdivp instruction.
3439 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3441 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3442 * elf/tst-auditmod3b.c: Likewise.
3443 * elf/tst-auditmod4b.c: Likewise.
3444 * elf/tst-auditmod5b.c: Likewise.
3445 * elf/tst-auditmod6b.c: Likewise.
3446 * elf/tst-auditmod6c.c: Likewise.
3447 * elf/tst-auditmod7b.c: Likewise.
3448 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3449 * sysdeps/x86_64/preconfigure.in: Likewise.
3450 * sysdeps/x86_64/preconfigure: Regenerated.
3452 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3454 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3457 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3459 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3460 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3462 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3465 * locale/iso-639.def: Fix gl language name. Spotted by
3468 2012-04-12 Roland McGrath <roland@hack.frob.com>
3471 * libio/libio.h (__io_write_fn): Update comment.
3473 2012-04-12 Petr Baudis <pasky@ucw.cz>
3476 * stdio.texi (Hook Functions): The user provided writer function
3477 is not allowed to return -1.
3479 2012-04-11 David S. Miller <davem@davemloft.net>
3481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3483 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3485 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3486 Add a leading slash to rtkaio.
3488 2012-04-11 Jim Meyering <meyering@redhat.com>
3491 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3492 It is not necessarily an error to ignore fwrite's return
3493 value. One can reliably use ferror to test for errors after
3496 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3498 * bits/types.h (__snseconds_t): New type.
3499 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3501 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3502 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3503 (__SNSECONDS_T_TYPE): Likewise.
3504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3505 (__SNSECONDS_T_TYPE): Likewise.
3506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3507 (__SNSECONDS_T_TYPE): Likewise.
3509 2012-04-10 Andreas Jaeger <aj@suse.de>
3512 * manual/time.texi (Processor Time): Return type of times is
3513 elapsed real time since an arbitrary point in the past.
3514 (CPU Time): Move CLK_TCK from here...
3515 (Processor Time): ...to here. Correct description.
3516 * manual/conf.texi (Constants for Sysconf): Correct description of
3519 2012-04-10 David S. Miller <davem@davemloft.net>
3522 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3523 where the is a gap between DT_REL(A) and DT_JMPREL.
3525 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3527 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3528 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3529 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3531 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3533 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3534 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3535 (dl_main): Handle --inhibit-cache.
3536 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3538 * elf/dl-load.c (_dl_map_object): Use it.
3539 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3541 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3544 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3545 (__ieee754_powl): Saturate large exponents rather than testing for
3546 overflow of y*log2(x).
3547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3548 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3552 * math/s_ctan.c: Include <float.h>.
3553 (__ctan): Avoid internal overflow or cancellation in calculating
3555 * math/s_ctanf.c: Likewise.
3556 * math/s_ctanl.c: Likewise.
3557 * math/s_ctanh.c: Likewise.
3558 * math/s_ctanhf.c: Likewise.
3559 * math/s_ctanhl.c: Likewise.
3560 * math/libm-test.inc (ctan_test): Add more tests.
3561 (ctanh_test): Likewise.
3562 * sysdeps/i386/fpu/libm-test-ulps: Update.
3563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3565 2012-04-09 Andreas Jaeger <aj@suse.de>
3568 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3569 is an optional BSD extension.
3572 * manual/stdio.texi (Opening Streams): Document additional fopen
3575 2012-04-09 Roland McGrath <roland@hack.frob.com>
3577 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3578 %eax without telling the compiler.
3580 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3583 * manual/install.texi: Use sourceware.org.
3585 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3588 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3589 (__ieee754_pow): Generate overflow and underflow using huge*huge
3590 and tiny*tiny rather than just returning constant infinity or zero
3591 for large exponents.
3592 * math/libm-test.inc (pow_test): Require overflow exceptions for
3593 applicable cases of large exponents.
3596 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3597 (__ieee754_pow): Use iterative multiplication algorithm only for
3598 integer exponents with absolute value below 1024. Check for odd
3599 integer exponents when using algorithm for real exponents.
3600 * math/libm-test.inc (pow_test): Add more tests.
3601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3603 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3606 * math/libm-test.inc (exp_test): Do not allow overflow exception
3609 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3612 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3613 instead of __kernel_standard_f.
3615 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3617 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3618 * sysdeps/x86_64/memset_chk.S: Likewise.
3620 2012-04-08 Andreas Jaeger <aj@suse.de>
3623 * manual/startup.texi (Environment Access): Describe return value
3624 for putenv and setenv.
3627 * manual/filesys.texi (Directory Entries): Add description for
3631 * manual/filesys.texi (Directory Entries): Clarify that it's file
3632 system not operating system in the description of DT_UNKNOWN.
3635 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3637 2012-04-08 Stephen Compall <s11@member.fsf.org>
3640 * manual/llio.texi (Opening and Closing Files): Add cross
3641 reference to explain mode argument.
3643 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3645 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3646 * sysdeps/x86_64/memset_chk.S: Likewise.
3648 2012-04-07 David S. Miller <davem@davemloft.net>
3650 * elf/elf.h (R_SPARC_WDISP10): Define.
3651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3654 R_SPARC_SIZE64 and R_SPARC_H34.
3656 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3658 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3659 conditions and remove no longer applicable assertion.
3661 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3663 * bits/byteswap.h: Include <features.h>.
3664 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3665 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3667 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3669 * bits/byteswap.h (__bswap_16): Removed.
3670 Include <bits/byteswap-16.h> to get __bswap_16.
3671 * sysdeps/i386/bits/byteswap.h: Likewise.
3672 * sysdeps/s390/bits/byteswap.h: Likewise.
3673 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3674 * bits/byteswap-16.h: New file.
3675 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3676 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3677 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3678 * string/Makefile (headers): Add bits/byteswap-16.h.
3680 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3683 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3685 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3686 * nss/tst-nss-static.c: New.
3688 2012-04-06 Robert Millan <rmh@gnu.org>
3691 * manual/llio.texi (File Position Primitive): lseek
3692 refers to WHENCE when it really means OFFSET.
3694 2012-04-06 Andreas Jaeger <aj@suse.de>
3696 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3697 strncmp declarations.
3699 * abilist/libc.abilist: Add __poll and __ppoll.
3701 2012-04-05 David S. Miller <davem@davemloft.net>
3703 * scripts/check-local-headers.sh: Accept a host triplet in the
3704 path matched by the exclude regexp.
3706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3708 * sysdeps/powerpc/powerpc32/dl-machine.h
3709 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3710 * sysdeps/s390/s390-32/dl-machine.h
3711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3712 * sysdeps/sparc/sparc32/dl-machine.h
3713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3714 * sysdeps/sparc/sparc64/dl-machine.h
3715 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3717 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3719 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3720 undefined symbol errors.
3722 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3725 2012-04-05 Michael Matz <matz@suse.de>
3728 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3730 2012-04-05 Andreas Jaeger <aj@suse.de>
3733 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3736 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3738 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3739 which ROUND is no valid rounding mode.
3741 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3743 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3745 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3747 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3749 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3750 an exception using FPU order intentionally.
3752 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3754 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3755 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3756 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3757 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3759 2012-04-05 Simon Josefsson <simon@josefsson.org>
3762 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3763 EINVAL when BUFLEN is too smal.
3765 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3768 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3769 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3771 2012-04-03 Andreas Jaeger <aj@suse.de>
3774 * manual/setjmp.texi (System V contexts): Fix sentence.
3777 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3778 New macro for this case.
3779 [!__GNUC__] (__bswap_64): New inline function for this case.
3780 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3781 * bits/byteswap.h: Likewise.
3782 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3783 ull, guard with __GLIBC_HAVE_LONG_LONG.
3785 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3786 __GLIBC_HAVE_LONG_LONG.
3788 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3789 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3791 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3794 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3795 inptr and inend, rather than using last_ch.
3797 2012-04-02 David S. Miller <davem@davemloft.net>
3799 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3800 * stdio-common/printf-parse.h (read_int): Change return type to
3801 'int', return -1 on INT_MAX overflow.
3802 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3803 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3804 overflows INT_MAX. Check for overflow of in-format-string precision
3805 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3806 SIZE_MAX not INT_MAX for integer overflow test.
3807 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3808 skip the construct in the format string but do not record anything.
3809 * stdio-common/bug22.c: Adjust to test both width/prevision
3810 INT_MAX overflow as well as total length INT_MAX overflow. Check
3811 explicitly for proper errno values.
3813 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3815 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3817 * string/test-strcmp.c [! WIDE]: Likewise.
3818 * time/tst-mktime2.c: Likewise for INT_MAX.
3819 * string/test-string.h: #include <sys/param.h> for MIN.
3821 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3822 * sysdeps/i386/init-first.c (init): Likewise.
3823 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3824 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3825 * sysdeps/sh/init-first.c (init): Likewise.
3827 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3829 * po/ru.po: Update from translation team.
3830 * po/vi.po: Likewise.
3832 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3834 * resolv/nss_dns/dns-host.c: Merge copyright years.
3836 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3839 Optimize memcpy with prefetch if
3840 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3841 src, dst pointers have unequal 16 byte alignments.
3843 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3846 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3847 from a CNAME entry and return the minimum ttl for the query.
3848 (gaih_getanswer_slice): Likewise.
3850 2012-03-30 Jeff Law <law@redhat.com>
3852 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3854 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3855 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3857 * resolv/nss_dns/dns-host.c: Update copyright year.
3859 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3861 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3862 requests to save a system call. Fix check that all bytes are sent.
3864 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3865 comments for sendmmsg.
3867 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3870 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3871 with only 1 character between 0x0041 and 0x01b0.
3872 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3873 * wcsmbs/tst-mbsnrtowcs.c: New file.
3875 2012-03-29 David S. Miller <davem@davemloft.net>
3877 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3878 small copies by hand.
3880 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3883 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3884 _nss_compat_initgroups_dyn): Fall back to malloc/free
3885 for large group memberships.
3887 2012-03-28 David S. Miller <davem@davemloft.net>
3889 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3890 that branches into memcpy.
3891 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3892 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3894 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3897 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3899 * sysdeps/sparc/mempcpy.S: New file.
3901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3902 the IFUNC routine in the libc case.
3903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3905 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3906 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3907 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3908 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3909 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3910 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3911 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3912 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3914 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3915 loop to 256 bytes instead of 64 bytes and fix test signedness.
3917 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3918 * sysdeps/sparc/sparc32/Makefile: rather than here...
3919 * sysdeps/sparc/sparc64/Makefile: and here.
3921 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3923 * malloc/mallocbug.c: Avoid warnings about unused variables.
3925 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3928 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3929 in the right place. Discard and retry query if response is
3930 larger than input buffer size.
3932 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3937 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3938 x for large integer exponent.
3939 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3940 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3941 sign of result as needed afterwards.
3942 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3943 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3944 result for underflowing pow the same as for overflow.
3945 (__kernel_standard_l): Handle powl overflow and underflow here
3946 rather than calling __kernel_standard.
3947 * math/libm-test.inc (pow_test): Add more tests.
3962 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3963 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3964 (__kernel_standard_l): New function.
3965 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3967 * math/w_acosl.c (__acosl): Likewise.
3968 * math/w_asinl.c (__asinl): Likewise.
3969 * math/w_atan2l.c (__atan2l): Likewise.
3970 * math/w_atanhl.c (__atanhl): Likewise.
3971 * math/w_coshl.c (__coshl): Likewise.
3972 * math/w_exp10l.c (__exp10l): Likewise.
3973 * math/w_exp2l.c (__exp2l): Likewise.
3974 * math/w_fmodl.c (__fmodl): Likewise.
3975 * math/w_hypotl.c (__hypotl): Likewise.
3976 * math/w_j0l.c (__j0l, __y0l): Likewise.
3977 * math/w_j1l.c (__j1l, __y1l): Likewise.
3978 * math/w_jnl.c (__jnl, __ynl): Likewise.
3979 * math/w_lgammal.c (__lgammal): Likewise.
3980 * math/w_log10l.c (__log10l): Likewise.
3981 * math/w_log2l.c (__log2l): Likewise.
3982 * math/w_logl.c (__logl): Likewise.
3983 * math/w_powl.c (__powl): Likewise.
3984 * math/w_remainderl.c (__remainderl): Likewise.
3985 * math/w_scalbl.c (sysv_scalbl): Likewise.
3986 * math/w_sinhl.c (__sinhl): Likewise.
3987 * math/w_sqrtl.c (__sqrtl): Likewise.
3988 * math/w_tgammal.c (__tgammal): Likewise.
3989 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3990 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3991 * math/libm-test.inc (acos_test): Add more tests.
3992 (acosh_test): Likewise.
3993 (asin_test): Likewise.
3994 (atanh_test): Likewise.
3995 (exp_test): Likewise.
3996 (exp10_test): Likewise.
3997 (exp2_test): Likewise.
3998 (expm1_test): Likewise.
3999 (lgamma_test): Likewise.
4000 (log_test): Likewise.
4001 (log10_test): Likewise.
4002 (log1p_test): Likewise.
4003 (log2_test): Likewise.
4004 (pow_test): Do not allow some spurious overflow exceptions.
4005 (sqrt_test): Add more tests.
4006 (tgamma_test): Likewise.
4007 (y0_test): Likewise.
4008 (y1_test): Likewise.
4009 (yn_test): Likewise.
4011 2012-03-27 Anton Blanchard <anton@samba.org>
4013 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4015 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4017 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4019 2012-03-27 David S. Miller <davem@davemloft.net>
4021 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4023 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4026 2012-03-27 Andreas Jaeger <aj@suse.de>
4028 * sysdeps/x86_64/elf/configure.in: Moved to ...
4029 * sysdeps/x86_64/configure.in: ... here.
4030 * sysdeps/x86_64/elf/start.S: Moved to ...
4031 * sysdeps/x86_64/start.S: ... here.
4032 * sysdeps/x86_64/elf/configure: Delete.
4034 * sysdeps/x86_64/configure.in: Merge contents from
4035 sysdeps/i386/configure.in (without i686 check).
4037 * sysdeps/i386/elf/Versions: Merge into ...
4038 * sysdeps/i386/Versions: ... this.
4039 * sysdeps/i386/elf/Versions: Delete file.
4040 * sysdeps/i386/elf/start.S: Moved to ...
4041 * sysdeps/i386/start.S: ...here.
4042 * sysdeps/i386/elf/configure.in: Merge into...
4043 * sysdeps/i386/configure.in: ...here.
4044 * sysdeps/i386/elf/configure.in: Delete file.
4045 * sysdeps/i386/elf/configure: Delete file.
4047 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4048 * debug/backtracesyms.c: ... here.
4049 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4050 * debug/backtracesymsfd.c: ... here.
4051 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4052 * sysdeps/generic/ifunc-sel.h: ... here.
4054 * sysdeps/unix/i386/start.c: Delete file.
4055 * sysdeps/unix/sparc/start.c: Delete file.
4056 * sysdeps/unix/start.c: Delete file.
4058 * sysdeps/sh/elf/configure.in: Moved to ...
4059 * sysdeps/sh/configure.in: ... here.
4060 * sysdeps/sh/elf/start.S: Moved to ...
4061 * sysdeps/sh/start.S: ... here.
4062 * sysdeps/sh/elf/configure: Delete file.
4064 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4065 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4066 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4067 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4068 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4069 * sysdeps/powerpc/powerpc64/start.S: here.
4070 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4071 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4072 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4073 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4074 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4076 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4077 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4078 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4079 * sysdeps/powerpc/powerpc32/start.S: ... here.
4080 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4081 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4082 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4084 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4085 * sysdeps/powerpc/ifunc-sel.h: ... here.
4086 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4087 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4089 * sysdeps/sparc/elf/configure.in: Moved to ...
4090 * sysdeps/sparc/configure.in: ... here.
4091 * sysdeps/sparc/elf/configure: Delete file.
4092 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4093 * sysdeps/sparc/sparc32/start.S: ... here.
4094 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4095 * sysdeps/sparc/sparc64/start.S: ... here.
4096 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4097 * sysdeps/sparc/sparc32/Makefile: ... this.
4098 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4099 * sysdeps/sparc/sparc64/Makefile: ... this.
4101 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4102 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4103 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4104 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4105 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4106 * sysdeps/s390/s390-32/setjmp.S: ... here.
4107 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4108 * sysdeps/s390/s390-32/configure.in: ... here.
4109 * sysdeps/s390/s390-32/elf/configure: Delete file.
4110 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4111 * sysdeps/s390/s390-32/start.S: ... here.
4113 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4114 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4115 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4116 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4117 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4118 * sysdeps/s390/s390-64/setjmp.S: ... here.
4119 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4120 * sysdeps/s390/s390-64/configure.in: ... here
4121 * sysdeps/s390/s390-64/elf/configure: Delete file.
4122 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4123 * sysdeps/s390/s390-64/start.S: ... here.
4124 * sysdeps/s390/s390-64/elf/configure: Delete.
4126 * configure.in: Remove support for elf directories in sysdeps.
4128 * configure: Regenerated.
4129 * sysdeps/i386/configure: Regenerated.
4130 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4131 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4132 * sysdeps/s390/s390-32/configure: Regenerated.
4133 * sysdeps/s390/s390-64/configure: Regenerated.
4134 * sysdeps/sh/configure: Regenerated.
4135 * sysdeps/sparc/configure: Regenerated.
4136 * sysdeps/x86_64/configure: Regenerated.
4138 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4143 denormal result into account.
4145 2012-03-25 Roland McGrath <roland@hack.frob.com>
4147 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4148 Reported by Allan McRae <allan@archlinux.org>.
4150 2012-03-23 Jeff Law <law@redhat.com>
4152 * nss/getnssent.c (__nss_getent): Fix typo.
4154 2012-03-23 David S. Miller <davem@davemloft.net>
4156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4158 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4160 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4161 to pad to uint64_t for each field.
4162 (dl_tls_index): Replace unsigned long with uint64_t.
4164 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4165 Paul Pluzhnikov <ppluzhnikov@google.com>
4168 * grp/Makefile (otherlibs): Don't set it.
4169 * inet/Makefile (otherlibs): Likewise.
4170 * login/Makefile (otherlibs): Likewise.
4171 * nscd/Makefile (otherlibs): Likewise.
4172 * posix/Makefile (otherlibs): Likewise.
4173 * pwd/Makefile (otherlibs): Likewise.
4174 * rt/Makefile (otherlibs): Likewise.
4175 * sunrpc/Makefile (otherlibs): Likewise.
4176 * nss/Makefile (otherlibs): Likewise.
4177 Add libnss_files to routines and static-only-routines.
4178 ($(objpfx)getent): Remove rule.
4179 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4180 static-only-routines.
4182 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4185 * math/s_cexp.c: Include <float.h>.
4186 (__cexp): Handle exp result overflowing not necessarily
4187 overflowing both real and imaginary parts of result.
4188 * math/s_cexpf.c: Likewise.
4189 * math/s_cexpl.c: Likewise.
4190 * math/libm-test.inc (cexp_test): Add more tests.
4191 * sysdeps/i386/fpu/libm-test-ulps: Update.
4192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4194 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4196 * include/link.h (ELFW): New macro.
4197 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4198 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4200 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4202 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4205 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4207 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4209 (struct La_x32_retval): Likewise.
4211 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4213 * sysdeps/x86_64/preconfigure.in: New file.
4214 * sysdeps/x86_64/preconfigure: New generated file.
4216 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4219 * math/e_exp2l.c: Include <float.h>.
4220 (__ieee754_exp2l): Handle overflow and underflow cases
4221 separately. Only pass fractional part of argument to
4223 * math/libm-test.inc (exp2_test): Add more tests.
4225 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4226 negating x to take absolute value.
4227 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4229 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4230 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4232 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4233 computing low part if x was negated.
4234 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4236 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4238 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4240 (pltexit): Cast int_retval to ptrdiff_t.
4241 * elf/tst-auditmod3b.c: Likewise.
4242 * elf/tst-auditmod4b.c: Likewise.
4243 * elf/tst-auditmod5b.c: Likewise.
4244 * elf/tst-auditmod6b.c: Likewise.
4245 * elf/tst-auditmod6c.c: Likewise.
4246 * elf/tst-auditmod7b.c: Likewise.
4248 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4249 and x32_gnu_pltexit.
4251 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4253 (La_x32_regs): New macro.
4254 (La_x32_retval): Likewise.
4255 (la_x32_gnu_pltenter): New function prototype.
4256 (la_x32_gnu_pltexit): Likewise.
4258 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4265 * configure.in (libc_cv_cc_nofma): Check for option to disable
4266 generation of FMA instructions.
4267 * configure: Regenerate.
4268 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4269 * sysdeps/ieee754/dbl-64/Makefile: New file.
4270 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4271 Remove brandred-fma4.
4272 (CFLAGS-brandred-fma4.c): Remove.
4273 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4274 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4276 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4279 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4281 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4282 LLONG_MAX != LONG_MAX.
4283 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4284 (_fitoa_word): Likewise.
4285 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4286 LLONG_MAX != LONG_MAX.
4287 * stdio-common/_itowa.h: Include <_itoa.h>.
4288 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4289 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4290 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4291 only if not defined.
4292 (_ITOA_WORD_TYPE): Likewise.
4293 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4294 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4296 2012-03-21 David S. Miller <davem@davemloft.net>
4298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4300 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4302 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4303 of x86_64 when setting libc_cv_slibdir, libdir and
4305 * sysdeps/unix/sysv/linux/configure: Regenerated.
4307 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4309 * manual/lang.texi (Old Varargs): Remove section.
4310 (How Variadic): Update menu.
4311 (va_start): Do not mention varargs.h.
4313 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4314 Joseph Myers <joseph@codesourcery.com>
4316 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4318 * configure: Regenerated.
4320 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4322 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4323 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4326 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4329 * Makefile (files-for-dist): Remove NOTES.
4330 (NOTES): Remove rule.
4331 * README: Don't refer to NOTES.
4332 * manual/creature.texi: Don't include macros.texi.
4333 * manual/intro.texi (creature.texi): Remove comment referring to
4336 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4337 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4338 * configure: Regenerated.
4339 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4341 (libc_cv_as_i686): Likewise.
4342 (libc_cv_cc_avx): Likewise.
4343 (libc_cv_cc_sse2avx): Likewise.
4344 (libc_cv_cc_fma4): Likewise.
4345 (libc_cv_cc_novzeroupper): Likewise.
4346 * sysdeps/i386/configure: Regenerated.
4349 * sysdeps/i386/fpu/s_cexp.S: Remove.
4350 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4351 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4352 * math/libm-test.inc (cexp_test): Add more tests.
4353 * sysdeps/i386/fpu/libm-test-ulps: Update.
4354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4356 2012-03-21 Allan McRae <allan@archlinux.org>
4358 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4360 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4363 * math/w_exp2.c: Do not include <float.h>.
4364 (o_threshold, u_threshold): Remove.
4365 (__exp2): Calculate result before checking finiteness and calling
4367 * math/w_exp2f.c: Likewise.
4368 * math/w_exp2l.c: Likewise.
4369 * math/libm-test.inc (exp2_test): Require overflow exception for
4373 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4374 range of signed 64-bit integers before using fistpll. Remove
4375 checks for whether integers fit in mantissa bits.
4376 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4377 the range of signed 32-bit integers before using fistpl. Remove
4378 checks for whether integers fit in mantissa bits.
4379 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4380 (__ieee754_powl): Test for y outside the range of signed 64-bit
4381 integers before using fistpll. Reduce 64-bit values to 63-bit
4383 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4384 divide-by-zero is raised for zero to large negative powers.
4385 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4386 (__ieee754_powl): Test for y outside the range of signed 64-bit
4387 integers before using fistpll. Reduce 64-bit values to 63-bit
4389 * math/libm-test.inc (pow_test): Add more tests.
4391 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4393 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4394 <stdio-common/_itoa.h>.
4395 * debug/segfault.c: Likewise.
4396 * elf/dl-cache.c: Likewise.
4397 * elf/dl-minimal.c: Likewise.
4398 * elf/dl-misc.c: Likewise.
4399 * elf/dl-sysdep.c: Likewise.
4400 * elf/dl-version.c: Likewise.
4401 * elf/rtld.c: Likewise.
4402 * hurd/hurdsock.c: Likewise.
4403 * hurd/lookup-retry.c: Likewise.
4404 * malloc/malloc.c: Likewise.
4405 * malloc/mtrace.c: Likewise.
4406 * nscd/nscd_getgr_r.c: Likewise.
4407 * nscd/nscd_getpw_r.c: Likewise.
4408 * nscd/nscd_getserv_r.c: Likewise.
4409 * posix/getopt_init.c: Likewise.
4410 * posix/wordexp.c: Likewise.
4411 * stdio-common/_itoa.c: Likewise.
4412 * stdio-common/printf_fphex.c: Likewise.
4413 * stdio-common/vfprintf.c: Likewise.
4414 * string/_strerror.c: Likewise.
4415 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4416 * sysdeps/i386/i686/hp-timing.h: Likewise.
4417 * sysdeps/mach/_strerror.c: Likewise.
4418 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4419 * sysdeps/mach/hurd/sethostid.c: Likewise.
4420 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4421 * sysdeps/mach/xpg-strerror.c: Likewise.
4422 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4423 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4424 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4425 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4426 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4427 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4428 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4429 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4430 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4431 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4432 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4433 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4434 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4435 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4436 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4437 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4438 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4439 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4440 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4441 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4442 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4444 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4446 * stdio-common/_itoa.h: Moved to ...
4447 * sysdeps/generic/_itoa.h: Here.
4449 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4451 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4452 instead of "_itoa.h" and "_itowa.h".
4453 * stdio-common/vfprintf.: Likewise.
4455 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4457 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4459 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4460 (__signbit): Likwise.
4464 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4466 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4469 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4471 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4472 OVERFLOW_EXCEPTION_OK.
4473 * math/libm-test.inc ("Philosophy"): Update comment about
4475 (OVERFLOW_EXCEPTION): Define.
4476 (OVERFLOW_EXCEPTION_OK): Likewise.
4477 (INVALID_EXCEPTION_OK): Renumber.
4478 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4479 (IGNORE_ZERO_INF_SIGN): Likewise.
4480 (test_exceptions): Handle FE_OVERFLOW.
4481 (exp10_test): Expect overflow exceptions.
4482 (exp2_test): Likewise.
4483 (expm1_test): Likewise.
4484 (nextafter_test): Likewise.
4485 (pow_test): Likewise.
4486 (scalbn_test): Likewise.
4487 (scalbln_test): Likewise.
4489 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4491 * sysdeps/x86_64/bits/atomic.h
4492 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4494 (atomic_exchange_acq): Likewise.
4495 (__arch_exchange_and_add_body): Likewise.
4496 (__arch_add_body): Likewise.
4497 (atomic_add_negative): Likewise.
4498 (atomic_add_zero): Likewise.
4500 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4502 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4503 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4505 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4507 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4508 Check __x86_64__ instead of __WORDSIZE.
4510 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4512 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4514 2012-03-19 David S. Miller <davem@davemloft.net>
4516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4518 * sysdeps/sparc/fpu/fenv_private.h: New file.
4519 * sysdeps/sparc/fpu/math_private.h: Use it.
4520 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4522 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4523 (libc_feholdexcept_setroundl): Remove.
4524 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4526 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4527 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4529 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4531 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4532 int64_t instead of long int.
4533 (INSERT_WORDS64): Likwise.
4535 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4537 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4538 _Unwind_GetCFA return to _Unwind_Ptr first.
4540 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4543 * math/s_clog.c: Include <float.h>.
4544 (__clog): Scale large or subnormal inputs.
4545 * math/s_clogf.c: Likewise.
4546 * math/s_clogl.c: Likewise.
4547 * math/s_clog10.c: Include <float.h>.
4548 (M_LOG10_2): Define.
4549 (__clog10): Scale large or subnormal inputs.
4550 * math/s_clog10f.c: Likewise.
4551 * math/s_clog10l.c: Likewise.
4552 * math/libm-test.inc (clog_test): Add more tests.
4553 (clog10_test): Likewise.
4554 * sysdeps/i386/fpu/libm-test-ulps: Update.
4555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4558 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4560 * math/libm-test.inc (atan2_test): Add another test.
4562 * Makerules (common-objdir-compile): Remove.
4563 * sysdeps/unix/Makefile (config-generated): Do not add
4564 $(unix-generated) to variable.
4565 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4566 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4568 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4570 [generic bits/local_lim.h] (before-compile): Do not append to
4572 [generic bits/local_lim.h] (common-generated): Likewise.
4573 [generic sys/param.h] (before-compile): Do not append to variable.
4574 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4575 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4576 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4577 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4579 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4580 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4581 [generic sys/param.h] ($(addprefix
4582 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4583 [generic sys/param.h] (common-generated): Do not append to
4585 [generic sys/param.h] (sysdep_headers): Likewise.
4586 [generic bits/errno.h] (before-compile): Do not append to
4588 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4590 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4591 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4592 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4593 [generic bits/errno.h] (common-generated): Do not append to
4595 [generic bits/ioctls.h] (before-compile): Do not append to
4597 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4599 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4600 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4601 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4603 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4604 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4605 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4606 [generic bits/ioctls.h] (common-generated): Do not append to
4608 [generic sys/syscall.h] (syscall.h): Remove variable.
4609 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4611 [generic sys/syscall.h] (before-compile): Do not append to
4613 [generic sys/syscall.h] (common-generated): Likewise.
4614 * sysdeps/unix/errnos-tmpl.c: Remove file.
4615 * sysdeps/unix/errnos.awk: Likewise.
4616 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4617 * sysdeps/unix/ioctls.awk: Likewise.
4618 * sysdeps/unix/mk-local_lim.c: Likewise.
4619 * sysdeps/unix/snarf-ioctls: Likewise.
4621 2012-03-19 Richard Henderson <rth@twiddle.net>
4623 * sysdeps/i386/fpu/fenv_private.h: New file.
4624 * sysdeps/i386/fpu/math_private.h: Use it.
4625 (math_opt_barrier, math_force_eval): Remove.
4626 (libc_feholdexcept_setround_53bit): Remove.
4627 (libc_feupdateenv_53bit): Remove.
4628 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4629 (math_opt_barrier, math_force_eval): Remove.
4630 (libc_feholdexcept): Remove.
4631 (libc_feholdexcept_setround): Remove.
4632 (libc_fetestexcept, libc_fesetenv): Remove.
4633 (libc_feupdateenv_test): Remove.
4634 (libc_feupdateenv, libc_feholdsetround): Remove.
4635 (libc_feresetround): Remove.
4637 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4638 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4640 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4641 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4642 (libc_feupdateenv_testl): New.
4643 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4644 (libc_feupdateenv_testf): New.
4645 (libc_feupdateenv): Use libc_feupdateenv_test.
4646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4647 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4649 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4650 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4651 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4652 (libc_feresetround_noex): New.
4653 (libc_feresetround_noexf): New.
4654 (libc_feresetround_noexl): New.
4655 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4656 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4657 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4658 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4663 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4664 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4665 SET_RESTORE_ROUND_NOEX.
4666 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4667 SET_RESTORE_ROUND_NOEXF.
4668 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4669 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4670 (libc_feholdsetroundf): New.
4671 (libc_feresetround, libc_feresetroundf): New.
4673 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4674 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4675 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4677 * sysdeps/generic/math_private.h: Include <fenv.h>.
4678 (default_libc_feholdexcept): New.
4679 (default_libc_feholdexcept_setround): New.
4680 (default_libc_fesetenv, default_libc_feupdateenv): New.
4681 (libc_feholdexcept): Only define if undefined.
4682 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4683 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4684 (libc_feholdexcept_setroundl): Likewise.
4685 (libc_feholdexcept_setround_53bit): Likewise.
4686 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4687 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4688 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4689 (libc_feupdateenv_53bit): Likewise.
4690 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4691 (libc_feholdexcept): Convert from macro to inline function.
4692 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4693 (libc_fesetenv, libc_feupdateenv): Likewise.
4695 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4696 not previously defined.
4697 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4698 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4699 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4700 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4701 * sysdeps/ieee754/flt-32/math_private.h: New file.
4702 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4703 math_private.h below SET_FLOAT_WORD.
4704 (__isnan, __isinf_ns, __finite): Remove.
4705 (__isnanf, __isinf_nsf, __finitef): Remove.
4707 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4711 2012-03-17 David S. Miller <davem@davemloft.net>
4714 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4717 2012-03-16 David S. Miller <davem@davemloft.net>
4719 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4723 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4725 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4726 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4727 sysdep_routines when subdir is sysvipc.
4728 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4731 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4733 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4735 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4738 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4740 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4741 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4742 (__lround): Renamed to ...
4743 (__llround): This. Replace long int with long long int.
4744 Define lround functions as aliases of llround functions.
4745 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4747 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4749 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4750 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4751 adresses to uintptr_t. Replace "long int" and "unsigned long
4752 int" with "greg_t" on va_arg.
4754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4756 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4757 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4759 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4760 Move e_machine check before EI_CLASS check. Handle x32
4761 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4762 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4763 SKIP_EM_IA_64 and include
4764 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4766 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4767 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4768 (add_system_dir): New macro.
4770 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4771 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4773 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4784 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4786 * math/w_j0f.c (j0f): Likewise.
4788 * math/w_j0l.c (__j0l): Likewise.
4790 * math/w_j1.c (j1): Likewise.
4792 * math/w_j1f.c (j1f): Likewise.
4794 * math/w_j1l.c (__j1l): Likewise.
4796 * math/w_jn.c (jn): Likewise.
4798 * math/w_jnf.c (jnf): Likewise.
4800 * math/w_jnl.c (__jnl): Likewise.
4802 * math/libm-test.inc (j0_test): Add more tests.
4803 (j1_test): Likewise.
4804 (jn_test): Likewise. Add trailing semicolon to existing test.
4805 (y0_test): Likewise.
4806 (y1_test): Likewise.
4807 * sysdeps/i386/fpu/libm-test-ulps: Update.
4808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4812 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4813 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4814 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4815 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4816 (__tanl): Set errno for infinite argument.
4817 * sysdeps/i386/fpu/mptan.c: Remove.
4818 * sysdeps/i386/fpu/s_tan.S: Likewise.
4819 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4820 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4821 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4822 * math/libm-test.inc (tan_test): Add more tests and enable more
4823 tests for double and long double.
4824 * sysdeps/i386/fpu/libm-test-ulps: Update.
4825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4827 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4829 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4830 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4832 2012-03-16 Roland McGrath <roland@hack.frob.com>
4834 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4835 * configure.in: Use it for both main tree and add-ons.
4836 * configure: Regenerated.
4838 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4840 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4842 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4844 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4848 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4849 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4854 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4857 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4858 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4859 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4860 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4861 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4862 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4863 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4864 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4865 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4866 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4867 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4868 * math/libm-test.inc (cos_test): Add more tests and enable more
4869 tests for long double.
4870 (sin_test): Likewise.
4871 (sincos_test): Likewise.
4872 * sysdeps/i386/fpu/libm-test-ulps: Update.
4873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4875 2012-03-16 David S. Miller <davem@davemloft.net>
4877 * sysdeps/sparc/fpu/math_private.h: New file.
4879 2012-03-15 David S. Miller <davem@davemloft.net>
4881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4895 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4896 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4898 * sysdeps/sparc/sparc-ifunc.h: New file.
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4944 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4946 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4950 2012-03-15 Andreas Jaeger <aj@suse.de>
4953 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4954 ieee754/flt-32 implementation for sin, cos and sincos.
4955 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4956 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4957 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4958 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4959 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4960 ieee754/flt-32 implementation for tan.
4962 * math/libm-test.inc (cos_test): Enable some large input tests for
4964 (sin_test): Likewise.
4965 (sincos_test): Likewise.
4966 (tan_test): Add tests for large input.
4968 * sysdeps/i386/fpu/libm-test-ulps: Update.
4970 2012-03-15 Andreas Jaeger <aj@suse.de>
4973 * math/libm-test.inc (cos_test): Add more test cases.
4974 (sin_test): Likewise.
4975 (sincos_test): Likewise.
4977 2012-03-15 Andreas Jaeger <aj@suse.de>
4980 * math/libm-test.inc (cos_test): Add a test case for large input
4982 (sin_test): Likewise.
4983 (sincos_test): Likewise.
4985 2012-03-15 Andreas Jaeger <aj@suse.de>,
4986 Joseph Myers <joseph@codesourcery.com>
4989 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4990 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4991 * sysdeps/i386/fpu/branred.c: Likewise.
4992 * sysdeps/i386/fpu/dosincos.c: Likewise.
4993 * sysdeps/i386/fpu/mpa.c: Likewise.
4994 * sysdeps/i386/fpu/s_cos.S: Likewise.
4995 * sysdeps/i386/fpu/s_sin.S: Likewise.
4996 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4997 * sysdeps/i386/fpu/sincos32.c: Likewise.
4999 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5001 (libc_feupdateenv_53bit): Define.
5002 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5004 (libc_feupdateenv_53bit): Define.
5006 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5007 53 bit (without extend i386 double precision).
5009 * math/libm-test.inc (sincos_test): Add tests for large input.
5013 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5015 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5019 2012-03-15 David S. Miller <davem@davemloft.net>
5021 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5022 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5023 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5024 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5049 fmin/fmax sysdep routines.
5050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5052 2012-03-14 David S. Miller <davem@davemloft.net>
5054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5126 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5131 * sysdeps/sparc/configure.in: New file.
5132 * sysdeps/sparc/configure: Generate.
5133 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5134 * configure: Regenerate.
5135 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5136 * config.make.in (have-as-vis3): New.
5137 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5138 available use -Av9d instead of -Av9a.
5139 * sysdeps/sparc/sparc64/Makefile: Likewise.
5140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5155 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5156 fzeros/fnegs to load 0x80000000 into a float register instead of
5158 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5160 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5164 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5165 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5166 ($(inst_includedir)/bits/syscall.h): Remove rule.
5167 ($(objpfx)bits/syscall.d): Include instead of
5168 $(objpfx)syscall-list.d.
5169 (generated): Change syscall-list.h and syscall-list.d to
5170 bits/syscall.h and bits/syscall.d.
5172 2012-03-14 Roland McGrath <roland@hack.frob.com>
5175 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5177 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5180 * math/s_csqrt.c: Include <float.h>.
5181 (__csqrt): Scale large or subnormal inputs.
5182 * math/s_csqrtf.c: Likewise.
5183 * math/s_csqrtl.c: Likewise.
5184 * math/libm-test.inc (csqrt_test): Add more tests.
5185 * sysdeps/i386/fpu/libm-test-ulps: Update.
5186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5189 * math/libm-test.inc (hypot_test): Add more tests.
5191 2012-03-13 David S. Miller <davem@davemloft.net>
5194 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5195 double-precision for the calculation instead of scaling.
5197 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5199 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5200 manipulate bits before adding and subtracting TWO52[sx].
5201 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5202 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5204 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5206 2012-03-13 David S. Miller <davem@davemloft.net>
5208 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5209 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5211 rtld-global-offsets.h
5212 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5214 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5217 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5219 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5220 'err' in the ifdef scope in which it is actually used.
5222 * nss/nss_db/db-init.c: Include string.h
5224 2012-03-12 David S. Miller <davem@davemloft.net>
5226 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5227 masking out of the most significant byte of random value used.
5228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5229 Fix coding style in previous change.
5231 * sysdeps/unix/sysv/linux/kernel-features.h
5232 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5233 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5235 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5238 2012-03-11 David S. Miller <davem@davemloft.net>
5240 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5241 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5242 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5243 for 'resultvar' otherwise things get truncated on 64-bit.
5245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5246 Fix masking out of the most significant byte of random value used.
5248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5250 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5254 2012-03-09 David S. Miller <davem@davemloft.net>
5256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5257 variables with appropriate CPP guards.
5258 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5259 frame pointer, not the stack pointer. Correct layout comments. Fix test
5260 on resulting framesize and the management of the outregs buffer for pltexit.
5261 Preserve floating point return values across _dl_call_pltexit call.
5262 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5263 framesize and the management of the outregs buffer for pltexit.
5264 Preserve floating point return values across _dl_call_pltexit
5266 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5267 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5268 (print_exit): Fix format string for return register value.
5270 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5272 * sunrpc/Makefile (others): Add rpcgen.
5273 ($(objpfx)rpcgen): Remove special build rule and dependency on
5275 * sunrpc/rpcgen.c: New file.
5277 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5280 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5281 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5282 * sysdeps/i386/crti.S: Likewise.
5283 * sysdeps/i386/crtn.S: Likewise.
5284 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5285 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5286 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5287 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5288 * sysdeps/sh/crti.S: Likewise.
5289 * sysdeps/sh/crtn.S: Likewise.
5290 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5293 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5295 * locale/programs/locfile-kw.gperf: Likewise.
5296 * locale/programs/charmap-kw.h: Regenerated.
5297 * locale/programs/locfile-kw.h: Likewise.
5300 * intl/plural.y: Replace FSF snail mail address with URL.
5301 * intl/plural.c: Regenerated.
5303 2012-03-09 Richard Henderson <rth@twiddle.net>
5305 * include/math_private.h: Remove file.
5306 * math/math_private.h: Move file ...
5307 * sysdeps/generic/math_private.h: ... here.
5309 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5310 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5311 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5313 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5314 and <math_private.h>.
5315 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5316 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5317 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5318 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5319 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5323 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5327 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5329 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5331 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5333 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5403 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5404 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5405 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5406 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5408 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5409 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5410 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5411 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5412 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5413 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5414 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5415 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5416 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5417 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5418 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5419 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5420 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5421 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5422 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5423 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5425 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5426 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5427 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5428 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5429 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5431 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5432 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5433 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5434 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5435 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5436 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5437 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5438 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5439 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5440 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5441 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5442 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5443 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5444 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5445 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5446 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5447 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5448 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5449 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5450 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5451 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5452 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5453 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5454 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5456 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5457 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5458 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5459 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5460 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5461 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5462 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5463 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5464 * sysdeps/ieee754/k_standard.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5496 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5522 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5524 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5574 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5575 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5577 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5578 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5580 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5584 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5585 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5587 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5590 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5592 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5597 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5608 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5613 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5614 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5615 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5625 * sysdeps/ieee754/s_lib_version.c: Likewise.
5626 * sysdeps/ieee754/s_matherr.c: Likewise.
5627 * sysdeps/ieee754/s_signgam.c: Likewise.
5628 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5629 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5630 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5631 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5632 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5633 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5634 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5635 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5636 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5637 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5638 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5639 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5640 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5641 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5642 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5643 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5644 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5645 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5646 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5647 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5650 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5652 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5653 * sunrpc/rpc_main.c: Likewise.
5654 * sunrpc/rpc_svcout.c: Likewise.
5656 2012-03-09 David S. Miller <davem@davemloft.net>
5658 * include/math_private.h: New file.
5660 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5662 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5663 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5664 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5665 from <bits/socket_type.h>.
5666 (enum __socket_type): Don't define here.
5667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5672 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5675 * Makerules ($(inst_includedir)/%.h): New rule.
5676 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5677 (install-others): Remove variable setting.
5678 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5680 2012-03-08 Richard Henderson <rth@twiddle.net>
5682 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5683 from macro to inline function; merge with the
5684 !__LIBC_INTERNAL_MATH_INLINES version.
5685 (__ieee754_sqrtf): Likewise.
5687 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5689 (__rintf, __floor, __floorf): Likewise.
5691 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5692 macro to inline function.
5693 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5696 not <math/math_private.h>.
5698 2012-03-08 David S. Miller <davem@davemloft.net>
5700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5702 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5704 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5706 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5708 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5709 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5711 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5713 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5714 be defined individually, they must be defined as a block. Define
5715 S for printing a string instead of hidint the different by using a
5716 macro for adding the 'l'.
5717 * stdio-common/tst-fphex-wide.c: Adjust.
5719 2012-03-07 Marek Polacek <polacek@redhat.com>
5721 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5723 2012-03-08 Marek Polacek <polacek@redhat.com>
5726 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5727 * stdio-common/tst-fphex.c: Define a few macros to make the
5728 test reusable. Use them.
5729 * stdio-common/tst-fphex-wide.c: New file.
5731 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5734 * manual/macros.texi (gnusystems): New macro.
5735 (nongnusystems): Likewise.
5736 (gnulinuxhurdsystems): Likewise.
5737 (gnuhurdsystems): Likewise..
5738 (gnulinuxsystems): Likewise.
5739 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5740 variants of the GNU system, not "GNU system".
5741 * manual/conf.texi: Likewise.
5742 * manual/errno.texi: Likewise. Update example of errno macro
5744 * manual/filesys.texi: Likewise.
5745 (getumask): Document as specific to GNU/Hurd.
5746 * manual/install.texi: Likewise. Reword some references to
5748 * manual/intro.texi: Likewise.
5749 * manual/io.texi: Likewise.
5750 (File Name Portability): Detail which constraints are inapplicable
5751 to all GNU systems and which are only inapplicable to GNU/Hurd.
5752 * manual/job.texi: Likewise.
5753 * manual/llio.texi: Likewise.
5754 (O_NOCTTY): Document as present on GNU/Linux.
5755 * manual/maint.texi: Likewise.
5756 * manual/memory.texi: Likewise.
5757 * manual/pattern.texi: Likewise.
5758 * manual/pipe.texi: Likewise.
5759 * manual/process.texi: Likewise.
5760 * manual/resource.texi: Likewise.
5761 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5763 * manual/setjmp.texi: Likewise.
5764 * manual/signal.texi: Likewise.
5765 * manual/startup.texi: Likewise.
5766 * manual/stdio.texi: Likewise.
5767 * manual/terminal.texi: Likewise.
5768 (ONLCR): Document as POSIX.
5769 (OXTABS): Document availability on GNU/Linux as XTABS.
5770 (ONOEOT): Document availability separately from other bits.
5771 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5772 * manual/time.texi: Likewise.
5773 * manual/users.texi: Likewise.
5774 * INSTALL: Regenerated.
5775 * sysdeps/gnu/errlist.c: Regenerated.
5777 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5778 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5779 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5781 * configure: Regenerated.
5783 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5785 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5786 default includes instead of AC_HEADER_CHECK.
5787 * sysdeps/i386/configure: Regenerated.
5790 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5791 * math/s_cacoshf.c (__cacoshf): Likewise.
5792 * math/s_cacoshl.c (__cacoshl): Likewise.
5793 * math/s_casinh.c (__casinh): Set signs of result from argument.
5794 * math/s_casinhf.c (__casinhf): Likewise.
5795 * math/s_casinhl.c (__casinhl): Likewise.
5796 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5797 (casinh_test): Add more tests.
5798 * sysdeps/i386/fpu/libm-test-ulps: Update.
5799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5801 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5803 * po/zh_TW.po: Update from translation team.
5805 * login/Makefile (distribute): Remove variable.
5806 * catgets/Makefile: Likewise.
5807 * mach/Makefile: Likewise.
5808 * malloc/Makefile: Likewise.
5809 * misc/Makefile: Likewise.
5810 * iconv/Makefile: Likewise.
5811 * nscd/Makefile: Likewise.
5812 * hurd/Makefile: Likewise.
5813 * manual/Makefile: Likewise.
5814 * locale/Makefile: Likewise.
5815 * intl/Makefile: Likewise.
5816 * conform/Makefile: Likewise.
5817 * nss/Makefile: Likewise.
5818 * time/Makefile: Likewise.
5819 * soft-fp/Makefile: Likewise.
5820 * dirent/Makefile: Likewise.
5821 * gmon/Makefile: Likewise.
5822 * po/Makefile: Likewise.
5823 * rt/Makefile: Likewise.
5824 * socket/Makefile: Likewise.
5825 * math/Makefile: Likewise.
5826 * signal/Makefile: Likewise.
5827 * debug/Makefile: Likewise.
5828 * elf/Makefile: Likewise.
5829 * timezone/Makefile: Likewise.
5830 * stdlib/Makefile: Likewise.
5831 * iconvdata/Makefile: Likewise.
5832 * sunrpc/Makefile: Likewise.
5833 * io/Makefile: Likewise.
5834 * argp/Makefile: Likewise.
5835 * inet/Makefile: Likewise.
5836 * hesiod/Makefile: Likewise.
5837 * grp/Makefile: Likewise.
5838 * csu/Makefile: Likewise.
5839 * wctype/Makefile: Likewise.
5840 * crypt/Makefile: Likewise.
5841 * libio/Makefile: Likewise.
5842 * string/Makefile: Likewise.
5843 * nis/Makefile: Likewise.
5844 * resolv/Makefile: Likewise.
5845 * stdio-common/Makefile: Likewise.
5846 * wcsmbs/Makefile: Likewise.
5847 * dlfcn/Makefile: Likewise.
5848 * posix/Makefile: Likewise.
5851 * timezone/Makefile: Don't install timezone files, just the programs
5854 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5856 * nss/databases.def: Add missing gshadow entry.
5858 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5860 2012-03-06 Marek Polacek <polacek@redhat.com>
5863 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5864 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5865 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5866 * stdio-common/tst-long-dbl-fphex.c: New file.
5868 2012-03-06 David S. Miller <davem@davemloft.net>
5870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5871 (set_obp_int): New function.
5872 (get_obp_int): New function.
5873 (__get_clockfreq_via_dev_openprom): Likewise.
5874 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5875 Avoid unused variable warnings on 'val' and use builtin_expect.
5876 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5878 (INLINE_CLONE_SYSCALL): Likewise.
5880 2012-03-05 David S. Miller <davem@davemloft.net>
5882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5884 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5892 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5894 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5895 Replace gettimeofday with __vdso_gettimeofday.
5897 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5898 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5899 __vdso_clock_gettime and __vdso_getcpu.
5901 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5902 time with __vdso_time.
5904 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5906 * manual/lang.texi (size_t): Note types to which size_t may be
5907 equivalent with the GNU C Library, but do not describe when
5908 differences between them are significant.
5910 2012-03-05 Andreas Jaeger <aj@suse.de>
5912 * sysdeps/i386/fpu/libm-test-ulps: Update.
5914 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5917 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5918 (__ieee754_pow): Save and restore rounding mode and use
5919 round-to-nearest for main computations.
5920 * math/libm-test.inc (pow_test_tonearest): New function.
5921 (pow_test_towardzero): Likewise.
5922 (pow_test_downward): Likewise.
5923 (pow_test_upward): Likewise.
5924 (main): Call the new functions.
5925 * sysdeps/i386/fpu/libm-test-ulps: Update.
5926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5929 * math/libm-test.inc (cosh_test_tonearest): New function.
5930 (cosh_test_towardzero): Likewise.
5931 (cosh_test_downward): Likewise.
5932 (cosh_test_upward): Likewise.
5933 (sinh_test_tonearest): Likewise.
5934 (sinh_test_towardzero): Likewise.
5935 (sinh_test_downward): Likewise.
5936 (sinh_test_upward): Likewise.
5937 (main): Call the new functions.
5938 * sysdeps/i386/fpu/libm-test-ulps: Update.
5939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5941 2012-03-05 Tom de Vries <tom@codesourcery.com>
5943 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5944 default stack guard is set in last bytes.
5945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5947 2012-03-05 Kees Cook <keescook@chromium.org>
5949 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5952 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5953 possibly allocate from heap instead of stack.
5954 * stdio-common/bug-vfprintf-nargs.c: New file.
5955 * stdio-common/Makefile (tests): Add nargs overflow test.
5957 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5961 2012-03-03 Marek Polacek <polacek@redhat.com>
5963 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5964 * math/math_private.h: Likewise.
5965 * stdlib/tst-strtod.c: Likewise.
5966 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5967 * sysdeps/x86_64/bits/atomic.h: Likewise.
5969 2012-03-02 David S. Miller <davem@davemloft.net>
5971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5975 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5976 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5977 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5978 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5980 2012-03-02 Roland McGrath <roland@hack.frob.com>
5983 * manual/examples/README: New file, says the example source files
5984 can be used under GPL>=2.
5985 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5986 line containing just "*/".
5987 * manual/examples/add.c: Add copyright header (GPL>=2).
5988 * manual/examples/argp-ex1.c: Likewise.
5989 * manual/examples/argp-ex2.c: Likewise.
5990 * manual/examples/argp-ex3.c: Likewise.
5991 * manual/examples/argp-ex4.c: Likewise.
5992 * manual/examples/atexit.c: Likewise.
5993 * manual/examples/db.c: Likewise.
5994 * manual/examples/dir.c: Likewise.
5995 * manual/examples/dir2.c: Likewise.
5996 * manual/examples/execinfo.c: Likewise.
5997 * manual/examples/filecli.c: Likewise.
5998 * manual/examples/filesrv.c: Likewise.
5999 * manual/examples/fmtmsgexpl.c: Likewise.
6000 * manual/examples/genpass.c: Likewise.
6001 * manual/examples/inetcli.c: Likewise.
6002 * manual/examples/inetsrv.c: Likewise.
6003 * manual/examples/isockad.c: Likewise.
6004 * manual/examples/longopt.c: Likewise.
6005 * manual/examples/memopen.c: Likewise.
6006 * manual/examples/memstrm.c: Likewise.
6007 * manual/examples/mkfsock.c: Likewise.
6008 * manual/examples/mkisock.c: Likewise.
6009 * manual/examples/mygetpass.c: Likewise.
6010 * manual/examples/pipe.c: Likewise.
6011 * manual/examples/popen.c: Likewise.
6012 * manual/examples/rprintf.c: Likewise.
6013 * manual/examples/search.c: Likewise.
6014 * manual/examples/select.c: Likewise.
6015 * manual/examples/setjmp.c: Likewise.
6016 * manual/examples/sigh1.c: Likewise.
6017 * manual/examples/sigusr.c: Likewise.
6018 * manual/examples/stpcpy.c: Likewise.
6019 * manual/examples/strdupa.c: Likewise.
6020 * manual/examples/strftim.c: Likewise.
6021 * manual/examples/strncat.c: Likewise.
6022 * manual/examples/subopt.c: Likewise.
6023 * manual/examples/swapcontext.c: Likewise.
6024 * manual/examples/termios.c: Likewise.
6025 * manual/examples/testopt.c: Likewise.
6026 * manual/examples/testpass.c: Likewise.
6027 * manual/examples/timeval_subtract.c: Likewise.
6030 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6032 * manual/timeval_subtract.c.texi: ... here, new file.
6034 2012-03-02 David S. Miller <davem@davemloft.net>
6036 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6038 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6041 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6042 (__sin): Save and restore rounding mode and use round-to-nearest
6043 for all computations.
6044 (__cos): Save and restore rounding mode and use round-to-nearest
6045 for all computations.
6046 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6048 (tan): Save and restore rounding mode and use round-to-nearest for
6050 * math/libm-test.inc (cos_test_tonearest): New function.
6051 (cos_test_towardzero): Likewise.
6052 (cos_test_downward): Likewise.
6053 (cos_test_upward): Likewise.
6054 (sin_test_tonearest): Likewise.
6055 (sin_test_towardzero): Likewise.
6056 (sin_test_downward): Likewise.
6057 (sin_test_upward): Likewise.
6058 (tan_test_tonearest): Likewise.
6059 (tan_test_towardzero): Likewise.
6060 (tan_test_downward): Likewise.
6061 (tan_test_upward): Likewise.
6062 (main): Call the new functions.
6063 * sysdeps/i386/fpu/libm-test-ulps: Update.
6064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6067 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6068 small n, then large n, before computing and testing k+n.
6069 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6074 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6075 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6077 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6078 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6079 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6080 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6081 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6082 * math/libm-test.inc (scalbn_test): Add more tests.
6083 (scalbln_test): Likewise.
6085 * manual/filesys.texi (mode_t): Describe constraints on size and
6086 signedness, not exact equivalence to a particular type.
6088 (ino64_t): Likewise.
6090 (nlink_t): Likewise.
6091 (blkcnt_t): Likewise.
6092 (blkcnt64_t): Likewise.
6093 * manual/llio.texi (off_t): Likewise.
6096 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6097 (__ieee754_exp): Save and restore rounding mode and use
6098 round-to-nearest for all computations.
6099 * math/libm-test.inc (exp_test_tonearest): New function.
6100 (exp_test_towardzero): Likewise.
6101 (exp_test_downward): Likewise.
6102 (exp_test_upward): Likewise.
6103 (main): Call the new functions.
6104 * sysdeps/i386/fpu/libm-test-ulps: Update.
6105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6107 2012-03-01 Chris Demetriou <cgd@google.com>
6109 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6110 have predictable order.
6112 2012-03-01 David S. Miller <davem@davemloft.net>
6114 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6116 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6117 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6118 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6119 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6121 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6122 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6123 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6125 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6126 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6127 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6128 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6129 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6133 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6134 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6135 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6137 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6138 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6139 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6140 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6141 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6142 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6144 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6145 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6146 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6147 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6148 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6150 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6151 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6152 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6153 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6154 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6155 * sysdeps/sparc/elf/configure: Regenerated.
6157 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6159 * configure.in (AS, LD): Require binutils 2.20 or later.
6160 * configure: Regenerated.
6161 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6162 as required minimum version.
6163 * INSTALL: Regenerated.
6167 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6168 before squaring exponent.
6169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6170 bottom long double and 27 bits of top long double before squaring
6172 * math/libm-test.inc (erfc_test): Add more tests.
6173 * sysdeps/i386/fpu/libm-test-ulps: Update.
6174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6177 2012-03-01 Kai Tietz <ktietz@redhat.com>
6179 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6180 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6181 containing bit-fields.
6182 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6183 * soft-fp/single.h (_FP_UNION_S): Likewise.
6184 * soft-fp/double.h (_FP_UNION_D): Likewise.
6186 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6189 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6190 not include ../strcmp.S.
6191 [USE_AS_STRNCASECMP_L]: Likewise.
6192 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6193 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6194 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6195 (__strncasecmp_l_ia32): Define as alias to
6196 __strncasecmp_l_nonascii.
6199 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6200 * sysdeps/i386/fpu/libm-test-ulps: Update.
6201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6203 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6206 2012-02-29 Jeff Law <law@redhat.com>
6208 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6211 2012-02-29 Marek Polacek <polacek@redhat.com>
6214 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6215 * elf/Makefile: Add rules to run tst-unused-dep.out.
6217 2012-02-28 David S. Miller <davem@davemloft.net>
6219 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6220 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6223 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6224 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6226 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6228 * math/libm-test.inc (llround_test): Move one test from
6229 lround_test. Use TEST_f_L in moved test.
6230 (lround_test): Move misplaced test to llround_test. Add testcase
6233 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6235 * sysdeps/x86_64/fpu/e_expf.S: New file.
6236 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6238 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6241 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6242 of remain_len that may cause incomplete multi-byte character and
6244 * posix/bug-regex33.c: New file.
6245 * posix/Makefile (tests): Add bug-regex33.
6247 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6249 * manual/macros.texi: New file.
6250 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6251 * manual/libc.texinfo: Include macros.texi.
6252 * manual/creatute.texi: Likewise.
6253 * manual/install.texi: Likewise.
6254 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6255 @glibcadj{} in references to the GNU C Library.
6256 * manual/charset.texi: Likewise.
6257 * manual/conf.texi: Likewise.
6258 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6259 when not using those macros.
6260 * manual/creature.texi: Likewise.
6261 * manual/crypt.texi: Likewise.
6262 * manual/errno.texi: Likewise.
6263 * manual/filesys.texi: Likewise.
6264 * manual/header.texi: Likewise.
6265 * manual/install.texi: Likewise.
6266 * manual/intro.texi: Likewise.
6267 * manual/io.texi: Likewise.
6268 * manual/job.texi: Likewise.
6269 * manual/lang.texi: Likewise.
6270 * manual/libc.texiinfo: Likewise.
6271 * manual/llio.texi: Likewise.
6272 * manual/locale.texi: Likewise.
6273 * manual/maint.texi: Likewise.
6274 * manual/math.texi: Likewise.
6275 * manual/memory.texi: Likewise.
6276 * manual/message.texi: Likewise.
6277 * manual/nss.texi: Likewise.
6278 * manual/pattern.texi: Likewise.
6279 * manual/process.texi: Likewise.
6280 * manual/resource.texi: Likewise.
6281 * manual/search.texi: Likewise.
6282 * manual/setjmp.texi: Likewise.
6283 * manual/signal.texi: Likewise.
6284 * manual/socket.texi: Likewise.
6285 * manual/startup.texi: Likewise.
6286 * manual/stdio.texi: Likewise.
6287 * manual/string.texi: Likewise.
6288 * manual/sysinfo.texi: Likewise.
6289 * manual/syslog.texi: Likewise.
6290 * manual/terminal.texi: Likewise.
6291 * manual/time.texi: Likewise.
6292 * manual/users.texi: Likewise.
6293 * INSTALL: Regenerated.
6294 * NOTES: Regenerated.
6295 * sysdeps/gnu/errlist.c: Regenerated.
6297 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6299 * include/dirent.h: Include <dirstream.h> before
6302 2012-02-28 David S. Miller <davem@davemloft.net>
6304 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6305 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6306 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6307 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6309 2012-02-27 David S. Miller <davem@davemloft.net>
6311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6313 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6314 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6317 frame pointer instead of stack pointer relative arg slot.
6318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6319 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6320 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6322 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6325 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6327 2012-02-27 David S. Miller <davem@davemloft.net>
6329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6333 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6334 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6335 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6336 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6338 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6340 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6341 later. Allow versions 5-9.
6342 * configure: Regenerated.
6343 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6344 required minimum version and 4.6 as recommended version. Do not
6345 mention bugs in GCC 2.7 and 2.8.
6346 * INSTALL: Regenerated.
6348 2012-02-27 David S. Miller <davem@davemloft.net>
6350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6356 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6360 manipulate bits before adding and subtracting TWO112[sx].
6361 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6363 2012-02-27 Roland McGrath <roland@hack.frob.com>
6366 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6367 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6368 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6369 being in POSIX, because they are in 1003.1-2008.
6371 * rt/tst-aio.c: Include <fcntl.h>.
6372 * rt/tst-aio7.c: Likewise.
6373 * rt/tst-aio64.c: Likewise.
6375 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6377 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6379 * manual/install.texi (--with-headers): Describe headers as
6380 interface headers, not private headers.
6381 (Specific advice for GNU/Linux systems): Describe use of headers
6382 from "make headers_install", not private headers from older
6384 * INSTALL: Regenerated.
6385 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6387 * sysdeps/unix/sysv/linux/configure: Regenerated.
6389 * manual/llio.texi (fclean): Remove documentation.
6391 * manual/Makefile (libc-texi-generated): New variable. Include
6393 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6394 $(libc-texi-generated), not duplicated list of files.
6395 (version.texi, stamp-version): New rules.
6396 (realclean): Remove $(libc-texi-generated), not individual files
6397 from that list. Do not remove dir-add.texinfo.
6398 * manual/libc.texinfo: Comment out uses of edition numbers and
6399 references to printed manual. Remove last-updated dates.
6400 (EDITION): Comment out.
6402 (VERSION, UPDATED): Remove.
6403 (version.texi): Include.
6405 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6407 * sysdeps/posix/spawni.c: Include <signal.h>.
6408 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6409 * sysdeps/pthread/aio_fsync.c: Likewise.
6411 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6413 * conform/Makefile (tests): Run only when not cross-compiling and
6414 when fast-check is not defined.
6416 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6417 * conform/data/limits.h-data: Fixes for POSIX2008.
6418 * conform/run-conformtest.sh: Run all tests.
6419 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6421 * include/bits/dlfcn.h: Likewise.
6422 * include/langinfo.h: Likewise.
6423 * include/monetary.h: Likewise.
6424 * include/sys/poll.h: Likewise.
6426 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6428 * posix/spawn.h: Define __need_sigset_t.
6429 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6430 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6431 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6432 to get sigevent_t only.
6433 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6436 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6437 process_vm_writev only for __USE_GNU.
6438 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6440 * conform/Makefile: For now ignore errors from run-conformtest.
6441 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6442 POSIX to avoid namespace pollution. Don't prepend headers.
6443 * conform/data/aio.h-data: Fixes for POSIX testing.
6444 * conform/data/fcntl.h-data: Likewise.
6445 * conform/data/glob.h-data: Likewise.
6446 * conform/data/grp.h-data: Likewise.
6447 * conform/data/pthread.h-data: Likewise.
6448 * conform/data/pwd.h-data: Likewise.
6449 * conform/data/signal.h-data: Likewise.
6450 * conform/data/spawn.h-data: Likewise.
6451 * conform/data/stdio.h-data: Likewise.
6452 * conform/data/stdlib.h-data: Likewise.
6453 * conform/data/stropts.h-data: Likewise.
6454 * conform/data/sys/mman.h-data: Likewise.
6455 * conform/data/sys/stat.h-data: Likewise.
6456 * conform/data/sys/types.h-data: Likewise.
6457 * conform/data/sys/wait.h-data: Likewise.
6458 * conform/data/time.h-data: Likewise.
6459 * conform/data/unistd.h-data: Likewise.
6460 * conform/data/utime.h-data: Likewise.
6462 * io/sys/stat.h: fchmod was always in POSIX.
6463 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6464 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6465 * rt/aio.h: Define __need_timespec before including <time.h>.
6466 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6467 struct. Add forward declaration of pthread_attr_t and use it in
6469 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6470 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6471 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6472 always remove CLK_TCK definition.
6474 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6476 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6478 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6480 * conform/run-conformtest.sh: New file.
6481 * conform/Makefile: Run run-conformtest for tests.
6482 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6485 * conform/data/uchar.h-data: New file.
6486 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6487 * conform/data/arpa/inet.h-data: Likewise.
6488 * conform/data/assert.h-data: Likewise.
6489 * conform/data/complex.h-data: Likewise.
6490 * conform/data/cpio.h-data: Likewise.
6491 * conform/data/ctype.h-data: Likewise.
6492 * conform/data/dirent.h-data: Likewise.
6493 * conform/data/dlfcn.h-data: Likewise.
6494 * conform/data/errno.h-data: Likewise.
6495 * conform/data/fcntl.h-data: Likewise.
6496 * conform/data/float.h-data: Likewise.
6497 * conform/data/fmtmsg.h-data: Likewise.
6498 * conform/data/fnmatch.h-data: Likewise.
6499 * conform/data/ftw.h-data: Likewise.
6500 * conform/data/glob.h-data: Likewise.
6501 * conform/data/grp.h-data: Likewise.
6502 * conform/data/iconv.h-data: Likewise.
6503 * conform/data/inttypes.h-data: Likewise.
6504 * conform/data/langinfo.h-data: Likewise.
6505 * conform/data/libgen.h-data: Likewise.
6506 * conform/data/limits.h-data: Likewise.
6507 * conform/data/locale.h-data: Likewise.
6508 * conform/data/math.h-data: Likewise.
6509 * conform/data/monetary.h-data: Likewise.
6510 * conform/data/mqueue.h-data: Likewise.
6511 * conform/data/ndbm.h-data: Likewise.
6512 * conform/data/net/if.h-data: Likewise.
6513 * conform/data/netdb.h-data: Likewise.
6514 * conform/data/netinet/in.h-data: Likewise.
6515 * conform/data/nl_types.h-data: Likewise.
6516 * conform/data/poll.h-data: Likewise.
6517 * conform/data/pthread.h-data: Likewise.
6518 * conform/data/pwd.h-data: Likewise.
6519 * conform/data/regex.h-data: Likewise.
6520 * conform/data/sched.h-data: Likewise.
6521 * conform/data/search.h-data: Likewise.
6522 * conform/data/semaphore.h-data: Likewise.
6523 * conform/data/setjmp.h-data: Likewise.
6524 * conform/data/signal.h-data: Likewise.
6525 * conform/data/spawn.h-data: Likewise.
6526 * conform/data/stdarg.h-data: Likewise.
6527 * conform/data/stdio.h-data: Likewise.
6528 * conform/data/stdlib.h-data: Likewise.
6529 * conform/data/string.h-data: Likewise.
6530 * conform/data/strings.h-data: Likewise.
6531 * conform/data/stropts.h-data: Likewise.
6532 * conform/data/sys/ipc.h-data: Likewise.
6533 * conform/data/sys/mman.h-data: Likewise.
6534 * conform/data/sys/msg.h-data: Likewise.
6535 * conform/data/sys/resource.h-data: Likewise.
6536 * conform/data/sys/select.h-data: Likewise.
6537 * conform/data/sys/sem.h-data: Likewise.
6538 * conform/data/sys/shm.h-data: Likewise.
6539 * conform/data/sys/socket.h-data: Likewise.
6540 * conform/data/sys/stat.h-data: Likewise.
6541 * conform/data/sys/statvfs.h-data: Likewise.
6542 * conform/data/sys/time.h-data: Likewise.
6543 * conform/data/sys/timeb.h-data: Likewise.
6544 * conform/data/sys/times.h-data: Likewise.
6545 * conform/data/sys/types.h-data: Likewise.
6546 * conform/data/sys/uio.h-data: Likewise.
6547 * conform/data/sys/un.h-data: Likewise.
6548 * conform/data/sys/utsname.h-data: Likewise.
6549 * conform/data/sys/wait.h-data: Likewise.
6550 * conform/data/syslog.h-data: Likewise.
6551 * conform/data/tar.h-data: Likewise.
6552 * conform/data/termios.h-data: Likewise.
6553 * conform/data/utime.h-data: Likewise.
6554 * conform/data/utmpx.h-data: Likewise.
6555 * conform/data/varargs.h-data: Likewise.
6556 * conform/data/wchar.h-data: Likewise.
6557 * conform/data/wctype.h-data: Likewise.
6558 * conform/data/wordexp.h-data: Likewise.
6560 * include/stropts.h: New file.
6561 * include/uchar.h: New file.
6562 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6563 * include/assert.h: Likewise.
6564 * include/ctype.h: Likewise.
6565 * include/dirent.h: Likewise.
6566 * include/dlfcn.h: Likewise.
6567 * include/fcntl.h: Likewise.
6568 * include/fnmatch.h: Likewise.
6569 * include/glob.h: Likewise.
6570 * include/grp.h: Likewise.
6571 * include/libio.h: Likewise.
6572 * include/locale.h: Likewise.
6573 * include/math.h: Likewise.
6574 * include/net/if.h: Likewise.
6575 * include/netdb.h: Likewise.
6576 * include/netinet/in.h: Likewise.
6577 * include/pthread.h: Likewise.
6578 * include/pwd.h: Likewise.
6579 * include/regex.h: Likewise.
6580 * include/sched.h: Likewise.
6581 * include/search.h: Likewise.
6582 * include/setjmp.h: Likewise.
6583 * include/signal.h: Likewise.
6584 * include/stdio.h: Likewise.
6585 * include/stdlib.h: Likewise.
6586 * include/string.h: Likewise.
6587 * include/sys/cdefs.h: Likewise.
6588 * include/sys/mman.h: Likewise.
6589 * include/sys/msg.h: Likewise.
6590 * include/sys/resource.h: Likewise.
6591 * include/sys/select.h: Likewise.
6592 * include/sys/socket.h: Likewise.
6593 * include/sys/stat.h: Likewise.
6594 * include/sys/statvfs.h: Likewise.
6595 * include/sys/time.h: Likewise.
6596 * include/sys/times.h: Likewise.
6597 * include/sys/uio.h: Likewise.
6598 * include/sys/utsname.h: Likewise.
6599 * include/sys/wait.h: Likewise.
6600 * include/termios.h: Likewise.
6601 * include/time.h: Likewise.
6602 * include/ulimit.h: Likewise.
6603 * include/unistd.h: Likewise.
6604 * include/utime.h: Likewise.
6605 * include/wchar.h: Likewise.
6606 * include/wctype.h: Likewise.
6607 * include/wordexp.h: Likewise.
6609 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6611 * time/time.h: TIME_UTC must be a macro.
6612 Make timespec_get available for ISO C11 only as well.
6614 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6616 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6617 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6619 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6621 * configure.in: Use -o not -a in test for unsupported multi-arch.
6623 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6625 * manual/texinfo.tex: Update to version 2012-01-19.16.
6627 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6629 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6631 2012-02-24 Roland McGrath <roland@hack.frob.com>
6634 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6635 * manual/fdl-1.3.texi: New file.
6636 * manual/fdl-1.1.texi: File removed.
6639 * manual/libc.texinfo (FDL_VERSION): New @set.
6640 Use it for mention of FDL in cover text.
6641 (Documentation License): Use it in @include file name.
6643 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6644 Roland McGrath <roland@hack.frob.com>
6647 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6648 not LONG_LONG_MAX and LONG_LONG_MIN.
6649 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6650 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6652 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6654 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6658 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6659 manipulate bits before adding and subtracting TWO23[sx].
6660 * math/libm-test.inc (nearbyint_test): Add more tests.
6662 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6665 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6666 bits before adding and subtracting TWO23[sx].
6667 * math/libm-test.inc (rint_test): Add more tests.
6668 (rint_test_tonearest): Likewise.
6669 (rint_test_towardzero): Likewise.
6670 (rint_test_downward): Likewise.
6671 (rint_test_upward: Likewise.
6673 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6676 * include/stdc-predef.h: New file. Extracted from features.h.
6677 * include/features.h: Include stdc-predef.h.
6678 * Makefile (headers): Add stdc-predef.h.
6679 * CONFORMANCE (Compiler limitations): Update.
6681 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6683 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6685 2012-02-21 David S. Miller <davem@davemloft.net>
6687 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6688 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6690 2012-02-20 David S. Miller <davem@davemloft.net>
6692 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6693 using a normal save/restore sequence, rather than allocating a
6694 dummy stack frame just to store a frame pointer and restore.
6695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6697 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6699 * manual/install.texi: Fix stray word in line-wrapped comment.
6701 2012-02-20 David S. Miller <davem@davemloft.net>
6703 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6704 both binutils and gcc support GOTDATA.
6706 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6707 "rd %pc" in the PIC register setup sequences.
6709 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6710 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6711 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6712 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6713 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6718 (SYSCALL_ERROR_HANDLER): Likewise.
6719 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6720 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6722 (SYSCALL_ERROR_HANDLER): Likewise.
6724 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6725 (HAVE_GCC_GOTDATA): New.
6726 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6727 relocation support in both binutils and gcc.
6728 * sysdeps/sparc/elf/configure: Regenerate.
6730 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6731 * sysdeps/sparc/sparc32/elf/configure: Delete.
6732 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6733 * sysdeps/sparc/sparc64/elf/configure: Delete.
6734 * sysdeps/sparc/elf/configure.in: New file.
6735 * sysdeps/sparc/elf/configure: Generate.
6737 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6738 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6739 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6740 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6741 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6743 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6745 * manual/install.texi: Do not mention specific glibc version
6747 * manual/libc.texinfo (VERSION, UPDATED): Update.
6748 (@copying): Use @copyright{} and range of years.
6750 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6753 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6754 [crti.S not in sysdirs] (generated): Do not append.
6755 [crti.S not in sysdirs] (omit-deps): Likewise.
6756 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6757 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6758 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6759 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6760 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6762 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6763 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6764 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6765 * csu/defs.awk: Remove file.
6766 * sysdeps/generic/initfini.c: Likewise.
6767 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6769 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6772 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6774 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6775 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6776 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6777 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6778 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6779 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6781 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6782 (__EPOLL_PACKED): Define to empty if not defined by
6784 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6788 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6790 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6791 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6792 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6793 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6795 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6799 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6801 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6804 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6805 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6808 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6810 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6813 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6815 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6816 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6818 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6820 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6823 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6825 * math/w_acos.c: Use non-signaling floating-point comparisons.
6826 * math/w_acosf.c: Likewise.
6827 * math/w_acosh.c: Likewise.
6828 * math/w_acoshf.c: Likewise.
6829 * math/w_acoshl.c: Likewise.
6830 * math/w_acosl.c: Likewise.
6831 * math/w_asin.c: Likewise.
6832 * math/w_asinf.c: Likewise.
6833 * math/w_asinl.c: Likewise.
6834 * math/w_atanh.c: Likewise.
6835 * math/w_atanhf.c: Likewise.
6836 * math/w_atanhl.c: Likewise.
6837 * math/w_exp2.c: Likewise.
6838 * math/w_exp2f.c: Likewise.
6839 * math/w_exp2l.c: Likewise.
6840 * math/w_j0.c: Likewise.
6841 * math/w_j0f.c: Likewise.
6842 * math/w_j0l.c: Likewise.
6843 * math/w_j1.c: Likewise.
6844 * math/w_j1f.c: Likewise.
6845 * math/w_j1l.c: Likewise.
6846 * math/w_jn.c: Likewise.
6847 * math/w_jnf.c: Likewise.
6848 * math/w_log.c: Likewise.
6849 * math/w_log10.c: Likewise.
6850 * math/w_log10f.c: Likewise.
6851 * math/w_log10l.c: Likewise.
6852 * math/w_log2.c: Likewise.
6853 * math/w_log2f.c: Likewise.
6854 * math/w_log2l.c: Likewise.
6855 * math/w_logf.c: Likewise.
6856 * math/w_logl.c: Likewise.
6857 * math/w_sqrt.c: Likewise.
6858 * math/w_sqrtf.c: Likewise.
6859 * math/w_sqrtl.c: Likewise.
6860 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6861 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6863 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6864 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6866 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6869 * manual/string.texi (strnlen): Use correct parameter name in
6870 equivalent expression.
6872 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6875 * manual/users.texi (seteuid): Consistently use neweuid for
6878 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6881 * manual/nss.texi (Services in the NSS configuration): Correct
6882 list of services in example configuration file.
6884 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6887 * manual/arith.texi: Remove statements about negative zero
6888 behaving identically to zero.
6890 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6893 * manual/install.texi: Do not document upgrading from libc5.
6895 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6898 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6900 2012-02-18 David S. Miller <davem@davemloft.net>
6902 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6903 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6904 %o7 across the call.
6905 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6910 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6911 * sysdeps/sparc/crtn.S: Likewise.
6913 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6915 * aout/Makefile: Remove.
6917 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6920 * manual/examples/argp-ex1.c (main): Format definition in GNU
6922 * manual/examples/argp-ex2.c (main): Likewise.
6923 * manual/examples/argp-ex3.c (main): Likewise.
6924 * manual/examples/argp-ex4.c (main): Likewise.
6925 * manual/examples/longopt.c (main): Use new-style prototype
6927 * manual/examples/strncat.c (main): Specify return type and use
6928 (void) for arguments.
6929 * manual/examples/subopt.c (main): Use char **argv argument.
6931 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6934 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6937 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6940 * manual/string.texi (strchr): Change when strchrnul is
6943 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6946 * manual/locale.texi (setlocale): Document LOCPATH.
6948 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6951 * manual/process.texi (execle): Move @dots{} before last argument.
6953 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6956 * manual/charset.texi (Generic Charset Conversion): Fix typo
6957 (LC_TYPE -> LC_CTYPE).
6959 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6962 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6963 (scalbnf): Likewise.
6964 (scalbnl): Likewise.
6965 (scalbln): Likewise.
6966 (scalblnf): Likewise.
6967 (scalblnl): Likewise.
6968 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6972 * manual/filesys.texi (telldir): Use braces around return type.
6973 * manual/llio.texi (mmap): Add space after comma.
6975 * manual/math.texi (jn): Use @var{} on parameter names.
6981 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6983 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6985 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6986 (sched_get_priority_max): Likewise.
6987 * manual/signal.texi (sigvec): Add space after comma.
6988 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6990 (if_indextoname): Likewise.
6991 (if_freenameindex): Likewise.
6992 (sendto): Use ',' instead of '.' in prototype.
6993 * manual/startup.texi (syscall): Use @dots{} instead of literal
6995 * manual/stdio.texi (__fpending): Separate initial words of
6996 paragraph from @deftypefun line.
6997 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6999 (vsyslog): Use @var{} on parameter names.
7000 * manual/terminal.texi (stty): Use @var{} on parameter names.
7001 * manual/users.texi (getutmp): Use @var{} on parameter names.
7002 (getutmpx): Likewise.
7004 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7007 * manual/stdio.texi (fopen): Fix typos in description of
7010 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7013 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7014 get clock_id definition.
7016 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7019 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7020 (madvise): Cast every argument to void on its own.
7022 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7025 * manual/startup.texi (Exit Status): Fix typo.
7027 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7030 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7031 * manual/examples/argp-ex2.c: Likewise.
7032 * manual/examples/argp-ex3.c: Likewise.
7034 2012-02-16 Richard Henderson <rth@redhat.com>
7036 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7037 * sysdeps/s390/s390-32/initfini.c: Remove.
7038 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7039 * sysdeps/s390/s390-64/initfini.c: Remove.
7041 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7043 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7044 compiler output for sysdeps/generic/initfini.c.
7045 * sysdeps/sh/elf/initfini.c: Remove file.
7047 2012-02-16 David S. Miller <davem@davemloft.net>
7050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7052 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7053 * sysdeps/sparc/crti.S: New file.
7054 * sysdeps/sparc/crtn.S: New file.
7055 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7056 * sysdeps/sparc/sparc64/Makefile: Likewise.
7058 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7061 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7063 2012-02-15 Roland McGrath <roland@hack.frob.com>
7066 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7068 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7069 (write, read, close): Likewise.
7070 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7072 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7074 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7075 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7076 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7077 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7079 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7083 2012-02-14 Marek Polacek <polacek@redhat.com>
7085 * sysdeps/x86_64/crti.S: New file.
7086 * sysdeps/x86_64/crtn.S: New file.
7087 * sysdeps/x86_64/elf/initfini.c: Remove file.
7089 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7091 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7092 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7093 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7094 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7096 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7100 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7102 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7103 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7104 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7105 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7107 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7111 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7113 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7114 __feraiseexcept instead of feraiseexcept.
7116 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7117 nanosleep invocations.
7118 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7119 strings, and add error checking for a nanosleep invocations.
7121 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7123 Replace FSF snail mail address with URLs, as per GNU coding standards.
7124 Most of the snail mail addresses were wrong anyway, and omitting
7125 them makes the source code easier to maintain. Almost all of the
7126 changes are to license notices and to locale LC_IDENTIFICATION
7127 addresses, except for this one:
7128 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7129 not its snail mail address.
7131 2012-02-09 Richard Henderson <rth@twiddle.net>
7133 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7134 of kernel-features.h.
7136 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7138 2012-02-08 Marek Polacek <polacek@redhat.com>
7140 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7141 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7142 * sysdeps/gnu/_G_config.h: Likewise.
7143 * sysdeps/generic/_G_config.h: Likewise.
7145 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7147 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7151 * sysdeps/powerpc/powerpc32/crti.S: New file.
7152 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7153 * sysdeps/powerpc/powerpc64/crti.S: New file.
7154 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7156 * Makeconfig (have-initfini): Don't set.
7157 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7158 * configure.in (nopic_initfini): Don't substitute.
7159 * config.h.in (HAVE_INITFINI): Don't #undef.
7160 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7161 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7163 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7165 Support crti.S and crtn.S provided directly by architectures.
7166 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7167 [crti.S in sysdirs] (omit-deps): Likewise.
7168 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7169 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7170 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7171 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7172 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7173 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7174 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7175 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7176 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7177 compiler output for sysdeps/generic/initfini.c.
7178 * sysdeps/i386/elf/Makefile: Remove file.
7179 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7181 2012-02-07 Marek Polacek <polacek@redhat.com>
7183 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7184 * sysdeps/gnu/_G_config.h: Likewise.
7185 * sysdeps/mach/hurd/_G_config.h: Likewise.
7187 2012-02-07 Marek Polacek <polacek@redhat.com>
7189 * math/Makefile (tests): Add tst-CMPLX2.
7190 * math/tst-CMPLX2.c: New file.
7192 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7194 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7196 * math/libm-test.inc (jn_test): Add missing L suffix.
7198 2012-02-06 Marek Polacek <polacek@redhat.com>
7200 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7201 * sysdeps/i386/fpu/e_powf.S: Likewise.
7202 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7203 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7204 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7205 * sysdeps/i386/fpu/e_pow.S: Likewise.
7206 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7207 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7208 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7209 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7210 * sysdeps/i386/fpu/e_log2.S: Likewise.
7211 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7212 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7213 * sysdeps/i386/fpu/e_powl.S: Likewise.
7214 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7215 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7216 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7217 * sysdeps/i386/fpu/e_logl.S: Likewise.
7218 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7219 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7220 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7221 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7222 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7223 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7224 * sysdeps/i386/fpu/e_log.S: Likewise.
7225 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7226 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7227 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7228 * sysdeps/i386/fpu/e_logf.S: Likewise.
7229 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7230 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7231 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7232 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7233 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7234 * sysdeps/i386/fpu/e_log10.S: Likewise.
7235 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7236 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7237 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7238 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7240 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7241 * sysdeps/i386/asm-syntax.h: Likewise.
7242 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7243 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7244 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7245 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7246 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7247 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7248 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7249 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7250 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7251 * sysdeps/powerpc/sysdep.h: Likewise.
7252 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7253 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7255 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7258 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7260 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7262 * sysdeps/i386/sysdep.h: Include <features.h>.
7263 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7266 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7268 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7270 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7273 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7275 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7276 (SETUP_PIC_REG): Use GET_PC_THUNK.
7277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7280 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7282 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7283 for non-PIC compilation.
7284 (SETUP_PIC_REG): Add .p2align directive.
7285 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7286 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7287 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7288 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7289 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7290 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7291 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7292 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7293 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7294 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7295 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7296 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7297 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7298 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7299 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7300 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7301 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7302 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7305 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7307 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7311 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7313 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7314 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7315 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7317 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7318 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7319 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7320 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7321 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7322 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7323 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7324 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7325 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7327 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7329 * math/tst-CMPLX.c: Include <stdio.h>.
7331 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7333 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7335 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7336 * sysdeps/sparc/bits/mathdef.h: Likewise.
7338 2012-01-31 Marek Polacek <polacek@redhat.com>
7340 * libio/libio.h: Don't define _PARAMS.
7341 * locale/programs/config.h: Don't define PARAMS.
7342 * stdlib/strtol_l.c: Likewise.
7343 (__strtol_l): Remove PARAMS from the prototype.
7345 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7347 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7348 names. Just use the correct names. Remove unnecessary wrapper
7350 * malloc/arena.c: Likewise.
7351 * malloc/hooks.c: Likewise.
7353 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7354 ARENA_TEST says not to. Simplify test for creation of a new arena.
7355 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7357 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7359 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7361 (update_get_addr): New function.
7362 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7363 GET_ADDR_MODULE parameter.
7365 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7367 * crypt/cert.c: Remove __STDC__ conditionals.
7368 * crypt/crypt-entry.c: Likewise.
7369 * crypt/crypt_util.c: Likewise.
7370 * libio/filedoalloc.c: Likewise.
7371 * libio/fileops.c: Likewise.
7372 * libio/genops.c: Likewise.
7373 * libio/iofclose.c: Likewise.
7374 * libio/iofdopen.c: Likewise.
7375 * libio/iofopen.c: Likewise.
7376 * libio/iofopen64.c: Likewise.
7377 * libio/iogetdelim.c: Likewise.
7378 * libio/iopopen.c: Likewise.
7379 * libio/obprintf.c: Likewise.
7380 * libio/oldfileops.c: Likewise.
7381 * libio/oldiofclose.c: Likewise.
7382 * libio/oldiofdopen.c: Likewise.
7383 * libio/oldiofopen.c: Likewise.
7384 * libio/oldiopopen.c: Likewise.
7385 * libio/wfiledoalloc.c: Likewise.
7386 * libio/wgenops.c: Likewise.
7387 * locale/programs/xmalloc.c: Likewise.
7388 * misc/syslog.c: Likewise.
7389 * stdio-common/xbug.c: Likewise.
7390 * string/memchr.c: Likewise.
7391 * string/memcmp.c: Likewise.
7392 * string/memrchr.c: Likewise.
7393 * string/rawmemchr.c: Likewise.
7394 * sysdeps/posix/getcwd.c: Likewise.
7395 * time/strftime_l.c: Likewise.
7397 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7399 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7400 * config.make.in (config-cflags-sse2avx): Define.
7401 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7404 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7406 * scripts/config.guess: Update from upstream config git repository.
7407 * scripts/config.sub: Likewise.
7409 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7411 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7413 (R_TILEPRO_*, R_TILEGX_*): New macros.
7415 * scripts/firstversions.awk: Fix bug in version range handling.
7417 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7419 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7421 * include/sys/epoll.h: New file.
7422 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7425 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7427 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7428 Avoid unnecessary __WORDSIZE == 64 test.
7429 (fmaxf): Use VEX format if possible.
7434 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7435 * math/math_private.h: Remove libc_fegetround* and
7437 * sysdeps/i386/configure.in: Check for -msse2avx.
7438 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7439 also if SSE2AVX is defined.
7440 Remove libc_fegetround* and libc_fesetround*.
7441 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7442 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7443 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7445 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7446 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7448 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7449 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7451 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7453 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7455 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7457 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7459 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7462 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7464 * Makeconfig (libm): Define.
7465 * elf/Makefile: Add rules to build and run tst-relsort1.
7466 * elf/tst-relsort1.c: New file.
7467 * elf/tst-relsort1mod1.c: New file.
7468 * elf/tst-relsort1mod2.c: New file.
7470 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7472 * math/s_ldexp.c: Remove __STDC__ conditionals.
7473 * math/s_ldexpf.c: Likewise.
7474 * math/s_ldexpl.c: Likewise.
7475 * math/s_nextafter.c: Likewise.
7476 * math/s_nexttowardf.c: Likewise.
7477 * math/s_significand.c: Likewise.
7478 * math/s_significandf.c: Likewise.
7479 * math/s_significandl.c: Likewise.
7480 * math/w_jnl.c: Likewise.
7481 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7482 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7483 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7484 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7485 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7493 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7494 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7495 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7496 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7497 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7498 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7500 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7501 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7502 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7503 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7505 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7506 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7507 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7508 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7509 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7510 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7511 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7512 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7513 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7514 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7515 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7516 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7517 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7518 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7519 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7520 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7521 * sysdeps/ieee754/k_standard.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7524 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7525 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7526 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7528 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7531 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7532 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7533 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7534 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7535 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7596 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7597 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7601 * sysdeps/ieee754/s_matherr.c: Likewise.
7602 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7603 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7604 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7607 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7609 * crypt/md5.h: Remove __STDC__ conditionals.
7610 * libio/libioP.h: Likewise.
7611 * locale/programs/config.h: Likewise.
7612 * sysdeps/generic/sysdep.h: Likewise.
7613 * sysdeps/i386/asm-syntax.h: Likewise.
7614 * sysdeps/s390/asm-syntax.h: Likewise.
7615 * sysdeps/unix/sysdep.h: Likewise.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7619 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7621 * libio/libio.h: Remove __STDC__ conditionals.
7622 * malloc/obstack.h: Likewise.
7623 * math/complex.h: Likewise.
7624 * math/math.h: Likewise.
7625 * sysdeps/generic/_G_config.h: Likewise.
7626 * sysdeps/gnu/_G_config.h: Likewise.
7627 * sysdeps/mach/hurd/_G_config.h: Likewise.
7628 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7629 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7630 * sysdeps/sparc/bits/mathdef.h: Likewise.
7632 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7635 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7636 Clean up HAS_* macros.
7637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7638 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7648 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7650 * elf/tst-unique3.cc (gets): Remove declaration.
7651 * elf/tst-unique3lib.cc (gets): Likewise.
7652 * elf/tst-unique3lib2.cc (gets): Likewise.
7653 * elf/tst-unique4.cc (gets): Likewise.
7655 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7657 * include/stdio.h: Add C++ protection. Add gets declarations and
7659 * debug/tst-chk1.c: Don't declare gets here.
7660 * stdio-common/tst-gets.c: Likewise.
7662 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7664 * posix/glob: Remove directory.
7666 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7668 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7670 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7672 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7673 of the non-standard EPFNOSUPPORT.
7675 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7677 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7678 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7679 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7681 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7683 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7685 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7687 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7689 * nscd/grpcache.c (cache_addgr): Likewise.
7690 * nscd/hstcache.c (cache_addhst): Likewise.
7691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7692 * nscd/pwdcache.c (cache_addpw): Likewise.
7693 * nscd/servicescache.c (cache_addserv): Likewise.
7695 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7697 * malloc/malloc.c: Various cleanups.
7698 * malloc/hooks.c: Likewise.
7700 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7701 * stdlib/bug-fmtmsg1.c: New file.
7703 * stdlib/fmtmsg.c (init): Add missing unlock.
7704 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7706 2012-01-12 Marek Polacek <polacek@redhat.com>
7708 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7711 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7713 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7714 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7715 macro to ensure uniqueness of label name.
7716 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7717 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7719 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7721 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7723 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7724 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7725 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7728 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7730 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7732 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7733 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7734 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7736 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7738 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7739 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7743 * math/bits/math-finite.h: Add ldexp support.
7745 2012-01-10 Marek Polacek <polacek@redhat.com>
7747 * locale/programs/localedef.h (show_archive_content): Add noreturn
7750 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7752 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7754 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7756 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7758 * io/Makefile (headers): Add bits/poll2.h.
7760 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7763 typo #include statement.
7765 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7767 * include/sys/cdefs.h: Define __attribute_alloc_size.
7768 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7769 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7770 * elf/pldd.c: Likewise.
7771 * iconv/iconv_charmap.c: Likewise.
7772 * iconv/iconvconfig.c: Likewise.
7773 * iconv/strtab.c: Likewise.
7774 * locale/programs/locale.c: Likewise.
7775 * locale/programs/localedef.h: Likewise.
7776 * locale/programs/simple-hash.c: Likewise.
7777 * nscd/nscd.h: Likewise.
7778 * nss/makedb.c: Likewise.
7779 * sysdeps/generic/ldconfig.h: Likewise.
7780 * locale/programs/localedef.c: Remove xmalloc prototype.
7781 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7783 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7785 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7788 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7790 * math/Makefile (tests): Add tst-CMPLX.
7791 * math/tst-CMPLX.c: New file.
7793 * math/complex.h (CMPLXL): Fix typo.
7795 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7796 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7798 * debug/tst-chk1.c: Add poll and ppoll tests.
7799 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7800 * include/sys/poll.h: Add hidden proto for ppoll.
7801 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7802 * sysdeps/mach/hurd/ppoll.c: Likewise.
7803 * io/ppoll.c: Likewise.
7804 * debug/poll_chk.c: New file.
7805 * debug/ppoll_chk.c: New file.
7806 * include/bits/poll2.h: New file.
7807 * io/bits/poll2.h: New file.
7810 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7812 * configure.in: static is always set to yes. Remove.
7813 * config.make.in: Don't set build-static.
7814 * Makeconfig: Remove use of build-static.
7815 * dlfcn/Makefile: Likewise.
7816 * elf/Makefile: Likewise.
7817 * math/Makefile: Likewise.
7818 * misc/Makefile: Likewise.
7819 * nptl/Makefile: Likewise.
7820 * sysdeps/mach/hurd/Makefile: Likewise.
7822 * configure.in: PWD_P is not used anymore.
7823 * config.make.in: Remove PWD_P entry.
7825 * configure.in: Remove last remnants of RANLIB.
7826 No need to check for signed size_t anymore.
7827 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7829 Remove __builtin_expect test because we require at least gcc 3.4.
7830 * aclocal.m4: Likewise.
7832 * wcsmbs/mbrtoc16.c: Implement using towc function.
7833 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7834 * wcsmbs/wcsmbsload.c: Likewise.
7835 * iconv/gconv_simple.c: Likewise.
7836 * iconv/gconv_int.h: Likewise.
7837 * iconv/gconv_builtin.h: Likewise.
7838 * iconv/iconv_prog.c: Remove CHAR16 handling.
7840 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7842 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7844 * configure.in: Remove --with-elf and --enable-bounded options.
7845 Dont set base_machine for ia64. More non-ELF conditions removed.
7846 Remove testing and setting of leading underscore information.
7847 * config.make.in (build-bounded): Set to no.
7848 * config.h.in: Remove NO_UNDERSCORES entry.
7849 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7851 * csu/start.c: Remove !NO_UNDERSCORE code.
7852 * locale/localeinfo.h: Likewise.
7853 * sysdeps/generic/machine-gmon.h: Likewise.
7854 * sysdeps/generic/sysdep.h: Likewise.
7855 * sysdeps/i386/sysdep.h: Likewise.
7856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7857 * sysdeps/mach/sysdep.h: Likewise.
7858 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7859 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7860 * sysdeps/sh/sysdep.h: Likewise.
7861 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7862 * sysdeps/unix/i386/sysdep.S: Likewise.
7863 * sysdeps/unix/sparc/start.c: Likewise.
7864 * sysdeps/unix/sparc/sysdep.S: Likewise.
7865 * sysdeps/unix/sparc/sysdep.h: Likewise.
7866 * sysdeps/unix/start.c: Likewise.
7867 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7868 * sysdeps/x86_64/sysdep.h: Likewise.
7870 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7873 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7875 * argp/argp-fmtstream.h: Use const instead __const.
7876 * argp/argp.h: Likewise.
7877 * assert/assert.h: Likewise.
7878 * bits/fenv.h: Likewise.
7879 * bits/sched.h: Likewise.
7880 * bits/sigset.h: Likewise.
7881 * bits/sigthread.h: Likewise.
7882 * catgets/nl_types.h: Likewise.
7883 * conform/data/pthread.h-data: Likewise.
7884 * crypt/crypt-private.h: Likewise.
7885 * crypt/crypt.h: Likewise.
7886 * crypt/crypt_util.c: Likewise.
7887 * ctype/ctype.h: Likewise.
7888 * debug/execinfo.h: Likewise.
7889 * debug/mbsnrtowcs_chk.c: Likewise.
7890 * debug/mbsrtowcs_chk.c: Likewise.
7891 * debug/wcsnrtombs_chk.c: Likewise.
7892 * debug/wcsrtombs_chk.c: Likewise.
7893 * debug/wcstombs_chk.c: Likewise.
7894 * dirent/dirent.h: Likewise.
7895 * dlfcn/dlfcn.h: Likewise.
7896 * elf/neededtest4.c: Likewise.
7897 * grp/grp.h: Likewise.
7898 * gshadow/gshadow.h: Likewise.
7899 * iconv/gconv.h: Likewise.
7900 * iconv/gconv_int.h: Likewise.
7901 * iconv/gconv_simple.c: Likewise.
7902 * iconv/iconv.h: Likewise.
7903 * iconv/loop.c: Likewise.
7904 * iconv/skeleton.c: Likewise.
7905 * include/aio.h: Likewise.
7906 * include/aliases.h: Likewise.
7907 * include/argz.h: Likewise.
7908 * include/arpa/inet.h: Likewise.
7909 * include/assert.h: Likewise.
7910 * include/dirent.h: Likewise.
7911 * include/dlfcn.h: Likewise.
7912 * include/execinfo.h: Likewise.
7913 * include/fcntl.h: Likewise.
7914 * include/fenv.h: Likewise.
7915 * include/glob.h: Likewise.
7916 * include/grp.h: Likewise.
7917 * include/libintl.h: Likewise.
7918 * include/mntent.h: Likewise.
7919 * include/netdb.h: Likewise.
7920 * include/pwd.h: Likewise.
7921 * include/rpc/netdb.h: Likewise.
7922 * include/sched.h: Likewise.
7923 * include/search.h: Likewise.
7924 * include/shadow.h: Likewise.
7925 * include/signal.h: Likewise.
7926 * include/stdio.h: Likewise.
7927 * include/stdlib.h: Likewise.
7928 * include/string.h: Likewise.
7929 * include/sys/socket.h: Likewise.
7930 * include/sys/stat.h: Likewise.
7931 * include/sys/statfs.h: Likewise.
7932 * include/sys/statvfs.h: Likewise.
7933 * include/sys/syslog.h: Likewise.
7934 * include/sys/time.h: Likewise.
7935 * include/sys/uio.h: Likewise.
7936 * include/time.h: Likewise.
7937 * include/unistd.h: Likewise.
7938 * include/utmp.h: Likewise.
7939 * include/wchar.h: Likewise.
7940 * include/wctype.h: Likewise.
7941 * inet/aliases.h: Likewise.
7942 * inet/arpa/inet.h: Likewise.
7943 * inet/netinet/ether.h: Likewise.
7944 * inet/netinet/in.h: Likewise.
7945 * intl/libintl.h: Likewise.
7946 * io/bits/fcntl2.h: Likewise.
7947 * io/fcntl.h: Likewise.
7948 * io/ftw.h: Likewise.
7949 * io/sys/poll.h: Likewise.
7950 * io/sys/stat.h: Likewise.
7951 * io/sys/statfs.h: Likewise.
7952 * io/sys/statvfs.h: Likewise.
7953 * io/utime.h: Likewise.
7954 * libio/bits/stdio.h: Likewise.
7955 * libio/bits/stdio2.h: Likewise.
7956 * libio/libio.h: Likewise.
7957 * libio/libioP.h: Likewise.
7958 * libio/stdio.h: Likewise.
7959 * locale/lc-ctype.c: Likewise.
7960 * locale/locale.h: Likewise.
7961 * login/utmp.h: Likewise.
7962 * malloc/arena.c: Likewise.
7963 * malloc/malloc.c: Likewise.
7964 * malloc/malloc.h: Likewise.
7965 * malloc/mcheck.c: Likewise.
7966 * malloc/mtrace.c: Likewise.
7967 * math/bits/mathcalls.h: Likewise.
7968 * math/fenv.h: Likewise.
7969 * math/math_private.h: Likewise.
7970 * misc/bits/error.h: Likewise.
7971 * misc/bits/syslog.h: Likewise.
7972 * misc/err.h: Likewise.
7973 * misc/error.h: Likewise.
7974 * misc/fstab.h: Likewise.
7975 * misc/mntent.h: Likewise.
7976 * misc/regexp.h: Likewise.
7977 * misc/search.h: Likewise.
7978 * misc/sgtty.h: Likewise.
7979 * misc/sys/mman.h: Likewise.
7980 * misc/sys/syslog.h: Likewise.
7981 * misc/sys/uio.h: Likewise.
7982 * misc/sys/xattr.h: Likewise.
7983 * misc/ttyent.h: Likewise.
7984 * nis/rpcsvc/ypclnt.h: Likewise.
7985 * nss/nss.h: Likewise.
7986 * posix/bits/unistd.h: Likewise.
7987 * posix/fnmatch.h: Likewise.
7988 * posix/glob.h: Likewise.
7989 * posix/sched.h: Likewise.
7990 * posix/spawn.h: Likewise.
7991 * posix/sys/wait.h: Likewise.
7992 * posix/unistd.h: Likewise.
7993 * posix/wordexp.h: Likewise.
7994 * pwd/pwd.h: Likewise.
7995 * resolv/netdb.h: Likewise.
7996 * resource/sys/resource.h: Likewise.
7997 * rt/aio.h: Likewise.
7998 * rt/bits/mqueue2.h: Likewise.
7999 * rt/mqueue.h: Likewise.
8000 * shadow/shadow.h: Likewise.
8001 * signal/signal.h: Likewise.
8002 * socket/send.c: Likewise.
8003 * socket/sendto.c: Likewise.
8004 * socket/sys/socket.h: Likewise.
8005 * stdio-common/printf.h: Likewise.
8006 * stdlib/bits/stdlib.h: Likewise.
8007 * stdlib/fmtmsg.h: Likewise.
8008 * stdlib/monetary.h: Likewise.
8009 * stdlib/stdlib.h: Likewise.
8010 * stdlib/ucontext.h: Likewise.
8011 * streams/stropts.h: Likewise.
8012 * string/argz.h: Likewise.
8013 * string/bits/string2.h: Likewise.
8014 * string/string.h: Likewise.
8015 * string/strings.h: Likewise.
8016 * sunrpc/rpc/auth.h: Likewise.
8017 * sunrpc/rpc/auth_des.h: Likewise.
8018 * sunrpc/rpc/clnt.h: Likewise.
8019 * sunrpc/rpc/netdb.h: Likewise.
8020 * sunrpc/rpc/pmap_clnt.h: Likewise.
8021 * sunrpc/rpc/xdr.h: Likewise.
8022 * sysdeps/generic/inttypes.h: Likewise.
8023 * sysdeps/generic/net/if.h: Likewise.
8024 * sysdeps/generic/sys/swap.h: Likewise.
8025 * sysdeps/gnu/net/if.h: Likewise.
8026 * sysdeps/gnu/utmpx.h: Likewise.
8027 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8028 * sysdeps/i386/i486/bits/string.h: Likewise.
8029 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8030 * sysdeps/s390/bits/string.h: Likewise.
8031 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8032 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8033 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8034 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8035 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8036 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8037 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8038 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8039 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8040 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8041 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8042 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8043 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8044 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8045 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8046 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8047 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8052 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8053 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8054 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8055 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8056 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8057 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8059 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8060 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8061 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8062 * sysvipc/sys/ipc.h: Likewise.
8063 * sysvipc/sys/msg.h: Likewise.
8064 * sysvipc/sys/sem.h: Likewise.
8065 * sysvipc/sys/shm.h: Likewise.
8066 * termios/termios.h: Likewise.
8067 * time/sys/time.h: Likewise.
8068 * time/time.h: Likewise.
8069 * wcsmbs/bits/wchar2.h: Likewise.
8070 * wcsmbs/uchar.h: Likewise.
8071 * wcsmbs/wchar.h: Likewise.
8072 * wctype/wctype.h: Likewise.
8075 * Makeconfig: Remove all but ELF support including AIX support.
8076 * Makerules: Likewise.
8077 * config.h.in: Likewise.
8078 * config.make.in: Likewise.
8079 * configure: Likewise.
8080 * configure.in: Likewise.
8081 * csu/Makefile: Likewise.
8082 * csu/version.c: Likewise.
8083 * debug/Makefile: Likewise.
8084 * dlfcn/Makefile: Likewise.
8085 * elf/Makefile: Likewise.
8086 * extra-lib.mk: Likewise.
8087 * iconv/Makefile: Likewise.
8088 * include/libc-symbols.h: Likewise.
8089 * include/shlib-compat.h: Likewise.
8090 * resolv/Makefile: Likewise.
8091 * resolv/res_libc.c: Likewise.
8092 * rt/Makefile: Likewise.
8093 * sysdeps/i386/asm-syntax.h: Likewise.
8094 * sysdeps/i386/sysdep.h: Likewise.
8095 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8096 * sysdeps/mach/sysdep.h: Likewise.
8097 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8098 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8099 * sysdeps/s390/asm-syntax.h: Likewise.
8100 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8101 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8102 * sysdeps/sh/sysdep.h: Likewise.
8103 * sysdeps/unix/sparc/sysdep.h: Likewise.
8104 * sysdeps/wordsize-32/divdi3.c: Likewise.
8105 * sysdeps/x86_64/sysdep.h: Likewise.
8107 * argp/Versions: Remove _argp_unlock_xxx.
8110 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8111 * abilist/libBrokenLocale.abilist: Likewise.
8112 * abilist/libanl.abilist: Likewise.
8113 * abilist/libc.abilist: Likewise.
8114 * abilist/libcrypt.abilist: Likewise.
8115 * abilist/libdl.abilist: Likewise.
8116 * abilist/libm.abilist: Likewise.
8117 * abilist/libnsl.abilist: Likewise.
8118 * abilist/libpthread.abilist: Likewise.
8119 * abilist/libresolv.abilist: Likewise.
8120 * abilist/librt.abilist: Likewise.
8121 * abilist/libthread_db.abilist: Likewise.
8122 * abilist/libutil.abilist: Likewise.
8123 * abilist/libnss_db.abilist: New file.
8125 * scripts/abilist.awk: Add support for indirect functions.
8127 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8129 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8131 * shlib-versions: Remove entries for ports architectures.
8133 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8135 * elf/stackguard-macros.h: Remove support for IA-64.
8136 * elf/tst-auditmod1.c: Likewise.
8137 * sysdeps/generic/ldsodefs.h: Likewise.
8139 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8140 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8144 * configure.in: Remove --enable-omitfp support.
8146 * config.make.in: Likewise.
8147 * Makeconfig: Likewise.
8148 * manual/install.texi: Likewise.
8150 In case anyone cares, the IA-64 architecture could move to ports.
8151 * sysdeps/ia64/*: Removed.
8152 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8153 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8156 * configure.in: Remove entries for unsupported architectures.
8159 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8160 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8162 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8163 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8164 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8165 fall back to using wcrtomb.
8166 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8167 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8169 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8170 * wcsmbs/tst-c16c32-1.c: New file.
8172 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8175 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8177 * elf/tst-unique3.cc: Add explicit declaration of gets.
8178 * elf/tst-unique3lib.cc: Likewise.
8179 * elf/tst-unique3lib2.cc: Likewise.
8180 * elf/tst-unique4.cc: Likewise.
8182 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8184 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8187 * assert/assert.h (static_assert): Don't define for C++.
8188 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8189 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8191 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8193 * iconv/loop.c (single loop): Fix assertion in storing of
8196 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8198 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8200 * posix/getconf.c: Update copyright year.
8201 * nss/getent.c: Likewise.
8202 * nss/makedb.c: Likewise.
8203 * iconv/iconvconfig.c: Likewise.
8204 * iconv/iconv_prog.c: Likewise.
8205 * elf/ldconfig.c: Likewise.
8206 * elf/pldd.c: Likewise.
8207 * elf/sotruss.ksh: Likewise.
8208 * catgets/gencat.c: Likewise.
8209 * csu/version.c: Likewise.
8210 * elf/ldd.bash.in: Likewise.
8211 * elf/sprof.c (print_version): Likewise.
8212 * locale/programs/locale.c: Likewise.
8213 * locale/programs/localedef.c: Likewise.
8214 * login/programs/pt_chown.c: Likewise.
8215 * nscd/nscd.c (print_version): Likewise.
8216 * debug/xtrace.sh: Likewise.
8217 * malloc/memusage.sh: Likewise.
8218 * malloc/mtrace.pl: Likewise.
8219 * debug/catchsegv.sh: Likewise.
8221 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8223 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8226 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8229 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8230 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8232 * iconv/gconv_int.h: Likewise.
8233 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8234 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8235 from libc for GLIBC_2.16.
8236 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8237 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8238 * wcsmbs/uchar.h: Really define mbstate_t.
8239 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8240 * wcsmbs/c16rtomb.c: New file.
8241 * wcsmbs/mbrtoc16.c: New file.
8242 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8244 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8245 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8247 * wcsmbs/wchar.h: Add missing __restrict.
8249 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8252 * time/Makefile (routines): Add timespec_get.
8253 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8254 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8255 timespec for ISO C11.
8256 * time/timespec_get.c: New file.
8257 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8258 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8261 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8262 * stdlib/stdlib.h: Declare aligned_alloc.
8263 * Versions.def: Add GLIBC_2.16 for libc.
8264 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8267 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8270 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8274 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8277 * assert/assert.h (static_assert): Define.
8279 * version.h: Update for 2.16 development version.
8282 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8285 * version.h (RELEASE): Bump for 2.15 release.
8286 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8288 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8289 Patch by Marek Polacek <mpolacek@redhat.com>.
8291 * bits/byteswap.h: Protect long long constants with __extension__.
8292 * sysdeps/i386/bits/byteswap.h: Likewise.
8293 * sysdeps/ia64/bits/byteswap.h: Likewise.
8294 * sysdeps/s390/bits/byteswap.h: Likewise.
8295 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8297 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8300 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8302 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8304 2011-12-23 Marek Polacek <polacek@redhat.com>
8306 * elf/dl-addr.c (determine_info): Add inline keyword.
8307 * elf/tst-auditmod4b.c (check_avx): Likewise.
8308 * elf/tst-auditmod6b.c (check_avx): Likewise.
8309 * elf/tst-auditmod6c.c (check_avx): Likewise.
8310 * elf/tst-auditmod7b.c (check_avx): Likewise.
8312 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8314 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8317 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8320 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8321 processing for last bytes.
8323 2011-08-06 Bruno Haible <bruno@clisp.org>
8326 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8327 U+0385, not to U+1FEE.
8330 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8331 entry for U+00A5 U+0301.
8333 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8336 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8337 buffer for the output is too small.
8339 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8343 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8344 SSE flags if possible.
8346 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8349 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8350 processing for last bytes.
8352 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8354 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8355 (syscall-list-default-options, syscall-list-default-condition)
8356 (syscall-list-includes): Define.
8357 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8358 list of ABIs and options and #if conditions for each ABI. Do not
8359 handle common syscalls between ABIs specially.
8360 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8362 (syscall-list-variants, syscall-list-32bit-options)
8363 (syscall-list-32bit-condition, syscall-list-64bit-options)
8364 (syscall-list-64bit-condition): Define.
8365 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8366 (syscall-list-variants, syscall-list-32bit-options)
8367 (syscall-list-32bit-condition, syscall-list-64bit-options)
8368 (syscall-list-64bit-condition): Define.
8369 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8371 (syscall-list-variants, syscall-list-32bit-options)
8372 (syscall-list-32bit-condition, syscall-list-64bit-options)
8373 (syscall-list-64bit-condition): Define.
8374 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8376 (syscall-list-variants, syscall-list-32bit-options)
8377 (syscall-list-32bit-condition, syscall-list-64bit-options)
8378 (syscall-list-64bit-condition): Define.
8380 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8382 * locale/iso-639.def: Add brx entry.
8385 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8386 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8388 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8389 __feraiseexcept_renamed.
8391 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8394 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8395 EPOLLET with unsigned values.
8396 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8397 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8399 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8400 to large cancellation.
8401 * math/s_cacoshf.c: Likewise.
8402 * math/s_cacoshl.c: Likewise.
8404 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8408 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8409 * math/s_cacoshf.c: Likewise.
8410 * math/s_cacoshl.c: Likewise.
8412 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8415 * iconv/gconv.h: Define __GCONV_SWAP.
8416 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8417 * iconvdata/utf-16.c: Likewise.
8418 * iconvdata/utf-32.c: Likewise.
8420 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8424 numerator after shifting it by one limb.
8426 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8428 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8429 under [__USE_EXTERN_INLINES].
8431 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8434 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8436 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8438 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8439 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8441 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8442 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8443 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8444 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8445 for strncasecmp/strncasecmp_l compilation.
8446 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8447 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8449 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8452 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8455 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8458 * time/tzfile.c (__tzfile_read): Check values from file header.
8460 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8462 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8463 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8464 * powerpc/powerpc32/dl-start.S: Likewise.
8465 * powerpc/powerpc32/elf/start.S: Likewise.
8466 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8467 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8468 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8469 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8470 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8471 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8472 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8473 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8474 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8475 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8476 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8477 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8478 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8479 * powerpc/powerpc32/memset.S: Likewise.
8480 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8481 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8482 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8483 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8484 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8485 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8486 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8487 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8488 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8489 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8490 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8491 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8492 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8494 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8496 * math/libm-test.inc: Added more nearbyint tests.
8497 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8502 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8504 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8507 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8509 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8510 Add wcscpy-ssse3 wcscpy-c.
8511 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8512 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8513 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8514 * sysdeps/x86_64/wcschr.S: New file.
8515 * sysdeps/x86_64/wcsrchr.S: New file.
8516 * string/test-strcmp.c: Remove checking of wcscmp function for
8518 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8519 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8520 wcsrchr-sse2 wcsrchr-c.
8521 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8522 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8523 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8524 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8525 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8526 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8527 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8528 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8529 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8530 * wcsmbc/wcschr.c (WCSCHR): New macro.
8532 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8534 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8535 * wcsmbs/test-wcsrchr.c: New file.
8536 * string/test-strrchr.c: Add wcsrchr support.
8538 * wcsmbs/test-wcscpy.c: New file.
8539 * string/test-strcpy.c: Add wcscpy support.
8542 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8544 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8547 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8550 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8552 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8554 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8555 Minor optimizations.
8557 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8558 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8559 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8561 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8563 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8564 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8565 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8566 for gcc to avoid warnings.
8567 * inet/Makefile (tests): Add tst-checks.
8568 * inet/tst-checks.c: New file.
8570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8573 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8576 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8577 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8579 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8581 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8583 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8586 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8588 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8590 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8591 conditional on GCC version.
8592 (__arch_compare_and_exchange_val_8_acq)
8593 (__arch_compare_and_exchange_val_16_acq)
8594 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8595 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8596 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8598 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8600 * sysdeps/sh/backtrace.c: New file.
8602 2011-12-02 Andreas Schwab <schwab@redhat.com>
8604 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8607 2011-12-01 Andreas Schwab <schwab@redhat.com>
8609 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8610 falling back to utime.
8612 2011-11-30 Andreas Schwab <schwab@redhat.com>
8614 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8615 expectations for float.
8617 2011-11-29 Andreas Schwab <schwab@redhat.com>
8619 * locale/weight.h (findidx): Add parameter len.
8620 * locale/weightwc.h (findidx): Likewise.
8621 * posix/fnmatch_loop.c (FCT): Adjust caller.
8622 * posix/regcomp.c (build_equiv_class): Likewise.
8623 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8624 * posix/regexec.c (check_node_accept_bytes): Likewise.
8625 * string/strcoll_l.c (STRCOLL): Likewise.
8626 * string/strxfrm_l.c (STRXFRM): Likewise.
8628 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8630 * Makefile.in: Remove CVSOPT handling.
8631 * configure.in: Remove use of AC_REVISION.
8632 * iconvdata/Makefile (distribute): No need to filter out CVS.
8633 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8636 2011-11-16 Andreas Schwab <schwab@redhat.com>
8638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8639 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8640 [USE_AS_STRNCASECMP_L]: Likewise.
8641 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8642 NO_TLS_DIRECT_SEG_REFS.
8643 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8644 Fix argument offsets for non-PIC.
8645 [USE_AS_STRNCASECMP_L]: Likewise.
8646 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8647 NO_TLS_DIRECT_SEG_REFS.
8649 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8651 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8653 * locale/loadlocale.c (_nl_load_locale): Likewise.
8655 2011-11-15 Andreas Schwab <schwab@redhat.com>
8657 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8658 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8659 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8660 (SYSCALL_GETTIME): Set errno on error.
8662 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8663 count references to noai6ai_cached.
8665 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8667 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8669 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8670 FD_CLOEXEC for /proc/self/maps.
8672 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8673 FD_CLOEXEC for /proc/meminfo.
8675 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8678 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8679 FD_CLOEXEC for given file.
8681 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8683 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8684 FD_CLOEXEC for /etc/hosts.
8685 (_gethtent): Likewise.
8687 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8689 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8690 cancellation and set FD_CLOEXEC for /etc/netgroup.
8692 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8693 reading /etc/publickey.
8695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8696 allow cancellation when reading /etc/group.
8698 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8700 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8702 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8703 when using data file.
8705 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8707 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8708 (write_nis_obj): Use "c" and "e" in fopen.
8710 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8712 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8714 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8716 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8718 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8721 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8723 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8725 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8727 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8728 file parsing and set FD_CLOEXEC.
8730 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8732 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8734 2011-11-14 Andreas Schwab <schwab@redhat.com>
8736 * malloc/arena.c (arena_get2): Don't call reused_arena when
8737 _int_new_arena failed.
8739 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8741 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8742 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8743 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8744 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8745 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8746 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8747 to compile strcasecmp and strncasecmp.
8748 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8749 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8753 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8755 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8756 locale-defines.sym to gen-as-const-headers.
8757 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8758 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8760 to compile strcasecmp and strncasecmp.
8761 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8762 strcasecmp_l and strncasecmp_l.
8763 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8764 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8765 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8766 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8767 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8768 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8769 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8770 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8771 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8772 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8773 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8775 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8777 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8778 result of SYSDEP_GETTIME_CPU to retval.
8779 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8780 parameter list to macro. Remove trailing semicolon. Adjust users.
8782 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8785 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8787 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8789 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8790 from unused variable.
8792 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8794 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8797 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8800 * sunrpc/rpc_prot.c (rejected): Fix case value.
8802 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8803 unsigned long long int to avoid warnings in shift.
8805 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8807 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8810 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8811 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8812 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8814 * nis/nis_table.c (nis_list): Use variable of correct type for
8815 result of __follow_path call.
8817 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8819 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8820 of math functions ceil, trunc, floor, round, and sqrt, when
8821 avaliable on the platform.
8822 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8824 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8825 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8826 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8828 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8830 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8831 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8833 2011-11-11 Roland McGrath <roland@hack.frob.com>
8835 * include/unistd.h: Fix __readlink return type.
8836 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8838 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8840 * stdlib/ucontext.h: Undo last change for makecontext.
8842 2011-11-11 Andreas Schwab <schwab@redhat.com>
8844 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8846 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8847 * setjmp/setjmp.h: Mark functions as non-leaf.
8848 * setjmp/bits/setjmp2.h: Likewise.
8849 * stdlib/ucontext.h: Likewise.
8851 2011-11-10 Andreas Schwab <schwab@redhat.com>
8853 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8854 (reused_arena): Don't check arena limit.
8855 (arena_get2): Atomically check arena limit.
8857 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8859 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8860 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8865 2011-11-07 Andreas Schwab <schwab@redhat.com>
8867 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8868 handler when locking.
8870 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8871 Fix size of allocated buffer.
8873 2011-11-04 Andreas Schwab <schwab@redhat.com>
8876 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8877 declarations for long double functions.
8878 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8880 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8882 2011-11-03 Andreas Schwab <schwab@redhat.com>
8884 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8887 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8890 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8892 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8894 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8896 * include/alloca.h (stackinfo_alloca_round): Define.
8897 (extend_alloca): Use it.
8898 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8899 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8902 * scripts/check-local-headers.sh: Ignore libaudit.h.
8904 * nscd/Makefile (extra-objs): Make recursively expanded.
8906 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8908 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8909 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8911 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8912 * posix/tst-rfc3484-2.c: Likewise.
8913 * posix/tst-rfc3484-3.c: Likewise.
8915 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8917 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8919 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8920 process_vm_writev from libc using GLIBC_2.15 version.
8922 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8924 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8926 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8929 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8932 * nss/getent.c (initgroups_keys): Show error message in case no group
8935 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8936 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8937 __bump_nl_timestamp.
8938 * nscd/connections (nscd_init): When host database is served open
8939 netlink socket and request notification about configuration changes.
8940 (main_loop_poll): Track netlink file descriptor and bump timestamp
8941 in case data becomes available.
8942 (main_loop_epoll): Likewise.
8943 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8944 (database_pers_head): Add extra_data fileds.
8945 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8946 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8947 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8950 in6ai data, call __free_in6ai.
8951 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8953 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8954 interface information. Reuse previous data if netlink timestamp
8956 (__bump_nl_timestamp): New function.
8957 (__free_in6ai): New function.
8959 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8961 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8962 close_not_cancel_no_status here.
8963 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8965 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8968 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8971 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8972 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8973 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8975 2011-07-03 Andreas Jaeger <aj@suse.de>
8978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8979 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8980 * math/libm-test.inc (sin_test): Add test case.
8982 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8985 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8986 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8988 * elf/chroot_canon.c (chroot_canon): Cleanups.
8990 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8993 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8994 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8996 * string/test-strchr.c: Make usable for strchrnul testing.
8997 * string/test-strchrnul.c: New file.
8998 * string/Makefile (strop-tests): Add strchrnul.
9000 * po/it.po: Update from translation team.
9001 * po/es.po: Likewise.
9003 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9005 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9006 the three constants needed as parameters. Drop the others.
9007 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9008 __m128i_strloadu_tolower.
9009 Create and initialize variable zero and use it in all the places
9010 where _mm_setzero_si128 was used.
9012 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9013 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9014 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9015 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9017 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9018 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9019 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9020 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9021 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9022 __mpranred, __mptan.
9023 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9024 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9025 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9026 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9027 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9028 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9029 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9030 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9031 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9033 2011-10-28 Andreas Schwab <schwab@redhat.com>
9035 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9037 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9040 wide char related routines to wcsmbs subdir.
9042 2011-10-27 Andreas Schwab <schwab@redhat.com>
9045 * misc/sys/cdefs.h (__THROWNL): Define.
9046 * posix/unistd.h: Use __THREADNL instead of __THREAD
9047 for memory synchronization functions.
9049 2011-10-26 Roland McGrath <roland@hack.frob.com>
9052 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9054 * manual/stdio.texi (Obstack Streams): Node removed.
9056 2011-10-26 Andreas Schwab <schwab@redhat.com>
9058 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9062 * math/math_private.h (math_force_eval): Allow non-addressable
9064 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9066 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9068 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9071 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9073 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9074 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9075 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9076 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9077 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9078 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9080 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9081 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9082 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9083 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9084 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9085 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9086 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9087 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9088 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9089 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9090 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9091 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9093 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9094 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9095 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9096 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9097 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9098 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9100 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9101 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9103 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9104 place. Use VEX encoding when compiling for AVX.
9106 2011-10-25 Andreas Schwab <schwab@redhat.com>
9108 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9109 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9111 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9113 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9115 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9116 useless if() expression.
9117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9128 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9129 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9131 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9132 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9135 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9137 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9139 2011-10-25 Andreas Schwab <schwab@redhat.com>
9141 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9143 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9145 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9147 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9148 .text section. Avoid duplicate constants.
9149 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9159 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9161 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9164 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9166 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9172 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9173 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9174 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9175 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9176 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9177 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9178 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9179 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9180 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9181 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9182 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9183 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9184 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9185 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9186 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9187 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9188 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9189 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9190 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9191 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9192 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9193 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9195 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9197 * sysdeps/x86_64/dla.h: Move to ...
9198 * sysdeps/x86_64/fpu/dla.h: ...here.
9199 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9200 situations. Use __builtin_fma only for gcc 4.6 and up.
9202 * config.make.in: Add have-mfma4 entry.
9203 * configure.in: Substitute libc_cv_cc_fma4.
9204 * math/Makefile (dbl-only-routines): Add sincostab.
9205 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9206 Use __sincostab not sincos.
9207 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9209 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9214 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9215 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9216 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9217 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9219 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9220 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9222 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9223 define aliases when function name is a macro.
9224 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9225 sysdeps/ieee754/dbl-64/sincos.tbl.
9226 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9227 fma4-enabled routines.
9228 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9229 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9230 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9231 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9233 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9234 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9235 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9237 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9238 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9239 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9240 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9241 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9242 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9243 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9244 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9245 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9246 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9248 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9251 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9255 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9256 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9257 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9259 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9270 2011-10-24 Andreas Schwab <schwab@redhat.com>
9272 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9274 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9276 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9278 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9280 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9282 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9283 Remove unused variable magic_bits.
9284 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9286 * string/strnlen.c: Define and use STRNLEN macro.
9287 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9288 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9290 * wcsmbs/wcslen.c: Define and use WCSLEN.
9291 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9292 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9293 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9294 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9295 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9296 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9297 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9299 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9302 strnlen-sse2-no-bsf.
9303 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9305 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9306 Add strnlen support.
9307 (USE_AS_STRNLEN): New macro.
9308 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9309 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9310 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9311 * sysdeps/x86_64/wcslen.S: New file.
9313 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9315 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9316 XMM-moves are used for copying on small sizes.
9318 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9320 * wcsmbs/Makefile (strop-tests): Add wcschr.
9321 * wcsmbs/test-wcschr.c: New file.
9322 * string/test-strchr.c: Update.
9326 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9328 * wcsmbs/Makefile (strop-tests): Add wcslen.
9329 * wcsmbs/test-wcslen.c: New file.
9330 * string/test-strlen.c: Update.
9334 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9336 * po/it.po: Update from translation team.
9338 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9340 * sysdeps/x86_64/wcscmp.S: Update.
9341 Fix wrong comparison semantics.
9342 wcscmp shall use signed comparison not unsigned.
9343 Don't use substraction to avoid overflow bug.
9344 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9345 * wcsmbc/wcscmp.c: Likewise.
9346 * string/test-strcmp.c: Likewise.
9347 Add new tests to check cases with negative values.
9349 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9351 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9352 * sysdeps/x86_64/dla.h: ...here. New file.
9353 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9360 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9363 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9365 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9366 __ynl_finite aliases.
9368 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9372 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9374 [DLA_FMA] (EMULV): Use DLA_FMA.
9375 [DLA_FMA] (MUL12): Use EMULV.
9376 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9377 that are not needed.
9378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9386 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9388 * math/s_nan.c: Undef __nan.
9389 * math/s_nanf.c: Undef __nanf.
9390 * math/s_nanl.c: Undef __nanl.
9391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9394 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9396 * math/s_catan.c: Add branch predictions.
9397 * math/s_catanf.c: Likewise.
9398 * math/s_catanh.c: Likewise.
9399 * math/s_catanhf.c: Likewise.
9400 * math/s_catanhl.c: Likewise.
9401 * math/s_catanl.c: Likewise.
9402 * math/s_cexp.c: Likewise.
9403 * math/s_cexpf.c: Likewise.
9404 * math/s_cexpl.c: Likewise.
9405 * math/s_clog.c: Likewise.
9406 * math/s_clog10.c: Likewise.
9407 * math/s_clog10f.c: Likewise.
9408 * math/s_clog10l.c: Likewise.
9409 * math/s_clogf.c: Likewise.
9410 * math/s_clogl.c: Likewise.
9411 * math/s_csqrt.c: Likewise.
9412 * math/s_csqrtf.c: Likewise.
9413 * math/s_csqrtl.c: Likewise.
9414 * math/s_ctanf.c: Likewise.
9415 * math/s_ctanh.c: Likewise.
9416 * math/s_ctanhf.c: Likewise.
9417 * math/s_ctanhl.c: Likewise.
9418 * math/s_ctanl.c: Likewise.
9420 * math/math_private.h: Define __nan, __nanf, __nanl.
9421 * math/s_cacosh.c: Include <math_private.h>.
9422 * math/s_cacoshl.c: Likewise.
9423 * math/s_casinh.c: Likewise.
9424 * math/s_casinhf.c: Likewise.
9425 * math/s_casinhl.c: Likewise.
9426 * math/s_ccos.c: Rely entire on ccosh.
9427 * math/s_ccosf.c: Rely entire on ccoshf.
9428 * math/s_ccosl.c: Rely entirely on ccoshl.
9429 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9430 Remove tests for FE_INVALID.
9431 * math/s_ccoshf.c: Likewise.
9432 * math/s_ccoshl.c: Likewise.
9433 * math/s_csin.c: Likewise.
9434 * math/s_csinf.c: Likewise.
9435 * math/s_csinh.c Likewise.
9436 * math/s_csinhf.c: Likewise.
9437 * math/s_csinhl.c: Likewise.
9438 * math/s_csinl.c: Likewise.
9439 * math/s_ctan.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9441 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9442 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9444 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9447 compilation problems.
9449 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9452 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9454 * sysdeps/i386/configure.in: Test for -mfma4 option.
9455 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9456 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9457 COMMON_CPUID_INDEX_80000001.
9458 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9459 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9460 use it if FMA3 is not supported.
9461 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9463 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9464 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9466 2011-10-20 Andreas Schwab <schwab@redhat.com>
9469 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9470 it would create a cycle with a link time dependency.
9472 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9474 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9476 * string/Makefile (strop-tests): Add rawmemchr.
9477 * string/test-rawmemchr.c: New file.
9479 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9480 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9481 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9482 when compiling str{,n}casecmp and when AVX is available. Hook up
9483 new optimized code in initializers.
9485 2011-10-19 Andreas Schwab <schwab@redhat.com>
9487 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9488 __feraiseexcept instead of feraiseexcept.
9490 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9492 * math/math_private.h: Define defaults for libc_fetestexcept and
9494 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9495 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9496 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9497 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9498 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9499 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9500 libc_fetestexcept and libc_feupdateenv.
9502 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9503 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9504 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9505 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9506 libc_feholdexcept_setround.
9508 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9509 Add s_nearbyint-c and s_nearbyintf-c.
9510 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9512 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9513 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9514 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9517 * math/math_private.h: Define defaults for libc_fegetround,
9518 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9519 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9520 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9521 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9522 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9524 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9525 Remove comments and hacks for old compiler versions.
9526 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9527 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9530 2011-10-18 Andreas Schwab <schwab@redhat.com>
9532 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9533 (__feraiseexcept_renamed): Add __NTH.
9534 (feraiseexcept): Add __NTH. Rename local variables to fix
9535 namespace violations.
9537 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9539 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9541 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9543 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9544 recently added interfaces.
9545 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9547 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9548 about macro parameter expansion.
9550 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9551 __NO_MATH_INLINES is defined. Cleanups.
9553 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9554 and __floorf is target has SSE4.1.
9555 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9556 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9557 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9558 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9560 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9564 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9566 2011-10-17 Andreas Schwab <schwab@redhat.com>
9568 * misc/sys/cdefs.h: Fix last change.
9570 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9573 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9575 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9577 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9578 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9580 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9582 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9584 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9585 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9586 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9587 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9588 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9589 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9590 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9591 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9592 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9593 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9594 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9595 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9596 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9597 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9598 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9600 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9601 ceil, ceilf, floor, floorf.
9603 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9604 Perform IRELATIVE relocations last.
9606 * elf/do-rel.h: Add another parameter nrelative, replacing the
9607 local variable with the same name. Change name of the function
9608 to end in Rel or Rela (uppercase).
9609 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9610 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9611 elf_dynamic_do_##reloc function.
9613 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9615 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9616 is sufficient, at least on modern CPUs.
9618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9620 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9621 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9623 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9625 * math/bits/math-finite.h: Add entries for exp.
9626 * math/e_expl.c: Add __*_finite alias.
9627 * sysdeps/i386/fpu/e_exp.S: Likewise.
9628 * sysdeps/i386/fpu/e_expf.S: Likewise.
9629 * sysdeps/i386/fpu/e_expl.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9631 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9634 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9635 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9636 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9638 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9639 is sufficient, at least on modern CPUs.
9641 * ctype/ctype-info.c (__ctype_init): Define.
9642 * include/ctype.h (__ctype_init): Declare.
9643 (__ctype_b_loc): The variable is always initialized.
9644 (__ctype_toupper_loc): Likewise.
9645 (__ctype_tolower_loc): Likewise.
9646 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9647 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9649 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9651 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9653 * configure.in: Also look in $cxxmachine/include for C++ system
9656 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9658 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9659 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9660 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9661 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9662 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9663 (USE_AS_WMEMCMP): New macro.
9665 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9666 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9667 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9668 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9670 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9671 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9672 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9673 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9674 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9675 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9676 (USE_AS_WMEMCMP): New macro.
9677 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9678 * sysdeps/string/test-memcmp.c: Update.
9681 * wcsmbs/wmemcmp.c: Update.
9682 (WMEMCMP): New macro.
9685 2011-10-12 Andreas Jaeger <aj@suse.de>
9688 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9690 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9692 * libio/iofwide.c (do_length): Avoid warning.
9694 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9696 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9698 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9700 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9701 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9702 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9703 * sysdeps/i386/i686/fpu/e_log.S: New file.
9704 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9705 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9707 * ctype/ctype.h: Add support for inlined isXXX functions when
9710 2011-10-14 Andreas Schwab <schwab@redhat.com>
9712 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9714 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9716 2011-10-13 Roland McGrath <roland@hack.frob.com>
9719 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9721 2011-10-13 Andreas Schwab <schwab@redhat.com>
9723 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9724 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9727 * sysdeps/x86_64/memrchr.S: Check for zero size.
9729 * string/stratcliff.c: Add memrchr tests.
9731 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9734 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9735 rawmemchr-sse2 rawmemchr-sse2-bsf.
9736 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9737 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9738 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9739 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9740 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9741 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9742 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9743 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9744 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9745 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9746 * string/memrchr.c (MEMRCHR): New macro.
9748 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9750 Add integration with gcc's -ffinite-math-only and optimize wrapper
9752 * Versions.def: Define GLIBC_2.15 version for libm.
9753 * math/Makefile (headers): Add bits/math-finite.h.
9754 * math/bits/math-finite.h: New file.
9755 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9756 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9757 * math/e_acoshl.c: Add __*_finite alias.
9758 * math/e_acosl.c: Likewise.
9759 * math/e_asinl.c: Likewise.
9760 * math/e_atan2l.c: Likewise.
9761 * math/e_atanhl.c: Likewise.
9762 * math/e_coshl.c: Likewise.
9763 * math/e_exp10.c: Likewise.
9764 * math/e_exp10f.c: Likewise.
9765 * math/e_exp10l.c: Likewise.
9766 * math/e_exp2l.c: Likewise.
9767 * math/e_fmodl.c: Likewise.
9768 * math/e_gammal_r.c: Likewise.
9769 * math/e_hypotl.c: Likewise.
9770 * math/e_j0l.c: Likewise.
9771 * math/e_j1l.c: Likewise.
9772 * math/e_jnl.c: Likewise.
9773 * math/e_lgammal_r.c: Likewise.
9774 * math/e_log10l.c: Likewise.
9775 * math/e_log2l.c: Likewise.
9776 * math/e_logl.c: Likewise.
9777 * math/e_powl.c: Likewise.
9778 * math/e_sinhl.c: Likewise.
9779 * math/e_sqrtl.c: Likewise.
9780 * math/e_scalb.c: Completely rewritten and optimized.
9781 * math/e_scalbf.c: Likewise.
9782 * math/e_scalbl.c: Likewise.
9783 * math/w_acos.c: Likewise.
9784 * math/w_acosf.c: Likewise.
9785 * math/w_acosl.c: Likewise.
9786 * math/w_acosh.c: Likewise.
9787 * math/w_acoshf.c: Likewise.
9788 * math/w_acoshl.c: Likewise.
9789 * math/w_asin.c: Likewise.
9790 * math/w_asinf.c: Likewise.
9791 * math/w_asinl.c: Likewise.
9792 * math/w_atan2.c: Likewise.
9793 * math/w_atan2f.c: Likewise.
9794 * math/w_atan2l.c: Likewise.
9795 * math/w_atanh.c: Likewise.
9796 * math/w_atanhf.c: Likewise.
9797 * math/w_atanhl.c: Likewise.
9798 * math/w_exp10.c: Likewise.
9799 * math/w_exp10f.c: Likewise.
9800 * math/w_exp10l.c: Likewise.
9801 * math/w_fmod.c: Likewise.
9802 * math/w_fmodf.c: Likewise.
9803 * math/w_fmodl.c: Likewise.
9804 * math/w_j0.c: Likewise.
9805 * math/w_j0f.c: Likewise.
9806 * math/w_j0l.c: Likewise.
9807 * math/w_j1.c: Likewise.
9808 * math/w_j1f.c: Likewise.
9809 * math/w_j1l.c: Likewise.
9810 * math/w_jn.c: Likewise.
9811 * math/w_jnf.c: Likewise.
9812 * math/w_log.c: Likewise.
9813 * math/w_logf.c: Likewise.
9814 * math/w_logl.c: Likewise.
9815 * math/w_log10.c: Likewise.
9816 * math/w_log10f.c: Likewise.
9817 * math/w_log10l.c: Likewise.
9818 * math/w_log2.c: Likewise.
9819 * math/w_log2f.c: Likewise.
9820 * math/w_log2l.c: Likewise.
9821 * math/w_pow.c: Likewise.
9822 * math/w_powf.c: Likewise.
9823 * math/w_powl.c: Likewise.
9824 * math/w_remainder.c: Likewise.
9825 * math/w_remainderf.c: Likewise.
9826 * math/w_remainderl.c: Likewise.
9827 * math/w_scalb.c: Likewise.
9828 * math/w_scalbf.c: Likewise.
9829 * math/w_scalbl.c: Likewise.
9830 * math/w_sqrt.c: Likewise.
9831 * math/w_sqrtf.c: Likewise.
9832 * math/w_sqrtl.c: Likewise.
9833 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9834 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9836 * math/math_private.h: Declare __kernel_standard_f.
9837 * math/w_cosh.c: Remove cruft and optimize a bit.
9838 * math/w_coshf.c: Likewise.
9839 * math/w_coshl.c: Likewise.
9840 * math/w_exp2.c: Likewise.
9841 * math/w_exp2f.c: Likewise.
9842 * math/w_exp2l.c: Likewise.
9843 * math/w_hypot.c: Likewise.
9844 * math/w_hypotf.c: Likewise.
9845 * math/w_hypotl.c: Likewise.
9846 * math/w_lgamma.c: Likewise.
9847 * math/w_lgamma_r.c: Likewise.
9848 * math/w_lgammaf.c: Likewise.
9849 * math/w_lgammaf_r.c: Likewise.
9850 * math/w_lgammal.c: Likewise.
9851 * math/w_lgammal_r.c: Likewise.
9852 * math/w_sinh.c: Likewise.
9853 * math/w_sinhf.c: Likewise.
9854 * math/w_sinhl.c: Likewise.
9855 * math/w_tgamma.c: Likewise.
9856 * math/w_tgammaf.c: Likewise.
9857 * math/w_tgammal.c: Likewise.
9858 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9859 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9860 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9861 Minor optimizations. Pretty printing. Remove cruft.
9862 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9863 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9864 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9865 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9866 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9867 * sysdeps/i386/fpu/e_asin.S: Likewise.
9868 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9869 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9870 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9871 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9872 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9873 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9874 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9875 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9876 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9877 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9878 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9879 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9880 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9881 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9882 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9883 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9884 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9885 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9886 * sysdeps/i386/fpu/e_log.S: Likewise.
9887 * sysdeps/i386/fpu/e_log10.S: Likewise.
9888 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9890 * sysdeps/i386/fpu/e_log2.S: Likewise.
9891 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9892 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9893 * sysdeps/i386/fpu/e_logf.S: Likewise.
9894 * sysdeps/i386/fpu/e_logl.S: Likewise.
9895 * sysdeps/i386/fpu/e_pow.S: Likewise.
9896 * sysdeps/i386/fpu/e_powf.S: Likewise.
9897 * sysdeps/i386/fpu/e_powl.S: Likewise.
9898 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9899 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9900 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9901 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9902 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9903 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9904 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9905 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9906 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9910 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9912 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9913 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9918 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9927 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9928 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9929 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9930 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9931 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9932 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9933 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9934 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9935 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9936 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9937 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9938 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9939 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9940 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9941 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9942 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9943 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9944 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9945 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9946 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9947 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9948 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9949 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9952 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9959 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9964 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9987 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9990 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9991 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9992 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9993 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9994 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9995 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9996 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9997 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9999 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10000 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10001 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10002 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10003 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10004 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10005 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10006 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10007 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10008 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10009 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10010 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10011 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10012 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10013 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10014 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10015 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10016 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10017 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10018 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10019 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10020 (__isnanf): Likewise.
10021 (__isinf_ns): Likewise.
10022 (__isinf_nsf): Likewise.
10023 (__finite): Likewise.
10024 (__finitef): Likewise.
10025 (__ieee754_sqrt): Define as macro.
10026 (__ieee754_sqrtf): Define as macro.
10027 (__ieee754_sqrtl): Define as macro.
10028 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10030 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10031 __FINITE_MATH_ONLY__ consistent.
10032 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10034 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10036 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10039 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10041 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10043 * po/ja.po: Update from translation team.
10045 2011-10-08 Roland McGrath <roland@hack.frob.com>
10047 * locale/programs/locarchive.c (prepare_address_space): New function.
10048 (create_archive, enlarge_archive, open_archive): Use it.
10050 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10051 inside [SHARED], where it is used.
10053 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10055 * nss/getent.c (netgroup_keys): Remove unused variable.
10056 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10058 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10060 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10061 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10063 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10065 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10066 * math/Makefile (libm-calls): Add s_isinf_ns.
10067 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10068 * math/multc3.c: Likewise.
10069 * math/s_casin.c: Likewise.
10070 * math/s_casinf.c: Likewise.
10071 * math/s_casinl.c: Likewise.
10072 * math/s_ccos.c: Likewise.
10073 * math/s_ccosf.c: Likewise.
10074 * math/s_ccosl.c: Likewise.
10075 * math/s_ctan.c: Likewise.
10076 * math/s_ctanf.c: Likewise.
10077 * math/s_ctanh.c: Likewise.
10078 * math/s_ctanhf.c: Likewise.
10079 * math/s_ctanhl.c: Likewise.
10080 * math/s_ctanl.c: Likewise.
10081 * math/w_fmod.c: Likewise.
10082 * math/w_fmodf.c: Likewise.
10083 * math/w_fmodl.c: Likewise.
10084 * math/w_remainder.c: Likewise.
10085 * math/w_remainderf.c: Likewise.
10086 * math/w_remainderl.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10088 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10091 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10092 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10093 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10094 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10096 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10098 * stdio-common/printf_fphex.c: Likewise.
10099 * stdio-common/printf_size.c: Likewise.
10101 * math/e_exp10.c: Include math_private.h using <...> not "...".
10102 * math/e_exp10f.c: Likewise.
10103 * math/e_exp10l.c: Likewise.
10104 * math/e_exp2l.c: Likewise.
10105 * math/e_j0l.c: Likewise.
10106 * math/e_j1l.c: Likewise.
10107 * math/e_jnl.c: Likewise.
10108 * math/e_lgammal_r.c: Likewise.
10109 * math/e_rem_pio2l.c: Likewise.
10110 * math/e_scalb.c: Likewise.
10111 * math/e_scalbf.c: Likewise.
10112 * math/e_scalbl.c: Likewise.
10113 * math/k_cosl.c: Likewise.
10114 * math/k_sinl.c: Likewise.
10115 * math/k_tanl.c: Likewise.
10116 * math/s_cacoshf.c: Likewise.
10117 * math/s_catan.c: Likewise.
10118 * math/s_catanf.c: Likewise.
10119 * math/s_catanh.c: Likewise.
10120 * math/s_catanhf.c: Likewise.
10121 * math/s_catanhl.c: Likewise.
10122 * math/s_catanl.c: Likewise.
10123 * math/s_ccosh.c: Likewise.
10124 * math/s_ccoshf.c: Likewise.
10125 * math/s_ccoshl.c: Likewise.
10126 * math/s_cexp.c: Likewise.
10127 * math/s_cexpf.c: Likewise.
10128 * math/s_cexpl.c: Likewise.
10129 * math/s_clog.c: Likewise.
10130 * math/s_clog10.c: Likewise.
10131 * math/s_clog10f.c: Likewise.
10132 * math/s_clog10l.c: Likewise.
10133 * math/s_clogf.c: Likewise.
10134 * math/s_clogl.c: Likewise.
10135 * math/s_csin.c: Likewise.
10136 * math/s_csinf.c: Likewise.
10137 * math/s_csinh.c: Likewise.
10138 * math/s_csinhf.c: Likewise.
10139 * math/s_csinhl.c: Likewise.
10140 * math/s_csinl.c: Likewise.
10141 * math/s_csqrt.c: Likewise.
10142 * math/s_csqrtf.c: Likewise.
10143 * math/s_csqrtl.c: Likewise.
10144 * math/s_ctan.c: Likewise.
10145 * math/s_ctanf.c: Likewise.
10146 * math/s_ctanh.c: Likewise.
10147 * math/s_ctanhf.c: Likewise.
10148 * math/s_ctanhl.c: Likewise.
10149 * math/s_ctanl.c: Likewise.
10150 * math/s_ldexp.c: Likewise.
10151 * math/s_ldexpf.c: Likewise.
10152 * math/s_ldexpl.c: Likewise.
10153 * math/s_significand.c: Likewise.
10154 * math/s_significandf.c: Likewise.
10155 * math/s_significandl.c: Likewise.
10156 * math/w_acos.c: Likewise.
10157 * math/w_acosf.c: Likewise.
10158 * math/w_acosh.c: Likewise.
10159 * math/w_acoshf.c: Likewise.
10160 * math/w_acoshl.c: Likewise.
10161 * math/w_acosl.c: Likewise.
10162 * math/w_asin.c: Likewise.
10163 * math/w_asinf.c: Likewise.
10164 * math/w_asinl.c: Likewise.
10165 * math/w_atan2.c: Likewise.
10166 * math/w_atan2f.c: Likewise.
10167 * math/w_atan2l.c: Likewise.
10168 * math/w_atanh.c: Likewise.
10169 * math/w_atanhf.c: Likewise.
10170 * math/w_atanhl.c: Likewise.
10171 * math/w_cosh.c: Likewise.
10172 * math/w_coshf.c: Likewise.
10173 * math/w_coshl.c: Likewise.
10174 * math/w_dremf.c: Likewise.
10175 * math/w_exp10.c: Likewise.
10176 * math/w_exp10f.c: Likewise.
10177 * math/w_exp10l.c: Likewise.
10178 * math/w_exp2.c: Likewise.
10179 * math/w_exp2f.c: Likewise.
10180 * math/w_fmod.c: Likewise.
10181 * math/w_fmodf.c: Likewise.
10182 * math/w_fmodl.c: Likewise.
10183 * math/w_hypot.c: Likewise.
10184 * math/w_hypotf.c: Likewise.
10185 * math/w_hypotl.c: Likewise.
10186 * math/w_j0.c: Likewise.
10187 * math/w_j0f.c: Likewise.
10188 * math/w_j0l.c: Likewise.
10189 * math/w_j1.c: Likewise.
10190 * math/w_j1f.c: Likewise.
10191 * math/w_j1l.c: Likewise.
10192 * math/w_jn.c: Likewise.
10193 * math/w_jnf.c: Likewise.
10194 * math/w_jnl.c: Likewise.
10195 * math/w_lgamma.c: Likewise.
10196 * math/w_lgamma_r.c: Likewise.
10197 * math/w_lgammaf.c: Likewise.
10198 * math/w_lgammaf_r.c: Likewise.
10199 * math/w_lgammal.c: Likewise.
10200 * math/w_lgammal_r.c: Likewise.
10201 * math/w_log.c: Likewise.
10202 * math/w_log10.c: Likewise.
10203 * math/w_log10f.c: Likewise.
10204 * math/w_log10l.c: Likewise.
10205 * math/w_log2.c: Likewise.
10206 * math/w_log2f.c: Likewise.
10207 * math/w_log2l.c: Likewise.
10208 * math/w_logf.c: Likewise.
10209 * math/w_logl.c: Likewise.
10210 * math/w_pow.c: Likewise.
10211 * math/w_powf.c: Likewise.
10212 * math/w_powl.c: Likewise.
10213 * math/w_remainder.c: Likewise.
10214 * math/w_remainderf.c: Likewise.
10215 * math/w_remainderl.c: Likewise.
10216 * math/w_scalb.c: Likewise.
10217 * math/w_scalbf.c: Likewise.
10218 * math/w_scalbl.c: Likewise.
10219 * math/w_sinh.c: Likewise.
10220 * math/w_sinhf.c: Likewise.
10221 * math/w_sinhl.c: Likewise.
10222 * math/w_sqrt.c: Likewise.
10223 * math/w_sqrtf.c: Likewise.
10224 * math/w_sqrtl.c: Likewise.
10225 * math/w_tgamma.c: Likewise.
10226 * math/w_tgammaf.c: Likewise.
10227 * math/w_tgammal.c: Likewise.
10229 * po/ja.po: Update from translation team.
10231 2011-09-29 Andreas Jaeger <aj@suse.de>
10234 * sunrpc/netname.c (netname2host): Fix logic.
10238 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10240 * math/w_remainder.c (__remainder): Likewise.
10241 * math/w_remainderf.c (__remainderf): Likewise.
10242 * math/libm-test.inc (remainder_test): Add test cases.
10244 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10246 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10249 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10251 * string/test-memcmp.c: Avoid unncessary #defines.
10252 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10254 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10256 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10257 Use new sse2 version for core i3 - i7 as it's faster
10258 than sse42 version.
10259 (bit_Prefer_PMINUB_for_stringop): New.
10260 * sysdeps/x86_64/rawmemchr.S: Update.
10261 Replace with faster SSE2 version.
10262 * sysdeps/x86_64/memrchr.S: New file.
10263 * sysdeps/x86_64/memchr.S: Update.
10264 Replace with faster SSE2 version.
10266 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10268 * elf/dl-load.c (lose): Add cast to avoid warning.
10270 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10272 * po/ca.po: Update from translation team.
10274 * inet/getnetgrent_r.c: Hook up nscd.
10275 * nscd/Makefile (routines): Add nscd_netgroup.
10276 (nscd-modules): Add netgroupcache.
10277 (CFLAGS-netgroupcache.c): Define.
10278 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10279 (cache_search): Add const to second parameter.
10280 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10282 (dbs): Add netgrdb entry.
10283 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10284 (verify_persistent_db): Handle netgrdb.
10285 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10286 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10288 (netgroup_response_header): Define.
10289 (innetgroup_response_header): Define.
10290 (datahead): Add netgroup_response_header and innetgroup_response_header
10292 * nscd/nscd.conf: Add entries for netgroup cache.
10293 * nscd/nscd.h (dbtype): Add netgrdb.
10294 (_PATH_NSCD_NETGROUP_DB): Define.
10295 (netgroup_iov_disabled): Declare.
10296 (xmalloc, xcalloc, xrealloc): Move declarations here.
10297 (cache_search): Adjust prototype.
10298 Add netgroup-related prototypes.
10299 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10300 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10301 (__nscd_innetgr): Declare.
10302 * nscd/selinux.c (perms): Use access_vector_t as element type and
10303 add netgroup-related initializers.
10304 * nscd/netgroupcache.c: New file.
10305 * nscd/nscd_netgroup.c: New file.
10306 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10307 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10308 For four parameters use innetgr.
10309 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10310 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10311 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10312 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10314 * nscd/connections.c (register_traced_file): Don't register file
10315 for disabled databases.
10317 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10319 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10321 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10322 from tree and freeing node.
10324 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10326 * nss/nsswitch.c (__nss_database_lookup): Handle
10327 nss_parse_service_list out of memory case.
10329 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10331 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10332 out of memory case.
10334 2011-10-04 Andreas Schwab <schwab@redhat.com>
10336 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10337 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10339 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10340 elf_machine_rela, elf_machine_lazy_rel.
10341 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10342 (ELF_DYNAMIC_DO_REL): Likewise.
10343 (ELF_DYNAMIC_DO_RELA): Likewise.
10344 (ELF_DYNAMIC_RELOCATE): Likewise.
10345 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10346 to ELF_DYNAMIC_DO_REL.
10347 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10348 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10349 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10352 skip_ifunc, don't call ifunc function if non-zero.
10353 (elf_machine_rela): Likewise.
10354 (elf_machine_lazy_rel): Likewise.
10355 (elf_machine_lazy_rela): Likewise.
10356 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10357 (elf_machine_lazy_rel): Likewise.
10358 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10360 (elf_machine_lazy_rel): Likewise.
10361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10363 (elf_machine_lazy_rel): Likewise.
10364 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10365 (elf_machine_lazy_rel): Likewise.
10366 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10367 (elf_machine_lazy_rel): Likewise.
10368 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10369 (elf_machine_lazy_rel): Likewise.
10370 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10371 (elf_machine_lazy_rel): Likewise.
10372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10373 (elf_machine_lazy_rel): Likewise.
10374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10375 (elf_machine_lazy_rel): Likewise.
10377 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10379 * nss/nss_files/files-init.c (_nss_files_init): Use static
10380 initialization for all the *_traced_file variables.
10382 2011-09-28 Andreas Schwab <schwab@redhat.com>
10384 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10386 2011-09-27 Roland McGrath <roland@hack.frob.com>
10389 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10391 2011-09-27 Andreas Schwab <schwab@redhat.com>
10393 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10394 Reread the line before reparsing it.
10396 2011-09-26 Andreas Schwab <schwab@redhat.com>
10398 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10400 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10401 Maxim Kuvyrkov <maxim@codesourcery.com>
10402 Joseph Myers <joseph@codesourcery.com>
10404 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10405 if needed for __stack_chk_guard.
10407 2011-09-19 Roland McGrath <roland@hack.frob.com>
10409 * sysdeps/posix/spawni.c (script_execute): Always define it.
10410 It will be optimized away if unused.
10411 (maybe_script_execute): New function.
10412 (__spawni): Call it.
10414 * Makerules: Don't include tls.make.
10415 (config-tls): Always set to thread.
10416 * tls.make.c: File removed.
10418 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10420 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10421 * config.make.in (CPPFLAGS-config): New substituted variable.
10423 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10428 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10429 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10431 2011-09-15 Roland McGrath <roland@hack.frob.com>
10433 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10434 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10436 (CALL_FAIL): Likewise.
10437 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10438 (CALL_FAIL): Macro removed.
10439 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10441 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10443 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10444 for __FINITE_MATH_ONLY__ == 1.
10446 2011-09-15 Andreas Schwab <schwab@redhat.com>
10448 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10449 __ieee754_sqrt instead of sqrt.
10450 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10451 __ieee754_sqrtf instead of sqrtf.
10452 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10453 __floorf instead of floorf.
10454 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10455 __floorf, __truncf instead of floorf, truncf.
10457 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10459 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10461 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10462 __extern_always_inline.
10463 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10466 2011-09-14 Andreas Schwab <schwab@redhat.com>
10468 * elf/rtld.c (dl_main): Also relocate in dependency order when
10469 doing symbol dependency testing.
10471 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10474 Always define `refsym'.
10476 2011-09-13 Andreas Schwab <schwab@redhat.com>
10478 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10479 (__FD_ELT): Renamed from __FDELT.
10480 * misc/bits/select2.h (__FD_ELT): Likewise.
10481 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10482 __FD_MASK instead of __FDELT, __FDMASK.
10483 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10485 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10488 * elf/Makefile (gen-ldd): Fix pattern.
10490 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10491 (init_tls): Likewise.
10493 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10495 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10497 2011-09-12 Andreas Schwab <schwab@redhat.com>
10499 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10500 `struct cmsghdr *' instead of `void *'.
10501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10504 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10506 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10508 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10509 ldd_rewrite_script.
10511 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10513 * configure.in: Remove --with-tls option.
10514 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10515 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10516 out in case it is missing.
10517 * sysdeps/ia64/elf/configure.in: Likewise.
10518 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10519 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10520 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10521 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10522 * sysdeps/sh/elf/configure.in: Likewise.
10523 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10524 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10525 * sysdeps/x86_64/elf/configure.in: Likewise.
10526 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10527 * sysdeps/mach/hurd/tls.h: Likewise.
10530 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10533 * configure.in: Fix use of AC_INIT.
10535 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10537 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10539 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10541 * malloc/hooks.c: Likewise.
10544 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10545 variables statically.
10546 (narenas): Initialize.
10547 (list_lock): Initialize.
10548 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10549 initializtion of main_arena and list_lock. Small cleanups.
10550 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10551 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10552 Add initializers to main_arena and mp_.
10553 (malloc_state): Remove pagesize member. Change all users to use
10556 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10557 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10558 is always initialized.
10560 * malloc/malloc.c: Removed unused configurations and dead code.
10561 * malloc/arena.c: Likewise.
10562 * malloc/hooks.c: Likewise.
10563 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10565 * include/tls.h: Removed. USE___THREAD must always be defined.
10566 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10567 * elf/dl-libc.c: Likewise.
10568 * elf/dl-tsd.c: Likewise.
10569 * include/errno.h: Likewise.
10570 * include/netdb.h: Likewise.
10571 * include/resolv.h: Likewise.
10572 * inet/herrno-loc.c: Likewise.
10573 * inet/herrno.c: Likewise.
10574 * malloc/arena.c: Likewise.
10575 * malloc/hooks.c: Likewise.
10576 * malloc/malloc.c: Likewise.
10577 * resolv/res-state.c: Likewise.
10578 * resolv/res_libc.c: Likewise.
10579 * sysdeps/i386/dl-machine.h: Likewise.
10580 * sysdeps/ia64/dl-machine.h: Likewise.
10581 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10582 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10583 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10584 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10585 * sysdeps/sh/dl-machine.h: Likewise.
10586 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10587 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10588 * sysdeps/unix/i386/sysdep.S: Likewise.
10589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10590 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10592 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10593 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10595 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10599 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10600 * sysdeps/x86_64/dl-machine.h: Likewise.
10601 * tls.make.c: Likewise.
10603 * configure.in: Remove --with-__thread option. Make tests for
10604 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10605 tls_model attribute fail if no support is available. Remove
10607 * Makeconfig: Adjust for dropped configure option. All features are
10609 * Makerules: Likewise.
10610 * Versions.def: Likewise.
10611 * argp/argp-fmtstream.c: Likewise.
10612 * argp/argp-fmtstream.h: Likewise.
10613 * argp/argp-help.c: Likewise.
10614 * assert/assert.c: Likewise.
10615 * config.h.in: Likewise.
10616 * config.make.in: Likewise.
10617 * configure: Likewise.
10618 * configure.in: Likewise.
10619 * csu/Versions: Likewise.
10620 * csu/init.c: Likewise.
10621 * elf/tst-audit2.c: Likewise.
10622 * elf/tst-tls10.c: Likewise.
10623 * elf/tst-tls10.h: Likewise.
10624 * elf/tst-tls11.c: Likewise.
10625 * elf/tst-tls12.c: Likewise.
10626 * elf/tst-tls14.c: Likewise.
10627 * elf/tst-tlsmod11.c: Likewise.
10628 * elf/tst-tlsmod12.c: Likewise.
10629 * elf/tst-tlsmod13.c: Likewise.
10630 * elf/tst-tlsmod13a.c: Likewise.
10631 * elf/tst-tlsmod14a.c: Likewise.
10632 * elf/tst-tlsmod15b.c: Likewise.
10633 * elf/tst-tlsmod16a.c: Likewise.
10634 * elf/tst-tlsmod16b.c: Likewise.
10635 * elf/tst-tlsmod7.c: Likewise.
10636 * elf/tst-tlsmod8.c: Likewise.
10637 * elf/tst-tlsmod9.c: Likewise.
10638 * gmon/gmon.c: Likewise.
10639 * grp/fgetgrent_r.c: Likewise.
10640 * grp/putgrent.c: Likewise.
10641 * hurd/fopenport.c: Likewise.
10642 * include/libc-symbols.h: Likewise.
10643 * include/tls.h: Likewise.
10644 * intl/gettextP.h: Likewise.
10645 * intl/loadinfo.h: Likewise.
10646 * locale/global-locale.c: Likewise.
10647 * locale/localeinfo.h: Likewise.
10648 * mach/devstream.c: Likewise.
10649 * malloc/arena.c: Likewise.
10650 * malloc/set-freeres.c: Likewise.
10651 * misc/err.c: Likewise.
10652 * misc/getttyent.c: Likewise.
10653 * misc/mntent_r.c: Likewise.
10654 * posix/getopt.c: Likewise.
10655 * posix/wordexp.c: Likewise.
10656 * pwd/fgetpwent_r.c: Likewise.
10657 * resolv/Versions: Likewise.
10658 * resolv/res_hconf.c: Likewise.
10659 * shadow/fgetspent_r.c: Likewise.
10660 * shadow/putspent.c: Likewise.
10661 * stdio-common/printf_fphex.c: Likewise.
10662 * stdio-common/tmpfile.c: Likewise.
10663 * stdlib/abort.c: Likewise.
10664 * stdlib/fmtmsg.c: Likewise.
10665 * sunrpc/auth_unix.c: Likewise.
10666 * sunrpc/clnt_perr.c: Likewise.
10667 * sunrpc/clnt_tcp.c: Likewise.
10668 * sunrpc/clnt_udp.c: Likewise.
10669 * sunrpc/clnt_unix.c: Likewise.
10670 * sunrpc/openchild.c: Likewise.
10671 * sunrpc/svc_simple.c: Likewise.
10672 * sunrpc/svc_tcp.c: Likewise.
10673 * sunrpc/svc_udp.c: Likewise.
10674 * sunrpc/svc_unix.c: Likewise.
10675 * sunrpc/xdr.c: Likewise.
10676 * sunrpc/xdr_array.c: Likewise.
10677 * sunrpc/xdr_rec.c: Likewise.
10678 * sunrpc/xdr_ref.c: Likewise.
10679 * sunrpc/xdr_stdio.c: Likewise.
10681 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10683 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10685 2011-07-03 Andreas Jaeger <aj@suse.de>
10687 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10688 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10689 regenerate with gen-libm-tests.pl.
10691 2010-05-12 Petr Baudis <pasky@suse.cz>
10694 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10695 around j0() zero points by switching to j1().
10696 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10699 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10701 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10703 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10705 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10708 Patch in part by Pavel Roskin <proski@gnu.org>.
10711 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10713 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10714 Free memory block if necessary.
10717 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10718 be NULL. Don't lock in this case.
10720 2011-09-09 Roland McGrath <roland@hack.frob.com>
10722 * elf/elf.h (ELFOSABI_GNU): New macro.
10723 (ELFOSABI_LINUX): Define to that.
10725 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10727 * string/strncat.c (strncat): Undef the symbol in case it has been
10728 defined in bits/string.h.
10730 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10732 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10734 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10737 2011-08-17 Andreas Jaeger <aj@suse.de>
10739 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10741 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10742 Ian Lance Taylor <iant@google.com>
10744 * math/libm-test.inc (lround_test): New testcase.
10745 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10747 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10749 * Makefile: Remove support for automatic cvs check-ins.
10750 * Makerules: Likewise.
10751 * config.make.in: Likewise.
10752 * configure.in: Likewise.
10753 * intl/Makefile: Likewise.
10754 * locale/Makefile: Likewise.
10755 * po/Makefile: Likewise.
10756 * posix/Makefile: Likewise.
10757 * sysdeps/gnu/Makefile: Likewise.
10758 * sysdeps/mach/hurd/Makefile: Likewise.
10759 * sysdeps/sparc/sparc32/Makefile: Likewise.
10762 * posix/Makefile (bug-regex32-ENV): Define.
10763 Patch by John Stanley <jpsinthemix@verizon.net>.
10765 * misc/Makefile (headers): Add bits/select2.h.
10766 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10767 * misc/bits/select2.h: New file.
10768 * include/bits/select2.h: New file.
10769 * debug/Makefile (routines): Add fdelt_chk.
10770 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10771 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10773 * debug/fdelt_chk.c: New file.
10775 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10776 * wcsmbs/test-wmemcmp.c: Likewise.
10777 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10778 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10780 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10782 * string/Makefile (strop-tests): Add memcmp.
10783 * string/test-wmemcmp.c: New file.
10784 * string/test-memcmp.c: Add wmemcmp support.
10786 2011-09-08 Roland McGrath <roland@hack.frob.com>
10789 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10792 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10793 garbage value in a __mach_port_mod_refs call in the cases of the
10794 task-self and thread-self ports.
10796 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10798 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10800 2011-09-08 Andreas Schwab <schwab@redhat.com>
10802 * elf/dl-load.c (lose): Check for non-null L.
10804 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10806 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10808 * elf/dl-libc.c (dlerror_run): Pass back error code from
10812 * elf/dl-load.c (lose): Free l_origin if it is valid.
10814 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10816 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10818 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10819 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10820 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10821 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10823 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10825 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10826 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10828 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10829 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10830 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10831 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10832 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10833 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10834 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10836 2011-08-15 Alan Modra <amodra@gmail.com>
10839 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10840 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10841 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10842 ppc_mcount to static-only-routines.
10843 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10845 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10846 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10848 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10850 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10851 for finite and infinity parameters.
10853 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10855 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10856 and add nop instructions for throughput optimization.
10857 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10859 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10861 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10862 aligned copy for power7 with vector-scalar instructions.
10863 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10865 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10870 2011-09-07 Andreas Schwab <schwab@redhat.com>
10873 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10876 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10878 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10879 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10880 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10881 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10884 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10887 Forgot to demangle the pointer.
10889 * sysdeps/i386/sysdep.h: Define atom_text_section.
10890 * sysdeps/x86_64/sysdep.h: Likewise.
10891 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10892 section with atom_text_section.
10893 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10894 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10895 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10897 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10899 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10900 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10901 already be defined. Change to take two parameters and don't assign
10902 result to variable. Adjust all users.
10903 Define INTERNAL_GETTIME if not already defined.
10904 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10907 HAVE_CLOCK_GETTIME_VSYSCALL.
10908 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10911 gettimeofday vsyscall, just use time.
10913 2011-09-06 Andreas Schwab <schwab@redhat.com>
10915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10918 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10920 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10924 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10925 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10926 syscall if possible.
10928 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10930 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10931 e_ident. Don't pass to find_mapsXX.
10932 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10934 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10937 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10938 * sysdeps/x86_64/multiarch/strchr.S: Update.
10939 Check bit_slow_BSF bit.
10940 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10941 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10942 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10944 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10947 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10949 (tryshell): Define.
10950 (__spawni): Change last parameter to be flag. Test
10951 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10952 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10953 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10954 * posix/spawni.c: Likewise.
10955 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10956 * posix/spawnp.c: Likewise. Change normal version to use
10957 SPAWN_XFLAGS_USE_PATH.
10958 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10959 SPAWN_XFLAGS_TRY_SHELL.
10962 * posix/glob.h: Remove gcc 1.x support.
10965 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10967 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10970 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10972 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10973 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10974 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10975 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10976 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10977 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10979 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10981 * sysdeps/x86_64/wcscmp.S: New file.
10983 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10984 wcscmp-c wcscmp-sse2
10985 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10986 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10987 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10988 * wcsmbs/wcscmp.c: Allow renaming.
10990 2011-09-05 David S. Miller <davem@davemloft.net>
10992 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10993 stack slot, rather than the struct return pointer slot.
10994 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10995 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10997 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10999 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11001 * po/ja.po: Update from translation team.
11004 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11005 kernel in 64-bit binaries.
11007 2011-09-01 David S. Miller <davem@davemloft.net>
11009 * elf/elf.h (HWCAP_SPARC_*): Move to..
11010 * sysdeps/sparc/sysdep.h: this new file and add new values.
11011 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11012 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11013 _DL_HWCAP_COUNT to 24.
11014 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11016 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11017 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11018 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11020 instead of magic constants.
11021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11023 2011-08-31 David S. Miller <davem@davemloft.net>
11025 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11027 Reimplement to do errno handling inline.
11028 (SYSCALL_ERROR_HANDLER): New macro.
11029 (__SYSCALL_STRING): Do not do errno handling in asm.
11030 (__CLONE_SYSCALL_STRING): Delete.
11031 (__INTERNAL_SYSCALL_STRING): Delete.
11032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11033 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11034 (PSEUDO): Reimplement to do errno handling inline.
11035 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11036 (SYSCALL_ERROR_HANDLER): New macro.
11037 (__SYSCALL_STRING): Do not do errno handling in asm.
11038 (__CLONE_SYSCALL_STRING): Delete.
11039 (__INTERNAL_SYSCALL_STRING): Delete.
11040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11041 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11043 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11044 (inline_syscall*): Add 'err' argument.
11045 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11046 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11047 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11048 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11050 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11051 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11053 2011-08-30 Andreas Schwab <schwab@redhat.com>
11055 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11057 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11059 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11062 2011-08-24 David S. Miller <davem@davemloft.net>
11064 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11066 2011-08-24 Andreas Schwab <schwab@redhat.com>
11068 * elf/Makefile: Add rules to build and run unload8 test.
11069 * elf/unload8.c: New file.
11070 * elf/unload8mod1.c: New file.
11071 * elf/unload8mod1x.c: New file.
11072 * elf/unload8mod2.c: New file.
11073 * elf/unload8mod3.c: New file.
11075 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11078 2011-08-23 David S. Miller <davem@davemloft.net>
11080 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11081 subtract stack bias.
11082 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11083 %sp not %fp in calculations.
11084 (_JMPBUF_UNWINDS_ADJ): Likewise.
11086 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11087 (aio_suspend): Call it to force an exception region around the
11088 AIO_MISC_WAIT() invocation.
11090 2011-08-23 Andreas Schwab <schwab@redhat.com>
11092 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11095 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11097 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11099 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11100 and <dl-machine.h>.
11101 (Elf64_FuncDesc): Remove.
11103 2011-08-22 David S. Miller <davem@davemloft.net>
11105 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11106 sigaltstack check, add missing cfi directives.
11107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11108 missing cfi directives, and sigaltstack handling.
11110 2011-08-16 Andreas Schwab <schwab@redhat.com>
11113 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11114 object is seen twice.
11115 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11117 * elf/Makefile (distribute): Add tst-initorder2.c.
11118 (tests): Add tst-initorder2.
11119 (modules-names): Add tst-initorder2a tst-initorder2b
11120 tst-initorder2c tst-initorder2d. Add rules to build them.
11121 ($(objpfx)tst-initorder2.out): New rule.
11122 * elf/tst-initorder2.c: New file.
11123 * elf/tst-initorder2.exp: New file.
11125 2011-08-22 Andreas Schwab <schwab@redhat.com>
11127 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11129 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11130 dependencies back to end of function.
11132 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11133 $(elfobjdir)/ld.so.
11135 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11138 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11140 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11141 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11142 of __vdso_gettimeofday.
11143 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11144 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11146 (_libc_vdso_platform_setup): Remove initialization of
11147 __vdso_gettimeofday and __vdso_time.
11149 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11151 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11152 and fgetc_unlocked.
11153 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11156 * elf/dl-open.c (add_to_global): Report additions to the global scope
11157 for LD_DEBUG=scopes.
11158 (dl_open_worker): Also print scope of newly loaded dependencies.
11159 (_dl_show_scope): Indicate if there is no scope.
11162 * stdio-common/Makefile (tests): Add bug24.
11163 * stdio-common/bug24.c: New file.
11165 2011-08-19 Andreas Jaeger <aj@suse.de>
11168 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11169 non-existant file when using close-on-exec mode.
11171 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11174 the very first instruction.
11176 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11177 the CFI state in the end.
11178 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11179 inclusion of dl-trampoline.h.
11180 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11182 2011-08-19 Andreas Schwab <schwab@redhat.com>
11184 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11185 expectations for long double.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11188 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11190 2011-08-14 David S. Miller <davem@davemloft.net>
11192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11193 artificual limit depends upon the system page size.
11195 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11197 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11198 * resolv/Makefile: Define CFLAGS-libresolv.
11200 2011-08-17 Andreas Schwab <schwab@redhat.com>
11202 * nss/makedb.c (compute_tables): Make variables used in nested
11205 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11207 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11208 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11209 if buffer was too small.
11211 * elf/pldd.c (main): Attach to all threads in the process.
11212 Rewrite /proc handling to use *at functions.
11214 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11216 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11217 specifies first scope to show.
11218 (dl_open_worker): Update callers. Move printing scope of new
11219 object to before the relocation.
11220 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11221 * sysdeps/generic/ldsodefs.h: Update declaration.
11223 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11224 string for the scope number.
11226 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11228 * nscd/servicescache.c (cache_addserv): Make sure written is always
11231 2011-08-14 Roland McGrath <roland@hack.frob.com>
11233 * sysdeps/i386/i486/bits/atomic.h
11234 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11235 statement expression, so as to suppress "set but not used" warning.
11236 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11238 * string/strncat.c (STRNCAT): Use prototype definition.
11240 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11241 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11243 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11244 (localedef-modules): Add localedef.
11245 (locale-modules): Add locale.
11247 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11248 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11249 to avoid a warning.
11251 2011-08-14 David S. Miller <davem@davemloft.net>
11253 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11254 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11256 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11258 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11259 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11260 * elf/rtld.c (dl_main): Set l_name of vDSO.
11261 Call _dl_show_scope when DL_DEBUG_SCOPES.
11262 (process_dl_debug): Recognize scopes flag and also set it for all.
11263 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11264 Declare _dl_show_scope.
11266 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11267 (do_dlopen): Pass caller_dlopen to dl_open.
11268 (__libc_dlopen_mode): Initialize caller_dlopen.
11270 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11271 of libc. Make tolower call locale-independent. Optimize a bit by
11272 using isdigit instead of isalnum.
11273 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11275 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11277 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11278 was a dependency or dynamically loaded.
11280 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11282 * intl/l10nflist.c: Allow architecture-specific pop function.
11283 * sysdeps/x86_64/l10nflist.c: New file.
11285 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11288 2011-08-10 Andreas Schwab <schwab@redhat.com>
11290 * include/dirent.h: Add libc_hidden_proto for scandirat and
11291 scandirat64. Don't declare __scandirat64.
11292 * dirent/scandirat.c: Add libc_hidden_def.
11293 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11294 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11296 2011-08-10 David S. Miller <davem@davemloft.net>
11298 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11301 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11304 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11306 * Versions.def [libc]: Add GLIBC_2.15.
11307 * dirent/Makefile (routines): Add scandirat and scandirat64.
11308 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11310 * dirent/dirent.h: Declare scandirat and scandirat64.
11311 * dirent/scandirat.c: New file.
11312 * dirent/scandirat64.c: New file.
11313 * sysdeps/wordsize-64/scandirat.c: New file.
11314 * sysdeps/wordsize-64/scandirat64.c: New file.
11315 * dirent/opendir.c: Define opendirat.
11316 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11318 * dirent/scandir64.c: Adjust for scandir.c change.
11319 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11320 __scandirat64, and __scandir_cancel_handler.
11321 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11322 additional parameter and use openat instead of open (outside of ld.so).
11323 Add new __opendir as wrapper around __opendirat.
11324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11325 here without requiring old scandirat implementation.
11327 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11329 * dirent/scandir.c (cancel_handler): Renamed to
11330 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11331 defined. Adjust users.
11332 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11333 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11335 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11337 * string/test-string.h (IMPL): Use __STRING to expand name and then
11340 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11343 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11345 * string/Makefile: Update.
11346 (strop-tests): Append strncat.
11347 * string/test-wcscmp.c: New file.
11348 New comprehensive test for wcscmp.
11349 * string/test-strcmp.c: Update.
11350 (WIDE): New define.
11352 2011-07-22 Andreas Schwab <schwab@redhat.com>
11354 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11357 2011-07-26 Andreas Schwab <schwab@redhat.com>
11359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11360 encoding to ACE if AI_IDN.
11362 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11364 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11365 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11367 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11369 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11370 Fix overflow bug in strncat.
11371 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11373 * string/test-strncat.c: Update.
11374 Add new tests for checking overflow bugs.
11376 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11379 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11380 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11381 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11382 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11383 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11384 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11385 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11386 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11389 (USE_AS_STRCAT): Define.
11390 Add strcat and strncat support.
11391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11393 2011-07-25 Andreas Schwab <schwab@redhat.com>
11395 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11396 __n bigger than INT_MAX+1.
11397 (__strncmp_g): Likewise.
11399 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11401 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11402 * libio/stido.h: Likewise.
11404 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11409 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11410 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11411 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11412 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11416 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11421 (_dl_x86_64_save_sse): Likewise.
11423 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11427 (_dl_x86_64_save_sse): Likewise.
11429 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11431 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11433 2011-07-21 Andreas Schwab <schwab@redhat.com>
11435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11437 (_dl_x86_64_save_sse): Use correct AVX check.
11439 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11441 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11442 bug in strncpy/strncat.
11443 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11445 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11447 * string/tester.c (test_strcat): Add tests for different alignments
11448 of source and destination.
11449 (test_strncat): Likewise.
11451 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11454 * posix/glob.c (glob): Check passed in values before using them in
11455 expressions to avoid some overflows.
11456 (glob_in_dir): Likewise.
11459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11460 check for AVX enablement so that we don't crash with old kernels and
11462 * elf/tst-audit4.c: Add same checks here.
11463 * elf/tst-audit6.c: Likewise.
11465 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11467 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11469 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11471 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11473 * po/cs.po: Update from translation team.
11474 * po/bg.po: Likewise.
11476 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11478 * misc/sys/cdefs.h: Add support for const attribute.
11479 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11480 to gnu_dev_{major,minor,makedev} functions.
11482 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11484 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11486 2011-07-20 Andreas Schwab <schwab@redhat.com>
11488 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11491 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11494 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11495 register in order to avoid conflicts with the soft frame pointer
11496 being held in r11 when necessary.
11497 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11498 (INTERNAL_VSYSCALL_NCS): Likewise.
11500 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11502 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11503 * elf/dl-fini.c (_dl_fini): Adjust caller.
11504 * elf/dl-close.c (_dl_close_worker): Likewise.
11505 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11507 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11509 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11510 "aux_cache->nlibs < 0".
11512 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11513 in the reload-count case.
11515 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11518 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11519 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11520 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11521 * sysdeps/x86_64/multiarch/strcat.S: New file.
11522 * sysdeps/x86_64/multiarch/strncat.S: New file.
11523 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11525 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11526 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11527 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11528 (USE_AS_STRCAT): Define.
11529 Add strcat and strncat support.
11530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11531 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11532 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11533 * string/strncat.c: Update.
11534 (USE_AS_STRNCAT): Define.
11535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11536 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11538 * sysdeps/x86_64/multiarch/init-arch.h
11539 (bit_Prefer_PMINUB_for_stringop): New.
11540 (index_Prefer_PMINUB_for_stringop): Likewise.
11541 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11542 bit_Prefer_PMINUB_for_stringop.
11544 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11546 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11548 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11549 of casting of buffer.
11550 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11551 buffer32 and buffer64.
11552 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11553 writes instead of casting of buffer.
11554 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11556 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11559 2011-07-19 Andreas Schwab <schwab@redhat.com>
11561 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11563 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11565 * nscd/nscd.c (termination_handler): Don't do anything for a database
11566 if it has not yet been initialized.
11568 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11570 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11572 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11574 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11576 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11578 * po/nl.po: Update from translation team.
11579 * po/sv.po: Likewise.
11581 2011-07-16 Roland McGrath <roland@hack.frob.com>
11583 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11584 now disallowed by GCC.
11586 * configure.in (use-default-link): Default to yes if a test -shared
11587 link meets our qualifications.
11588 * configure: Regenerated.
11590 * config.make.in (output-format): New variable.
11591 * configure.in: Check for ld --print-output-format support.
11592 * configure: Regenerated.
11593 * Makerules ($(common-objpfx)format.lds)
11594 [$(output-format) != unknown]: Just use $(output-format),
11595 instead of the linker-script munging.
11597 2011-07-14 Roland McGrath <roland@hack.frob.com>
11599 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11600 of $(common-objpfx)shlib.lds.
11601 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11603 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11604 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11606 * configure.in (-z relro check): Adjust test code to add a large
11607 writable data section after it.
11608 * configure: Regenerated.
11610 2011-07-11 Roland McGrath <roland@hack.frob.com>
11612 * configure.in (-z relro check): Fix test code to make the variable
11614 * configure: Regenerated.
11616 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11618 * nscd/nscd.h (struct traced_file): Define.
11619 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11620 elements. Add traced_files.
11621 (inotify_fd): Declare.
11622 (register_traced_file): Declare.
11623 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11624 (inotify_fd): Export.
11625 (resolv_conf_descr): Remove.
11626 (nscd_init): Move inotify descriptor creation to main.
11627 Don't register files for notification here.
11628 (register_traced_file): New function.
11629 (invalidate_cache): Don't use reset_res to determine whether to call
11630 res_init, go through the list of registered files.
11631 (main_loop_poll): The inotify descriptors are now stored in the
11632 structures for the traced files.
11633 (main_loop_epoll): Likewise
11634 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11635 to __nss_disable_nscd.
11636 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11637 for a database anymore. Check the records for all the registered
11639 * nss/Makefile (libnss_files-routines): Add files-init.
11640 (libnss_db-routines): Add db-init.
11641 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11642 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11643 * nss/nss_db/db-init.c: New file.
11644 * nss/nss_files/files-init.c: New file.
11645 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11646 __nss_lookup_function.
11647 (__nss_lookup_function): Call nss_load_library.
11648 (nss_load_all_libraries): New function.
11649 (__nss_disable_nscd): Take parameter with callback function for files
11650 to register. Set is_nscd. Load all the DSOs for the NSS modules
11651 used for the cached services.
11652 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11653 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11654 options for features to all the files in nscd.
11656 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11658 2011-07-10 Roland McGrath <roland@hack.frob.com>
11660 * csu/elf-init.c (__libc_csu_init): Comment typo.
11662 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11664 * po/pl.po: Update from translation team.
11665 * po/ja.po: Likewise.
11666 * po/ru.po: Likewise.
11667 * po/ko.po: Likewise.
11668 * po/fr.po: Likewise.
11670 2011-07-09 Roland McGrath <roland@hack.frob.com>
11672 * configure.in (.ctors/.dtors header and trailer check):
11673 Use an empirical test on a built program.
11674 * configure: Regenerated.
11676 * configure.in (-z relro check): Use an empirical test on a built DSO.
11677 Detect, but do not require, on ia64.
11678 * configure: Regenerated.
11680 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11681 Update tests that use readelf to use $READELF instead.
11682 * configure: Regenerated.
11684 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11686 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11687 if the result is not used.
11689 2011-07-05 Andreas Jaeger <aj@suse.de>
11692 * stdlib/tst-strtod.c: Add testcase.
11694 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11696 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11697 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11698 The latter has a higher limit. Take additional parameter to pass to
11700 (__pathconf): Pass file to __statfs_link_max.
11701 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11703 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11707 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11708 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11710 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11711 (__statfs_filesize_max): Likewise.
11712 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11714 2011-07-05 Andreas Jaeger <aj@suse.de>
11716 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11718 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11720 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11722 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11725 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11727 * Makefile (strop-tests): Add strncat.
11728 * string/test-strncat.c: New file.
11730 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11732 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11734 2011-06-21 Andreas Jaeger <aj@suse.de>
11736 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11737 Copy rule from iconvdata/Makefile.
11739 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11742 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11743 but no long options are defined, just return 'W'.
11745 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11748 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11750 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11752 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11754 (innetgr): Likewise.
11756 2011-07-05 Roland McGrath <roland@hack.frob.com>
11758 * config.make.in (install_root): Default to $(DESTDIR).
11760 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11762 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11764 2011-07-02 Roland McGrath <roland@hack.frob.com>
11766 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11768 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11769 containing directory rather than embedding absolute directory names.
11771 * scripts/check-local-headers.sh: Rewritten using awk.
11772 Match by word, not by line. Print error messages for matches.
11773 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11775 * Makerules [shlib-lds-flags empty]:
11776 ($(common-objpfx)libc_pic.opts): New target.
11777 ($(common-objpfx)libc_pic.os.clean): New target.
11778 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11780 * config.make.in (OBJCOPY): New variable.
11781 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11782 * configure: Regenerated.
11784 * config.make.in (use-default-link): New variable.
11785 * configure.in (use_default_link): Grok --with-default-link to set it.
11786 * configure: Regenerated.
11787 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11788 (shlib-lds, shlib-lds-flags): Define to empty.
11790 * Makerules (shlib-lds): New variable.
11791 (shlib-lds-flags): New variable.
11792 (build-shlib, build-moduile, build-module-asneeded): Use it.
11793 ($(common-objpfx)libc.so): Use $(shlib-lds).
11794 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11795 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11797 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11798 DT_FLAGS/DT_FLAGS_1 with zero flags.
11800 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11801 linker script munging.
11803 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11805 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11807 * crypt/sha512.c (sha512_process_block): Perform total addition using
11808 128-bit if possible.
11809 (__sha512_finish_ctx): Likewise.
11810 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11812 * crypt/sha256.c (SWAP64): Define.
11813 (sha256_process_block): Perform total addition using 64-bit if
11815 (__sha256_finish_ctx): Likewise.
11817 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11819 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11821 * nscd/hstcache.c (cache_addhst): Likewise.
11822 * nscd/grpcache.c (cache_addgr): Likewise.
11823 * nscd/aicache.c (addhstaiX): Likewise
11824 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11826 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11828 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11830 * nscd/hstcache.c (cache_addhst): Likewise.
11831 * nscd/grpcache.c (cache_addgr): Likewise.
11832 * nscd/aicache.c (addhstaiX): Likewise
11834 2011-07-01 Andreas Schwab <schwab@redhat.com>
11836 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11837 domain only when needed.
11839 2011-06-30 Andreas Schwab <schwab@redhat.com>
11841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11842 is always restored.
11844 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11846 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11847 are re-adding the entry.
11848 * nscd/servicescache.c (cache_addserv): Likewise.
11850 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11852 * sysdeps/generic/dl-irel.h: fix protection against multiple
11854 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11856 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11859 * malloc/memusage.sh: Fix quoting in message.
11860 * debug/xtrace.sh: Likewise.
11862 * configure.in: Remove support for --experimental-malloc option, make
11864 * config.make.in: Likewise.
11865 * malloc/Makefile: Likewise.
11867 2011-06-27 Andreas Schwab <schwab@redhat.com>
11869 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11870 two-byte characters.
11872 2011-06-27 Roland McGrath <roland@hack.frob.com>
11874 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11875 AC_CACHE_CHECK invocation.
11876 * configure: Regenerated.
11878 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11880 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11883 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11884 bit from old_res_options.
11886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11888 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11889 value type for setfct.
11891 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11894 __gettimeofday instead of gettimeofday.
11896 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11898 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11900 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11907 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11910 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11911 strcpy-sse2-unaligned strncpy-sse2-unaligned
11912 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11913 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11914 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11915 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11916 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11917 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11918 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11919 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11920 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11921 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11922 (STRCPY): Support SSE2 and SSSE3 versions.
11924 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11927 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11928 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11929 kernels which artificially limit size of requests.
11931 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11934 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11935 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11936 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11937 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11938 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11939 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11940 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11942 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11943 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11944 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11945 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11946 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11947 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11949 Enable unaligned load optimization for Intel Core i3, i5 and i7
11951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11953 (index_Fast_Unaligned_Load): Define.
11954 (HAS_FAST_UNALIGNED_LOAD): Define.
11956 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11958 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11960 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11963 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11964 until it is clear that the information is realy needed.
11965 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11967 2011-06-22 Andreas Schwab <schwab@redhat.com>
11969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11971 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11974 /sys/devices/system/cpu/online if it is usable.
11976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11977 reading the information from the /proc filesystem to once a second.
11979 2011-06-21 Andreas Jaeger <aj@suse.de>
11981 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11982 NULL after inclusion of kernel headers.
11984 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11986 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11987 calls to internal_setent.
11990 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11991 addresses using gethostbyname4_r ignore IPv4 addresses.
11993 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11994 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11996 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11998 2011-06-20 David S. Miller <davem@davemloft.net>
12000 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12002 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12004 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12005 (elf_irel): Use it.
12006 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12007 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12008 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12009 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12010 * sysdeps/x86_64/dl-irel.h: Likewise.
12012 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12013 * elf/dl-sym.c: Likewise.
12015 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12017 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12018 need to dereference resplen2.
12020 2011-06-14 Andreas Schwab <schwab@redhat.com>
12022 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12024 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12026 * Makeconfig: Define vardbdir and inst_vardbdir.
12027 * nss/Makefile: Add rules to install db-Makefile.
12029 * nss/nss_db/db-XXX.c: Cleanup.
12031 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12032 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12034 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12035 * nss/makedb.c: Implement -g option to specify that value strings
12036 are generated and should not be added to table iterated over for
12038 * nss/nss_db/db-initgroups.c: New file.
12040 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12043 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12044 (internal_getgrouplist): Adjust to name change.
12045 Update use_initgroups_entry if this is not the first call.
12046 * nss/databases.def: Add initgroups entry.
12048 * nss/makedb.c (compute_tables): Check result of multiple hash table
12049 sizes to minimize maximum chain length.
12051 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12053 * Versions.def: Add entry for libnss_db.
12054 * shlib-versions: Likewise.
12055 * nss/Makefile: Add rules to build libnss_db.
12056 * nss/Versions: Add libnss_db information. Organize libnss_files
12058 * nss/db-Makefile: Add gshadow support. Change rules for the new
12059 makedb progra. Some minor improvements to generate smaller files.
12060 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12062 * nss/makedb.c: ...here.
12063 Improve database format to be smaller and require less memory at
12065 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12067 * nss/nss_db/db-netgrp.c: Likewise.
12068 * nss/nss_db/db-open.c: Likewise.
12069 * nss/nss_files/flies-XXX.x: Adjust comments.
12070 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12071 * nss/nss_files/files-grp.c: Likewise.
12072 * nss/nss_files/files-hosts.c: Likewise.
12073 * nss/nss_files/files-network.c: Likewise.
12074 * nss/nss_files/files-proto.c: Likewise.
12075 * nss/nss_files/files-pwd.c: Likewise.
12076 * nss/nss_files/files-rpc.c: Likewise.
12077 * nss/nss_files/files-service.c: Likewise.
12078 * nss/nss_files/files-sgrp.c: Likewise.
12079 * nss/nss_files/files-spwd.c: Likewise.
12080 * nss/nss_db/db-alias.c: Removed.
12081 * nss/nss_db/dummy-db.h: Removed.
12083 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12085 * nss/makedb.c: Rewritten to not use database library.
12086 * nss/Makefile: Update to build new makedb program.
12088 2011-06-14 Andreas Jaeger <aj@suse.de>
12090 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12091 memset declaration.
12093 2011-06-10 Andreas Schwab <schwab@redhat.com>
12095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12098 2011-06-10 Roland McGrath <roland@hack.frob.com>
12100 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12101 * elf/Makefile ($(objpfx)ld.so): Likewise.
12103 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12104 Don't list ld.so twice in dependencies.
12106 * posix/bug-regex31.c: Include <stdlib.h>.
12108 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12110 * nis/nss_compat/compat-spwd.c
12111 (getspent_next_nss_netgr): Remove unused variable.
12112 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12114 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12115 nonmembers" output to use the right array.
12117 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12119 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12121 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12122 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12123 * catgets/gencat.c (read_input_file): Likewise.
12124 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12126 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12127 variable definition inside #if's controlling its use.
12129 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12131 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12133 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12135 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12138 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12140 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12141 * configure: Regenerated.
12143 * Makerules: Revert last change.
12144 * elf/Makefile: Likewise.
12146 2011-06-09 Roland McGrath <roland@hack.frob.com>
12148 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12149 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12150 (reloc-link): Likewise.
12152 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12154 * elf/Makefile: Add rules to build pldd.
12155 * elf/pldd.c: New file.
12156 * elf/pldd-xx.c: New file.
12158 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12160 * version.h: Update for 2.15 development version.
12162 2011-06-07 David S. Miller <davem@davemloft.net>
12164 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12167 elf_machine_lazy_rel): Likewise.
12168 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12170 elf_machine_lazy_rel): Likewise.
12171 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12172 dl_hwcap via passed in argument.
12173 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12176 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12178 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12180 2011-06-06 Roland McGrath <roland@hack.frob.com>
12183 * manual/fdl-1.1.texi: New file, verbatim from:
12184 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12185 * manual/lgpl-2.1.texi: New file, verbatim from:
12186 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12187 * manual/Makefile (licenses): New variable, list those new file names.
12189 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12191 * manual/fdl.texi: File removed.
12192 * manual/lesser.texi: File removed.
12193 * manual/libc.texinfo (Copying, Documentation License):
12194 Use new @include file names, put @appendix directive before @include.
12196 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12199 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12200 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12201 (mq_open): Add __NTH.
12203 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12206 Assume Intel Core i3/i5/i7 processor if AVX is available.
12208 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12213 2011-05-31 Andreas Schwab <schwab@redhat.com>
12215 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12216 memory. Use alloca_account. Fix memory leak when retrying.
12218 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12220 * version.h (RELEASE): Bump for 2.14 release.
12221 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12223 * config.make.in (RANLIB): Remove entry.
12225 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12227 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12228 (libc.pot): Work around missing support for .ksh extension in xgettext.
12231 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12232 if both request failed.
12233 (send_dg): In case of server errors clear resplen or *resplen2.
12236 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12237 when there are multiple maps.
12238 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12239 (_dl_fini): Remove test here.
12241 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12243 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12246 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12247 bit from old_res_options.
12248 (gaih_inet): Likewise.
12251 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12254 * resolv/res_init.c (res_setoptions): Make the code more compact.
12257 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12261 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12263 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12266 * malloc/malloc.h: Declare malloc hook variables as volatile.
12268 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12272 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12273 raise in the comment.
12274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12276 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12278 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12281 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12282 grow the buffers more if it already has to be sufficient.
12283 (build_wcs_upper_buffer): Likewise.
12284 * posix/regexec.c (check_matching): Likewise.
12285 (clean_state_log_if_needed): Likewise.
12286 (extend_buffers): Don't enlarge buffers beyond size of the input
12288 Patches mostly by Emil Wojak <emil@wojak.eu>.
12289 * posix/bug-regex32.c: New file.
12290 * posix/Makefile (tests): Add bug-regex32.
12292 * locale/findlocale.c (_nl_find_locale): Return right away if
12293 _nl_explode_name failed.
12294 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12296 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12298 * debug/xtrace.sh: Unify messages.
12299 * malloc/memusage.sh: Likewise.
12302 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12303 time symbol from vDSO. Substitute with vsyscall if not available.
12304 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12307 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12308 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12309 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12310 Add sendmmsg and internal_sendmmsg.
12311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12312 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12313 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12315 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12316 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12319 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12322 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12323 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12325 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12329 * iconvdata/Makefile (tests): Add bug-iconv9.
12330 * iconvdata/bug-iconv9.c: New file.
12332 2011-05-27 Andreas Schwab <schwab@redhat.com>
12335 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12337 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12340 (struct user_regs_struct): Change intcs field back to cs.
12342 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12344 * po/ja.po: Update from translation team.
12346 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12349 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12350 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12352 2011-05-20 Andreas Schwab <schwab@redhat.com>
12354 * stdlib/longlong.h: Update from GCC.
12356 2011-05-23 Andreas Schwab <schwab@redhat.com>
12358 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12360 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12361 Add parameter name.
12362 (__sysconf): Pass it down.
12364 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12367 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12370 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12371 add in in __libc_use_alloca calls. Adjust callers.
12372 (glob): Use malloc in some situations.
12374 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12375 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12378 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12380 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12381 and CLOCK_BOOTTIME_ALARM.
12384 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12387 * string/_strerror.c (__strerror_r): Print negative errors as signed
12391 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12392 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12393 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12395 * configure.in: Fix typo in redirection and correct removal of test
12396 files in two cases.
12399 * locale/setlocale.c (new_composite_name): Fix test to check for
12400 identical name of all categories.
12403 * libio/filedoalloc.c (local_isatty): New function.
12404 (_IO_file_doallocate): Use local_isatty.
12405 * stdio-common/perror.c (perror): In case a new stream is used
12406 forward the stream error.
12407 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12410 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12415 * include/alloca.h (extend_alloca_account): Define.
12418 * posix/regex.h: Fix comments with documentation of user-accessible
12419 fields after compilation and describe correct free'ing of pattern
12420 after re_compile_pattern.
12421 Patch by Reuben Thomas <rrt@sc3d.org>.
12423 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12425 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12426 and -mno-altivec to prevent the compiler from using Altivec and/or
12427 VSX instructions when the corresponding registers are not available.
12429 2011-05-19 Andreas Schwab <schwab@redhat.com>
12431 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12433 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12435 * libio/freopen.c (freopen): Use __dup2, not dup2.
12436 * libio/freopen64.c (freopen64): Likewise.
12438 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12441 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12442 * math/Makefile (tests): Add test-powl.
12443 (CFLAGS-test-powl.c): Define.
12444 * math/test-powl.c: New file.
12446 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12448 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12450 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12453 * iconvdata/gb18030.c: Update to GB18020-2005.
12455 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12457 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12458 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12459 Patch by Aharon Robbins <arnold@skeeve.com>.
12462 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12466 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12467 through underflows.
12470 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12471 point to strings before performing equality test for error_one_per_line
12475 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12478 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12479 (struct user_fpregs_struct): Avoid __uint*_t types.
12482 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12483 symbol info. Use it instead of calling _dl_addr locally.
12484 (lock_and_info): New function.
12485 (tr_freehook): Call lock_and_info and pass symbol info as additional
12486 parameter to tr_where.
12487 (tr_mallochook): Likewise.
12488 (tr_reallochook): Likewise.
12489 (tr_memalignhook): Likewise.
12491 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12492 used and couldn't be at all thread-safe.
12494 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12496 * libio/freopen.c (freopen): Don't close old file descriptor
12497 before the new one is opened. Instead dup the new file descriptor
12498 to the old one after the new stream is created.
12499 * libio/freopen64.c (freopen64): Likewise.
12500 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12501 * libio/fileops.c (_IO_new_file_close_it): Handle new
12502 _IO_FLAGS2_NOCLOSE flag.
12503 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12504 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12505 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12506 _IO_FLAGS2_NOCLOSE flag.
12507 * include/unistd.h: Add hidden_proto for dup3.
12508 Define __have_dup3.
12509 * io/dup3.c: Define hidden symbol.
12510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12513 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12514 when an incomplete long option is used.
12515 * posix/tst-getopt_long1.c: New file.
12516 * posix/Makefile (tests): Add tst-getopt_long1.
12519 * scripts/config.guess: Update from autoconf-2.68.
12520 * scripts/config.sub: Likewise.
12523 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12525 (has_cpuclock): ...this. New function.
12526 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12527 macro here based on has_cpuclock code.
12530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12531 First byte (not low byte) is now always NUL.
12532 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12535 Use non-cancelable interfaces.
12538 * locale/iso-639.def: Add entry for Sorani.
12541 * include/stdlib.h: Move include protection to the right place.
12542 Define abort_msg_s. Declare __abort_msg with it.
12543 * stdlib/abort.c (__abort_msg): Adjust type.
12544 * assert/assert.c (__assert_fail_base): New function. Majority
12545 of code from __assert_fail. Allocate memory for __abort_msg with
12547 (__assert_fail): Now call __assert_fail_base.
12548 * assert/assert-perr.c: Remove bulk of implementation. Use
12549 __assert_fail_base.
12550 * include/assert.hL Declare __assert_fail_base.
12551 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12553 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12555 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12559 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12560 until all modules are registered in the DTV.
12561 * elf/Makefile: Add rules to build and run tst-tls19.
12562 * elf/tst-tls19.c: New file.
12563 * elf/tst-tls19mod1.c: New file.
12564 * elf/tst-tls19mod2.c: New file.
12565 * elf/tst-tls19mod3.c: New file.
12566 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12569 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12573 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12574 two-byte sequence errors.
12575 * iconvdata/Makefile (tests): Add bug-iconv8.
12576 * iconvdata/bug-iconv8.c: New file.
12579 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12582 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12585 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12586 (dummy_getcfa): New function.
12587 (init): Get _Unwind_GetCFA address, use dummy if not found.
12588 (backtrace_helper): In recursion check, also check whether CFA changes.
12589 (__backtrace): Completely initialize arg.
12591 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12592 storing incomplete byte sequence in state object. Avoid testing for
12593 guaranteed too small input if we know there is enough data available.
12595 2011-05-11 Andreas Schwab <schwab@redhat.com>
12597 * Makeconfig (+link-pie): Indent.
12598 * Rules (binaries-pie): Define if $(have-fpie) and
12600 (binaries-shared): Also filter out $(binaries-pie).
12601 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12602 * nscd/Makefile (others-pie): Add nscd.
12603 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12604 ($(objpfx)nscd): Remove command override.
12605 * login/Makefile (others-pie): Add pt_chown.
12606 ($(objpfx)pt_chown): Remove command override.
12607 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12608 remove command overrides.
12610 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12612 * libio/tst_putwc.c: Fix error messages.
12615 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12616 currently writing and seek to current position when not.
12617 * libio/Makefile (tests): Add bug-fclose1.
12618 * libio/bug-fclose1.c: New file.
12620 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12623 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12624 don't set DF_1_NODELETE here.
12625 (do_lookup_x): When entering new entry test for copy relocation
12626 and if necessary set DF_1_NODELETE flag.
12627 * elf/tst-unique4.cc: New file.
12628 * elf/tst-unique4.h: New file.
12629 * elf/tst-unique4lib.cc: New file.
12630 * elf/Makefile: Add rules to build and run tst-unique4.
12631 Patch by Piotr Bury <pbury@goahead.com>.
12633 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12636 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12639 * misc/mntent_r.c (addmntent): Flush the stream after the output
12642 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12643 (is_trusted_path_normalize): Skip initial colon. Append slash
12644 to empty buffer. Duplicate is_trusted_path code but allow
12645 constructed patch to be prefix.
12646 (is_dst): Allow $ORIGIN followed by /.
12647 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12648 Correct testing of result of is_trusted_path_normalize
12649 (decompose_rpath): Fix warning.
12651 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12654 * grp/initgroups.c (internal_getgrouplist): When we found the service
12655 list through the initgroups entry in nsswitch.conf do not always
12656 continue on a successful lookup. Don't always use the
12657 __nss_group_database value if it is set.
12658 * nss/nsswitch.conf (initgroups): Change action for successful db
12659 lookup to continue for compatibility.
12661 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12664 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12666 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12668 * iconvdata/tst-tables.sh: Likewise.
12669 * iconvdata/cp770.c: New file.
12670 * iconvdata/cp771.c: New file.
12671 * iconvdata/cp772.c: New file.
12672 * iconvdata/cp773.c: New file.
12673 * iconvdata/cp774.c: New file.
12674 * iconvdata/testdata/CP770: New file.
12675 * iconvdata/testdata/CP770..UTF8: New file.
12676 * iconvdata/testdata/CP771: New file.
12677 * iconvdata/testdata/CP771..UTF8: New file.
12678 * iconvdata/testdata/CP772: New file.
12679 * iconvdata/testdata/CP772..UTF8: New file.
12680 * iconvdata/testdata/CP773: New file.
12681 * iconvdata/testdata/CP773..UTF8: New file.
12682 * iconvdata/testdata/CP774: New file.
12683 * iconvdata/testdata/CP774..UTF8: New file.
12685 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12687 * iconvdata/gen-8bit-gap.sh: Likewise.
12688 * iconvdata/gen-8bit.sh: Likewise.
12690 * locale/iso-639.def: Add ary entry.
12693 * locale/C-translit.h.in: Add U20A1 transliteration.
12696 * locale/iso-639.def: Add wae entry.
12697 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12700 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12704 * locale/C-translit.h.in: Add entry for U20B9.
12705 Patch by pravin.d.s@gmail.com.
12707 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12710 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12711 ENAMETOOLONG use generic getcwd.
12712 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12713 in rtld. Use *stat64.
12714 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12715 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12716 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12717 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12718 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12719 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12720 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12721 __fstatat64 macros.
12722 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12723 * dirent/rewinddir.c: Add libc_hidden_def.
12724 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12725 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12727 * include/dirent.h (__alloc_dir): Add flags parameter.
12728 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12729 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12731 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12732 from fdopendir if O_CLOEXEC is already set.
12734 2011-03-15 Alan Modra <amodra@gmail.com>
12736 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12737 l_tls_firstbyte_offset non-zero. Save padding offset in
12738 l_tls_firstbyte_offset for later use.
12739 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12740 freeing static tls block.
12742 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12744 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12745 where #ifdef was intended. The intent is to prevent ARG_MAX from
12746 being defined by the kernel headers.
12748 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12751 * resolv/resolv.h: Define RES_NOTLDQUERY.
12752 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12753 no-tld-query and set RES_NOTLDQUERY.
12754 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12755 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12756 modern BIND to search name as TLD unless forbidden.
12758 2011-05-07 Petr Baudis <pasky@suse.cz>
12759 Ulrich Drepper <drepper@gmail.com>
12762 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12763 (is_trusted_path): ...to here.
12764 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12765 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12766 using is_trusted_path_normalize() in setuid scripts.
12768 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12770 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12771 __BEGIN/__END_DECLS.
12773 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12776 NSS_STATUS_NOTFOUND if no record was found.
12778 2011-05-05 Andreas Schwab <schwab@redhat.com>
12780 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12781 (headers-not-in-tirpc): Remove rpc/netdb.h
12782 * resolv/netdb.h: Revert last change.
12784 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12786 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12787 circular dependency between libgcc.a and libc.a.
12789 2011-05-05 Andreas Schwab <schwab@redhat.com>
12791 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12792 * nis/Makefile: Don't install rpcsvc/*.
12793 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12794 instead of <rpc/types.h>.
12795 (MAXHOSTNAMELEN): Define.
12797 2011-05-03 Andreas Schwab <schwab@redhat.com>
12799 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12801 2011-04-28 Maciej Babinski <mbabinski@google.com>
12804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12805 gethostbyname4_r when IPv6 results are possible.
12807 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12810 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12811 _PC_PIPE_BUF handling.
12813 2011-04-30 Bruno Haible <bruno@clisp.org>
12816 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12817 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12819 * inet/getnameinfo.c (getnameinfo): Likewise.
12821 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12823 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12824 to groups setting in database lookup.
12825 * nss/nsswitch.conf: Add initgroups entry.
12827 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12830 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12832 Patch by Eric Blake <eblake@redhat.com>.
12834 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12836 * sunrpc/Makefile (need-export-routines): Add svc_run.
12837 (routines): Remove svc_run.
12838 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12839 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12840 * sunrpc/svc_run.c (svc_run): Likewise.
12841 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12843 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12846 problem in reallocation in last patch.
12848 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12850 * sunrpc/Makefile: Move inclusion of Rules.
12852 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12854 * nss/nss_files/files-initgroups.c: New file.
12855 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12856 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12857 _nss_files_initgroups_dyn.
12859 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12861 * elf/elf.h (R_ARM_IRELATIVE): Define.
12863 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12865 * po/ru.po: Update from translation team.
12867 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12869 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12872 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12875 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12876 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12877 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12878 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12881 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12883 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12885 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12887 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12889 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12892 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12894 * stdlib/bug-getcontext.c: New file.
12895 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12897 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12899 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12900 instructions into .machine "z9-109".
12901 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12902 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12904 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12906 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12907 between environment variables and auxiliary vector.
12909 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12911 * Makefile: Add rules to build linkobj/libc.so.
12912 * include/libc-symbols.h: Define libc_hidden_nolink.
12913 * include/rpc/auth.h: Mark functions which are to be hidden.
12914 * include/rpc/auth_des.h: Likewise.
12915 * include/rpc/auth_unix.h: Likewise.
12916 * include/rpc/clnt.h: Likewise.
12917 * include/rpc/des_crypt.h: Likewise.
12918 * include/rpc/key_prot.h: Likewise.
12919 * include/rpc/pmap_clnt.h: Likewise.
12920 * include/rpc/pmap_prot.h: Likewise.
12921 * include/rpc/pmap_rmt.h: Likewise.
12922 * include/rpc/rpc_msg.h: Likewise.
12923 * include/rpc/svc.h: Likewise.
12924 * include/rpc/svc_auth.h: Likewise.
12925 * include/rpc/xdr.h: Likewise.
12926 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12927 * nss/Makefile: Likewise.
12928 * sunrpc/Makefile: Don't install headers. Build library with normal
12929 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12930 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12931 for the compat linking library. Remove use of INTDEF/INTUSE.
12932 * sunrpc/auth_none.c: Likewise.
12933 * sunrpc/auth_unix.c: Likewise.
12934 * sunrpc/authdes_prot.c: Likewise.
12935 * sunrpc/authuxprot.c: Likewise.
12936 * sunrpc/clnt_gen.c: Likewise.
12937 * sunrpc/clnt_perr.c: Likewise.
12938 * sunrpc/clnt_raw.c: Likewise.
12939 * sunrpc/clnt_simp.c: Likewise.
12940 * sunrpc/clnt_tcp.c: Likewise.
12941 * sunrpc/clnt_udp.c: Likewise.
12942 * sunrpc/clnt_unix.c: Likewise.
12943 * sunrpc/des_crypt.c: Likewise.
12944 * sunrpc/des_soft.c: Likewise.
12945 * sunrpc/get_myaddr.c: Likewise.
12946 * sunrpc/key_call.c: Likewise.
12947 * sunrpc/key_prot.c: Likewise.
12948 * sunrpc/netname.c: Likewise.
12949 * sunrpc/pm_getmaps.c: Likewise.
12950 * sunrpc/pm_getport.c: Likewise.
12951 * sunrpc/pmap_clnt.c: Likewise.
12952 * sunrpc/pmap_prot.c: Likewise.
12953 * sunrpc/pmap_prot2.c: Likewise.
12954 * sunrpc/pmap_rmt.c: Likewise.
12955 * sunrpc/publickey.c: Likewise.
12956 * sunrpc/rpc_cmsg.c: Likewise.
12957 * sunrpc/rpc_common.c: Likewise.
12958 * sunrpc/rpc_dtable.c: Likewise.
12959 * sunrpc/rpc_prot.c: Likewise.
12960 * sunrpc/rpc_thread.c: Likewise.
12961 * sunrpc/rtime.c: Likewise.
12962 * sunrpc/svc.c: Likewise.
12963 * sunrpc/svc_auth.c: Likewise.
12964 * sunrpc/svc_authux.c: Likewise.
12965 * sunrpc/svc_raw.c: Likewise.
12966 * sunrpc/svc_run.c: Likewise.
12967 * sunrpc/svc_simple.c: Likewise.
12968 * sunrpc/svc_tcp.c: Likewise.
12969 * sunrpc/svc_udp.c: Likewise.
12970 * sunrpc/svc_unix.c: Likewise.
12971 * sunrpc/svcauth_des.c: Likewise.
12972 * sunrpc/xcrypt.c: Likewise.
12973 * sunrpc/xdr.c: Likewise.
12974 * sunrpc/xdr_array.c: Likewise.
12975 * sunrpc/xdr_float.c: Likewise.
12976 * sunrpc/xdr_intXX_t.c: Likewise.
12977 * sunrpc/xdr_mem.c: Likewise.
12978 * sunrpc/xdr_rec.c: Likewise.
12979 * sunrpc/xdr_ref.c: Likewise.
12980 * sunrpc/xdr_sizeof.c: Likewise.
12981 * sunrpc/xdr_stdio.c: Likewise.
12983 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12986 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12987 * sysdeps/ia64/dl-tls.h: Likewise.
12988 * sysdeps/powerpc/dl-tls.h: Likewise.
12989 * sysdeps/s390/dl-tls.h: Likewise.
12990 * sysdeps/sh/dl-tls.h: Likewise.
12991 * sysdeps/sparc/dl-tls.h: Likewise.
12992 * sysdeps/x86_64/dl-tls.h: Likewise.
12993 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12995 2011-03-14 Andreas Schwab <schwab@redhat.com>
12997 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12998 rpath element also skip the following colon.
12999 (expand_dynamic_string_token): Add is_path parameter and pass
13000 down to DL_DST_REQUIRED and _dl_dst_substitute.
13001 (decompose_rpath): Call expand_dynamic_string_token with
13002 non-zero is_path. Ignore empty rpaths.
13003 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13006 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13011 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13014 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13015 Patch by Filipe David Manana <fdmanana@apache.org>.
13017 2011-04-07 Andreas Schwab <schwab@redhat.com>
13019 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13020 Maintain aligned stack.
13021 (CHECK_RSP): Remove unused macro.
13023 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13025 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13026 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13028 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13030 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13032 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13034 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13037 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13038 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13039 * sysdeps/x86_64/memmove.c: New file.
13040 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13041 (memcpy): Renamed to ...
13042 (__new_memcpy): This.
13043 (memcpy): Provide GLIBC_2_14 memcpy.
13044 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13045 (memcpy): Provide GLIBC_2_2_5 memcpy.
13047 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13050 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13052 2011-03-30 Andreas Schwab <schwab@redhat.com>
13054 * misc/syncfs.c: New file.
13055 * misc/Makefile (routines): Add syncfs.
13056 * posix/unistd.h: Declare syncfs.
13057 * sysdeps/unix/syscalls.list: Add syncfs.
13059 2011-04-01 Andreas Schwab <schwab@redhat.com>
13061 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13064 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13066 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13068 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13071 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13073 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13075 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13077 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13081 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13082 sync_file_range.c with -fexceptions.
13083 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13084 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13085 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13086 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13087 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13088 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13090 sync_file_range as cancellation point
13091 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13092 now a wrapper around __call_sync_file_range with cancellation handling.
13093 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13094 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13095 function name to __call_sync_file_range.
13096 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13097 Add call_sync_file_range.
13099 2011-04-01 Andreas Schwab <schwab@redhat.com>
13101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13104 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13106 * iconv/iconv.h: Fix typo in comment.
13107 * io/fcntl.h: Likewise.
13108 * libio/stdio.h: Likewise.
13109 * posix/spawn.h: Likewise.
13110 * posix/unistd.h: Likewise.
13111 * stdlib/stdlib.h: Likewise.
13112 * time/time.h: Likewise.
13113 * wcsmbs/wchar.h: Likewise.
13115 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13116 open_by_handle): Add.
13117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13118 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13119 Augment a few comments.
13120 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13124 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13125 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13128 * io/fcntl.h (AT_EMPTY_PATH): Define.
13130 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13132 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13133 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13134 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13136 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13137 * Versions.def: Add GLIBC_2.14.
13138 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13141 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13143 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13145 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13147 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13150 * string/test-strncmp.c (do_page_test): New function.
13151 (check2): Likewise.
13152 (test_main): Call check2.
13153 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13155 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13158 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13159 Handle cache information in CPU leaf 4.
13160 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13162 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13165 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13166 character representation.
13167 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13169 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13171 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13172 END(__isnan) to END(__isnanf) to match function entry point/label
13173 EALIGN(__isnanf,...).
13175 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13177 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13179 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13182 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13183 copy from the symbol referenced in the relocation to initialize the
13185 Patch by Piotr Bury <pbury@goahead.com>.
13186 * elf/Makefile: Add rules to build and tst-unique3.
13187 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13188 * elf/tst-unique3.cc: New file.
13189 * elf/tst-unique3.h: New file.
13190 * elf/tst-unique3lib.cc: New file.
13191 * elf/tst-unique3lib2.cc: New file.
13193 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13195 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13197 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13198 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13201 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13203 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13204 to-be-loaded object along a path to loader is ld.so.
13206 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13207 Ulrich Drepper <drepper@gmail.com>
13209 * sysdeps/x86_64/memset.S: After aligning destination, code
13210 branches to different locations depending on the value of
13211 misalignment, when multiarch is enabled. Fix this.
13213 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13215 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13216 Set _x86_64_preferred_memory_instruction for AMD processsors.
13217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13218 Set bit_Prefer_SSE_for_memop for AMD processors.
13220 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13222 * libio/fmemopen.c (fmemopen): Optimize a bit.
13224 2011-03-03 Andreas Schwab <schwab@redhat.com>
13226 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13228 2011-03-03 Roland McGrath <roland@redhat.com>
13230 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13232 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13234 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13235 __bzero_ultra1 instead of __memset_ultra1.
13237 2011-02-23 Andreas Schwab <schwab@redhat.com>
13238 Ulrich Drepper <drepper@gmail.com>
13241 * include/link.h (struct link_map): Add l_orig_initfini.
13242 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13243 returning unsuccessfully.
13244 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13245 close of a file loaded at startup, restore the original l_initfini
13247 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13248 list, store the pointer.
13249 * elf/Makefile ($(objpfx)noload-mem): New rule.
13250 (noload-ENV): Define.
13251 (tests): Add $(objpfx)noload-mem.
13252 * elf/noload.c: Include <memcheck.h>.
13253 (main): Call mtrace. Close all opened handles.
13255 2011-02-17 Andreas Schwab <schwab@redhat.com>
13258 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13259 dependencies are missing.
13261 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13263 Fix __if_freereq crash: Unlike the generic version which uses free,
13265 * sysdeps/mach/hurd/ifreq.h: New file.
13267 2011-01-27 Petr Baudis <pasky@suse.cz>
13268 Ulrich Drepper <drepper@gmail.com>
13271 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13272 to extend_alloca().
13273 * stdio-common/bug23.c: New file.
13274 * stdio-common/Makefile (tests): Add bug23.
13276 2010-09-28 Andreas Schwab <schwab@redhat.com>
13277 Ulrich Drepper <drepper@gmail.com>
13280 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13281 before performing relro protection. At old place add assertion
13282 to make sure nothing changed.
13284 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13285 Glauber de Oliveira Costa <glommer@gmail.com>
13287 * elf/elf.h: Add new ARM TLS relocs.
13289 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13292 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13294 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13296 * sysdeps/wordsize-64/tst-writev.c: New file.
13298 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13300 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13301 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13302 insns in _dl_start to prevent a TOC reference before relocs are
13305 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13308 * Makeconfig: Remove RANLIB definition.
13309 * Makerules: Don't use RANLIB.
13310 * aclocal.m4: Remove ranlib test.
13311 * configure.in: No need to check for ranlib.
13312 * elf/rtld-Rules: Don't use RANLIB.
13314 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13316 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13318 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13319 inclusion protection macro.
13321 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13322 SIGRTMIN and SIGRTMAX and print information in that case only when
13323 SIGRTMIN is defined.
13325 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13327 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13328 arginfo fn returning -1.
13330 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13331 and thousands string is zero terminated.
13333 2011-02-03 Andreas Schwab <schwab@redhat.com>
13335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13336 sysdeps/unix/sysv/linux/bits/socket.h.
13338 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13340 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13341 (__CPU_COUNT): Remove old macros.
13342 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13343 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13344 (__CPU_ALLOC, __CPU_FREE): Add macros.
13345 (__sched_cpualloc, __sched_cpufree): Add declarations.
13347 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13349 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13350 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13351 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13352 (readdhstai): Return value of addhstaiX call.
13353 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13354 (addgrbyX): Return value returned by cache_addgr.
13355 (readdgrbyname): Return value returned by addgrbyX.
13356 (readdgrbygid): Likewise.
13357 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13358 (addpwbyX): Return value returned by cache_addpw.
13359 (readdpwbyname): Return value returned by addhstbyX.
13360 (readdpwbyuid): Likewise.
13361 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13362 (addservbyX): Return value returned by cache_addserv.
13363 (readdservbyname): Return value returned by addservbyX:
13364 (readdservbyport): Likewise.
13365 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13366 (addhstbyX): Return value returned by cache_addhst.
13367 (readdhstbyname): Return value returned by addhstbyX.
13368 (readdhstbyaddr): Likewise.
13369 (readdhstbynamev6): Likewise.
13370 (readdhstbyaddrv6): Likewise.
13371 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13372 (readdinitgroups): Return value returned by addinitgroupsX.
13373 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13374 (prune_cache): Keep track of timeout value of re-added entries.
13375 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13376 * nscd/nscd.h: Adjust prototypes of readd* functions.
13378 2011-02-04 Roland McGrath <roland@redhat.com>
13380 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13381 (nis_stats): Likewise.
13382 * nis/nis_modify.c (nis_modify): Likewise.
13383 * nis/nis_remove.c (nis_remove): Likewise.
13384 * nis/nis_add.c (nis_add): Likewise.
13386 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13388 * posix/fnmatch_loop.c: Add some consts.
13390 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13392 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13395 * config.make.in (config-cflags-novzeroupper): Define.
13396 * configure.in: Substitute libc_cv_cc_novzeroupper.
13397 * elf/Makefile (AVX-CFLAGS): Define.
13398 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13399 (CFLAGS-tst-auditmod4a.c): Likewise.
13400 (CFLAGS-tst-auditmod4b.c): Likewise.
13401 (CFLAGS-tst-auditmod6b.c): Likewise.
13402 (CFLAGS-tst-auditmod6c.c): Likewise.
13403 (CFLAGS-tst-auditmod7b.c): Likewise.
13404 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13406 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13408 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13409 function to the callback.
13410 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13412 2011-02-02 Andreas Schwab <schwab@redhat.com>
13414 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13417 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13420 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13422 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13424 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13427 * elf/Makefile: Add rules to build and run new test.
13428 * elf/tst-initorder.c: New file.
13429 * elf/tst-initorder.exp: New file.
13430 * elf/tst-initordera1.c: New file.
13431 * elf/tst-initordera2.c: New file.
13432 * elf/tst-initordera3.c: New file.
13433 * elf/tst-initordera4.c: New file.
13434 * elf/tst-initorderb1.c: New file.
13435 * elf/tst-initorderb2.c: New file.
13436 * elf/tst-order-a1.c: New file.
13437 * elf/tst-order-a2.c: New file.
13438 * elf/tst-order-a3.c: New file.
13439 * elf/tst-order-a4.c: New file.
13440 * elf/tst-order-b1.c: New file.
13441 * elf/tst-order-b2.c: New file.
13442 * elf/tst-order-main.c: New file.
13443 New test case by George Gensure <werkt0@gmail.com>.
13445 2010-10-01 Andreas Schwab <schwab@redhat.com>
13447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13448 decoding ACE if AI_CANONIDN.
13450 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13452 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13454 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13456 * version.h (RELEASE): Bump for 2.13 release.
13457 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13459 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13461 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13463 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13464 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13465 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13466 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13467 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13470 * posix/getconf.c: Update copyright year.
13471 * catgets/gencat.c: Likewise.
13472 * csu/version.c: Likewise.
13473 * debug/catchsegv.sh: Likewise.
13474 * debug/xtrace.sh: Likewise.
13475 * elf/ldconfig.c: Likewise.
13476 * elf/ldd.bash.in: Likewise.
13477 * elf/sprof.c (print_version): Likewise.
13478 * iconv/iconv_prog.c: Likewise.
13479 * iconv/iconvconfig.c: Likewise.
13480 * locale/programs/locale.c: Likewise.
13481 * locale/programs/localedef.c: Likewise.
13482 * malloc/memusage.sh: Likewise.
13483 * malloc/mtrace.pl: Likewise.
13484 * nscd/nscd.c (print_version): Likewise.
13485 * nss/getent.c: Likewise.
13487 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13488 PF_CAIF, and PF_ALG.
13489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13491 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13493 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13494 (modules-names): Use them.
13495 (ifunc-test-modules, ifunc-pie-tests): Define.
13496 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13497 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13498 (test-extras): Likewise.
13499 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13500 $(compile-command.c).
13501 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13502 (all-built-dso): Define.
13503 (check-textrel.out, check-execstack.out): Depend on it.
13505 * configure.in: Don't override --enable-multi-arch.
13507 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13510 * nscd/hstcache.c (tryagain): Define.
13511 (cache_addhst): Return tryagain not notfound for temporary errors.
13512 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13515 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13518 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13519 to make the syscall.
13520 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13523 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13524 and fall back to matching as normal character if the string ends before
13525 the matching ']' is found. This is what POSIX requires.
13526 * posix/testfnm.c: Adjust test result.
13527 * posix/globtest.sh: Adjust test result. Add new test.
13528 * posix/tst-fnmatch.input: Likewise.
13529 * posix/tst-fnmatch2.c: Add new test.
13531 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13533 * elf/Makefile (check-execstack): Revert last change. Depend on
13535 (check-execstack.h): New target.
13536 (generated): Add check-execstack.h.
13537 * elf/check-execstack.c: Include "check-execstack.h".
13538 (main): Revert last change.
13539 (handle_file): Return zero if GNU_STACK is absent and
13540 DEFAULT_STACK_PERMS doesn't include PF_X.
13542 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13544 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13545 in child fails because the descriptor is already closed.
13546 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13547 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13548 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13551 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13555 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13556 temporary buffer used to handle multi lookups locally.
13557 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13559 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13561 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13564 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13566 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13567 alignment for SSE2.
13569 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13572 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13573 characters. When rounding increased number of integer digits recompute
13575 * stdio-common/tst-grouping.c: New file.
13576 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13578 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13580 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13581 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13583 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13585 * bits/select.h: Likewise.
13587 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13589 * po/ja.po: Update from translation team.
13591 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13594 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13595 implementation just like for lxstat, fxstatat, et al.
13597 2010-12-27 Jim Meyering <meyering@redhat.com>
13600 * posix/regexec.c (build_trtable): Return failure indication upon
13601 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13603 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13606 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13607 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13608 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13609 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13612 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13615 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13616 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13618 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13620 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13621 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13622 script has SORT_BY_INIT_PRIORITY.
13623 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13624 NO_CTORS_DTORS_SECTIONS is defined.
13625 * elf/soinit.c: Likewise.
13626 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13627 NO_CTORS_DTORS_SECTIONS is defined.
13628 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13629 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13630 * sysdeps/sh/init-first.c: Likewise.
13631 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13633 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13635 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13636 always use the slow path.
13638 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13640 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13641 similar rule which adds the sysdep directories to the header search in
13642 order to pick up the correct platform stackinfo.h.
13643 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13644 perform test if it is, otherwise return successfully without testing.
13645 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13646 DEFAULT_STACK_PERMS define in stackinfo.h.
13647 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13648 defined in stackinfo.h.
13649 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13650 DEFAULT_STACK_PERMS defined in stackinfo.h.
13651 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13652 * sysdeps/ia64/stackinfo.h: Likewise.
13653 * sysdeps/s390/stackinfo.h: Likewise.
13654 * sysdeps/sh/stackinfo.h: Likewise.
13655 * sysdeps/sparc/stackinfo.h: Likewise.
13656 * sysdeps/x86_64/stackinfo.h: Likewise.
13657 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13658 PF_X for powerpc64. Retain PF_X for powerpc32.
13660 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13662 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13664 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13665 GETDENTS_64BIT_ALIGNED.
13667 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13669 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13671 2010-12-10 Andreas Schwab <schwab@redhat.com>
13673 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13676 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13677 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13679 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13680 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13682 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13685 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13688 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13690 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13692 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13694 * po/it.po: Update from translation team.
13696 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13701 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13703 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13705 2010-11-24 Andreas Schwab <schwab@redhat.com>
13707 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13709 (gaih_getanswer_slice): Likewise.
13711 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13715 2010-05-31 Petr Baudis <pasky@suse.cz>
13718 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13719 silently even in the chroot mode.
13721 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13723 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13724 last patch a bit. Pretty printing
13726 2010-05-31 Petr Baudis <pasky@suse.cz>
13729 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13730 initialization of skip_initgroups_dyn.
13732 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13734 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13737 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13739 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13741 2010-11-11 Andreas Schwab <schwab@redhat.com>
13743 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13744 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13745 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13746 ($(objpfx)tst-fnmatch-mem): New rule.
13747 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13748 * posix/tst-fnmatch.c (main): Call mtrace.
13750 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13753 Support Intel processor model 6 and model 0x2c.
13755 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13757 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13760 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13763 * string/test-strncasecmp.c (check_result): New function.
13764 (do_one_test): Use it.
13765 (check1): New function.
13766 (test_main): Use it.
13767 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13768 Support strcasecmp and strncasecmp.
13770 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13773 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13776 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13778 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13782 * sysdeps/x86_64/multiarch/bzero.S: New file.
13783 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13784 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13785 * sysdeps/x86_64/multiarch/memset.S: New file.
13786 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13788 Set bit_Prefer_SSE_for_memop for Intel processors.
13789 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13791 (index_Prefer_SSE_for_memop): Define.
13792 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13794 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13796 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13797 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13799 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13802 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13803 (__x86_64_raw_data_cache_size_half): Likewise.
13804 (__x86_64_raw_shared_cache_size): Likewise.
13805 (__x86_64_raw_shared_cache_size_half): Likewise.
13807 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13808 (__x86_64_raw_data_cache_size_half): Likewise.
13809 (__x86_64_raw_shared_cache_size): Likewise.
13810 (__x86_64_raw_shared_cache_size_half): Likewise.
13811 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13812 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13813 and __x86_64_raw_shared_cache_size_half. Round
13814 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13815 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13816 to multiple of 256 bytes.
13818 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13821 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13822 of inacessible symlinks. Verify result of symlink before returning it.
13823 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13824 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13826 2010-10-28 Erich Ritz <erichritz@gmail.com>
13828 * math/math.h (isinf): Fix typo in comment.
13830 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13832 * po/da.po: Update from translation team.
13834 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13836 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13837 is added to the list.
13839 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13840 Ulrich Drepper <drepper@gmail.com>
13842 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13843 the global list here. Move code to...
13844 (_dl_add_to_namespace_list): ...here. New function.
13845 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13846 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13847 * elf/dl-load.c (lose): Don't remove the element from the list.
13848 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13849 (_dl_map_object): Likewise.
13851 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13854 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13855 into all bytes of SSE register.
13856 Patch by Richard Li <richardpku@gmail.com>.
13858 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13861 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13864 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13866 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13867 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13868 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13869 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13874 2010-10-22 Andreas Schwab <schwab@redhat.com>
13876 * include/dlfcn.h (__RTLD_SECURE): Define.
13877 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13878 mode & __RTLD_SECURE instead.
13879 (open_path): Rename preloaded parameter to secure.
13880 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13881 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13882 * elf/dl-deps.c (openaux): Likewise.
13883 * elf/rtld.c (struct map_args): Remove is_preloaded.
13884 (map_doit): Don't use it.
13885 (dl_main): Likewise.
13886 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13887 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13889 2010-09-09 Andreas Schwab <schwab@redhat.com>
13891 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13892 (sysd-rules-targets): Remove duplicates.
13893 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13894 rtld-%.$o dependency.
13896 2010-10-18 Andreas Schwab <schwab@redhat.com>
13898 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13899 _dl_map_object do it.
13901 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13903 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13904 fast fma builtins, define the macros in the C99 standard.
13905 (FP_FAST_FMAF): Likewise.
13906 (FP_FAST_FMAL): Likewise.
13907 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13909 * bits/mathdef.h: Update copyright year.
13910 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13912 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13914 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13915 builtins, define the macros in the C99 standard.
13916 (FP_FAST_FMAF): Likewise.
13917 (FP_FAST_FMAL): Likewise.
13918 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13920 (FP_FAST_FMAF): Likewise.
13922 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13925 * math/libm-test.inc (fma_test): Some new testcases.
13926 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13927 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13928 y and infinite z. Do multiplication by C already in long double.
13929 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13931 y and infinite z. Do bitwise or of inexact bit into u.d.
13932 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13933 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13934 * sysdeps/i386/fpu/s_fma.S: Removed.
13935 * sysdeps/i386/fpu/s_fmal.S: Removed.
13937 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13940 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13942 computation is not scheduled after fetestexcept. Fix value
13943 of minimum denormal long double.
13945 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13948 * math/libm-test.inc (fma_test): Add some more tests.
13949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13952 2010-10-15 Andreas Schwab <schwab@redhat.com>
13954 * scripts/data/localplt-s390-linux-gnu.data: New file.
13955 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13957 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13960 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13961 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13963 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13965 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13967 if one of x and y is very large and the other is subnormal.
13968 * sysdeps/s390/fpu/s_fmaf.c: New file.
13969 * sysdeps/s390/fpu/s_fma.c: New file.
13970 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13971 * sysdeps/powerpc/fpu/s_fma.S: New file.
13972 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13973 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13974 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13976 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13979 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13982 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13983 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13984 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13985 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13986 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13987 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13989 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13992 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13993 * posix/bug-regex31.input: Add test case.
13995 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13997 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13998 * posix/bug-regex31.input: New file.
14001 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14002 (parse_sub_exp): Fix last change, use postorder.
14004 * posix/bug-regex31.c: New file.
14005 * posix/Makefile: Add rules to build and run bug-regex31.
14007 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14010 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14013 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14014 to have entries in sys_siglist.
14017 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14020 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14023 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14024 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14025 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14026 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14027 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14028 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14029 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14030 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14031 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14032 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14033 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14034 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14035 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14036 * math/ftestexcept.c (fetestexcept): Likewise.
14037 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14038 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14039 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14040 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14041 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14042 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14043 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14045 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14048 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14051 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14053 * string/bug-strstr1.c: New file.
14054 * string/Makefile: Add rules to build and run bug-strstr1.
14056 2010-10-05 Eric Blake <eblake@redhat.com>
14059 * string/str-two-way.h (two_way_long_needle): Always clear memory
14060 when skipping input due to the shift table.
14062 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14065 * malloc/mcheck.c: Handle large requests.
14068 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14069 for strncmp and strncasecmp.
14070 * string/stratcliff.c: Add tests for strcmp and strncmp.
14071 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14073 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14075 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14078 2010-09-30 Andreas Jaeger <aj@suse.de>
14080 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14081 (CGROUP_SUPER_MAGIC): Define.
14082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14083 Handle btrfs and cgroup file systems.
14084 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14087 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14089 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14090 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14092 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14095 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14096 trying to locate the ELF header.
14098 2010-09-27 Andreas Schwab <schwab@redhat.com>
14101 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14102 Mask out sign-bit copies when constructing f_fsid.
14104 2010-09-24 Petr Baudis <pasky@suse.cz>
14106 * debug/stack_chk_fail_local.c: Add missing licence exception.
14107 * debug/warning-nop.c: Likewise.
14109 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14111 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14112 implementing getdents64 using getdents syscall, set d_type if
14113 __ASSUME_GETDENTS32_D_TYPE.
14115 2010-09-16 Andreas Schwab <schwab@redhat.com>
14117 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14118 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14120 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14123 * posix/unistd.h: Undo change of feature selection for ftruncate from
14126 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14128 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14131 2010-09-20 Andreas Schwab <schwab@redhat.com>
14133 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14135 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14137 2010-09-14 Andreas Schwab <schwab@redhat.com>
14139 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14140 variables after CHECK_SP call.
14141 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14143 2010-09-13 Andreas Schwab <schwab@redhat.com>
14144 Ulrich Drepper <drepper@redhat.com>
14146 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14147 re-relocationg ld.so.
14148 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14149 _dl_init_paths call.
14150 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14153 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14155 * resolv/res_init.c (__res_vinit): Count the default server we added.
14157 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14158 Ulrich Drepper <drepper@redhat.com>
14161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14162 (____longjmp_chk): Use %ebx for saving value across system call.
14165 2010-09-06 Andreas Schwab <schwab@redhat.com>
14167 * manual/Makefile: Don't mix pattern rules with normal rules.
14169 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14171 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14173 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14174 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14175 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14176 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14180 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14183 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14184 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14186 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14188 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14189 * sysdeps/x86_64/addmul_1.S: Likewise.
14190 * sysdeps/x86_64/lshift.S: Likewise.
14191 * sysdeps/x86_64/mul_1.S: Likewise.
14192 * sysdeps/x86_64/rshift.S: Likewise.
14193 * sysdeps/x86_64/sub_n.S: Likewise.
14194 * sysdeps/x86_64/submul_1.S: Likewise.
14196 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14198 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14199 Define __sched_param instead of SCHED_* and sched_param when
14200 <bits/sched.h> is included with __need_schedparam defined.
14201 * bits/sched.h [__need_schedparam]
14202 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14203 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14204 (__defined_schedparam): Define to 1.
14205 (__sched_param): New structure, identical to sched_param.
14206 (__need_schedparam): Undefine.
14208 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14210 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14211 (epoll_create1): Declare.
14213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14215 2010-08-31 Andreas Schwab <schwab@redhat.com>
14218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14219 shifting retval into place.
14221 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14223 * nis/rpcsvc/nis.h: Update copyright notice.
14224 * nis/rpcsvc/nis.x: Likewise.
14225 * nis/rpcsvc/nis_callback.h: Likewise.
14226 * nis/rpcsvc/nis_callback.x: Likewise.
14227 * nis/rpcsvc/nis_object.x: Likewise.
14228 * nis/rpcsvc/nis_tags.h: Likewise.
14229 * nis/rpcsvc/yp.h: Likewise.
14230 * nis/rpcsvc/yp.x: Likewise.
14231 * nis/rpcsvc/ypupd.h: Likewise.
14232 * nis/yp_xdr.c: Likewise.
14233 * nis/ypupdate_xdr.c: Likewise.
14235 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14236 mainly the body of pmap_getport. Add parameters to specify timeouts.
14237 (pmap_getport): Use __libc_rpc_getport.
14238 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14239 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14240 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14242 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14247 2010-08-27 Roland McGrath <roland@redhat.com>
14249 * sysdeps/i386/i686/multiarch/Makefile
14250 (CFLAGS-varshift.c): New variable.
14252 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14254 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14255 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14257 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14259 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14261 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14263 * sysdeps/x86_64/strlen.S: Unroll the loop.
14264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14265 strlen-sse2 strlen-sse2-bsf.
14266 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14267 __strlen_no_bsf if bit_Slow_BSF is set.
14268 (__strlen_sse42): Removed.
14269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14270 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14272 2010-08-25 Roland McGrath <roland@redhat.com>
14274 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14275 * sysdeps/x86_64/multiarch/varshift.c: New file.
14276 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14277 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14278 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14279 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14281 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14284 strlen-sse2 strlen-sse2-bsf.
14285 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14286 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14287 (__strlen_sse2): Removed.
14288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14291 bit_Slow_BSF for Atom.
14292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14293 (index_Slow_BSF): Define.
14294 (HAS_SLOW_BSF): Define.
14296 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14299 * resolv/res_init.c (__res_vinit): When no server address at all
14300 is given default to loopback.
14302 2010-08-24 Roland McGrath <roland@redhat.com>
14304 * configure.in: Remove config-name.h generation.
14305 * configure: Regenerated.
14306 * config-name.in: File removed.
14307 * scripts/config-uname.sh: New file.
14308 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14309 ($(objdir)config-name.h): New target.
14311 * sunrpc/rpc_parse.h: Avoid nested comment.
14313 2010-08-24 Richard Henderson <rth@redhat.com>
14314 Ulrich Drepper <drepper@redhat.com>
14315 H.J. Lu <hongjiu.lu@intel.com>
14317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14319 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14320 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14321 _mm_alignr_epi8 with _mm_loadu_si128.
14322 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14323 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14324 (__m128i_shift_right): Removed.
14325 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14326 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14327 * sysdeps/x86_64/multiarch/varshift.h: New file.
14328 * sysdeps/x86_64/multiarch/varshift.S: New file.
14330 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14332 * configure.in: Move assembler checks to before sysdep dir checking.
14334 2010-08-20 Petr Baudis <pasky@suse.cz>
14336 * LICENSES: Sync the sunrpc license.
14338 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14340 * sunrpc/auth_des.c: Update copyright notice once again.
14341 * sunrpc/auth_none.c: Likewise.
14342 * sunrpc/auth_unix.c: Likewise.
14343 * sunrpc/authdes_prot.c: Likewise.
14344 * sunrpc/authuxprot.c: Likewise.
14345 * sunrpc/bindrsvprt.c: Likewise.
14346 * sunrpc/clnt_gen.c: Likewise.
14347 * sunrpc/clnt_perr.c: Likewise.
14348 * sunrpc/clnt_raw.c: Likewise.
14349 * sunrpc/clnt_simp.c: Likewise.
14350 * sunrpc/clnt_tcp.c: Likewise.
14351 * sunrpc/clnt_udp.c: Likewise.
14352 * sunrpc/clnt_unix.c: Likewise.
14353 * sunrpc/des_crypt.c: Likewise.
14354 * sunrpc/des_soft.c: Likewise.
14355 * sunrpc/get_myaddr.c: Likewise.
14356 * sunrpc/getrpcport.c: Likewise.
14357 * sunrpc/key_call.c: Likewise.
14358 * sunrpc/key_prot.c: Likewise.
14359 * sunrpc/openchild.c: Likewise.
14360 * sunrpc/pm_getmaps.c: Likewise.
14361 * sunrpc/pm_getport.c: Likewise.
14362 * sunrpc/pmap_clnt.c: Likewise.
14363 * sunrpc/pmap_prot.c: Likewise.
14364 * sunrpc/pmap_prot2.c: Likewise.
14365 * sunrpc/pmap_rmt.c: Likewise.
14366 * sunrpc/rpc/auth.h: Likewise.
14367 * sunrpc/rpc/auth_unix.h: Likewise.
14368 * sunrpc/rpc/clnt.h: Likewise.
14369 * sunrpc/rpc/des_crypt.h: Likewise.
14370 * sunrpc/rpc/key_prot.h: Likewise.
14371 * sunrpc/rpc/netdb.h: Likewise.
14372 * sunrpc/rpc/pmap_clnt.h: Likewise.
14373 * sunrpc/rpc/pmap_prot.h: Likewise.
14374 * sunrpc/rpc/pmap_rmt.h: Likewise.
14375 * sunrpc/rpc/rpc.h: Likewise.
14376 * sunrpc/rpc/rpc_des.h: Likewise.
14377 * sunrpc/rpc/rpc_msg.h: Likewise.
14378 * sunrpc/rpc/svc.h: Likewise.
14379 * sunrpc/rpc/svc_auth.h: Likewise.
14380 * sunrpc/rpc/types.h: Likewise.
14381 * sunrpc/rpc/xdr.h: Likewise.
14382 * sunrpc/rpc_clntout.c: Likewise.
14383 * sunrpc/rpc_cmsg.c: Likewise.
14384 * sunrpc/rpc_common.c: Likewise.
14385 * sunrpc/rpc_cout.c: Likewise.
14386 * sunrpc/rpc_dtable.c: Likewise.
14387 * sunrpc/rpc_hout.c: Likewise.
14388 * sunrpc/rpc_main.c: Likewise.
14389 * sunrpc/rpc_parse.c: Likewise.
14390 * sunrpc/rpc_parse.h: Likewise.
14391 * sunrpc/rpc_prot.c: Likewise.
14392 * sunrpc/rpc_sample.c: Likewise.
14393 * sunrpc/rpc_scan.c: Likewise.
14394 * sunrpc/rpc_scan.h: Likewise.
14395 * sunrpc/rpc_svcout.c: Likewise.
14396 * sunrpc/rpc_tblout.c: Likewise.
14397 * sunrpc/rpc_util.c: Likewise.
14398 * sunrpc/rpc_util.h: Likewise.
14399 * sunrpc/rpcinfo.c: Likewise.
14400 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14401 * sunrpc/rpcsvc/key_prot.x: Likewise.
14402 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14403 * sunrpc/rpcsvc/mount.x: Likewise.
14404 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14405 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14406 * sunrpc/rpcsvc/rex.x: Likewise.
14407 * sunrpc/rpcsvc/rstat.x: Likewise.
14408 * sunrpc/rpcsvc/rusers.x: Likewise.
14409 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14410 * sunrpc/rpcsvc/spray.x: Likewise.
14411 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14412 * sunrpc/rtime.c: Likewise.
14413 * sunrpc/svc.c: Likewise.
14414 * sunrpc/svc_auth.c: Likewise.
14415 * sunrpc/svc_authux.c: Likewise.
14416 * sunrpc/svc_raw.c: Likewise.
14417 * sunrpc/svc_run.c: Likewise.
14418 * sunrpc/svc_simple.c: Likewise.
14419 * sunrpc/svc_tcp.c: Likewise.
14420 * sunrpc/svc_udp.c: Likewise.
14421 * sunrpc/svc_unix.c: Likewise.
14422 * sunrpc/svcauth_des.c: Likewise.
14423 * sunrpc/xcrypt.c: Likewise.
14424 * sunrpc/xdr.c: Likewise.
14425 * sunrpc/xdr_array.c: Likewise.
14426 * sunrpc/xdr_float.c: Likewise.
14427 * sunrpc/xdr_mem.c: Likewise.
14428 * sunrpc/xdr_rec.c: Likewise.
14429 * sunrpc/xdr_ref.c: Likewise.
14430 * sunrpc/xdr_sizeof.c: Likewise.
14431 * sunrpc/xdr_stdio.c: Likewise.
14433 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14436 2010-08-19 Andreas Schwab <schwab@redhat.com>
14438 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14440 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14442 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14443 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14444 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14445 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14446 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14447 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14448 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14449 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14450 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14451 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14452 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14453 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14454 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14455 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14457 2010-07-26 Anton Blanchard <anton@samba.org>
14459 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14460 * malloc/arena.c (heap_trim): Likewise.
14462 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14464 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14467 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14469 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14471 * sysdeps/i386/elf/Makefile: New file.
14473 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14475 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14476 from fanotify_init.
14477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14480 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14482 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14484 * sysdeps/multiarch/strcmp.S: Likewise.
14486 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14488 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14489 strncase_l-nonascii.
14490 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14491 Add strncase_l-ssse3.
14492 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14493 * sysdeps/x86_64/strcmp.S: Likewise.
14494 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14495 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14496 * sysdeps/x86_64/strncase.S: New file.
14497 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14498 * sysdeps/x86_64/strncase_l.S: New file.
14499 * string/Makefile (strop-tests): Add strncasecmp.
14500 * string/test-strncasecmp.c: New file.
14502 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14505 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14506 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14508 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14510 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14512 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14514 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14515 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14516 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14518 2010-05-01 Alan Modra <amodra@gmail.com>
14520 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14521 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14522 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14523 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14524 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14525 tidying. Don't tail-call __sigjmp_save for static lib.
14526 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14528 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14529 (CALL_MCOUNT): Add eh info, and nop after bl.
14530 (TAIL_CALL_SYSCALL_ERROR): New macro.
14531 (PSEUDO_RET): Use it.
14532 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14533 Correct save location of integer regs and cr.
14534 (_dl_profile_resolve): Correct cr save location. Delete nops
14535 after bl when SHARED. Reduce cfi size a little by better
14536 placement of cfi directives.
14537 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14538 make a stack frame. Instead use parm save area as a temp.
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14540 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14542 Don't make a stack frame for parent, use parm save area.
14543 Increase child stack frame to 112 bytes. Don't save unused reg,
14544 and adjust reg usage. Set up cfi on error recovery and
14545 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14547 (__makecontext): Add dummy nop after jump to exit.
14548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14549 Use correct parm save area and cr save, reduce stack frame.
14550 Correct cfi for possible PSEUDO_RET frame setup.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14552 Branch to local label emitted by PSEUDO_RET rather than
14555 2010-08-12 Andreas Schwab <schwab@redhat.com>
14558 * locale/programs/locale.c (print_assignment): New function.
14559 (show_locale_vars): Use it.
14561 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14563 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14565 (struct statfs64): Likewise.
14566 (_STATFS_F_FLAGS): Define.
14567 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14568 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14569 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14570 (ST_VALID): Define locally.
14571 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14572 __statvfs_getflags, use the provided value.
14573 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14574 __ASSUME_STATFS_F_FLAGS.
14576 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14578 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14579 Add sys/fanotify.h.
14580 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14581 fanotify_mask for GLIBC_2.13.
14582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14583 fanotify_init and fanotify_mark.
14584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14585 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14587 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14589 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14590 prlimit64 for GLIBC_2.13.
14591 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14596 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14597 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14598 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14601 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14604 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14605 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14607 * nss/Makefile: Add rules to build and run tst-nss-test1.
14608 * shlib-versions: Add entry for libnss_test1.
14609 * nss/nss_test1.c: New file.
14610 * nss/tst-nss-test1.c: New file.
14612 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14613 (__nss_configure_lookup): Set appropriate entry in
14614 __nss_configure_lookup to true.
14615 * nss/nsswitch.h: Define enum with indeces of databases in
14616 databases and __nss_database_custom arrays. Declare
14617 __nss_database_custom.
14618 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14619 to avoid using nscd when custom rules are installed.
14620 * nss/getXXbyYY_r.c: Likewise.
14621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14623 * nss/nss_files/files-parse.c: Whitespace fixes.
14625 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14628 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14629 * posix/fnmatch_loop.c: Likewise.
14631 2010-07-17 Andi Kleen <ak@linux.intel.com>
14633 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14634 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14635 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14636 * Versions.def [GLIBC_2.13]: Add.
14638 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14640 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14641 Also fail if tpwd after pwuid call is NULL.
14643 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14645 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14646 when converting to ms.
14648 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14650 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14651 EOPNOTSUPP errors with ENOTTY.
14652 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14653 EOPNOTSUPP errors with ENOTTY.
14655 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14657 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14658 Add strcasecmp_l-ssse3.
14659 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14661 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14662 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14663 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14665 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14667 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14669 * string/Makefile (strop-tests): Add strcasecmp.
14670 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14671 strcasecmp_l-nonascii.
14672 (gen-as-const-headers): Add locale-defines.sym.
14673 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14674 * sysdeps/x86_64/strcasecmp.S: New file.
14675 * sysdeps/x86_64/strcasecmp_l.S: New file.
14676 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14677 * sysdeps/x86_64/locale-defines.sym: New file.
14678 * string/test-strcasecmp.c: New file.
14680 * string/test-strcasestr.c: Test both ends of the range of characters.
14681 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14683 2010-07-29 Roland McGrath <roland@redhat.com>
14686 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14688 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14690 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14693 2010-07-27 Andreas Schwab <schwab@redhat.com>
14695 * manual/memory.texi (Malloc Tunable Parameters): Document
14698 2010-07-26 Roland McGrath <roland@redhat.com>
14701 * configure.in (-fgnu89-inline check): Set and substitute
14702 gnu89_inline, not libc_cv_gnu89_inline.
14703 * configure: Regenerated.
14704 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14706 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14708 * string/test-strnlen.c: New file.
14709 * string/Makefile (strop-tests): Add strnlen.
14710 * string/tester.c (test_strnlen): Add a few more test cases.
14711 * string/tst-strlen.c: Better error reporting.
14713 * sysdeps/x86_64/strnlen.S: New file.
14715 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14718 lower-latency instructions.
14720 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14722 * string/test-strcasestr.c: New file.
14723 * string/test-strstr.c: New file.
14724 * string/Makefile (strop-tests): Add strstr and strcasestr.
14725 * string/str-two-way.h: Don't undefine MAX.
14726 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14728 2010-07-21 Andreas Schwab <schwab@redhat.com>
14730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14731 strcasestr-nonascii.
14732 (CFLAGS-strcasestr-nonascii.c): Define.
14733 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14734 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14735 Remove unused attribute.
14737 2010-07-20 Roland McGrath <roland@redhat.com>
14739 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14740 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14741 ld.so.cache was broken. With it, there is no way to disable dsocaps
14742 like LD_HWCAP_MASK can disable hwcaps.
14744 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14746 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14748 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14750 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14751 call in strcasestr.
14752 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14753 __strcasestr_sse42_nonascii.
14754 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14755 strcasestr-nonascii.c.
14756 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14758 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14760 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14761 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14762 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14763 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14765 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14767 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14770 2010-07-06 Andreas Schwab <schwab@redhat.com>
14773 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14776 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14778 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14779 _PC_PIPE_BUF using F_GETPIPE_SZ.
14781 2010-07-05 Roland McGrath <roland@redhat.com>
14783 * manual/arith.texi (Rounding Functions): Fix rint description
14784 implicit in round description.
14786 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14788 * elf/Makefile: Fix linking for a few tests to make recent linker
14791 2010-06-30 Andreas Schwab <schwab@redhat.com>
14793 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14794 $(common-objpfx)libc_nonshared.a.
14796 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14798 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14799 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14800 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14801 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14802 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14803 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14804 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14805 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14820 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14821 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14822 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14823 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14824 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14825 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14826 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14827 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14828 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14829 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14830 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14831 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14847 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14849 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14850 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14851 * string/memmove.c (memmove): Renamed to ...
14852 (MEMMOVE): ...this. Default to memmove.
14853 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14854 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14857 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14858 mempcpy-ssse3-back memmove-ssse3-back.
14859 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14861 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14862 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14863 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14864 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14865 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14866 * sysdeps/x86_64/multiarch/memmove.c: New file.
14867 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14868 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14869 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14870 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14871 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14872 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14874 (index_Fast_Copy_Backward): Define.
14875 (HAS_ARCH_FEATURE): Define.
14876 (HAS_FAST_REP_STRING): Define.
14877 (HAS_FAST_COPY_BACKWARD): Define.
14879 2010-06-21 Andreas Schwab <schwab@redhat.com>
14881 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14882 Restore proper fallback handling.
14884 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14887 * posix/group_member.c (__group_member): Correct checking loop.
14889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14890 OOM in getpwuid_r correctly. Return error number when the caller
14891 should return, otherwise -1.
14892 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14893 call returning > 0 value.
14894 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14896 2010-06-07 Andreas Schwab <schwab@redhat.com>
14898 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14899 libc_nonshared.a from targets in modules-names.
14901 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14903 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14906 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14908 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14909 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14910 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14911 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14913 2010-06-02 Andreas Schwab <schwab@redhat.com>
14915 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14917 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14919 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14921 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14922 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14925 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14926 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14928 2010-06-14 Roland McGrath <roland@redhat.com>
14930 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14932 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14934 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14935 __REDIRECT followed by __THROW.
14936 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14937 * posix/getopt.h (getopt): Likewise.
14939 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14941 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14942 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14943 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14945 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14946 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14948 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14950 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14952 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14956 Properly check family and model.
14958 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14960 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14962 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14964 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14966 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14968 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14971 2010-05-19 Andreas Schwab <schwab@redhat.com>
14973 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14976 2010-05-21 Andreas Schwab <schwab@redhat.com>
14978 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14979 and internal_recvmmsg.
14980 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14981 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14982 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14983 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14985 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14986 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14987 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14989 2010-05-20 Andreas Schwab <schwab@redhat.com>
14991 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14993 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14995 POWER7 optimizations.
14996 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14997 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14999 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15001 * version.h: Update for 2.13 development version.
15003 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15005 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15006 exceptions. Return 0.
15008 2010-05-07 Roland McGrath <roland@redhat.com>
15010 * elf/ldconfig.c (main): Add a const.
15012 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15014 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15015 (args_options): Add no-idn option.
15016 (ahosts_keys_int): Add idn_flags to ai_flags.
15017 (parse_option): Handle 'i' option to clear idn_flags.
15019 * malloc/malloc.c (_int_free): Possible race in the most recently
15020 added check. Only act on the data if no current modification
15023 See ChangeLog.17 for earlier changes.