1 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12 (INTERNAL_SYSCALL_TYPES): Likewise.
13 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14 (LOAD_REGS_TYPES_[1-6]): Likewise.
15 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21 copysignl for GLIBC_2_0.
22 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37 * time/mktime.c: Update copyright years.
39 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41 mktime: merge comment-quoting-style change from gnulib
42 * time/mktime.c: Quote 'like this' in comments.
43 The GNU coding standards suggest that we no longer quote `like this',
44 as "`" and "'" are typically rendered asymmetrically nowadays.
45 The typical gnulib style is to quote 'like this' when quoting
46 code, and "like this" when quoting English.
48 * time/mktime.c (compile-command): Add "-I.".
50 mktime: merge mktime-internal.h change from gnulib
51 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
53 mktime: merge time_r change from gnulib
54 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56 mktime: merge DEBUG change from gnulib
57 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58 case system <time.h> has a #define.
60 mktime: merge <sys/types.h> change from gnulib
61 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62 since <time.t> is now guaranteed to define time_t.
64 mktime: merge HAVE_CONFIG_H change from gnulib
65 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
67 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
69 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74 (struct rusage): Use anonymous union to pad each field to
77 2012-05-21 David S. Miller <davem@davemloft.net>
79 * Makefules (o-iterator): Remove .s cases.
80 (compile-command.s): Delete.
82 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
84 2012-05-21 Joseph Myers <joseph@codesourcery.com>
86 * configure.in (libc_cv_predef_stack_protector): Only consider
87 "foobar" and "__stack_chk_fail" lines in libc_undefs.
88 * configure: Regenerated.
90 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
92 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
93 New macro. Use R*LP on int and pointer.
94 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
95 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
96 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
97 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
99 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
100 [__WORDSIZE_TIME64_COMPAT32] instead of
101 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
102 (struct utmp): Likewise.
103 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
104 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
106 (__WORDSIZE_TIME64_COMPAT32): This.
107 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
108 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
109 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
110 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
111 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
112 (__WORDSIZE_TIME64_COMPAT32): New macro.
114 2012-05-21 Andreas Jaeger <aj@suse.de>
116 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
117 only if [SHARED]. Add prototype for __wcschr_ia32.
119 2012-05-21 Roland McGrath <roland@hack.frob.com>
121 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
122 of %rbp unmolested in the jmp_buf while mangling the low bits.
123 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
124 unmolested high bits of %rbp while demangling the low bits.
125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
127 2012-05-21 Andreas Jaeger <aj@suse.de>
129 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
130 * sunrpc/svc_simple.c: Use it for registerrpc.
131 * sunrpc/xcrypt.c: Use it for passwd2des.
133 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
135 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
137 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
138 Don't define if [__SYSCALL_WORDSIZE != 32].
139 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
142 2012-05-21 Bruno Haible <bruno@clisp.org>
143 Andreas Jaeger <aj@suse.de>
145 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
146 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
147 inptr and inend for must_buffer_ch.
148 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
149 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
150 * stdio-common/Makefile (tests): Remove bug15.
151 (bug15-ENV): Remove macro.
152 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
155 2012-05-19 Andreas Jaeger <aj@suse.de>
156 Roland McGrath <roland@hack.frob.com>
158 * manual/contrib.texi: Completely rewritten. It contains now an
159 alphabetical list of contributors and their contributions.
161 2012-05-21 Richard Henderson <rth@twiddle.net>
163 * misc/getauxval.c (__getauxval): Use unsigned long int.
164 * misc/sys/auxv.h: Include <sys/cdefs.h>.
165 (getauxval): Use unsigned long int.
167 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
169 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
171 2012-05-21 Roland McGrath <roland@hack.frob.com>
173 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
174 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
175 __alignof__ (long double).
177 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
181 2012-05-20 Richard Henderson <rth@twiddle.net>
183 * misc/getauxval.c: New file.
184 * misc/sys/auxv.h: New file.
185 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
186 (routines): Add getauxval.
187 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
189 * elf/dl-sysdep.c (_dl_auxv): Remove.
190 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
191 * elf/dl-support.c (_dl_auxv): New variable.
192 (_dl_aux_init): Initialize it.
193 * manual/startup.texi (Auxiliary Vector): New node.
194 * sysdeps/generic/bits/hwcap.h: New file.
195 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
196 * sysdeps/powerpc/sysdep.h: ... here. Include it.
197 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
198 * sysdeps/sparc/sysdep.h: ... here. Include it.
199 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
206 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
212 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
216 2012-05-19 David S. Miller <davem@davemloft.net>
218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
220 2012-05-19 Joseph Myers <joseph@codesourcery.com>
223 * math/s_ccosh.c: Include <float.h>
224 (__ccosh): Avoid internal overflow calculating sinh and cosh
225 values before multiplying by sin and cos values.
226 * math/s_ccoshf.c: Likewise.
227 * math/s_ccoshl.c: Likewise.
228 * math/s_csin.c: Likewise.
229 * math/s_csinf.c: Likewise.
230 * math/s_csinl.c: Likewise.
231 * math/s_csinh.c: Likewise.
232 * math/s_csinhf.c: Likewise.
233 * math/s_csinhl.c: Likewise.
234 * math/libm-test.inc (ccos_test): Add more tests.
235 (ccosh_test): Likewise.
236 (csin_test): Likewise.
237 (csinh_test): Likewise.
238 * sysdeps/i386/fpu/libm-test-ulps: Update.
239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
241 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
243 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
244 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
246 * sysdeps/x86_64/x32/_itoa.h: Add comment.
248 2012-05-19 Joseph Myers <joseph@codesourcery.com>
250 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
251 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
252 * sysdeps/powerpc/soft-fp/Versions: Likewise.
253 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
254 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
255 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
256 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
257 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
258 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
259 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
260 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
261 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
262 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
263 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
264 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
265 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
266 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
267 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
268 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
269 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
270 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
271 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
272 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
273 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
274 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
275 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
276 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
277 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
278 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
279 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
280 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
282 2012-05-18 Andreas Jaeger <aj@suse.de>
284 * csu/.gitignore: Delete.
286 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
288 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
289 (timex): Use __syscall_slong_t.
291 2012-05-18 Andreas Jaeger <aj@suse.de>
292 Carlos O'Donell <carlos_odonell@mentor.com>
294 * manual/install.texi (Configuring and compiling): Update
295 description about files modified in the source directory.
296 * INSTALL: Regenerated.
298 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
300 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
301 value. Use "or" to set return value to -1.
302 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
305 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
307 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
308 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
309 failure if the compiler has Graphite support disabled.
310 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
312 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
313 CFLAGS-memmove.c): Likewise.
314 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
317 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
319 * sysdeps/x86_64/x32/_itoa.h: New file.
321 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
322 getdents system call only if kernel and user dirents have the
323 same d_ino and d_off.
325 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
326 LLONG_MAX != LONG_MAX.
327 (_itoa_word): Use _ITOA_WORD_TYPE on value.
328 (_fitoa_word): Likewise.
330 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
332 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
333 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
334 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
336 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
337 include <bits/wordsize.h>. Check __x86_64__ instead of
339 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
340 if __x86_64__ is defined. Use anonymous union on fpstate.
342 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
345 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
347 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
348 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
349 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
350 Refer to _rtld_local_ro instead of _rtld_global_ro.
351 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
353 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
355 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
357 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
358 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
359 of _rtld_global, and rtld_progname instead of _dl_argv[0].
361 * sysdeps/powerpc/powerpc32/dl-machine.c
362 (__elf_machine_runtime_setup) [PROF]: Don't reference
365 2012-05-18 Andreas Jaeger <aj@suse.de>
367 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
368 function only available for GCCs before 3.4 since GCC 3.4
369 introduced a builtin.
379 (nearbyint): Likewise.
380 (nearbyintf): Likewise.
386 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
388 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
389 on both fields and cast pointer to __syscall_ulong_t.
391 * bits/types.h (__fsword_t): New type.
392 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
393 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
395 (__FSWORD_T_TYPE): Likewise.
396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
397 (__FSWORD_T_TYPE): Likewise.
398 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
399 (__FSWORD_T_TYPE): Likewise.
400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
401 (__FSWORD_T_TYPE): Likewise.
402 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
403 __SWORD_TYPE with __fsword_t.
404 (statfs64): Likewise.
406 2012-05-17 David S. Miller <davem@davemloft.net>
408 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
410 2012-05-17 Andreas Jaeger <aj@suse.de>
412 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
415 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
417 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
419 2012-05-17 Andreas Jaeger <aj@suse.de>
421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
424 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
426 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
428 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
430 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
431 * sysdeps/x86_64/tst-mallocalign1.c: New file.
433 2012-05-17 Andreas Jaeger <aj@suse.de>
434 Carlos O'Donell <carlos_odonell@mentor.com>
437 * sysdeps/x86_64/multiarch/init-arch.h
438 (bit_YMM_Usable): Rename to...
439 (bit_AVX_Usable): ... this.
440 (bit_FMA4_Usable): New macro.
441 (bit_XMM_state): New macro.
442 (bit_YMM_state): New macro.
443 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
444 [__ASSEMBLER__] (index_AVX_Usable): ... this.
445 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
446 (CPUID_OSXSAVE): New macro.
447 (CPUID_AVX): New macro.
448 (CPUID_FMA4): New macro.
449 (index_YMM_Usable): Rename to...
450 (index_AVX_Usable): ... this.
451 (HAS_AVX): Use HAS_ARCH_FEATURE.
452 (HAS_FMA4): Likewise.
453 (HAS_YMM_USABLE): Remove.
454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
455 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
457 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
458 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
459 * sysdeps/x86_64/multiarch/Makefile: Likewise.
460 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
461 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
463 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
465 * math/libm-test.c: Support platforms without multiple rounding modes.
466 * math/bug-nextafter.c: Support platforms without FP exceptions.
467 * math/bug-nexttoward.c: Likewise.
468 * math/test-fenv.c: Likewise.
469 * math/test-misc.c: Likewise.
470 * stdlib/bug-getcontext.c: Likewise.
472 2012-05-17 Andreas Jaeger <aj@suse.de>
474 * manual/examples/search.c (critter_cmp): Change signature to
476 * manual/string.texi (Collation Functions): Likewise.
478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
480 * bits/types.h: Fold copyright years.
481 * bits/typesizes.h: Likewise.
482 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
486 * time/time.h: Likewise.
488 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
491 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
492 in instead of returning them. Return void.
493 (__libc_mallinfo): Accumulate over all arenas.
494 (__malloc_stats): Adjust for change in int_mallinfo interface.
496 2012-05-16 Roland McGrath <roland@hack.frob.com>
499 * configure.in (NM): Add AC_CHECK_TOOL for it.
500 (libc_extra_cflags): New substituted variable.
501 Check for -fstack-protector being used implicitly.
502 * configure: Regenerated.
503 * config.make.in (config-extra-cflags): New variable,
504 gets @libc_extra_cflags@.
505 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
508 * configure.in: Check for _FORTIFY_SOURCE being predefined.
509 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
510 * configure: Regenerated.
511 * config.make.in (CPPUNDEFS): New substituted variable.
512 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
513 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
514 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
516 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
518 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
519 (mq_attr): Use __syscall_slong_t.
521 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
523 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
524 Check __x86_64__ instead of __WORDSIZE.
525 (_STAT_VER_LINUX): Likewise.
526 (stat): Check __x86_64__ instead of __WORDSIZE. Use
527 __syscall_ulong_t and __syscall_slong_t.
530 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
534 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
536 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
538 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
540 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
543 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
544 include <bits/wordsize.h>. Check __x86_64__ instead of
546 (greg_t): Use "__extension__ long long int" if __x86_64__ is
548 (mcontext_t): Replace "unsigned long" with "unsigned long long".
550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
551 include <bits/wordsize.h>. Check __x86_64__ instead of
553 (user_regs_struct): Use "__extension__ unsigned long long"
554 instead of "unsigned long" if __x86_64__ is defined.
555 (user): Likewise. Pad after pointer field if __ILP32__ is
558 2012-05-16 Joseph Myers <joseph@codesourcery.com>
560 * configure.in (makeinfo): Require version 4.5 or later. Allow
562 * configure: Regenerated.
563 * manual/install.texi (texinfo): Increase version requirement to
565 * INSTALL: Regenerated.
567 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
569 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
571 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
573 * sysdeps/x86_64/x32/ffs.c: New file.
575 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
577 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
578 defined. Use __syscall_ulong_t.
579 (shminfo): Use __syscall_ulong_t.
580 (shm_info): Likewise.
582 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
585 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
587 (msgqnum_t): Use __syscall_ulong_t.
588 (msglen_t): Likewise.
589 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
592 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
593 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
595 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
597 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
598 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
600 * sysvipc/sys/msg.h (msgbuf): Replace long int with
603 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
604 include <bits/wordsize.h>. Check __x86_64__ instead of
607 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
608 "unsigned long long int" if __x86_64__ is defined.
609 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
611 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
612 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
613 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
615 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
617 (GET_PC): Cast to uintptr_t first.
618 (GET_FRAME): Likewise.
619 (GET_STACK): Likewise.
621 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
622 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
623 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
624 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
625 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
626 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
627 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
628 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
629 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
630 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
631 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
632 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
633 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
634 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
635 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
636 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
637 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
638 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
639 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
640 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
641 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
642 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
643 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
644 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
645 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
646 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
647 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
648 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
649 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
651 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
653 * Makerules (+depfiles): Also collect depfiles from .oS in
655 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
656 .oS, $(libnldbl-routines)).
658 * Makerules (native-compile-mkdep-flags): Define.
659 * sunrpc/Makefile (extra-objs): Add $(addprefix
660 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
661 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
662 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
663 calling $(make-target-directory).
665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
667 * bits/types.h (__snseconds_t): Removed.
668 * time/time.h (struct timespec): Replace __snseconds_t with
670 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
671 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
674 (__SNSECONDS_T_TYPE): Likewise.
675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
676 (__SNSECONDS_T_TYPE): Likewise.
677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
678 (__SNSECONDS_T_TYPE): Likewise.
680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
682 * sysdeps/mach/hurd/bits/typesizes.h
683 (__SYSCALL_SLONG_TYPE): New macro.
684 (__SYSCALL_ULONG_TYPE): Likewise.
686 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
688 * bits/types.h (__syscall_slong_t): New type.
689 (__syscall_ulong_t): Likewise.
691 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
692 (__SYSCALL_ULONG_TYPE): Likewise.
693 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
694 (__SYSCALL_SLONG_TYPE): Likewise.
695 (__SYSCALL_ULONG_TYPE): Likewise.
696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
697 (__SYSCALL_SLONG_TYPE): Likewise.
698 (__SYSCALL_ULONG_TYPE): Likewise.
699 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
700 (__SYSCALL_SLONG_TYPE): Likewise.
701 (__SYSCALL_ULONG_TYPE): Likewise.
703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
705 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
706 Add sigaltstack-offsets.sym.
707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
708 <sigaltstack-offsets.h>.
709 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
711 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
712 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
714 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
716 2012-05-15 Joseph Myers <joseph@codesourcery.com>
718 * elf/stackguard-macros.h: Remove file.
719 * sysdeps/generic/stackguard-macros.h: New file.
720 * sysdeps/i386/stackguard-macros.h: Likewise.
721 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
722 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
723 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
724 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
725 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
726 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
727 * sysdeps/x86_64/stackguard-macros.h: Likewise.
728 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
729 <elf/stackguard-macros.h>.
732 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
733 __aligned__ in attribute.
734 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
735 (gregset_t): Likewise.
737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
739 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
740 * sysdeps/x86_64/64/Implies-after: Here. New file.
741 * sysdeps/x86_64/x32/Implies-after: New file.
743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
745 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
746 and access return value for _dl_profile_fixup. Use R10_LP to
749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
751 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
753 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
755 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
756 * sysdeps/x86_64/x32/sysdep.h: New file.
758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
760 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
761 * sysdeps/x86_64/setjmp.S: Likewise.
763 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
766 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
767 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
768 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
769 remove unused global constant.
771 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
773 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
774 include of <not-cancel.h>.
776 2012-05-15 Roland McGrath <roland@hack.frob.com>
778 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
780 2012-05-15 Jeff Law <law@redhat.com>
781 Andreas Jaeger <aj@suse.de>
784 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
786 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
787 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
788 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
789 code changing __hst_map_handle.map.
791 2012-05-15 Roland McGrath <roland@hack.frob.com>
793 * configure.in (sysnames): Look for Implies-before and Implies-after
795 * configure: Regenerated.
797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
799 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
800 8-byte data alignment with LP_SIZE alignment.
802 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
804 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
809 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
811 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
813 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
814 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
815 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
817 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
821 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
822 (stackinfo_sub_sp): Likewise.
824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
826 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
831 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
836 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
841 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
843 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
845 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
846 into R11_LP and load __x86_64_shared_cache_size_half into
849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
854 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
862 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
863 powerpc32/power7/fpu/s_logb.c via #include.
864 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
865 powerpc32/power7/fpu/s_logbf.c via #include.
866 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
867 powerpc32/power7/fpu/s_logbl.c via #include.
869 2012-05-15 Joseph Myers <joseph@codesourcery.com>
871 * README.libm: Remove file.
873 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
875 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
876 count for x32. Use R*_LP and omit operand-size suffix.
878 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
880 * shlib-versions: Move x86_64-.*-linux.* entries to ...
881 * sysdeps/x86_64/64/shlib-versions: Here. New file.
882 * sysdeps/x86_64/x32/shlib-versions: New file.
884 2012-05-14 Roland McGrath <roland@hack.frob.com>
886 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
887 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
888 Use _dl_fatal_printf instead.
890 2012-05-14 Joseph Myers <joseph@codesourcery.com>
892 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
893 set if not set by the user. Do not allow for being unset.
894 * sysdeps/unix/sysv/linux/configure: Regenerated.
896 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
898 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
899 the `q' suffix from lea and replace .quad with ASM_ADDR.
901 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
904 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
906 (PTR_DEMANGLE): Likewise.
908 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
910 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
912 (ASM_ADDR): Likewise.
930 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
932 * sysdeps/x86_64/x32/dl-machine.h: New file.
934 2012-05-14 Andreas Jaeger <aj@suse.de>
936 * manual/Makefile (subdir): Remove export of subdir.
937 (all): Remove target.
938 (.PHONY): Remove all from list.
939 (mkinstalldirs): Remove.
940 (.PHONY): Remove installdirs from list.
941 ($(inst_infodir)/libc.info): Use make-target-directory.
942 (installdirs): Remove.
944 (glibc-targets): Remove.
947 ($(objpfx)stubs ../po/manual.pot): Remove.
948 ($(objpfx)stamp%): Remove.
949 (make-target-directory): Remove.
950 (subdir_install): Remove.
958 * manual/.gitignore: Remove, it's not needed anymore.
959 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
961 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
963 (texis): Renamed to $(objpfx)texis.
964 (texis-path): New, contains path to generated files.
965 (chapters.%): Use texis-path for complete path, add extra argument
967 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
968 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
969 (summary,texi, stamp-summary): Use complete path of
970 files. Generate files in build dir.
971 (dir-add.texi): Build in build dir.
972 (libm-err.texi,stamp-libm-err): Likewise.
973 (version.texi, stamp-version): Likewise.
974 (.%c.texi): Likewise.
975 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
976 (mostlyclean): Remove target.
977 (realclean): Remove target.
978 (generated): Add new variable with contents from mostlyclean and
979 realclean, remove entries duplicated in common-mostlyclean, add
980 stamp-libm-err and stamp-version.
981 (generated-dirs): Add libc directory.
982 ($(inst_infodir)/libc.info): Install files from build dir.
984 * manual/install.texi (Configuring and compiling): Adjust since
985 the info files are not part of the tar ball anymore.
987 2012-05-14 Andreas Jaeger <aj@suse.de>
989 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
992 2012-05-14 Joseph Myers <joseph@codesourcery.com>
995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
996 to 2.2.0 where earlier.
997 * sysdeps/unix/sysv/linux/configure: Regenerated.
998 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
999 Remove conditional code.
1000 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1001 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1002 Remove conditional code.
1003 [!__NR_lchown]: Likewise.
1004 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1005 [__NR_lchown]: Likewise.
1006 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1007 comment referencing __ASSUME_LCHOWN_SYSCALL.
1008 * sysdeps/unix/sysv/linux/i386/sigaction.c
1009 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1010 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1011 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1012 Remove conditional code.
1013 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1014 (__protocol_available): Remove #if 0 code.
1015 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1017 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1018 * sysdeps/unix/sysv/linux/kernel-features.h
1019 (__ASSUME_GETCWD_SYSCALL): Don't define.
1020 (__ASSUME_REALTIME_SIGNALS): Likewise.
1021 (__ASSUME_PREAD_SYSCALL): Likewise.
1022 (__ASSUME_PWRITE_SYSCALL): Likewise.
1023 (__ASSUME_POLL_SYSCALL): Likewise.
1024 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1025 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1027 (__ASSUME_SIOCGIFNAME): Don't define.
1028 (__ASSUME_MSG_NOSIGNAL): Likewise.
1029 (__ASSUME_SENDFILE): Define unconditionally.
1030 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1031 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1033 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1034 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1035 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1036 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1037 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1038 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1039 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1053 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1056 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1062 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1064 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1065 Remove conditional code.
1066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1067 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1068 Remove conditional code.
1069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1070 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1071 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1072 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1073 Remove conditional code.
1074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1075 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1076 Remove conditional code.
1077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1078 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1079 Remove conditional code.
1080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1081 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1082 Remove conditional code.
1083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1084 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1085 Remove conditional code.
1086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1087 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1088 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1090 * sysdeps/unix/sysv/linux/sigaction.c
1091 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1092 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1093 * sysdeps/unix/sysv/linux/sigpending.c
1094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1096 * sysdeps/unix/sysv/linux/sigprocmask.c
1097 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1098 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1099 * sysdeps/unix/sysv/linux/sigsuspend.c
1100 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1101 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1103 (__libc_missing_rt_sigs): Remove.
1104 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1105 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1106 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1107 Remove conditional code.
1108 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1109 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1111 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1112 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1113 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1114 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1116 2012-05-14 Andreas Jaeger <aj@suse.de>
1118 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1119 it's not used in glibc.
1120 (__coshm1): Likewise.
1121 (__acosh1p): Likewise.
1124 * manual/string.texi (Copying and Concatenation): Add missing
1125 variable in concat example.
1126 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1128 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1131 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1132 __builtin_clzl with __builtin_clzll.
1134 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1137 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1140 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1142 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1143 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1144 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1145 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1147 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1149 * NEWS: Update ia64 info.
1151 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1153 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1156 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1158 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1159 * sysdeps/unix/syscalls.list (dup3): Likewise.
1160 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1161 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1163 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1165 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1166 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1168 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1170 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1172 (TLS_IE): Use mov/add instead of movq/addq to load thread
1174 (TLS_GD_PREFIX): New.
1177 2012-05-11 David S. Miller <davem@davemloft.net>
1179 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1180 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1181 (_FPU_SETCW): Likewise.
1183 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1185 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1188 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1191 * iconvdata/gb18030.c: Update tables.
1192 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1193 characters specially.
1194 (BODY for TO_LOOP): Add encoding of missing ranges.
1196 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1199 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1200 * sysdeps/mach/hurd/dup3.c: Likewise.
1201 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1202 * sysdeps/powerpc/memmove.c:: Likewise.
1204 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1207 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1209 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1211 * elf/elf.h (R_X86_64_RELATIVE64): New.
1212 (R_X86_64_NUM): Updated.
1213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1214 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1215 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1216 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1217 tst-quad1pie tst-quad2pie
1218 (modules-names): Add tst-quadmod1 tst-quadmod2.
1219 ($(objpfx)tst-quad1): New dependency.
1220 ($(objpfx)tst-quad2): Likewise.
1221 ($(objpfx)tst-quad1pie): Likewise.
1222 ($(objpfx)tst-quad2pie): Likewise.
1223 * sysdeps/x86_64/tst-quad1.c: New file.
1224 * sysdeps/x86_64/tst-quad1pie.c: New file.
1225 * sysdeps/x86_64/tst-quad2.c: Likewise.
1226 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1227 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1228 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1229 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1230 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1232 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1234 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1235 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1236 * streams/stropts.h (t_scalar_t): Define type.
1238 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1239 (_PATH_PRESERVE): Set to "/var/lib".
1240 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1242 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1245 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1246 if __dir_mkfile succeeded.
1248 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1249 checking for _hurd_dtablesize. Unlock it right after having
1250 finished _hurd_dtable allocation.
1252 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1254 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1255 * sysdeps/mach/hurd/configure: Regenerated.
1256 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1257 special-casing to...
1258 * sysdeps/gnu/configure.in: ... this new file.
1259 * sysdeps/unix/sysv/linux/configure: Regenerated.
1260 * sysdeps/gnu/configure: New generated file.
1262 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1263 for Linux: use nsec instead of usec, as well as:
1264 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1265 members of type struct timespec.
1266 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1268 (struct stat64): Likewise.
1269 (_STATBUF_ST_NSEC): New macro.
1270 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1272 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1273 __strtoul_internal rather than strtoul.
1275 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1277 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1280 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1282 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1283 which preserves existing values.
1284 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1286 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1288 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1289 TIMEOUT values. Return EINVAL for NFDS values either negative or
1290 greater than FD_SETSIZE.
1292 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1294 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1295 allocated, call __vm_protect to finish enabling the existing space, and
1296 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1297 allocate the remainder.
1299 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1301 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1302 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1304 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1306 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1307 sysdeps/mach/hurd/readlink.c.
1309 * posix/tst-sysconf.c (posix_options): Only use
1310 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1311 _POSIX_SYNCHRONIZED_IO when they are defined
1312 * sysdeps/mach/hurd/bits/posix_opt.h:
1313 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1314 (_XOPEN_REALTIME): Undefine macro.
1315 (_XOPEN_REALTIME_THREADS): Undefine macro.
1316 (_XOPEN_SHM): Undefine macro.
1317 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1319 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1321 (_POSIX_ASYNC_IO): Undefine macro.
1322 (_POSIX_PRIORITIZED_IO): Undefine macro.
1323 (_POSIX_SPIN_LOCKS): Define macro to -1.
1325 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1326 SA_NODEFER, SA_RESETHAND.
1327 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1328 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1331 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1333 * elf/Makefile (pldd-modules): Define unconditionally.
1335 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1337 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1339 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1341 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1342 Return ENOENT when name is empty.
1343 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1347 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1349 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1351 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1353 Fix mlock in all cases except non-readable pages.
1354 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1355 instead of VM_PROT_ALL as parameter to __vm_wire function.
1357 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1358 (__mkdir): When path is `/', just fail with EEXIST.
1359 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1361 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1363 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1364 <sys/uio.h> (for writev).
1365 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1366 and <sys/param.h> (for MIN).
1368 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1370 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1371 REQUESTED_TIME. Properly set the remaining time and return EINTR
1374 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1376 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1377 Depend on against $(link-rpcuserlibs).
1379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1381 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1382 (__libc_stack_end): Do not use attribute_relro.
1383 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1384 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1385 to libthread-provided value.
1386 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1389 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1392 * bits/libc-lock.h (__libc_once_get): New macro.
1393 * sysdeps/mach/bits/libc-lock.h: Likewise.
1394 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1395 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1396 instead of using implementation details.
1398 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1399 * libio/freopen.c: Likewise.
1400 * libio/freopen64.c: Likewise.
1401 * misc/syslog.c: Likewise.
1402 * nscd/connections.c: Likewise.
1403 * nscd/netgroupcache.c: Likewise.
1404 * sysdeps/posix/getcwd.c: Likewise.
1406 2012-05-10 Roland McGrath <roland@hack.frob.com>
1408 * math/w_ilogbf.c: Add #include <limits.h>.
1410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1412 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1413 path instead of returning without unlocking.
1415 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1416 immediate-write ioctls.
1417 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1419 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1421 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1422 __builtin_frame_address instead of making assumptions about the
1423 location of the return address relative to DATA. Force early load of
1425 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1426 __builtin_frame_address.
1429 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1430 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1431 implement dup3 and do some further code clean-ups.
1432 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1433 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1437 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1439 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1440 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1441 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1442 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1443 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1446 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1447 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1448 when handler == SIG_ERR, not when handler != SIG_ERR.
1450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1452 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1453 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1456 accept4 for GNU Hurd.
1457 * include/sys/socket.h (__libc_accept4): New prototype.
1458 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1459 to implement __libc_accept4.
1460 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1462 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1464 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1465 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1466 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1469 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1471 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1473 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1475 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1476 assertion on O_CLOEXEC flag.
1477 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1478 * hurd/intern-fd.c: Likewise.
1479 * hurd/port2fd.c: Likewise.
1481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1484 * bits/in.h (IPV6_PKTINFO): Define new macro.
1485 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1487 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1493 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1494 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1495 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1497 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1498 * math/libm-test.inc (logb_test) : Additional logb tests.
1500 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1501 Andreas Jaeger <aj@suse.de>
1503 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1504 * configure: Regenerated.
1505 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1506 * config.make.in (link-obsolete-rpc): New substituted variable.
1507 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1508 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1509 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1510 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1511 so that libc.a contains the symbols.
1512 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1513 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1514 * sunrpc/auth_none.c: Likewise.
1515 * sunrpc/auth_unix.c: Likewise.
1516 * sunrpc/authdes_prot.c: Likewise.
1517 * sunrpc/authuxprot.c: Likewise.
1518 * sunrpc/clnt_gen.c: Likewise.
1519 * sunrpc/clnt_perr.c: Likewise.
1520 * sunrpc/clnt_raw.c: Likewise.
1521 * sunrpc/clnt_simp.c: Likewise.
1522 * sunrpc/clnt_tcp.c: Likewise.
1523 * sunrpc/clnt_udp.c: Likewise.
1524 * sunrpc/clnt_unix.c: Likewise.
1525 * sunrpc/des_crypt.c: Likewise.
1526 * sunrpc/des_soft.c: Likewise.
1527 * sunrpc/get_myaddr.c: Likewise.
1528 * sunrpc/key_call.c: Likewise.
1529 * sunrpc/key_prot.c: Likewise.
1530 * sunrpc/netname.c: Likewise.
1531 * sunrpc/pm_getmaps.c: Likewise.
1532 * sunrpc/pm_getport.c: Likewise.
1533 * sunrpc/pmap_clnt.c: Likewise.
1534 * sunrpc/pmap_prot.c: Likewise.
1535 * sunrpc/pmap_prot2.c: Likewise.
1536 * sunrpc/pmap_rmt.c: Likewise.
1537 * sunrpc/publickey.c: Likewise.
1538 * sunrpc/rpc_cmsg.c: Likewise.
1539 * sunrpc/rpc_common.c: Likewise.
1540 * sunrpc/rpc_dtable.c: Likewise.
1541 * sunrpc/rpc_prot.c: Likewise.
1542 * sunrpc/rpc_thread.c: Likewise.
1543 * sunrpc/rtime.c: Likewise.
1544 * sunrpc/svc.c: Likewise.
1545 * sunrpc/svc_auth.c: Likewise.
1546 * sunrpc/svc_raw.c: Likewise.
1547 * sunrpc/svc_run.c: Likewise.
1548 * sunrpc/svc_tcp.c: Likewise.
1549 * sunrpc/svc_udp.c: Likewise.
1550 * sunrpc/svc_unix.c: Likewise.
1551 * sunrpc/svcauth_des.c: Likewise.
1552 * sunrpc/xcrypt.c: Likewise.
1553 * sunrpc/xdr.c: Likewise.
1554 * sunrpc/xdr_array.c: Likewise.
1555 * sunrpc/xdr_float.c: Likewise.
1556 * sunrpc/xdr_intXX_t.c: Likewise.
1557 * sunrpc/xdr_mem.c: Likewise.
1558 * sunrpc/xdr_rec.c: Likewise.
1559 * sunrpc/xdr_ref.c: Likewise.
1560 * sunrpc/xdr_sizeof.c: Likewise.
1561 * sunrpc/xdr_stdio.c: Likewise.
1563 2012-05-10 Roland McGrath <roland@hack.frob.com>
1565 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1566 change. Update copyright years.
1568 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1570 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1572 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1573 Joseph Myers <joseph@codesourcery.com>
1574 Paul Pluzhnikov <ppluzhnikov@google.com>
1577 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1579 [cross-compiling] (extra-libs): Likewise.
1580 [cross-compiling] (extra-libs-others): Likewise.
1581 [cross-compiling] (librpcsvc-routines): Likewise.
1582 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1583 [cross-compiling] (omit-deps): Likewise.
1584 (sunrpc-CPPFLAGS): New variable.
1585 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1586 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1587 (cross-rpcgen-objs): New variable.
1588 (extra-objs): Append $(cross-rpcgen-objs).
1589 ($(cross-rpcgen-objs)): New rule.
1590 ($(objpfx)cross-rpcgen): Likewise.
1591 (rpcgen-cmd): Define to use $(built-program-file). Expand
1593 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1594 ($(objpfx)x%.stmp): Likewise.
1595 * sunrpc/proto.h [IS_IN_build] (_): Define.
1596 [IS_IN_build] (_libc_intl_domainname): Likewise.
1598 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1601 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1602 and R_X86_64_TPOFF64.
1604 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1606 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1607 sysdeps/unix/sysv/syscalls.list.
1610 * sysdeps/unix/sysv/syscalls.list: Remove file.
1612 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1615 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1616 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1617 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1618 (__LC_IDENTIFICATION): Make these macros useful in #if
1619 expressions, as required by C99.
1621 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1623 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1624 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1627 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1629 * stdlib/longlong.h: Updated from GCC.
1631 2012-05-09 Andreas Jaeger <aj@suse.de>
1633 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1634 default is first entry.
1635 (run_mode): Set type.
1636 (main): Remove informal message about syslog.
1637 (options): Fix typo.
1640 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1643 (llrintf): Likewise.
1647 (nearbyint): Likewise.
1648 (nearbyintf): Likewise.
1650 2012-05-09 Andreas Jaeger <aj@suse.de>
1651 Pedro Alves <palves@redhat.com>
1653 * nscd/nscd.c (run_mode): Use enum.
1654 (main): Cleanup coding style issue.
1656 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1657 Andreas Jaeger <aj@suse.de>
1659 * nscd/nscd.c (go_background): Replaced with...
1660 (run_mode): ... this.
1661 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1662 (options): Add -F --foreground.
1663 (main): Implement it.
1664 (parse_opt): Parse it.
1666 2012-05-09 Andreas Jaeger <aj@suse.de>
1669 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1670 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1671 -Wconversion warning.
1672 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1675 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1677 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1679 (LC_ALL): Use macro-int-constant.
1680 (LC_COLLATE): Likewise.
1681 (LC_CTYPE): Likewise.
1682 (LC_MESSAGES): Likewise.
1683 (LC_MONETARY): Likewise.
1684 (LC_NUMERIC): Likewise.
1685 (LC_TIME): Likewise.
1686 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1687 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1689 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1691 [C99-based standards] (float_t): Expect type.
1692 [C99-based standards] (double_t): Expect type.
1693 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1695 [C99-based standards] (HUGE_VALL): Likewise.
1696 [C99-based standards] (INFINITY): Likewise.
1697 [C99-based standards] (NAN): Likewise.
1698 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1699 [C99-based standards] (FP_NAN): Likewise.
1700 [C99-based standards] (FP_NORMAL): Likewise.
1701 [C99-based standards] (FP_SUBNORMAL): Likewise.
1702 [C99-based standards] (FP_ZERO): Likewise.
1703 [C99-based standards] (FP_FAST_FMA): Use
1704 optional-macro-int-constant. Specify type. Require == 1.
1705 [C99-based standards] (FP_FAST_FMAF): Likewise.
1706 [C99-based standards] (FP_FAST_FMAL): Likewise.
1707 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1708 [C99-based standards] (FP_ILOGBNAN): Likewise.
1709 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1711 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1712 [C99-based standards] (math_errhandling): Specify type.
1713 [ISO99 || ISO11] (signgam): Do not allow.
1714 [non-C99-based standards] (copysignf): Do not allow.
1715 [non-C99-based standards] (exp2f): Likewise.
1716 [non-C99-based standards] (log2f): Likewise.
1717 [non-C99-based standards] (modff): Allow.
1718 [non-C99-based standards] (erff): Do not allow.
1719 [non-C99-based standards] (erfcf): Likewise.
1720 [non-C99-based standards] (gammaf): Likewise.
1721 [non-C99-based standards] (hypotf): Likewise.
1722 [non-C99-based standards] (j0f): Likewise.
1723 [non-C99-based standards] (j1f): Likewise.
1724 [non-C99-based standards] (jnf): Likewise.
1725 [non-C99-based standards] (lgammaf): Likewise.
1726 [non-C99-based standards] (tgammaf): Likewise.
1727 [non-C99-based standards] (y0f): Likewise.
1728 [non-C99-based standards] (y1f): Likewise.
1729 [non-C99-based standards] (ynf): Likewise.
1730 [non-C99-based standards] (isnanf): Likewise.
1731 [non-C99-based standards] (acoshf): Likewise.
1732 [non-C99-based standards] (asinhf): Likewise.
1733 [non-C99-based standards] (atanhf): Likewise.
1734 [non-C99-based standards] (cbrtf): Likewise.
1735 [non-C99-based standards] (expm1f): Likewise.
1736 [non-C99-based standards] (ilogbf): Likewise.
1737 [non-C99-based standards] (log1pf): Likewise.
1738 [non-C99-based standards] (logbf): Likewise.
1739 [non-C99-based standards] (nextafterf): Likewise.
1740 [non-C99-based standards] (remainderf): Likewise.
1741 [non-C99-based standards] (rintf): Likewise.
1742 [non-C99-based standards] (scalbf): Likewise.
1743 [non-C99-based standards] (copysignl): Likewise.
1744 [non-C99-based standards] (exp2l): Likewise.
1745 [non-C99-based standards] (log2l): Likewise.
1746 [non-C99-based standards] (modfl): Allow.
1747 [non-C99-based standards] (erfl): Do not allow.
1748 [non-C99-based standards] (erfcl): Likewise.
1749 [non-C99-based standards] (gammal): Likewise.
1750 [non-C99-based standards] (hypotl): Likewise.
1751 [non-C99-based standards] (j0l): Likewise.
1752 [non-C99-based standards] (j1l): Likewise.
1753 [non-C99-based standards] (jnl): Likewise.
1754 [non-C99-based standards] (lgammal): Likewise.
1755 [non-C99-based standards] (tgammal): Likewise.
1756 [non-C99-based standards] (y0l): Likewise.
1757 [non-C99-based standards] (y1l): Likewise.
1758 [non-C99-based standards] (ynl): Likewise.
1759 [non-C99-based standards] (isnanl): Likewise.
1760 [non-C99-based standards] (acoshl): Likewise.
1761 [non-C99-based standards] (asinhl): Likewise.
1762 [non-C99-based standards] (atanhl): Likewise.
1763 [non-C99-based standards] (cbrtl): Likewise.
1764 [non-C99-based standards] (expm1l): Likewise.
1765 [non-C99-based standards] (ilogbl): Likewise.
1766 [non-C99-based standards] (log1pl): Likewise.
1767 [non-C99-based standards] (logbl): Likewise.
1768 [non-C99-based standards] (nextafterl): Likewise.
1769 [non-C99-based standards] (remainderl): Likewise.
1770 [non-C99-based standards] (rintl): Likewise.
1771 [non-C99-based standards] (scalbl): Likewise.
1772 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1773 [non-C99-based standards] (FP_*): Do not allow.
1774 [C99-based standards] (FP_*): Change to
1775 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1776 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1778 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1779 (SIG_ERR): Likewise.
1780 [X/Open-based standards] (SIG_HOLD): Likewise.
1781 (SIG_IGN): Likewise.
1782 (SIGABRT): Use macro-int-constant. Specify type. Require
1787 (SIGSEGV): Likewise.
1789 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1790 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1791 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1792 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1793 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1794 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1795 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1796 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1797 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1798 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1799 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1800 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1801 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1802 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1803 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1804 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1805 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1806 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1807 [X/Open-based standards] (SIGTRAP): Likewise.
1808 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1809 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1810 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1811 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1812 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1815 2012-05-08 Ian Wienand <ianw@vmware.com>
1818 * time/tzset.c (__tzset_parse_tz): Update default rules for
1819 daylight time changes in the Energy Policy Act of 2005.
1821 2012-05-09 Andreas Jaeger <aj@suse.de>
1824 * elf/ldconfig.c (parse_conf): Change string to make clear that
1825 ldconfig only issued a warning if ld.so.conf does not exist.
1827 2012-05-08 David S. Miller <davem@davemloft.net>
1829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1830 movxtod instead of popping the value on the stack.
1832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1834 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1836 * config.h.in: Add HAVE_ARM_PCS_VFP.
1838 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1841 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1842 checking but the checks are disabled for any reason.
1844 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1846 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1847 and ELF64_R_TYPE with ELFW(R_TYPE).
1849 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1851 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1854 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1855 (settimeofday): Likewise.
1857 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1859 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1860 a struct th_u2 inside the union, and move tu_block/tu_code into
1861 a new th_u3 union of tu_block/tu_code inside of that. Move
1862 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1863 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1864 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1865 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1866 (th_stuff): Change to th_u1.tu_stuff.
1868 (th_msg): Change to th_u1.th_u2.tu_data.
1870 2012-05-07 David S. Miller <davem@davemloft.net>
1872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1875 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1876 (SETUP_PIC_REG): Use it.
1877 (SETUP_PIC_REG_LEAF): Use it.
1879 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1883 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1885 (EXPL_FINITE): Likewise.
1887 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1888 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1890 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1892 (EXPL_FINITE): Likewise.
1894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1895 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1897 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1898 test of -max_value argument for long double.
1899 * sysdeps/i386/fpu/libm-test-ulps: Update.
1900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1902 2012-05-06 David S. Miller <davem@davemloft.net>
1904 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1905 quad soft-float symbols whose references which are compiler
1907 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1909 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1913 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1915 (EXPL_FINITE): Likewise.
1919 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1920 Adjust comments for base varying.
1921 (__expl_finite): Change alias to EXPL_FINITE.
1922 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1924 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1925 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1927 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1928 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1930 (EXPL_FINITE): Likewise.
1934 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1935 Adjust comments for base varying.
1936 (__expl_finite): Change alias to EXPL_FINITE.
1937 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1942 * math/libm-test.inc (check_float_internal): Correct ulp
1943 calculation for subnormal expected results.
1945 2012-05-06 Andreas Jaeger <aj@suse.de>
1947 * Makeconfig (+math-flags): New, set to -frounding-math.
1948 (+cflags): Add +math-flags so that all of glibc gets compiled with
1951 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1953 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1955 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1961 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1962 (__ieee754_expl): Allow for and saturate large arguments.
1963 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1964 (u_threshold): Likewise.
1965 (__exp): Call __ieee754_exp before checking for overflow and
1967 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1968 (u_threshold): Likewise.
1969 (__expf): Call __ieee754_expf before checking for overflow and
1971 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1972 (u_threshold): Likewise.
1973 (__expl): Call __ieee754_expl before checking for overflow and
1975 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1976 (__ieee754_expl): Allow for and saturate large arguments.
1977 * math/libm-test.inc (exp_test): Add another test. Do not allow
1978 missing overflow exception on overflow.
1979 (expm1_test): Do not allow missing overflow exception on overflow.
1981 * sysdeps/i386/fpu/e_expl.c: Move to ...
1982 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1983 rather than using inline asm.
1984 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1985 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1986 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1988 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1995 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1997 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1998 sysdeps/unix/common/syscalls.list.
2001 (ftruncate): Likewise.
2002 (getrusage): Likewise.
2003 (gettimeofday): Likewise.
2004 (setpgid): Likewise.
2005 (setregid): Likewise.
2006 (setreuid): Likewise.
2007 (sigaction): Likewise.
2008 (truncate): Likewise.
2009 (vhangup): Likewise.
2010 * sysdeps/unix/common/syscalls.list: Remove file.
2011 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2012 * sysdeps/unix/sysv/linux/Implies: Likewise.
2014 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2016 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2018 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2022 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2025 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2028 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2031 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2034 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2037 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2040 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2044 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2048 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2051 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2055 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2059 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2061 * sysdeps/unix/common/bits/dirent.h: Remove file.
2062 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2064 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2065 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2066 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2067 * sysdeps/unix/bsd/isatty.c: Likewise.
2068 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2069 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2070 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2072 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2075 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2076 long double comparison inaccuracies.
2077 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2080 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2082 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2085 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2088 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2089 nonzero digits before rounding a hex value.
2090 * stdlib/tst-strtod.c (tests): Add another test.
2092 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2094 * sysdeps/s390/fpu/libm-test-ulps: Update.
2096 2012-05-03 Andreas Jaeger <aj@suse.de>
2098 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2099 does not get optimized out.
2100 (malloc_opt_barrier): New.
2102 2012-05-03 Andreas Jaeger <aj@suse.de>
2103 Roland McGrath <roland@hack.frob.com>
2105 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2106 intermediate file deletion.
2107 (generated): Add .symlist files.
2109 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2112 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2113 Redirect under this condition.
2114 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2115 [__USE_GNU] (__dprintf_chk): Not under this condition.
2116 [__USE_GNU] (__vdprintf_chk): Likewise.
2117 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2118 under this condition.
2119 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2120 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2121 [__USE_XOPEN2K8] (vdprintf): Likewise.
2122 [__USE_GNU] (__dprintf_chk): Not under this condition.
2123 [__USE_GNU] (__vdprintf_chk): Likewise.
2124 [__USE_GNU] (dprintf): Likewise.
2125 [__USE_GNU] (vdprintf): Likewise.
2127 2012-05-03 Roland McGrath <roland@hack.frob.com>
2129 * elf/Makefile (common-generated): Set this instead of generated for
2130 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2131 $(all-built-dso)-derived lists.
2133 2012-05-03 Andreas Jaeger <aj@suse.de>
2135 * sysdeps/i386/fpu/libm-test-ulps: Update.
2139 * scripts/gen-FAQ.pl: Likewise.
2140 * manual/install.texi (Installation): Point to online location of
2142 * Makefile (files-for-dist): Remove FAQ.
2145 2012-05-02 Allan McRae <allan@archlinux.org>
2147 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2148 (LDFLAGS-reldepmod5.so): Likewise.
2149 (LDFLAGS-reldep6mod1.so): Likewise.
2150 (LDFLAGS-reldep6mod4.so): Likewise.
2151 (LDFLAGS-reldep8mod3.so): Likewise.
2152 (LDFLAGS-unload4mod1.so): Likewise.
2153 (LDFLAGS-unload4mod2.so): Likewise.
2154 (LDFLAGS-tst-initorder): Likewise.
2155 (LDFLAGS-tst-initordera2.so): Likewise.
2156 (LDFLAGS-tst-initordera3.so): Likewise.
2157 (LDFLAGS-tst-initordera4.so): Likewise.
2158 (LDFLAGS-tst-initorderb2.so): Likewise.
2159 (LDFLAGS-noload): Likewise.
2160 (LDFLAGS-next): Likewise.
2161 (LDFLAGS-order2mod1.so): Likewise.
2162 (LDFLAGS-order2mod2.so): Likewise.
2163 (LDFLAGS-tst-initorder2): Likewise.
2164 (LDFLAGS-tst-initorder2a.so): Likewise.
2165 (LDFLAGS-tst-initorder2b.so): Likewise.
2166 (LDFLAGS-tst-initorder2c.so): Likewise.
2167 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2169 2012-05-02 David S. Miller <davem@davemloft.net>
2171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2173 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2176 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2178 2012-05-02 Andreas Jaeger <aj@suse.de>
2180 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2181 since we manipulate rounding mode.
2182 (CPPFLAGS-test-idouble.c): Likewise.
2183 (CPPFLAGS-test-ifloat.c): Likewise.
2184 (CFLAGS-test-ldouble.c): Likewise.
2185 (CFLAGS-test-double.c): Likewise.
2186 (CFLAGS-test-float.c): Likewise.
2187 (CFLAGS-test-misc.c): Likewise.
2188 (CFLAGS-test-test-fenv.c): Likewise.
2190 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2195 comparisons to determine direction to adjust input.
2197 2012-05-01 Roland McGrath <roland@hack.frob.com>
2199 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2200 output to the target.
2202 * scripts/localplt.awk: New file.
2203 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2204 (check-localplt-CFLAGS): Variable removed.
2205 ($(all-built-dso:=.jmprel)): New static pattern rule.
2206 (generated): Add those targets.
2207 (localplt-built-dso): New variable.
2208 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2210 * elf/check-localplt.c: File removed.
2212 * scripts/check-execstack.awk: New file.
2213 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2214 (check-execstack-CFLAGS): Variable removed.
2215 ($(objpfx)check-execstack.h): Target removed.
2216 ($(objpfx)execstack-default): New target.
2217 (generated): Add that instead of check-execstack.h.
2218 ($(all-built-dso:=.phdr)): New static pattern rule.
2219 (generated): Add those targets.
2220 * elf/check-execstack.c: File removed.
2222 * scripts/check-textrel.awk: New file.
2223 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2224 (check-textrel-CFLAGS): Variable removed.
2225 (all-built-dso): Use := to define.o
2226 ($(all-built-dso:=.dyn)): New static pattern rule.
2227 (generated): Add those targets.
2228 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2229 * config.make.in (READELF): New substituted variable.
2230 * elf/check-textrel.c: File removed.
2232 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2234 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2236 * conform/data/ctype.h-data [C99-based standards] (isblank):
2238 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2239 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2241 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2242 Specify type. Require positive value.
2245 [ISO || POSIX] (EILSEQ): Do not expect.
2246 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2247 Specify type. Require positive value.
2248 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2249 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2250 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2251 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2252 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2253 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2254 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2255 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2256 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2257 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2258 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2259 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2260 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2261 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2262 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2263 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2264 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2265 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2266 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2267 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2268 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2269 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2270 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2271 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2272 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2273 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2274 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2275 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2276 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2277 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2278 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2279 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2280 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2281 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2282 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2283 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2284 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2285 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2286 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2287 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2288 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2289 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2290 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2291 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2292 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2293 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2294 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2295 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2296 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2297 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2298 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2299 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2300 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2301 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2302 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2303 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2304 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2305 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2306 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2307 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2308 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2309 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2310 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2311 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2312 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2313 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2314 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2315 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2316 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2317 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2318 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2319 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2320 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2321 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2322 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2323 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2324 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2326 (FLT_ROUNDS): Expect as macro, not constant.
2327 (FLT_MANT_DIG): Use macro-int-constant.
2328 (DBL_MANT_DIG): Likewise.
2329 (LDBL_MANT_DIG): Likewise.
2330 (FLT_DIG): Likewise.
2331 (DBL_DIG): Likewise.
2332 (LDBL_DIG): Likewise.
2333 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2334 (DBL_MIN_EXP): Likewise.
2335 (LDBL_MIN_EXP): Likewise.
2336 (FLT_MAX_EXP): Use macro-int-constant.
2337 (DBL_MAX_EXP): Likewise.
2338 (LDBL_MAX_EXP): Likewise.
2339 (FLT_MAX_10_EXP): Likewise.
2340 (DBL_MAX_10_EXP): Likewise.
2341 (LDBL_MAX_10_EXP): Likewise.
2342 (FLT_MAX): Use macro-constant.
2343 (DBL_MAX): Likewise.
2344 (LDBL_MAX): Likewise.
2345 (FLT_EPSILON): Use macro-constant. Give upper bound.
2346 (DBL_EPSILON): Likewise.
2347 (LDBL_EPSILON): Likewise.
2348 (FLT_MIN): Likewise.
2349 (DBL_MIN): Likewise.
2350 (LDBL_MIN): Likewise.
2351 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2352 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2353 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2354 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2355 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2356 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2357 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2358 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2359 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2360 [ISO11] (FLT_TRUE_MIN): Likewise.
2361 [ISO11] (LDBL_TRUE_MIN): Likewise.
2362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2363 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2364 (SCHAR_MIN): Use macro-int-constant. Specify type.
2365 (SCHAR_MAX): Likewise.
2366 (UCHAR_MAX): Likewise.
2367 (CHAR_MIN): Likewise.
2368 (CHAR_MAX): Likewise.
2369 (MB_LEN_MAX): Use macro-int-constant.
2370 (SHRT_MIN): Use macro-int-constant. Specify type.
2371 (SHRT_MAX): Likewise.
2372 (USHRT_MAX): Likewise.
2373 (INT_MAX): Likewise.
2374 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2376 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2378 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2380 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2381 bound negative. Suffix upper bound with "L".
2382 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2384 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2386 [C99-based standards] (LLONG_MAX): Likewise.
2387 [C99-based standards] (ULLONG_MAX): Likewise.
2388 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2390 [ISO11] (max_align_t): Require type.
2391 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2393 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2394 from $CFLAGS, without defining away __attribute__ calls.
2395 (checknamespace): Use $CFLAGS_namespace.
2397 * conform/conformtest.pl (@keywords): Only include C99 keywords
2398 for standards based on C99 or C11.
2400 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2402 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2405 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2406 usability of symbols in #if.
2408 * conform/conformtest.pl: If macro or constant types start
2409 "promoted:", expect the symbol to be of the following type
2410 promoted by the integer promotions.
2412 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2413 in one place. Also handle "macro-constant".
2415 * conform/conformtest.pl: Only accept expected macro values with
2416 "==". Parse all "macro" lines in one place.
2417 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2419 * conform/conformtest.pl: Handle braced types on "constant" lines
2420 instead of handling "typed-constant".
2421 * conform/data/signal.h-data: Use "constant" instead of
2424 * conform/conformtest.pl: Handle "optional-" at start of lines in
2425 one place rather than duplicating several cases. Handle each
2426 format of "macro" line with initial "optional-".
2428 * conform/conformtest.pl: Only accept expected constant or
2429 optional-constant values with "==". Parse all "constant" lines in
2430 one place. Parse all "optional-constant" lines in one place.
2431 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2432 * conform/data/fmtmsg.h-data: Likewise.
2433 * conform/data/netinet/in.h-data: Likewise.
2434 * conform/data/tar.h-data: Likewise.
2435 * conform/data/limits.h-data: Use "==" form on "constant" and
2436 "optional-constant" lines.
2438 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2439 Use -std=c99 for XOPEN2K.
2440 (@knownproblems): Remove.
2441 (newtoken): Don't check %isknown.
2443 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2444 Do not expect macro.
2445 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2457 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2458 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2463 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2475 [XPG3] (acosh): Likewise.
2476 [XPG3] (asinh): Likewise.
2477 [XPG3] (atanh): Likewise.
2478 [XPG3] (cbrt): Likewise.
2479 [XPG3] (expm1): Likewise.
2480 [XPG3] (ilogb): Likewise.
2481 [XPG3] (log1p): Likewise.
2482 [XPG3] (logb): Likewise.
2483 [XPG3] (nextafter): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2486 [XPG3] (remainder): Likewise.
2487 [XPG3] (rint): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2495 [UNIX98 || XOPEN2K] (scalb): Expect.
2496 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2497 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2508 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2509 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2510 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2511 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2512 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2513 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2514 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2515 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2516 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2517 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2518 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2519 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2520 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2521 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2522 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2523 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2524 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2525 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2526 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2527 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2528 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2529 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2530 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2531 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2532 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2533 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2534 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2535 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2536 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2537 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2538 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2539 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2540 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2541 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2542 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2543 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2544 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2545 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2546 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2547 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2548 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2549 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2550 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2551 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2552 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2553 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2554 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2555 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2556 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2568 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2569 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2576 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2580 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2581 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2582 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2583 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2584 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2585 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2586 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2587 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2588 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2589 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2590 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2591 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2592 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2593 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2594 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2595 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2596 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2597 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2598 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2599 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2600 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2601 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2602 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2603 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2604 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2605 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2606 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2607 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2608 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2609 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2610 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2611 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2612 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2613 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2614 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2615 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2616 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2617 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2618 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2619 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2620 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2621 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2622 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2623 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2624 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2625 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2626 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2627 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2628 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2629 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2630 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2631 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2632 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2634 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2635 _XOPEN_SOURCE_EXTENDED for XPG4.
2637 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2639 * Makeconfig (localtime): Remove variable.
2640 (inst_localtime-file): Likewise.
2642 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2663 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2667 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2668 comparisons to determine direction to adjust input.
2669 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2670 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2673 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2675 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2677 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2678 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2680 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2682 * math/libm-test.inc (nexttoward_test): Add more tests.
2684 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2688 in version GLIBC_2.1, not GLIBC_2.0.
2689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2692 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2695 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2697 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2698 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2699 * math/libm-test.inc (acos_test): Add more tests.
2700 (asin_test): Likewise.
2701 * sysdeps/i386/fpu/libm-test-ulps: Update.
2702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2705 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2707 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2708 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2709 * math/libm-test.inc (acos_test_tonearest): New function.
2710 (acos_test_towardzero): Likewise.
2711 (acos_test_downward): Likewise.
2712 (acos_test_upward): Likewise.
2713 (asin_test_tonearest): Likewise.
2714 (asin_test_towardzero): Likewise.
2715 (asin_test_downward): Likewise.
2716 (asin_test_upward): Likewise.
2717 (main): Call the new functions.
2718 * sysdeps/i386/fpu/libm-test-ulps: Update.
2719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2723 * math/e_exp10.c: Include <float.h>.
2724 (__ieee754_exp10): Handle underflow here rather than multiplying
2725 large negative argument by M_LN10.
2726 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2728 * math/e_exp10l.c: Include <float.h>.
2729 (__ieee754_exp10l): Handle underflow here rather than multiplying
2730 large negative argument by M_LN10l.
2731 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2732 spurious overflow exception on underflow.
2734 2012-04-29 Marek Polacek <polacek@redhat.com>
2736 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2737 (__fortify_function): New macro.
2738 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2739 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2740 __extern_always_inline.
2741 * libio/bits/stdio2.h: Likewise.
2742 * libio/bits/stdio.h: Likewise.
2743 * string/string.h: Likewise.
2744 * string/bits/string3.h: Likewise.
2745 * include/stdio.h: Likewise.
2746 * stdlib/bits/stdlib.h: Likewise.
2747 * stdlib/stdlib.h: Likewise.
2748 * rt/bits/mqueue2.h: Likewise.
2749 * rt/mqueue.h: Likewise.
2750 * posix/bits/unistd.h: Likewise.
2751 * posix/unistd.h: Likewise.
2752 * io/bits/poll2.h: Likewise.
2753 * io/bits/fcntl2.h: Likewise.
2754 * io/fcntl.h: Likewise.
2755 * io/sys/poll.h: Likewise.
2756 * misc/bits/syslog.h: Likewise.
2757 * misc/bits/syslog-ldbl.h: Likewise.
2758 * misc/sys/syslog.h: Likewise.
2759 * socket/bits/socket2.h: Likewise.
2760 * socket/sys/socket.h: Likewise.
2761 * debug/tst-chk1.c: Likewise.
2762 * wcsmbs/bits/wchar2.h: Likewise.
2763 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2764 * wcsmbs/wchar.h: Likewise.
2766 2012-04-29 Andreas Jaeger <aj@suse.de>
2768 * Makerules (tests): Remove enable-check-abi protection.
2769 (check-abi-warn): Remove.
2770 (check-abi-%): Remove check-abi-warn usage.
2772 * configure.in: Remove check-abi configure option.
2773 * configure: Regenerated.
2774 * config.make.in (enable-check-abi): Remove.
2776 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2779 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2780 double functions to double *_finite functions.
2783 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2784 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2786 * stdio-common/Makefile (tests): Add tst-sprintf3.
2787 * stdio-common/tst-sprintf3.c: New file.
2789 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2790 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2792 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2794 * conform/conformtest.pl: Remove duplicate typed-constant
2797 2012-04-28 David S. Miller <davem@davemloft.net>
2799 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2800 (check-abi-%): Remove AWK script prerequisite and explicit
2802 (check-abi): Rewrite to just diff the symlist with the abilist.
2803 (config-tls, config-abi-config): Delete, no longer used.
2804 (update-abi-%): Remove AWK script and explicit abilist directory.
2805 (update-abi): Rewrite to simply compare and conditionally copy the
2806 symlist and the sysdep abilist file. Remove update-abi-config
2808 * abilist/ld.abilist: Remove.
2809 * abilist/libBrokenLocale.abilist: Remove.
2810 * abilist/libanl.abilist: Remove.
2811 * abilist/libcrypt.abilist: Remove.
2812 * abilist/libdl.abilist: Remove.
2813 * abilist/librt.abilist: Remove.
2814 * abilist/libthread_db.abilist: Remove.
2815 * abilist/libutil.abilist: Remove.
2816 * scripts/extract-abilist.awk: Remove.
2817 * scripts/merge-abilist.awk: Remove.
2818 * sysdeps/generic/libcidn.abilist: New file.
2819 * sysdeps/generic/libnss_compat.abilist: New file.
2820 * sysdeps/generic/libnss_db.abilist: New file.
2821 * sysdeps/generic/libnss_dns.abilist: New file.
2822 * sysdeps/generic/libnss_files.abilist: New file.
2823 * sysdeps/generic/libnss_hesiod.abilist: New file.
2824 * sysdeps/generic/libnss_nis.abilist: New file.
2825 * sysdeps/generic/libnss_nisplus.abilist: New file.
2826 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2827 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2828 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2830 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2831 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2832 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2833 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2834 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2835 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2836 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2837 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2838 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2840 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2841 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2842 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2843 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2845 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2846 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2847 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2848 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2849 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2850 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2852 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2853 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2854 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2856 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2959 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2960 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2961 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2964 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2965 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2966 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2967 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2968 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2969 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2970 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2971 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2972 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3024 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3026 * conform/conformtest.pl: Fix typo in handling typed-constant from
3029 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3031 * README: Cut down references to pre-2.6 Linux kernels and
3032 Linuxthreads. Update lists of configurations in libc and ports
3033 and sort alphabetically. Say "or newer" with Linux kernel version
3036 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3038 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3041 * math/libm-test.inc (logb_test_downward): New test to expose
3042 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3045 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3048 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3050 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3051 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3053 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3055 * sysdeps/unix/i386/brk.S: Remove file.
3056 * sysdeps/unix/i386/dl-brk.S: Likewise.
3057 * sysdeps/unix/i386/pipe.S: Likewise.
3058 * sysdeps/unix/i386/sigreturn.S: Likewise.
3059 * sysdeps/unix/i386/syscall.S: Likewise.
3060 * sysdeps/unix/i386/vfork.S: Likewise.
3061 * sysdeps/unix/i386/wait.S: Likewise.
3063 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3064 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3066 * configure.in (arm*-none*): Do not allow without
3067 --enable-hacker-mode.
3068 (netbsd*): Remove case setting base_os.
3069 (386bsd*): Likewise.
3070 (freebsd*): Likewise.
3074 (ultrix*): Likewise.
3075 (newsos*): Likewise.
3085 (solaris[2-9]*): Likewise.
3087 * configure: Regenerated.
3089 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3092 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3093 overflow or cancellation in calculating denominator.
3094 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3096 down expression to avoid unexpected rounding in newer GCCs.
3097 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3099 2012-04-26 David S. Miller <davem@davemloft.net>
3101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3102 long-double compat symbols.
3103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3117 2012-04-25 David S. Miller <davem@davemloft.net>
3119 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3120 HWCAP_* values only after the memory barriers have been defined.
3121 (atomic_full_barrier): Define.
3122 (atomic_read_barrier): Define.
3123 (atomic_write_barrier): Define.
3125 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3127 * shlib-versions: Add libgcc_s version information.
3128 * sysdeps/generic/libgcc_s.h: Remove.
3129 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3131 * sysdeps/gnu/unwind-resume.c: Likewise.
3132 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3134 2012-04-25 David S. Miller <davem@davemloft.net>
3136 * sysdeps/unix/sparc/brk.S: Delete.
3137 * sysdeps/unix/sparc/dl-brk.S: Delete.
3138 * sysdeps/unix/sparc/pipe.S: Delete.
3139 * sysdeps/unix/sparc/sysdep.S: Delete.
3140 * sysdeps/unix/sparc/sysdep.h: Delete.
3141 * sysdeps/unix/sparc/vfork.S: Delete.
3142 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3143 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3144 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3145 ret_ERRVAL, r0, r1, MOVE): Define.
3146 (JUMPTARGET): Remove.
3147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3148 sysdeps/unix/sparc/sysdep.h
3149 (ENTRY, END): Remove.
3150 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3152 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3154 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3155 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3158 * timezone/README: Update upstream location and email address for
3160 * timezone/zdump.c: Update from tzcode 2012b.
3161 * timezone/zic.c: Likewise.
3163 * configure.in (libc_cv_as_needed): Remove test.
3164 * configure: Regenerated.
3165 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3166 conditional definition.
3167 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3168 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3169 * config.make.in (have-as-needed): Remove variable.
3171 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3172 Paul Pluzhnikov <ppluzhnikov@google.com>
3174 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3177 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3179 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3180 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3181 * sysdeps/sh/strlen.S: Likewise.
3183 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3185 * sysdeps/unix/fork.S: Remove file.
3186 * sysdeps/unix/i386/fork.S: Likewise.
3187 * sysdeps/unix/sparc/fork.S: Likewise.
3189 * sysdeps/unix/system.c: Remove file.
3190 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3192 * sysdeps/unix/getegid.S: Remove file.
3193 * sysdeps/unix/geteuid.S: Likewise.
3195 2012-04-24 Roland McGrath <roland@hack.frob.com>
3197 * scripts/check-localplt.awk: New file.
3198 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3200 * scripts/data/localplt-generic.data: Add a comment.
3202 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3203 NODE when __dir_mkfile failed.
3204 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3205 Reported by Ludovic Courtès <ludo@gnu.org>.
3207 2012-04-24 Andreas Jaeger <aj@suse.de>
3209 * Makerules (common-clean): Also remove gen-as-const-headers
3212 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3214 * Makerules (native-compile): Do not change working directory for
3215 build. Use $(OUTPUT_OPTION) in command.
3216 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3218 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3221 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3222 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3223 * math/libm-test.inc (floor_test): Add more tests.
3224 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3226 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3228 * sysdeps/unix/getdents.c: Remove file.
3229 * sysdeps/unix/sysv/getdents.c: Likewise.
3230 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3232 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3233 sysdeps/unix/mman/syscalls.list.
3235 (mprotect): Likewise.
3238 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3239 * sysdeps/unix/mman/syscalls.list: Remove.
3240 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3242 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3243 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3244 * configure: Regenerated.
3245 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3247 * config.make.in (libgcc_s_suffix): Remove variable.
3249 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3251 * sysdeps/unix/sysv/gethostname.c: Move to ...
3252 * sysdeps/posix/gethostname.c: ... here.
3254 * sysdeps/unix/execve.S: Remove file.
3256 * sysdeps/unix/_exit.S: Remove file.
3258 2012-04-23 Andreas Jaeger <aj@suse.de>
3261 * manual/Makefile: Remove make dist support, there's no
3262 need for a stand-alone documentation tar ball.
3263 (TEXI2DVI): Define always, it's not in Makeconfig.
3267 (glibc-doc-$(edition).tar): Removed
3271 (ETAGS): Remove, it's in Makeconfig.
3272 (move-if-change): Remove, it's in Makeconfig.
3274 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3277 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3278 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3279 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3280 (strtod_l, strtof_l, strtold_l): Remove __wur.
3281 It is not necessarily an error to ignore strtol's return value.
3282 One can reliably look at the stored endptr to decide whether
3283 the number had valid syntax.
3285 2012-04-21 Andreas Jaeger <aj@suse.de>
3288 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3290 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3292 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3293 * sysdeps/unix/sysv/Versions: Remove file.
3295 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3300 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3304 version from __vm86.
3306 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3308 * sysdeps/unix/common/lxstat.c: Remove file.
3309 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3311 * sysdeps/unix/sysv/Makefile: Remove file.
3313 * sysdeps/unix/sysv/direct.h: Remove file.
3315 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3316 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3317 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3318 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3319 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3320 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3321 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3323 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3325 * sysdeps/unix/xmknod.c: Remove file.
3326 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3328 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3330 * sysdeps/unix/sysv/i386/time.S: Remove file.
3332 * sysdeps/unix/fxstat.c: Remove file.
3333 * sysdeps/unix/xstat.c: Likewise.
3334 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3336 * sysdeps/unix/sysv/sigaction.c: Remove file.
3338 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3339 (sysdep_headers): Remove variable.
3340 [termio.h not in sysdep_headers] (generated): Likewise.
3341 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3342 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3343 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3344 * sysdeps/unix/sysv/tcflow.c: Likewise.
3345 * sysdeps/unix/sysv/tcflush.c: Likewise.
3346 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3347 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3348 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3349 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3350 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3352 * sysdeps/unix/siglist.c: Remove file.
3354 * sysdeps/unix/getppid.S: Remove file.
3356 * sysdeps/unix/mkdir.c: Remove file.
3357 * sysdeps/unix/rmdir.c: Likewise.
3359 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3361 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3363 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3364 errlist-compat value.
3366 2012-04-18 David S. Miller <davem@davemloft.net>
3368 * sysdeps/generic/memcopy.h (reg_char): Delete.
3369 * debug/strcat_chk.c: Use char, not reg_char.
3370 * debug/strcpy_chk.c: Likewise.
3371 * debug/strncat_chk.c: Likewise.
3372 * debug/strncpy_chk.c: Likewise.
3373 * string/memchr.c: Likewise.
3374 * string/memrchr.c: Likewise.
3375 * string/rawmemchr.c: Likewise.
3376 * string/strcat.c: Likewise.
3377 * string/strchr.c: Likewise.
3378 * string/strchrnul.c: Likewise.
3379 * string/strcmp.c: Likewise.
3380 * string/strcpy.c: Likewise.
3381 * string/strncat.c: Likewise.
3382 * string/strncmp.c: Likewise.
3383 * string/strncpy.c: Likewise.
3385 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3387 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3388 __builtin_memcopy is called when src and dest ranges are known to not
3391 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3393 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3394 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3395 fwd_align_merge macro call.
3396 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3397 bwd_align_merge macro call.
3398 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3400 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3402 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3403 bwd_align_merge macros.
3404 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3405 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3406 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3408 2012-04-18 David S. Miller <davem@davemloft.net>
3410 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3412 2012-04-18 Andreas Jaeger <aj@suse.de>
3415 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3416 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3417 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3419 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3420 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3421 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3423 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3424 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3425 Adjust for changed ldbl-128 files.
3427 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3428 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3429 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3431 2012-04-17 David S. Miller <davem@davemloft.net>
3433 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3435 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3437 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3438 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3439 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3440 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3441 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3442 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3444 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3447 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3448 * math/libm-test.inc: Add ilogb errno and exception tests.
3449 * math/w_ilogb.c: New file: ilogb wrapper.
3450 * math/w_ilogbf.c: New file: ilogbf wrapper.
3451 * math/w_ilogbl.c: New file: ilogbl wrapper.
3452 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3453 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3454 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3455 exception being thrown with 0.0 as argument.
3456 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3457 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3458 exception being thrown with 0.0 as argument.
3459 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3460 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3461 exception being thrown with 0.0 as argument.
3462 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3463 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3464 exception being thrown with 0.0 as argument.
3465 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3466 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3467 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3468 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3469 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3470 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3471 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3472 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3473 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3475 2012-04-17 Petr Baudis <pasky@ucw.cz>
3477 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3480 2012-04-16 Marek Polacek <polacek@redhat.com>
3482 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3484 2012-04-16 Marek Polacek <polacek@redhat.com>
3486 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3487 operands of fdivp instruction.
3489 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3491 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3492 * elf/tst-auditmod3b.c: Likewise.
3493 * elf/tst-auditmod4b.c: Likewise.
3494 * elf/tst-auditmod5b.c: Likewise.
3495 * elf/tst-auditmod6b.c: Likewise.
3496 * elf/tst-auditmod6c.c: Likewise.
3497 * elf/tst-auditmod7b.c: Likewise.
3498 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3499 * sysdeps/x86_64/preconfigure.in: Likewise.
3500 * sysdeps/x86_64/preconfigure: Regenerated.
3502 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3504 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3507 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3510 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3512 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3515 * locale/iso-639.def: Fix gl language name. Spotted by
3518 2012-04-12 Roland McGrath <roland@hack.frob.com>
3521 * libio/libio.h (__io_write_fn): Update comment.
3523 2012-04-12 Petr Baudis <pasky@ucw.cz>
3526 * stdio.texi (Hook Functions): The user provided writer function
3527 is not allowed to return -1.
3529 2012-04-11 David S. Miller <davem@davemloft.net>
3531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3533 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3535 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3536 Add a leading slash to rtkaio.
3538 2012-04-11 Jim Meyering <meyering@redhat.com>
3541 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3542 It is not necessarily an error to ignore fwrite's return
3543 value. One can reliably use ferror to test for errors after
3546 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3548 * bits/types.h (__snseconds_t): New type.
3549 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3551 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3553 (__SNSECONDS_T_TYPE): Likewise.
3554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3555 (__SNSECONDS_T_TYPE): Likewise.
3556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3557 (__SNSECONDS_T_TYPE): Likewise.
3559 2012-04-10 Andreas Jaeger <aj@suse.de>
3562 * manual/time.texi (Processor Time): Return type of times is
3563 elapsed real time since an arbitrary point in the past.
3564 (CPU Time): Move CLK_TCK from here...
3565 (Processor Time): ...to here. Correct description.
3566 * manual/conf.texi (Constants for Sysconf): Correct description of
3569 2012-04-10 David S. Miller <davem@davemloft.net>
3572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3573 where the is a gap between DT_REL(A) and DT_JMPREL.
3575 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3577 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3578 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3579 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3581 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3583 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3584 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3585 (dl_main): Handle --inhibit-cache.
3586 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3588 * elf/dl-load.c (_dl_map_object): Use it.
3589 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3591 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3594 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3595 (__ieee754_powl): Saturate large exponents rather than testing for
3596 overflow of y*log2(x).
3597 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3598 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3602 * math/s_ctan.c: Include <float.h>.
3603 (__ctan): Avoid internal overflow or cancellation in calculating
3605 * math/s_ctanf.c: Likewise.
3606 * math/s_ctanl.c: Likewise.
3607 * math/s_ctanh.c: Likewise.
3608 * math/s_ctanhf.c: Likewise.
3609 * math/s_ctanhl.c: Likewise.
3610 * math/libm-test.inc (ctan_test): Add more tests.
3611 (ctanh_test): Likewise.
3612 * sysdeps/i386/fpu/libm-test-ulps: Update.
3613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3615 2012-04-09 Andreas Jaeger <aj@suse.de>
3618 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3619 is an optional BSD extension.
3622 * manual/stdio.texi (Opening Streams): Document additional fopen
3625 2012-04-09 Roland McGrath <roland@hack.frob.com>
3627 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3628 %eax without telling the compiler.
3630 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3633 * manual/install.texi: Use sourceware.org.
3635 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3638 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3639 (__ieee754_pow): Generate overflow and underflow using huge*huge
3640 and tiny*tiny rather than just returning constant infinity or zero
3641 for large exponents.
3642 * math/libm-test.inc (pow_test): Require overflow exceptions for
3643 applicable cases of large exponents.
3646 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3647 (__ieee754_pow): Use iterative multiplication algorithm only for
3648 integer exponents with absolute value below 1024. Check for odd
3649 integer exponents when using algorithm for real exponents.
3650 * math/libm-test.inc (pow_test): Add more tests.
3651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3653 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3656 * math/libm-test.inc (exp_test): Do not allow overflow exception
3659 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3662 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3663 instead of __kernel_standard_f.
3665 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3667 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3668 * sysdeps/x86_64/memset_chk.S: Likewise.
3670 2012-04-08 Andreas Jaeger <aj@suse.de>
3673 * manual/startup.texi (Environment Access): Describe return value
3674 for putenv and setenv.
3677 * manual/filesys.texi (Directory Entries): Add description for
3681 * manual/filesys.texi (Directory Entries): Clarify that it's file
3682 system not operating system in the description of DT_UNKNOWN.
3685 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3687 2012-04-08 Stephen Compall <s11@member.fsf.org>
3690 * manual/llio.texi (Opening and Closing Files): Add cross
3691 reference to explain mode argument.
3693 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3695 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3696 * sysdeps/x86_64/memset_chk.S: Likewise.
3698 2012-04-07 David S. Miller <davem@davemloft.net>
3700 * elf/elf.h (R_SPARC_WDISP10): Define.
3701 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3703 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3704 R_SPARC_SIZE64 and R_SPARC_H34.
3706 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3709 conditions and remove no longer applicable assertion.
3711 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3713 * bits/byteswap.h: Include <features.h>.
3714 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3715 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3717 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3719 * bits/byteswap.h (__bswap_16): Removed.
3720 Include <bits/byteswap-16.h> to get __bswap_16.
3721 * sysdeps/i386/bits/byteswap.h: Likewise.
3722 * sysdeps/s390/bits/byteswap.h: Likewise.
3723 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3724 * bits/byteswap-16.h: New file.
3725 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3726 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3727 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3728 * string/Makefile (headers): Add bits/byteswap-16.h.
3730 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3733 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3735 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3736 * nss/tst-nss-static.c: New.
3738 2012-04-06 Robert Millan <rmh@gnu.org>
3741 * manual/llio.texi (File Position Primitive): lseek
3742 refers to WHENCE when it really means OFFSET.
3744 2012-04-06 Andreas Jaeger <aj@suse.de>
3746 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3747 strncmp declarations.
3749 * abilist/libc.abilist: Add __poll and __ppoll.
3751 2012-04-05 David S. Miller <davem@davemloft.net>
3753 * scripts/check-local-headers.sh: Accept a host triplet in the
3754 path matched by the exclude regexp.
3756 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3758 * sysdeps/powerpc/powerpc32/dl-machine.h
3759 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3760 * sysdeps/s390/s390-32/dl-machine.h
3761 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3762 * sysdeps/sparc/sparc32/dl-machine.h
3763 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3764 * sysdeps/sparc/sparc64/dl-machine.h
3765 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3767 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3769 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3770 undefined symbol errors.
3772 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3775 2012-04-05 Michael Matz <matz@suse.de>
3778 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3780 2012-04-05 Andreas Jaeger <aj@suse.de>
3783 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3786 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3788 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3789 which ROUND is no valid rounding mode.
3791 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3793 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3795 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3797 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3799 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3800 an exception using FPU order intentionally.
3802 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3804 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3805 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3806 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3807 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3809 2012-04-05 Simon Josefsson <simon@josefsson.org>
3812 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3813 EINVAL when BUFLEN is too smal.
3815 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3818 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3819 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3821 2012-04-03 Andreas Jaeger <aj@suse.de>
3824 * manual/setjmp.texi (System V contexts): Fix sentence.
3827 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3828 New macro for this case.
3829 [!__GNUC__] (__bswap_64): New inline function for this case.
3830 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3831 * bits/byteswap.h: Likewise.
3832 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3833 ull, guard with __GLIBC_HAVE_LONG_LONG.
3835 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3836 __GLIBC_HAVE_LONG_LONG.
3838 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3839 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3841 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3844 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3845 inptr and inend, rather than using last_ch.
3847 2012-04-02 David S. Miller <davem@davemloft.net>
3849 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3850 * stdio-common/printf-parse.h (read_int): Change return type to
3851 'int', return -1 on INT_MAX overflow.
3852 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3853 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3854 overflows INT_MAX. Check for overflow of in-format-string precision
3855 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3856 SIZE_MAX not INT_MAX for integer overflow test.
3857 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3858 skip the construct in the format string but do not record anything.
3859 * stdio-common/bug22.c: Adjust to test both width/prevision
3860 INT_MAX overflow as well as total length INT_MAX overflow. Check
3861 explicitly for proper errno values.
3863 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3865 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3867 * string/test-strcmp.c [! WIDE]: Likewise.
3868 * time/tst-mktime2.c: Likewise for INT_MAX.
3869 * string/test-string.h: #include <sys/param.h> for MIN.
3871 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3872 * sysdeps/i386/init-first.c (init): Likewise.
3873 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3874 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3875 * sysdeps/sh/init-first.c (init): Likewise.
3877 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3879 * po/ru.po: Update from translation team.
3880 * po/vi.po: Likewise.
3882 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3884 * resolv/nss_dns/dns-host.c: Merge copyright years.
3886 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3888 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3889 Optimize memcpy with prefetch if
3890 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3891 src, dst pointers have unequal 16 byte alignments.
3893 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3896 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3897 from a CNAME entry and return the minimum ttl for the query.
3898 (gaih_getanswer_slice): Likewise.
3900 2012-03-30 Jeff Law <law@redhat.com>
3902 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3904 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3905 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3907 * resolv/nss_dns/dns-host.c: Update copyright year.
3909 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3911 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3912 requests to save a system call. Fix check that all bytes are sent.
3914 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3915 comments for sendmmsg.
3917 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3920 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3921 with only 1 character between 0x0041 and 0x01b0.
3922 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3923 * wcsmbs/tst-mbsnrtowcs.c: New file.
3925 2012-03-29 David S. Miller <davem@davemloft.net>
3927 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3928 small copies by hand.
3930 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3933 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3934 _nss_compat_initgroups_dyn): Fall back to malloc/free
3935 for large group memberships.
3937 2012-03-28 David S. Miller <davem@davemloft.net>
3939 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3940 that branches into memcpy.
3941 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3944 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3947 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3949 * sysdeps/sparc/mempcpy.S: New file.
3951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3952 the IFUNC routine in the libc case.
3953 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3955 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3956 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3957 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3958 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3959 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3960 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3961 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3962 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3964 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3965 loop to 256 bytes instead of 64 bytes and fix test signedness.
3967 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3968 * sysdeps/sparc/sparc32/Makefile: rather than here...
3969 * sysdeps/sparc/sparc64/Makefile: and here.
3971 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3973 * malloc/mallocbug.c: Avoid warnings about unused variables.
3975 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3978 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3979 in the right place. Discard and retry query if response is
3980 larger than input buffer size.
3982 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3987 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3988 x for large integer exponent.
3989 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3990 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3991 sign of result as needed afterwards.
3992 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3993 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3994 result for underflowing pow the same as for overflow.
3995 (__kernel_standard_l): Handle powl overflow and underflow here
3996 rather than calling __kernel_standard.
3997 * math/libm-test.inc (pow_test): Add more tests.
4012 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4013 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4014 (__kernel_standard_l): New function.
4015 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4017 * math/w_acosl.c (__acosl): Likewise.
4018 * math/w_asinl.c (__asinl): Likewise.
4019 * math/w_atan2l.c (__atan2l): Likewise.
4020 * math/w_atanhl.c (__atanhl): Likewise.
4021 * math/w_coshl.c (__coshl): Likewise.
4022 * math/w_exp10l.c (__exp10l): Likewise.
4023 * math/w_exp2l.c (__exp2l): Likewise.
4024 * math/w_fmodl.c (__fmodl): Likewise.
4025 * math/w_hypotl.c (__hypotl): Likewise.
4026 * math/w_j0l.c (__j0l, __y0l): Likewise.
4027 * math/w_j1l.c (__j1l, __y1l): Likewise.
4028 * math/w_jnl.c (__jnl, __ynl): Likewise.
4029 * math/w_lgammal.c (__lgammal): Likewise.
4030 * math/w_log10l.c (__log10l): Likewise.
4031 * math/w_log2l.c (__log2l): Likewise.
4032 * math/w_logl.c (__logl): Likewise.
4033 * math/w_powl.c (__powl): Likewise.
4034 * math/w_remainderl.c (__remainderl): Likewise.
4035 * math/w_scalbl.c (sysv_scalbl): Likewise.
4036 * math/w_sinhl.c (__sinhl): Likewise.
4037 * math/w_sqrtl.c (__sqrtl): Likewise.
4038 * math/w_tgammal.c (__tgammal): Likewise.
4039 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4040 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4041 * math/libm-test.inc (acos_test): Add more tests.
4042 (acosh_test): Likewise.
4043 (asin_test): Likewise.
4044 (atanh_test): Likewise.
4045 (exp_test): Likewise.
4046 (exp10_test): Likewise.
4047 (exp2_test): Likewise.
4048 (expm1_test): Likewise.
4049 (lgamma_test): Likewise.
4050 (log_test): Likewise.
4051 (log10_test): Likewise.
4052 (log1p_test): Likewise.
4053 (log2_test): Likewise.
4054 (pow_test): Do not allow some spurious overflow exceptions.
4055 (sqrt_test): Add more tests.
4056 (tgamma_test): Likewise.
4057 (y0_test): Likewise.
4058 (y1_test): Likewise.
4059 (yn_test): Likewise.
4061 2012-03-27 Anton Blanchard <anton@samba.org>
4063 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4065 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4066 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4067 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4069 2012-03-27 David S. Miller <davem@davemloft.net>
4071 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4073 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4076 2012-03-27 Andreas Jaeger <aj@suse.de>
4078 * sysdeps/x86_64/elf/configure.in: Moved to ...
4079 * sysdeps/x86_64/configure.in: ... here.
4080 * sysdeps/x86_64/elf/start.S: Moved to ...
4081 * sysdeps/x86_64/start.S: ... here.
4082 * sysdeps/x86_64/elf/configure: Delete.
4084 * sysdeps/x86_64/configure.in: Merge contents from
4085 sysdeps/i386/configure.in (without i686 check).
4087 * sysdeps/i386/elf/Versions: Merge into ...
4088 * sysdeps/i386/Versions: ... this.
4089 * sysdeps/i386/elf/Versions: Delete file.
4090 * sysdeps/i386/elf/start.S: Moved to ...
4091 * sysdeps/i386/start.S: ...here.
4092 * sysdeps/i386/elf/configure.in: Merge into...
4093 * sysdeps/i386/configure.in: ...here.
4094 * sysdeps/i386/elf/configure.in: Delete file.
4095 * sysdeps/i386/elf/configure: Delete file.
4097 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4098 * debug/backtracesyms.c: ... here.
4099 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4100 * debug/backtracesymsfd.c: ... here.
4101 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4102 * sysdeps/generic/ifunc-sel.h: ... here.
4104 * sysdeps/unix/i386/start.c: Delete file.
4105 * sysdeps/unix/sparc/start.c: Delete file.
4106 * sysdeps/unix/start.c: Delete file.
4108 * sysdeps/sh/elf/configure.in: Moved to ...
4109 * sysdeps/sh/configure.in: ... here.
4110 * sysdeps/sh/elf/start.S: Moved to ...
4111 * sysdeps/sh/start.S: ... here.
4112 * sysdeps/sh/elf/configure: Delete file.
4114 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4115 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4116 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4117 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4118 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4119 * sysdeps/powerpc/powerpc64/start.S: here.
4120 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4121 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4122 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4123 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4124 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4126 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4127 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4128 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4129 * sysdeps/powerpc/powerpc32/start.S: ... here.
4130 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4131 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4132 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4134 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4135 * sysdeps/powerpc/ifunc-sel.h: ... here.
4136 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4137 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4139 * sysdeps/sparc/elf/configure.in: Moved to ...
4140 * sysdeps/sparc/configure.in: ... here.
4141 * sysdeps/sparc/elf/configure: Delete file.
4142 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4143 * sysdeps/sparc/sparc32/start.S: ... here.
4144 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4145 * sysdeps/sparc/sparc64/start.S: ... here.
4146 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4147 * sysdeps/sparc/sparc32/Makefile: ... this.
4148 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4149 * sysdeps/sparc/sparc64/Makefile: ... this.
4151 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4152 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4153 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4154 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4155 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4156 * sysdeps/s390/s390-32/setjmp.S: ... here.
4157 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4158 * sysdeps/s390/s390-32/configure.in: ... here.
4159 * sysdeps/s390/s390-32/elf/configure: Delete file.
4160 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4161 * sysdeps/s390/s390-32/start.S: ... here.
4163 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4164 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4165 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4166 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4167 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4168 * sysdeps/s390/s390-64/setjmp.S: ... here.
4169 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4170 * sysdeps/s390/s390-64/configure.in: ... here
4171 * sysdeps/s390/s390-64/elf/configure: Delete file.
4172 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4173 * sysdeps/s390/s390-64/start.S: ... here.
4174 * sysdeps/s390/s390-64/elf/configure: Delete.
4176 * configure.in: Remove support for elf directories in sysdeps.
4178 * configure: Regenerated.
4179 * sysdeps/i386/configure: Regenerated.
4180 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4181 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4182 * sysdeps/s390/s390-32/configure: Regenerated.
4183 * sysdeps/s390/s390-64/configure: Regenerated.
4184 * sysdeps/sh/configure: Regenerated.
4185 * sysdeps/sparc/configure: Regenerated.
4186 * sysdeps/x86_64/configure: Regenerated.
4188 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4193 denormal result into account.
4195 2012-03-25 Roland McGrath <roland@hack.frob.com>
4197 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4198 Reported by Allan McRae <allan@archlinux.org>.
4200 2012-03-23 Jeff Law <law@redhat.com>
4202 * nss/getnssent.c (__nss_getent): Fix typo.
4204 2012-03-23 David S. Miller <davem@davemloft.net>
4206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4208 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4210 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4211 to pad to uint64_t for each field.
4212 (dl_tls_index): Replace unsigned long with uint64_t.
4214 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4215 Paul Pluzhnikov <ppluzhnikov@google.com>
4218 * grp/Makefile (otherlibs): Don't set it.
4219 * inet/Makefile (otherlibs): Likewise.
4220 * login/Makefile (otherlibs): Likewise.
4221 * nscd/Makefile (otherlibs): Likewise.
4222 * posix/Makefile (otherlibs): Likewise.
4223 * pwd/Makefile (otherlibs): Likewise.
4224 * rt/Makefile (otherlibs): Likewise.
4225 * sunrpc/Makefile (otherlibs): Likewise.
4226 * nss/Makefile (otherlibs): Likewise.
4227 Add libnss_files to routines and static-only-routines.
4228 ($(objpfx)getent): Remove rule.
4229 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4230 static-only-routines.
4232 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4235 * math/s_cexp.c: Include <float.h>.
4236 (__cexp): Handle exp result overflowing not necessarily
4237 overflowing both real and imaginary parts of result.
4238 * math/s_cexpf.c: Likewise.
4239 * math/s_cexpl.c: Likewise.
4240 * math/libm-test.inc (cexp_test): Add more tests.
4241 * sysdeps/i386/fpu/libm-test-ulps: Update.
4242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4244 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4246 * include/link.h (ELFW): New macro.
4247 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4248 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4250 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4252 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4255 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4257 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4259 (struct La_x32_retval): Likewise.
4261 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4263 * sysdeps/x86_64/preconfigure.in: New file.
4264 * sysdeps/x86_64/preconfigure: New generated file.
4266 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4269 * math/e_exp2l.c: Include <float.h>.
4270 (__ieee754_exp2l): Handle overflow and underflow cases
4271 separately. Only pass fractional part of argument to
4273 * math/libm-test.inc (exp2_test): Add more tests.
4275 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4276 negating x to take absolute value.
4277 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4279 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4280 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4282 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4283 computing low part if x was negated.
4284 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4286 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4288 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4290 (pltexit): Cast int_retval to ptrdiff_t.
4291 * elf/tst-auditmod3b.c: Likewise.
4292 * elf/tst-auditmod4b.c: Likewise.
4293 * elf/tst-auditmod5b.c: Likewise.
4294 * elf/tst-auditmod6b.c: Likewise.
4295 * elf/tst-auditmod6c.c: Likewise.
4296 * elf/tst-auditmod7b.c: Likewise.
4298 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4299 and x32_gnu_pltexit.
4301 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4303 (La_x32_regs): New macro.
4304 (La_x32_retval): Likewise.
4305 (la_x32_gnu_pltenter): New function prototype.
4306 (la_x32_gnu_pltexit): Likewise.
4308 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4315 * configure.in (libc_cv_cc_nofma): Check for option to disable
4316 generation of FMA instructions.
4317 * configure: Regenerate.
4318 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4319 * sysdeps/ieee754/dbl-64/Makefile: New file.
4320 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4321 Remove brandred-fma4.
4322 (CFLAGS-brandred-fma4.c): Remove.
4323 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4324 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4326 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4329 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4331 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4332 LLONG_MAX != LONG_MAX.
4333 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4334 (_fitoa_word): Likewise.
4335 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4336 LLONG_MAX != LONG_MAX.
4337 * stdio-common/_itowa.h: Include <_itoa.h>.
4338 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4339 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4340 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4341 only if not defined.
4342 (_ITOA_WORD_TYPE): Likewise.
4343 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4344 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4346 2012-03-21 David S. Miller <davem@davemloft.net>
4348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4350 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4352 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4353 of x86_64 when setting libc_cv_slibdir, libdir and
4355 * sysdeps/unix/sysv/linux/configure: Regenerated.
4357 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4359 * manual/lang.texi (Old Varargs): Remove section.
4360 (How Variadic): Update menu.
4361 (va_start): Do not mention varargs.h.
4363 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4364 Joseph Myers <joseph@codesourcery.com>
4366 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4368 * configure: Regenerated.
4370 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4372 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4373 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4376 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4379 * Makefile (files-for-dist): Remove NOTES.
4380 (NOTES): Remove rule.
4381 * README: Don't refer to NOTES.
4382 * manual/creature.texi: Don't include macros.texi.
4383 * manual/intro.texi (creature.texi): Remove comment referring to
4386 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4387 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4388 * configure: Regenerated.
4389 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4391 (libc_cv_as_i686): Likewise.
4392 (libc_cv_cc_avx): Likewise.
4393 (libc_cv_cc_sse2avx): Likewise.
4394 (libc_cv_cc_fma4): Likewise.
4395 (libc_cv_cc_novzeroupper): Likewise.
4396 * sysdeps/i386/configure: Regenerated.
4399 * sysdeps/i386/fpu/s_cexp.S: Remove.
4400 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4401 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4402 * math/libm-test.inc (cexp_test): Add more tests.
4403 * sysdeps/i386/fpu/libm-test-ulps: Update.
4404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4406 2012-03-21 Allan McRae <allan@archlinux.org>
4408 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4410 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4413 * math/w_exp2.c: Do not include <float.h>.
4414 (o_threshold, u_threshold): Remove.
4415 (__exp2): Calculate result before checking finiteness and calling
4417 * math/w_exp2f.c: Likewise.
4418 * math/w_exp2l.c: Likewise.
4419 * math/libm-test.inc (exp2_test): Require overflow exception for
4423 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4424 range of signed 64-bit integers before using fistpll. Remove
4425 checks for whether integers fit in mantissa bits.
4426 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4427 the range of signed 32-bit integers before using fistpl. Remove
4428 checks for whether integers fit in mantissa bits.
4429 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4430 (__ieee754_powl): Test for y outside the range of signed 64-bit
4431 integers before using fistpll. Reduce 64-bit values to 63-bit
4433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4434 divide-by-zero is raised for zero to large negative powers.
4435 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4436 (__ieee754_powl): Test for y outside the range of signed 64-bit
4437 integers before using fistpll. Reduce 64-bit values to 63-bit
4439 * math/libm-test.inc (pow_test): Add more tests.
4441 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4443 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4444 <stdio-common/_itoa.h>.
4445 * debug/segfault.c: Likewise.
4446 * elf/dl-cache.c: Likewise.
4447 * elf/dl-minimal.c: Likewise.
4448 * elf/dl-misc.c: Likewise.
4449 * elf/dl-sysdep.c: Likewise.
4450 * elf/dl-version.c: Likewise.
4451 * elf/rtld.c: Likewise.
4452 * hurd/hurdsock.c: Likewise.
4453 * hurd/lookup-retry.c: Likewise.
4454 * malloc/malloc.c: Likewise.
4455 * malloc/mtrace.c: Likewise.
4456 * nscd/nscd_getgr_r.c: Likewise.
4457 * nscd/nscd_getpw_r.c: Likewise.
4458 * nscd/nscd_getserv_r.c: Likewise.
4459 * posix/getopt_init.c: Likewise.
4460 * posix/wordexp.c: Likewise.
4461 * stdio-common/_itoa.c: Likewise.
4462 * stdio-common/printf_fphex.c: Likewise.
4463 * stdio-common/vfprintf.c: Likewise.
4464 * string/_strerror.c: Likewise.
4465 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4466 * sysdeps/i386/i686/hp-timing.h: Likewise.
4467 * sysdeps/mach/_strerror.c: Likewise.
4468 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4469 * sysdeps/mach/hurd/sethostid.c: Likewise.
4470 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4471 * sysdeps/mach/xpg-strerror.c: Likewise.
4472 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4474 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4475 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4476 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4477 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4478 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4479 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4480 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4481 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4482 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4483 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4484 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4485 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4486 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4487 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4488 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4489 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4490 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4491 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4492 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4494 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4496 * stdio-common/_itoa.h: Moved to ...
4497 * sysdeps/generic/_itoa.h: Here.
4499 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4501 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4502 instead of "_itoa.h" and "_itowa.h".
4503 * stdio-common/vfprintf.: Likewise.
4505 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4507 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4509 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4510 (__signbit): Likwise.
4514 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4516 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4519 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4521 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4522 OVERFLOW_EXCEPTION_OK.
4523 * math/libm-test.inc ("Philosophy"): Update comment about
4525 (OVERFLOW_EXCEPTION): Define.
4526 (OVERFLOW_EXCEPTION_OK): Likewise.
4527 (INVALID_EXCEPTION_OK): Renumber.
4528 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4529 (IGNORE_ZERO_INF_SIGN): Likewise.
4530 (test_exceptions): Handle FE_OVERFLOW.
4531 (exp10_test): Expect overflow exceptions.
4532 (exp2_test): Likewise.
4533 (expm1_test): Likewise.
4534 (nextafter_test): Likewise.
4535 (pow_test): Likewise.
4536 (scalbn_test): Likewise.
4537 (scalbln_test): Likewise.
4539 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4541 * sysdeps/x86_64/bits/atomic.h
4542 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4544 (atomic_exchange_acq): Likewise.
4545 (__arch_exchange_and_add_body): Likewise.
4546 (__arch_add_body): Likewise.
4547 (atomic_add_negative): Likewise.
4548 (atomic_add_zero): Likewise.
4550 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4552 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4553 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4555 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4557 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4558 Check __x86_64__ instead of __WORDSIZE.
4560 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4562 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4564 2012-03-19 David S. Miller <davem@davemloft.net>
4566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4568 * sysdeps/sparc/fpu/fenv_private.h: New file.
4569 * sysdeps/sparc/fpu/math_private.h: Use it.
4570 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4572 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4573 (libc_feholdexcept_setroundl): Remove.
4574 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4576 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4577 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4579 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4581 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4582 int64_t instead of long int.
4583 (INSERT_WORDS64): Likwise.
4585 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4587 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4588 _Unwind_GetCFA return to _Unwind_Ptr first.
4590 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4593 * math/s_clog.c: Include <float.h>.
4594 (__clog): Scale large or subnormal inputs.
4595 * math/s_clogf.c: Likewise.
4596 * math/s_clogl.c: Likewise.
4597 * math/s_clog10.c: Include <float.h>.
4598 (M_LOG10_2): Define.
4599 (__clog10): Scale large or subnormal inputs.
4600 * math/s_clog10f.c: Likewise.
4601 * math/s_clog10l.c: Likewise.
4602 * math/libm-test.inc (clog_test): Add more tests.
4603 (clog10_test): Likewise.
4604 * sysdeps/i386/fpu/libm-test-ulps: Update.
4605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4608 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4610 * math/libm-test.inc (atan2_test): Add another test.
4612 * Makerules (common-objdir-compile): Remove.
4613 * sysdeps/unix/Makefile (config-generated): Do not add
4614 $(unix-generated) to variable.
4615 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4616 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4618 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4620 [generic bits/local_lim.h] (before-compile): Do not append to
4622 [generic bits/local_lim.h] (common-generated): Likewise.
4623 [generic sys/param.h] (before-compile): Do not append to variable.
4624 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4625 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4626 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4627 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4629 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4630 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4631 [generic sys/param.h] ($(addprefix
4632 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4633 [generic sys/param.h] (common-generated): Do not append to
4635 [generic sys/param.h] (sysdep_headers): Likewise.
4636 [generic bits/errno.h] (before-compile): Do not append to
4638 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4640 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4641 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4642 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4643 [generic bits/errno.h] (common-generated): Do not append to
4645 [generic bits/ioctls.h] (before-compile): Do not append to
4647 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4649 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4650 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4651 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4653 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4654 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4655 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4656 [generic bits/ioctls.h] (common-generated): Do not append to
4658 [generic sys/syscall.h] (syscall.h): Remove variable.
4659 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4661 [generic sys/syscall.h] (before-compile): Do not append to
4663 [generic sys/syscall.h] (common-generated): Likewise.
4664 * sysdeps/unix/errnos-tmpl.c: Remove file.
4665 * sysdeps/unix/errnos.awk: Likewise.
4666 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4667 * sysdeps/unix/ioctls.awk: Likewise.
4668 * sysdeps/unix/mk-local_lim.c: Likewise.
4669 * sysdeps/unix/snarf-ioctls: Likewise.
4671 2012-03-19 Richard Henderson <rth@twiddle.net>
4673 * sysdeps/i386/fpu/fenv_private.h: New file.
4674 * sysdeps/i386/fpu/math_private.h: Use it.
4675 (math_opt_barrier, math_force_eval): Remove.
4676 (libc_feholdexcept_setround_53bit): Remove.
4677 (libc_feupdateenv_53bit): Remove.
4678 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4679 (math_opt_barrier, math_force_eval): Remove.
4680 (libc_feholdexcept): Remove.
4681 (libc_feholdexcept_setround): Remove.
4682 (libc_fetestexcept, libc_fesetenv): Remove.
4683 (libc_feupdateenv_test): Remove.
4684 (libc_feupdateenv, libc_feholdsetround): Remove.
4685 (libc_feresetround): Remove.
4687 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4688 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4690 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4691 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4692 (libc_feupdateenv_testl): New.
4693 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4694 (libc_feupdateenv_testf): New.
4695 (libc_feupdateenv): Use libc_feupdateenv_test.
4696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4697 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4699 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4700 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4701 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4702 (libc_feresetround_noex): New.
4703 (libc_feresetround_noexf): New.
4704 (libc_feresetround_noexl): New.
4705 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4706 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4707 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4708 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4711 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4713 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4714 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4715 SET_RESTORE_ROUND_NOEX.
4716 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4717 SET_RESTORE_ROUND_NOEXF.
4718 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4719 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4720 (libc_feholdsetroundf): New.
4721 (libc_feresetround, libc_feresetroundf): New.
4723 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4724 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4725 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4727 * sysdeps/generic/math_private.h: Include <fenv.h>.
4728 (default_libc_feholdexcept): New.
4729 (default_libc_feholdexcept_setround): New.
4730 (default_libc_fesetenv, default_libc_feupdateenv): New.
4731 (libc_feholdexcept): Only define if undefined.
4732 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4733 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4734 (libc_feholdexcept_setroundl): Likewise.
4735 (libc_feholdexcept_setround_53bit): Likewise.
4736 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4737 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4738 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4739 (libc_feupdateenv_53bit): Likewise.
4740 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4741 (libc_feholdexcept): Convert from macro to inline function.
4742 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4743 (libc_fesetenv, libc_feupdateenv): Likewise.
4745 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4746 not previously defined.
4747 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4748 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4749 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4750 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4751 * sysdeps/ieee754/flt-32/math_private.h: New file.
4752 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4753 math_private.h below SET_FLOAT_WORD.
4754 (__isnan, __isinf_ns, __finite): Remove.
4755 (__isnanf, __isinf_nsf, __finitef): Remove.
4757 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4761 2012-03-17 David S. Miller <davem@davemloft.net>
4764 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4767 2012-03-16 David S. Miller <davem@davemloft.net>
4769 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4773 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4775 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4776 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4777 sysdep_routines when subdir is sysvipc.
4778 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4781 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4783 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4785 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4788 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4790 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4791 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4792 (__lround): Renamed to ...
4793 (__llround): This. Replace long int with long long int.
4794 Define lround functions as aliases of llround functions.
4795 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4797 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4799 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4800 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4801 adresses to uintptr_t. Replace "long int" and "unsigned long
4802 int" with "greg_t" on va_arg.
4804 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4806 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4807 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4809 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4810 Move e_machine check before EI_CLASS check. Handle x32
4811 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4812 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4813 SKIP_EM_IA_64 and include
4814 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4816 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4817 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4818 (add_system_dir): New macro.
4820 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4821 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4823 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4834 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4836 * math/w_j0f.c (j0f): Likewise.
4838 * math/w_j0l.c (__j0l): Likewise.
4840 * math/w_j1.c (j1): Likewise.
4842 * math/w_j1f.c (j1f): Likewise.
4844 * math/w_j1l.c (__j1l): Likewise.
4846 * math/w_jn.c (jn): Likewise.
4848 * math/w_jnf.c (jnf): Likewise.
4850 * math/w_jnl.c (__jnl): Likewise.
4852 * math/libm-test.inc (j0_test): Add more tests.
4853 (j1_test): Likewise.
4854 (jn_test): Likewise. Add trailing semicolon to existing test.
4855 (y0_test): Likewise.
4856 (y1_test): Likewise.
4857 * sysdeps/i386/fpu/libm-test-ulps: Update.
4858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4862 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4863 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4864 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4865 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4866 (__tanl): Set errno for infinite argument.
4867 * sysdeps/i386/fpu/mptan.c: Remove.
4868 * sysdeps/i386/fpu/s_tan.S: Likewise.
4869 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4870 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4871 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4872 * math/libm-test.inc (tan_test): Add more tests and enable more
4873 tests for double and long double.
4874 * sysdeps/i386/fpu/libm-test-ulps: Update.
4875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4879 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4880 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4882 2012-03-16 Roland McGrath <roland@hack.frob.com>
4884 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4885 * configure.in: Use it for both main tree and add-ons.
4886 * configure: Regenerated.
4888 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4890 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4892 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4894 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4898 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4899 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4901 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4902 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4904 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4907 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4908 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4909 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4910 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4911 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4912 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4913 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4914 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4915 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4916 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4917 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4918 * math/libm-test.inc (cos_test): Add more tests and enable more
4919 tests for long double.
4920 (sin_test): Likewise.
4921 (sincos_test): Likewise.
4922 * sysdeps/i386/fpu/libm-test-ulps: Update.
4923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4925 2012-03-16 David S. Miller <davem@davemloft.net>
4927 * sysdeps/sparc/fpu/math_private.h: New file.
4929 2012-03-15 David S. Miller <davem@davemloft.net>
4931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4945 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4946 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4948 * sysdeps/sparc/sparc-ifunc.h: New file.
4949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4987 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4988 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4989 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4990 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4994 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4996 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5000 2012-03-15 Andreas Jaeger <aj@suse.de>
5003 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5004 ieee754/flt-32 implementation for sin, cos and sincos.
5005 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5006 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5007 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5008 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5009 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5010 ieee754/flt-32 implementation for tan.
5012 * math/libm-test.inc (cos_test): Enable some large input tests for
5014 (sin_test): Likewise.
5015 (sincos_test): Likewise.
5016 (tan_test): Add tests for large input.
5018 * sysdeps/i386/fpu/libm-test-ulps: Update.
5020 2012-03-15 Andreas Jaeger <aj@suse.de>
5023 * math/libm-test.inc (cos_test): Add more test cases.
5024 (sin_test): Likewise.
5025 (sincos_test): Likewise.
5027 2012-03-15 Andreas Jaeger <aj@suse.de>
5030 * math/libm-test.inc (cos_test): Add a test case for large input
5032 (sin_test): Likewise.
5033 (sincos_test): Likewise.
5035 2012-03-15 Andreas Jaeger <aj@suse.de>,
5036 Joseph Myers <joseph@codesourcery.com>
5039 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5040 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5041 * sysdeps/i386/fpu/branred.c: Likewise.
5042 * sysdeps/i386/fpu/dosincos.c: Likewise.
5043 * sysdeps/i386/fpu/mpa.c: Likewise.
5044 * sysdeps/i386/fpu/s_cos.S: Likewise.
5045 * sysdeps/i386/fpu/s_sin.S: Likewise.
5046 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5047 * sysdeps/i386/fpu/sincos32.c: Likewise.
5049 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5051 (libc_feupdateenv_53bit): Define.
5052 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5054 (libc_feupdateenv_53bit): Define.
5056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5057 53 bit (without extend i386 double precision).
5059 * math/libm-test.inc (sincos_test): Add tests for large input.
5063 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5065 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5069 2012-03-15 David S. Miller <davem@davemloft.net>
5071 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5072 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5073 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5074 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5099 fmin/fmax sysdep routines.
5100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5102 2012-03-14 David S. Miller <davem@davemloft.net>
5104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5176 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5181 * sysdeps/sparc/configure.in: New file.
5182 * sysdeps/sparc/configure: Generate.
5183 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5184 * configure: Regenerate.
5185 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5186 * config.make.in (have-as-vis3): New.
5187 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5188 available use -Av9d instead of -Av9a.
5189 * sysdeps/sparc/sparc64/Makefile: Likewise.
5190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5205 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5206 fzeros/fnegs to load 0x80000000 into a float register instead of
5208 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5210 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5214 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5215 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5216 ($(inst_includedir)/bits/syscall.h): Remove rule.
5217 ($(objpfx)bits/syscall.d): Include instead of
5218 $(objpfx)syscall-list.d.
5219 (generated): Change syscall-list.h and syscall-list.d to
5220 bits/syscall.h and bits/syscall.d.
5222 2012-03-14 Roland McGrath <roland@hack.frob.com>
5225 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5227 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5230 * math/s_csqrt.c: Include <float.h>.
5231 (__csqrt): Scale large or subnormal inputs.
5232 * math/s_csqrtf.c: Likewise.
5233 * math/s_csqrtl.c: Likewise.
5234 * math/libm-test.inc (csqrt_test): Add more tests.
5235 * sysdeps/i386/fpu/libm-test-ulps: Update.
5236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5239 * math/libm-test.inc (hypot_test): Add more tests.
5241 2012-03-13 David S. Miller <davem@davemloft.net>
5244 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5245 double-precision for the calculation instead of scaling.
5247 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5249 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5250 manipulate bits before adding and subtracting TWO52[sx].
5251 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5252 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5254 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5256 2012-03-13 David S. Miller <davem@davemloft.net>
5258 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5259 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5261 rtld-global-offsets.h
5262 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5264 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5267 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5269 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5270 'err' in the ifdef scope in which it is actually used.
5272 * nss/nss_db/db-init.c: Include string.h
5274 2012-03-12 David S. Miller <davem@davemloft.net>
5276 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5277 masking out of the most significant byte of random value used.
5278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5279 Fix coding style in previous change.
5281 * sysdeps/unix/sysv/linux/kernel-features.h
5282 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5283 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5285 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5288 2012-03-11 David S. Miller <davem@davemloft.net>
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5291 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5292 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5293 for 'resultvar' otherwise things get truncated on 64-bit.
5295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5296 Fix masking out of the most significant byte of random value used.
5298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5300 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5304 2012-03-09 David S. Miller <davem@davemloft.net>
5306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5307 variables with appropriate CPP guards.
5308 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5309 frame pointer, not the stack pointer. Correct layout comments. Fix test
5310 on resulting framesize and the management of the outregs buffer for pltexit.
5311 Preserve floating point return values across _dl_call_pltexit call.
5312 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5313 framesize and the management of the outregs buffer for pltexit.
5314 Preserve floating point return values across _dl_call_pltexit
5316 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5317 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5318 (print_exit): Fix format string for return register value.
5320 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5322 * sunrpc/Makefile (others): Add rpcgen.
5323 ($(objpfx)rpcgen): Remove special build rule and dependency on
5325 * sunrpc/rpcgen.c: New file.
5327 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5330 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5331 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5332 * sysdeps/i386/crti.S: Likewise.
5333 * sysdeps/i386/crtn.S: Likewise.
5334 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5335 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5336 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5337 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5338 * sysdeps/sh/crti.S: Likewise.
5339 * sysdeps/sh/crtn.S: Likewise.
5340 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5343 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5345 * locale/programs/locfile-kw.gperf: Likewise.
5346 * locale/programs/charmap-kw.h: Regenerated.
5347 * locale/programs/locfile-kw.h: Likewise.
5350 * intl/plural.y: Replace FSF snail mail address with URL.
5351 * intl/plural.c: Regenerated.
5353 2012-03-09 Richard Henderson <rth@twiddle.net>
5355 * include/math_private.h: Remove file.
5356 * math/math_private.h: Move file ...
5357 * sysdeps/generic/math_private.h: ... here.
5359 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5360 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5361 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5363 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5364 and <math_private.h>.
5365 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5366 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5367 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5368 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5369 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5419 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5420 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5421 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5422 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5423 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5424 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5427 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5428 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5429 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5430 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5433 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5438 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5439 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5440 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5441 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5442 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5444 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5445 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5446 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5447 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5448 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5449 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5450 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5452 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5453 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5454 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5455 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5456 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5457 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5458 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5459 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5460 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5461 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5462 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5464 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5465 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5466 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5467 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5468 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5469 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5470 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5471 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5472 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5473 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5474 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5475 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5476 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5477 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5478 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5479 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5480 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5481 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5482 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5483 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5484 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5485 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5486 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5487 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5488 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5489 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5490 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5491 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5492 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5493 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5494 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5495 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5496 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5497 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5498 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5499 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5500 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5501 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5502 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5503 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5504 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5505 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5506 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5507 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5508 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5509 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5510 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5511 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5512 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5513 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5514 * sysdeps/ieee754/k_standard.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5519 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5522 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5524 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5574 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5575 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5577 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5578 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5582 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5584 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5585 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5588 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5606 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5608 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5613 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5618 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5619 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5625 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5626 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5627 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5629 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5630 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5631 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5632 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5634 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5635 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5637 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5642 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5643 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5647 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5652 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5653 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5657 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5661 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5663 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5664 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5665 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5666 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5667 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5670 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5671 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5672 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5674 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5675 * sysdeps/ieee754/s_lib_version.c: Likewise.
5676 * sysdeps/ieee754/s_matherr.c: Likewise.
5677 * sysdeps/ieee754/s_signgam.c: Likewise.
5678 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5679 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5680 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5681 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5682 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5683 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5684 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5685 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5686 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5687 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5688 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5689 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5690 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5691 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5692 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5693 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5695 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5696 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5700 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5702 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5703 * sunrpc/rpc_main.c: Likewise.
5704 * sunrpc/rpc_svcout.c: Likewise.
5706 2012-03-09 David S. Miller <davem@davemloft.net>
5708 * include/math_private.h: New file.
5710 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5712 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5713 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5714 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5715 from <bits/socket_type.h>.
5716 (enum __socket_type): Don't define here.
5717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5722 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5725 * Makerules ($(inst_includedir)/%.h): New rule.
5726 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5727 (install-others): Remove variable setting.
5728 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5730 2012-03-08 Richard Henderson <rth@twiddle.net>
5732 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5733 from macro to inline function; merge with the
5734 !__LIBC_INTERNAL_MATH_INLINES version.
5735 (__ieee754_sqrtf): Likewise.
5737 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5739 (__rintf, __floor, __floorf): Likewise.
5741 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5742 macro to inline function.
5743 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5745 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5746 not <math/math_private.h>.
5748 2012-03-08 David S. Miller <davem@davemloft.net>
5750 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5752 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5754 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5756 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5758 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5759 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5761 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5763 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5764 be defined individually, they must be defined as a block. Define
5765 S for printing a string instead of hidint the different by using a
5766 macro for adding the 'l'.
5767 * stdio-common/tst-fphex-wide.c: Adjust.
5769 2012-03-07 Marek Polacek <polacek@redhat.com>
5771 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5773 2012-03-08 Marek Polacek <polacek@redhat.com>
5776 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5777 * stdio-common/tst-fphex.c: Define a few macros to make the
5778 test reusable. Use them.
5779 * stdio-common/tst-fphex-wide.c: New file.
5781 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5784 * manual/macros.texi (gnusystems): New macro.
5785 (nongnusystems): Likewise.
5786 (gnulinuxhurdsystems): Likewise.
5787 (gnuhurdsystems): Likewise..
5788 (gnulinuxsystems): Likewise.
5789 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5790 variants of the GNU system, not "GNU system".
5791 * manual/conf.texi: Likewise.
5792 * manual/errno.texi: Likewise. Update example of errno macro
5794 * manual/filesys.texi: Likewise.
5795 (getumask): Document as specific to GNU/Hurd.
5796 * manual/install.texi: Likewise. Reword some references to
5798 * manual/intro.texi: Likewise.
5799 * manual/io.texi: Likewise.
5800 (File Name Portability): Detail which constraints are inapplicable
5801 to all GNU systems and which are only inapplicable to GNU/Hurd.
5802 * manual/job.texi: Likewise.
5803 * manual/llio.texi: Likewise.
5804 (O_NOCTTY): Document as present on GNU/Linux.
5805 * manual/maint.texi: Likewise.
5806 * manual/memory.texi: Likewise.
5807 * manual/pattern.texi: Likewise.
5808 * manual/pipe.texi: Likewise.
5809 * manual/process.texi: Likewise.
5810 * manual/resource.texi: Likewise.
5811 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5813 * manual/setjmp.texi: Likewise.
5814 * manual/signal.texi: Likewise.
5815 * manual/startup.texi: Likewise.
5816 * manual/stdio.texi: Likewise.
5817 * manual/terminal.texi: Likewise.
5818 (ONLCR): Document as POSIX.
5819 (OXTABS): Document availability on GNU/Linux as XTABS.
5820 (ONOEOT): Document availability separately from other bits.
5821 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5822 * manual/time.texi: Likewise.
5823 * manual/users.texi: Likewise.
5824 * INSTALL: Regenerated.
5825 * sysdeps/gnu/errlist.c: Regenerated.
5827 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5828 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5829 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5831 * configure: Regenerated.
5833 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5835 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5836 default includes instead of AC_HEADER_CHECK.
5837 * sysdeps/i386/configure: Regenerated.
5840 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5841 * math/s_cacoshf.c (__cacoshf): Likewise.
5842 * math/s_cacoshl.c (__cacoshl): Likewise.
5843 * math/s_casinh.c (__casinh): Set signs of result from argument.
5844 * math/s_casinhf.c (__casinhf): Likewise.
5845 * math/s_casinhl.c (__casinhl): Likewise.
5846 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5847 (casinh_test): Add more tests.
5848 * sysdeps/i386/fpu/libm-test-ulps: Update.
5849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5851 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5853 * po/zh_TW.po: Update from translation team.
5855 * login/Makefile (distribute): Remove variable.
5856 * catgets/Makefile: Likewise.
5857 * mach/Makefile: Likewise.
5858 * malloc/Makefile: Likewise.
5859 * misc/Makefile: Likewise.
5860 * iconv/Makefile: Likewise.
5861 * nscd/Makefile: Likewise.
5862 * hurd/Makefile: Likewise.
5863 * manual/Makefile: Likewise.
5864 * locale/Makefile: Likewise.
5865 * intl/Makefile: Likewise.
5866 * conform/Makefile: Likewise.
5867 * nss/Makefile: Likewise.
5868 * time/Makefile: Likewise.
5869 * soft-fp/Makefile: Likewise.
5870 * dirent/Makefile: Likewise.
5871 * gmon/Makefile: Likewise.
5872 * po/Makefile: Likewise.
5873 * rt/Makefile: Likewise.
5874 * socket/Makefile: Likewise.
5875 * math/Makefile: Likewise.
5876 * signal/Makefile: Likewise.
5877 * debug/Makefile: Likewise.
5878 * elf/Makefile: Likewise.
5879 * timezone/Makefile: Likewise.
5880 * stdlib/Makefile: Likewise.
5881 * iconvdata/Makefile: Likewise.
5882 * sunrpc/Makefile: Likewise.
5883 * io/Makefile: Likewise.
5884 * argp/Makefile: Likewise.
5885 * inet/Makefile: Likewise.
5886 * hesiod/Makefile: Likewise.
5887 * grp/Makefile: Likewise.
5888 * csu/Makefile: Likewise.
5889 * wctype/Makefile: Likewise.
5890 * crypt/Makefile: Likewise.
5891 * libio/Makefile: Likewise.
5892 * string/Makefile: Likewise.
5893 * nis/Makefile: Likewise.
5894 * resolv/Makefile: Likewise.
5895 * stdio-common/Makefile: Likewise.
5896 * wcsmbs/Makefile: Likewise.
5897 * dlfcn/Makefile: Likewise.
5898 * posix/Makefile: Likewise.
5901 * timezone/Makefile: Don't install timezone files, just the programs
5904 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5906 * nss/databases.def: Add missing gshadow entry.
5908 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5910 2012-03-06 Marek Polacek <polacek@redhat.com>
5913 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5914 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5915 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5916 * stdio-common/tst-long-dbl-fphex.c: New file.
5918 2012-03-06 David S. Miller <davem@davemloft.net>
5920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5921 (set_obp_int): New function.
5922 (get_obp_int): New function.
5923 (__get_clockfreq_via_dev_openprom): Likewise.
5924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5925 Avoid unused variable warnings on 'val' and use builtin_expect.
5926 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5928 (INLINE_CLONE_SYSCALL): Likewise.
5930 2012-03-05 David S. Miller <davem@davemloft.net>
5932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5934 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5938 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5940 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5942 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5945 Replace gettimeofday with __vdso_gettimeofday.
5947 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5948 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5949 __vdso_clock_gettime and __vdso_getcpu.
5951 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5952 time with __vdso_time.
5954 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5956 * manual/lang.texi (size_t): Note types to which size_t may be
5957 equivalent with the GNU C Library, but do not describe when
5958 differences between them are significant.
5960 2012-03-05 Andreas Jaeger <aj@suse.de>
5962 * sysdeps/i386/fpu/libm-test-ulps: Update.
5964 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5967 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5968 (__ieee754_pow): Save and restore rounding mode and use
5969 round-to-nearest for main computations.
5970 * math/libm-test.inc (pow_test_tonearest): New function.
5971 (pow_test_towardzero): Likewise.
5972 (pow_test_downward): Likewise.
5973 (pow_test_upward): Likewise.
5974 (main): Call the new functions.
5975 * sysdeps/i386/fpu/libm-test-ulps: Update.
5976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5979 * math/libm-test.inc (cosh_test_tonearest): New function.
5980 (cosh_test_towardzero): Likewise.
5981 (cosh_test_downward): Likewise.
5982 (cosh_test_upward): Likewise.
5983 (sinh_test_tonearest): Likewise.
5984 (sinh_test_towardzero): Likewise.
5985 (sinh_test_downward): Likewise.
5986 (sinh_test_upward): Likewise.
5987 (main): Call the new functions.
5988 * sysdeps/i386/fpu/libm-test-ulps: Update.
5989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5991 2012-03-05 Tom de Vries <tom@codesourcery.com>
5993 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5994 default stack guard is set in last bytes.
5995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5997 2012-03-05 Kees Cook <keescook@chromium.org>
5999 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6002 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6003 possibly allocate from heap instead of stack.
6004 * stdio-common/bug-vfprintf-nargs.c: New file.
6005 * stdio-common/Makefile (tests): Add nargs overflow test.
6007 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6011 2012-03-03 Marek Polacek <polacek@redhat.com>
6013 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6014 * math/math_private.h: Likewise.
6015 * stdlib/tst-strtod.c: Likewise.
6016 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6017 * sysdeps/x86_64/bits/atomic.h: Likewise.
6019 2012-03-02 David S. Miller <davem@davemloft.net>
6021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6025 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6026 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6027 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6028 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6030 2012-03-02 Roland McGrath <roland@hack.frob.com>
6033 * manual/examples/README: New file, says the example source files
6034 can be used under GPL>=2.
6035 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6036 line containing just "*/".
6037 * manual/examples/add.c: Add copyright header (GPL>=2).
6038 * manual/examples/argp-ex1.c: Likewise.
6039 * manual/examples/argp-ex2.c: Likewise.
6040 * manual/examples/argp-ex3.c: Likewise.
6041 * manual/examples/argp-ex4.c: Likewise.
6042 * manual/examples/atexit.c: Likewise.
6043 * manual/examples/db.c: Likewise.
6044 * manual/examples/dir.c: Likewise.
6045 * manual/examples/dir2.c: Likewise.
6046 * manual/examples/execinfo.c: Likewise.
6047 * manual/examples/filecli.c: Likewise.
6048 * manual/examples/filesrv.c: Likewise.
6049 * manual/examples/fmtmsgexpl.c: Likewise.
6050 * manual/examples/genpass.c: Likewise.
6051 * manual/examples/inetcli.c: Likewise.
6052 * manual/examples/inetsrv.c: Likewise.
6053 * manual/examples/isockad.c: Likewise.
6054 * manual/examples/longopt.c: Likewise.
6055 * manual/examples/memopen.c: Likewise.
6056 * manual/examples/memstrm.c: Likewise.
6057 * manual/examples/mkfsock.c: Likewise.
6058 * manual/examples/mkisock.c: Likewise.
6059 * manual/examples/mygetpass.c: Likewise.
6060 * manual/examples/pipe.c: Likewise.
6061 * manual/examples/popen.c: Likewise.
6062 * manual/examples/rprintf.c: Likewise.
6063 * manual/examples/search.c: Likewise.
6064 * manual/examples/select.c: Likewise.
6065 * manual/examples/setjmp.c: Likewise.
6066 * manual/examples/sigh1.c: Likewise.
6067 * manual/examples/sigusr.c: Likewise.
6068 * manual/examples/stpcpy.c: Likewise.
6069 * manual/examples/strdupa.c: Likewise.
6070 * manual/examples/strftim.c: Likewise.
6071 * manual/examples/strncat.c: Likewise.
6072 * manual/examples/subopt.c: Likewise.
6073 * manual/examples/swapcontext.c: Likewise.
6074 * manual/examples/termios.c: Likewise.
6075 * manual/examples/testopt.c: Likewise.
6076 * manual/examples/testpass.c: Likewise.
6077 * manual/examples/timeval_subtract.c: Likewise.
6080 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6082 * manual/timeval_subtract.c.texi: ... here, new file.
6084 2012-03-02 David S. Miller <davem@davemloft.net>
6086 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6088 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6091 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6092 (__sin): Save and restore rounding mode and use round-to-nearest
6093 for all computations.
6094 (__cos): Save and restore rounding mode and use round-to-nearest
6095 for all computations.
6096 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6098 (tan): Save and restore rounding mode and use round-to-nearest for
6100 * math/libm-test.inc (cos_test_tonearest): New function.
6101 (cos_test_towardzero): Likewise.
6102 (cos_test_downward): Likewise.
6103 (cos_test_upward): Likewise.
6104 (sin_test_tonearest): Likewise.
6105 (sin_test_towardzero): Likewise.
6106 (sin_test_downward): Likewise.
6107 (sin_test_upward): Likewise.
6108 (tan_test_tonearest): Likewise.
6109 (tan_test_towardzero): Likewise.
6110 (tan_test_downward): Likewise.
6111 (tan_test_upward): Likewise.
6112 (main): Call the new functions.
6113 * sysdeps/i386/fpu/libm-test-ulps: Update.
6114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6117 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6118 small n, then large n, before computing and testing k+n.
6119 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6124 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6125 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6126 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6127 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6129 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6130 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6131 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6132 * math/libm-test.inc (scalbn_test): Add more tests.
6133 (scalbln_test): Likewise.
6135 * manual/filesys.texi (mode_t): Describe constraints on size and
6136 signedness, not exact equivalence to a particular type.
6138 (ino64_t): Likewise.
6140 (nlink_t): Likewise.
6141 (blkcnt_t): Likewise.
6142 (blkcnt64_t): Likewise.
6143 * manual/llio.texi (off_t): Likewise.
6146 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6147 (__ieee754_exp): Save and restore rounding mode and use
6148 round-to-nearest for all computations.
6149 * math/libm-test.inc (exp_test_tonearest): New function.
6150 (exp_test_towardzero): Likewise.
6151 (exp_test_downward): Likewise.
6152 (exp_test_upward): Likewise.
6153 (main): Call the new functions.
6154 * sysdeps/i386/fpu/libm-test-ulps: Update.
6155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6157 2012-03-01 Chris Demetriou <cgd@google.com>
6159 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6160 have predictable order.
6162 2012-03-01 David S. Miller <davem@davemloft.net>
6164 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6166 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6167 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6168 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6169 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6171 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6172 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6173 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6175 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6176 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6177 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6178 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6179 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6183 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6184 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6185 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6187 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6188 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6189 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6190 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6191 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6192 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6193 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6194 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6195 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6196 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6197 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6198 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6200 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6201 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6203 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6204 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6205 * sysdeps/sparc/elf/configure: Regenerated.
6207 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6209 * configure.in (AS, LD): Require binutils 2.20 or later.
6210 * configure: Regenerated.
6211 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6212 as required minimum version.
6213 * INSTALL: Regenerated.
6217 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6218 before squaring exponent.
6219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6220 bottom long double and 27 bits of top long double before squaring
6222 * math/libm-test.inc (erfc_test): Add more tests.
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6227 2012-03-01 Kai Tietz <ktietz@redhat.com>
6229 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6230 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6231 containing bit-fields.
6232 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6233 * soft-fp/single.h (_FP_UNION_S): Likewise.
6234 * soft-fp/double.h (_FP_UNION_D): Likewise.
6236 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6239 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6240 not include ../strcmp.S.
6241 [USE_AS_STRNCASECMP_L]: Likewise.
6242 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6243 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6244 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6245 (__strncasecmp_l_ia32): Define as alias to
6246 __strncasecmp_l_nonascii.
6249 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6250 * sysdeps/i386/fpu/libm-test-ulps: Update.
6251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6253 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6256 2012-02-29 Jeff Law <law@redhat.com>
6258 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6261 2012-02-29 Marek Polacek <polacek@redhat.com>
6264 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6265 * elf/Makefile: Add rules to run tst-unused-dep.out.
6267 2012-02-28 David S. Miller <davem@davemloft.net>
6269 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6270 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6272 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6273 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6274 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6276 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6278 * math/libm-test.inc (llround_test): Move one test from
6279 lround_test. Use TEST_f_L in moved test.
6280 (lround_test): Move misplaced test to llround_test. Add testcase
6283 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6285 * sysdeps/x86_64/fpu/e_expf.S: New file.
6286 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6288 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6291 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6292 of remain_len that may cause incomplete multi-byte character and
6294 * posix/bug-regex33.c: New file.
6295 * posix/Makefile (tests): Add bug-regex33.
6297 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6299 * manual/macros.texi: New file.
6300 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6301 * manual/libc.texinfo: Include macros.texi.
6302 * manual/creatute.texi: Likewise.
6303 * manual/install.texi: Likewise.
6304 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6305 @glibcadj{} in references to the GNU C Library.
6306 * manual/charset.texi: Likewise.
6307 * manual/conf.texi: Likewise.
6308 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6309 when not using those macros.
6310 * manual/creature.texi: Likewise.
6311 * manual/crypt.texi: Likewise.
6312 * manual/errno.texi: Likewise.
6313 * manual/filesys.texi: Likewise.
6314 * manual/header.texi: Likewise.
6315 * manual/install.texi: Likewise.
6316 * manual/intro.texi: Likewise.
6317 * manual/io.texi: Likewise.
6318 * manual/job.texi: Likewise.
6319 * manual/lang.texi: Likewise.
6320 * manual/libc.texiinfo: Likewise.
6321 * manual/llio.texi: Likewise.
6322 * manual/locale.texi: Likewise.
6323 * manual/maint.texi: Likewise.
6324 * manual/math.texi: Likewise.
6325 * manual/memory.texi: Likewise.
6326 * manual/message.texi: Likewise.
6327 * manual/nss.texi: Likewise.
6328 * manual/pattern.texi: Likewise.
6329 * manual/process.texi: Likewise.
6330 * manual/resource.texi: Likewise.
6331 * manual/search.texi: Likewise.
6332 * manual/setjmp.texi: Likewise.
6333 * manual/signal.texi: Likewise.
6334 * manual/socket.texi: Likewise.
6335 * manual/startup.texi: Likewise.
6336 * manual/stdio.texi: Likewise.
6337 * manual/string.texi: Likewise.
6338 * manual/sysinfo.texi: Likewise.
6339 * manual/syslog.texi: Likewise.
6340 * manual/terminal.texi: Likewise.
6341 * manual/time.texi: Likewise.
6342 * manual/users.texi: Likewise.
6343 * INSTALL: Regenerated.
6344 * NOTES: Regenerated.
6345 * sysdeps/gnu/errlist.c: Regenerated.
6347 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6349 * include/dirent.h: Include <dirstream.h> before
6352 2012-02-28 David S. Miller <davem@davemloft.net>
6354 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6355 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6356 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6357 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6359 2012-02-27 David S. Miller <davem@davemloft.net>
6361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6363 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6364 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6367 frame pointer instead of stack pointer relative arg slot.
6368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6369 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6370 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6372 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6375 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6377 2012-02-27 David S. Miller <davem@davemloft.net>
6379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6383 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6384 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6385 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6386 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6388 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6390 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6391 later. Allow versions 5-9.
6392 * configure: Regenerated.
6393 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6394 required minimum version and 4.6 as recommended version. Do not
6395 mention bugs in GCC 2.7 and 2.8.
6396 * INSTALL: Regenerated.
6398 2012-02-27 David S. Miller <davem@davemloft.net>
6400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6404 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6405 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6406 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6407 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6410 manipulate bits before adding and subtracting TWO112[sx].
6411 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6413 2012-02-27 Roland McGrath <roland@hack.frob.com>
6416 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6417 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6418 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6419 being in POSIX, because they are in 1003.1-2008.
6421 * rt/tst-aio.c: Include <fcntl.h>.
6422 * rt/tst-aio7.c: Likewise.
6423 * rt/tst-aio64.c: Likewise.
6425 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6427 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6429 * manual/install.texi (--with-headers): Describe headers as
6430 interface headers, not private headers.
6431 (Specific advice for GNU/Linux systems): Describe use of headers
6432 from "make headers_install", not private headers from older
6434 * INSTALL: Regenerated.
6435 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6437 * sysdeps/unix/sysv/linux/configure: Regenerated.
6439 * manual/llio.texi (fclean): Remove documentation.
6441 * manual/Makefile (libc-texi-generated): New variable. Include
6443 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6444 $(libc-texi-generated), not duplicated list of files.
6445 (version.texi, stamp-version): New rules.
6446 (realclean): Remove $(libc-texi-generated), not individual files
6447 from that list. Do not remove dir-add.texinfo.
6448 * manual/libc.texinfo: Comment out uses of edition numbers and
6449 references to printed manual. Remove last-updated dates.
6450 (EDITION): Comment out.
6452 (VERSION, UPDATED): Remove.
6453 (version.texi): Include.
6455 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6457 * sysdeps/posix/spawni.c: Include <signal.h>.
6458 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6459 * sysdeps/pthread/aio_fsync.c: Likewise.
6461 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6463 * conform/Makefile (tests): Run only when not cross-compiling and
6464 when fast-check is not defined.
6466 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6467 * conform/data/limits.h-data: Fixes for POSIX2008.
6468 * conform/run-conformtest.sh: Run all tests.
6469 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6471 * include/bits/dlfcn.h: Likewise.
6472 * include/langinfo.h: Likewise.
6473 * include/monetary.h: Likewise.
6474 * include/sys/poll.h: Likewise.
6476 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6478 * posix/spawn.h: Define __need_sigset_t.
6479 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6480 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6481 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6482 to get sigevent_t only.
6483 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6486 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6487 process_vm_writev only for __USE_GNU.
6488 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6490 * conform/Makefile: For now ignore errors from run-conformtest.
6491 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6492 POSIX to avoid namespace pollution. Don't prepend headers.
6493 * conform/data/aio.h-data: Fixes for POSIX testing.
6494 * conform/data/fcntl.h-data: Likewise.
6495 * conform/data/glob.h-data: Likewise.
6496 * conform/data/grp.h-data: Likewise.
6497 * conform/data/pthread.h-data: Likewise.
6498 * conform/data/pwd.h-data: Likewise.
6499 * conform/data/signal.h-data: Likewise.
6500 * conform/data/spawn.h-data: Likewise.
6501 * conform/data/stdio.h-data: Likewise.
6502 * conform/data/stdlib.h-data: Likewise.
6503 * conform/data/stropts.h-data: Likewise.
6504 * conform/data/sys/mman.h-data: Likewise.
6505 * conform/data/sys/stat.h-data: Likewise.
6506 * conform/data/sys/types.h-data: Likewise.
6507 * conform/data/sys/wait.h-data: Likewise.
6508 * conform/data/time.h-data: Likewise.
6509 * conform/data/unistd.h-data: Likewise.
6510 * conform/data/utime.h-data: Likewise.
6512 * io/sys/stat.h: fchmod was always in POSIX.
6513 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6514 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6515 * rt/aio.h: Define __need_timespec before including <time.h>.
6516 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6517 struct. Add forward declaration of pthread_attr_t and use it in
6519 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6520 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6521 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6522 always remove CLK_TCK definition.
6524 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6526 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6528 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6530 * conform/run-conformtest.sh: New file.
6531 * conform/Makefile: Run run-conformtest for tests.
6532 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6535 * conform/data/uchar.h-data: New file.
6536 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6537 * conform/data/arpa/inet.h-data: Likewise.
6538 * conform/data/assert.h-data: Likewise.
6539 * conform/data/complex.h-data: Likewise.
6540 * conform/data/cpio.h-data: Likewise.
6541 * conform/data/ctype.h-data: Likewise.
6542 * conform/data/dirent.h-data: Likewise.
6543 * conform/data/dlfcn.h-data: Likewise.
6544 * conform/data/errno.h-data: Likewise.
6545 * conform/data/fcntl.h-data: Likewise.
6546 * conform/data/float.h-data: Likewise.
6547 * conform/data/fmtmsg.h-data: Likewise.
6548 * conform/data/fnmatch.h-data: Likewise.
6549 * conform/data/ftw.h-data: Likewise.
6550 * conform/data/glob.h-data: Likewise.
6551 * conform/data/grp.h-data: Likewise.
6552 * conform/data/iconv.h-data: Likewise.
6553 * conform/data/inttypes.h-data: Likewise.
6554 * conform/data/langinfo.h-data: Likewise.
6555 * conform/data/libgen.h-data: Likewise.
6556 * conform/data/limits.h-data: Likewise.
6557 * conform/data/locale.h-data: Likewise.
6558 * conform/data/math.h-data: Likewise.
6559 * conform/data/monetary.h-data: Likewise.
6560 * conform/data/mqueue.h-data: Likewise.
6561 * conform/data/ndbm.h-data: Likewise.
6562 * conform/data/net/if.h-data: Likewise.
6563 * conform/data/netdb.h-data: Likewise.
6564 * conform/data/netinet/in.h-data: Likewise.
6565 * conform/data/nl_types.h-data: Likewise.
6566 * conform/data/poll.h-data: Likewise.
6567 * conform/data/pthread.h-data: Likewise.
6568 * conform/data/pwd.h-data: Likewise.
6569 * conform/data/regex.h-data: Likewise.
6570 * conform/data/sched.h-data: Likewise.
6571 * conform/data/search.h-data: Likewise.
6572 * conform/data/semaphore.h-data: Likewise.
6573 * conform/data/setjmp.h-data: Likewise.
6574 * conform/data/signal.h-data: Likewise.
6575 * conform/data/spawn.h-data: Likewise.
6576 * conform/data/stdarg.h-data: Likewise.
6577 * conform/data/stdio.h-data: Likewise.
6578 * conform/data/stdlib.h-data: Likewise.
6579 * conform/data/string.h-data: Likewise.
6580 * conform/data/strings.h-data: Likewise.
6581 * conform/data/stropts.h-data: Likewise.
6582 * conform/data/sys/ipc.h-data: Likewise.
6583 * conform/data/sys/mman.h-data: Likewise.
6584 * conform/data/sys/msg.h-data: Likewise.
6585 * conform/data/sys/resource.h-data: Likewise.
6586 * conform/data/sys/select.h-data: Likewise.
6587 * conform/data/sys/sem.h-data: Likewise.
6588 * conform/data/sys/shm.h-data: Likewise.
6589 * conform/data/sys/socket.h-data: Likewise.
6590 * conform/data/sys/stat.h-data: Likewise.
6591 * conform/data/sys/statvfs.h-data: Likewise.
6592 * conform/data/sys/time.h-data: Likewise.
6593 * conform/data/sys/timeb.h-data: Likewise.
6594 * conform/data/sys/times.h-data: Likewise.
6595 * conform/data/sys/types.h-data: Likewise.
6596 * conform/data/sys/uio.h-data: Likewise.
6597 * conform/data/sys/un.h-data: Likewise.
6598 * conform/data/sys/utsname.h-data: Likewise.
6599 * conform/data/sys/wait.h-data: Likewise.
6600 * conform/data/syslog.h-data: Likewise.
6601 * conform/data/tar.h-data: Likewise.
6602 * conform/data/termios.h-data: Likewise.
6603 * conform/data/utime.h-data: Likewise.
6604 * conform/data/utmpx.h-data: Likewise.
6605 * conform/data/varargs.h-data: Likewise.
6606 * conform/data/wchar.h-data: Likewise.
6607 * conform/data/wctype.h-data: Likewise.
6608 * conform/data/wordexp.h-data: Likewise.
6610 * include/stropts.h: New file.
6611 * include/uchar.h: New file.
6612 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6613 * include/assert.h: Likewise.
6614 * include/ctype.h: Likewise.
6615 * include/dirent.h: Likewise.
6616 * include/dlfcn.h: Likewise.
6617 * include/fcntl.h: Likewise.
6618 * include/fnmatch.h: Likewise.
6619 * include/glob.h: Likewise.
6620 * include/grp.h: Likewise.
6621 * include/libio.h: Likewise.
6622 * include/locale.h: Likewise.
6623 * include/math.h: Likewise.
6624 * include/net/if.h: Likewise.
6625 * include/netdb.h: Likewise.
6626 * include/netinet/in.h: Likewise.
6627 * include/pthread.h: Likewise.
6628 * include/pwd.h: Likewise.
6629 * include/regex.h: Likewise.
6630 * include/sched.h: Likewise.
6631 * include/search.h: Likewise.
6632 * include/setjmp.h: Likewise.
6633 * include/signal.h: Likewise.
6634 * include/stdio.h: Likewise.
6635 * include/stdlib.h: Likewise.
6636 * include/string.h: Likewise.
6637 * include/sys/cdefs.h: Likewise.
6638 * include/sys/mman.h: Likewise.
6639 * include/sys/msg.h: Likewise.
6640 * include/sys/resource.h: Likewise.
6641 * include/sys/select.h: Likewise.
6642 * include/sys/socket.h: Likewise.
6643 * include/sys/stat.h: Likewise.
6644 * include/sys/statvfs.h: Likewise.
6645 * include/sys/time.h: Likewise.
6646 * include/sys/times.h: Likewise.
6647 * include/sys/uio.h: Likewise.
6648 * include/sys/utsname.h: Likewise.
6649 * include/sys/wait.h: Likewise.
6650 * include/termios.h: Likewise.
6651 * include/time.h: Likewise.
6652 * include/ulimit.h: Likewise.
6653 * include/unistd.h: Likewise.
6654 * include/utime.h: Likewise.
6655 * include/wchar.h: Likewise.
6656 * include/wctype.h: Likewise.
6657 * include/wordexp.h: Likewise.
6659 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6661 * time/time.h: TIME_UTC must be a macro.
6662 Make timespec_get available for ISO C11 only as well.
6664 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6666 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6667 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6669 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6671 * configure.in: Use -o not -a in test for unsupported multi-arch.
6673 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6675 * manual/texinfo.tex: Update to version 2012-01-19.16.
6677 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6679 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6681 2012-02-24 Roland McGrath <roland@hack.frob.com>
6684 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6685 * manual/fdl-1.3.texi: New file.
6686 * manual/fdl-1.1.texi: File removed.
6689 * manual/libc.texinfo (FDL_VERSION): New @set.
6690 Use it for mention of FDL in cover text.
6691 (Documentation License): Use it in @include file name.
6693 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6694 Roland McGrath <roland@hack.frob.com>
6697 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6698 not LONG_LONG_MAX and LONG_LONG_MIN.
6699 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6700 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6702 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6704 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6708 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6709 manipulate bits before adding and subtracting TWO23[sx].
6710 * math/libm-test.inc (nearbyint_test): Add more tests.
6712 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6715 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6716 bits before adding and subtracting TWO23[sx].
6717 * math/libm-test.inc (rint_test): Add more tests.
6718 (rint_test_tonearest): Likewise.
6719 (rint_test_towardzero): Likewise.
6720 (rint_test_downward): Likewise.
6721 (rint_test_upward: Likewise.
6723 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6726 * include/stdc-predef.h: New file. Extracted from features.h.
6727 * include/features.h: Include stdc-predef.h.
6728 * Makefile (headers): Add stdc-predef.h.
6729 * CONFORMANCE (Compiler limitations): Update.
6731 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6733 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6735 2012-02-21 David S. Miller <davem@davemloft.net>
6737 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6738 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6740 2012-02-20 David S. Miller <davem@davemloft.net>
6742 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6743 using a normal save/restore sequence, rather than allocating a
6744 dummy stack frame just to store a frame pointer and restore.
6745 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6747 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6749 * manual/install.texi: Fix stray word in line-wrapped comment.
6751 2012-02-20 David S. Miller <davem@davemloft.net>
6753 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6754 both binutils and gcc support GOTDATA.
6756 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6757 "rd %pc" in the PIC register setup sequences.
6759 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6760 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6761 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6762 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6763 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6765 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6766 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6768 (SYSCALL_ERROR_HANDLER): Likewise.
6769 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6770 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6772 (SYSCALL_ERROR_HANDLER): Likewise.
6774 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6775 (HAVE_GCC_GOTDATA): New.
6776 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6777 relocation support in both binutils and gcc.
6778 * sysdeps/sparc/elf/configure: Regenerate.
6780 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6781 * sysdeps/sparc/sparc32/elf/configure: Delete.
6782 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6783 * sysdeps/sparc/sparc64/elf/configure: Delete.
6784 * sysdeps/sparc/elf/configure.in: New file.
6785 * sysdeps/sparc/elf/configure: Generate.
6787 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6788 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6789 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6790 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6791 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6793 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6795 * manual/install.texi: Do not mention specific glibc version
6797 * manual/libc.texinfo (VERSION, UPDATED): Update.
6798 (@copying): Use @copyright{} and range of years.
6800 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6803 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6804 [crti.S not in sysdirs] (generated): Do not append.
6805 [crti.S not in sysdirs] (omit-deps): Likewise.
6806 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6807 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6808 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6809 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6810 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6812 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6813 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6814 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6815 * csu/defs.awk: Remove file.
6816 * sysdeps/generic/initfini.c: Likewise.
6817 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6819 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6822 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6824 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6825 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6826 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6828 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6829 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6831 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6832 (__EPOLL_PACKED): Define to empty if not defined by
6834 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6838 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6840 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6841 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6842 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6843 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6845 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6849 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6851 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6853 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6854 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6855 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6858 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6860 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6861 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6863 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6865 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6866 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6868 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6870 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6873 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6875 * math/w_acos.c: Use non-signaling floating-point comparisons.
6876 * math/w_acosf.c: Likewise.
6877 * math/w_acosh.c: Likewise.
6878 * math/w_acoshf.c: Likewise.
6879 * math/w_acoshl.c: Likewise.
6880 * math/w_acosl.c: Likewise.
6881 * math/w_asin.c: Likewise.
6882 * math/w_asinf.c: Likewise.
6883 * math/w_asinl.c: Likewise.
6884 * math/w_atanh.c: Likewise.
6885 * math/w_atanhf.c: Likewise.
6886 * math/w_atanhl.c: Likewise.
6887 * math/w_exp2.c: Likewise.
6888 * math/w_exp2f.c: Likewise.
6889 * math/w_exp2l.c: Likewise.
6890 * math/w_j0.c: Likewise.
6891 * math/w_j0f.c: Likewise.
6892 * math/w_j0l.c: Likewise.
6893 * math/w_j1.c: Likewise.
6894 * math/w_j1f.c: Likewise.
6895 * math/w_j1l.c: Likewise.
6896 * math/w_jn.c: Likewise.
6897 * math/w_jnf.c: Likewise.
6898 * math/w_log.c: Likewise.
6899 * math/w_log10.c: Likewise.
6900 * math/w_log10f.c: Likewise.
6901 * math/w_log10l.c: Likewise.
6902 * math/w_log2.c: Likewise.
6903 * math/w_log2f.c: Likewise.
6904 * math/w_log2l.c: Likewise.
6905 * math/w_logf.c: Likewise.
6906 * math/w_logl.c: Likewise.
6907 * math/w_sqrt.c: Likewise.
6908 * math/w_sqrtf.c: Likewise.
6909 * math/w_sqrtl.c: Likewise.
6910 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6913 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6914 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6916 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6919 * manual/string.texi (strnlen): Use correct parameter name in
6920 equivalent expression.
6922 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6925 * manual/users.texi (seteuid): Consistently use neweuid for
6928 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6931 * manual/nss.texi (Services in the NSS configuration): Correct
6932 list of services in example configuration file.
6934 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6937 * manual/arith.texi: Remove statements about negative zero
6938 behaving identically to zero.
6940 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6943 * manual/install.texi: Do not document upgrading from libc5.
6945 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6948 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6950 2012-02-18 David S. Miller <davem@davemloft.net>
6952 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6953 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6954 %o7 across the call.
6955 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6960 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6961 * sysdeps/sparc/crtn.S: Likewise.
6963 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6965 * aout/Makefile: Remove.
6967 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6970 * manual/examples/argp-ex1.c (main): Format definition in GNU
6972 * manual/examples/argp-ex2.c (main): Likewise.
6973 * manual/examples/argp-ex3.c (main): Likewise.
6974 * manual/examples/argp-ex4.c (main): Likewise.
6975 * manual/examples/longopt.c (main): Use new-style prototype
6977 * manual/examples/strncat.c (main): Specify return type and use
6978 (void) for arguments.
6979 * manual/examples/subopt.c (main): Use char **argv argument.
6981 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6984 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6987 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6990 * manual/string.texi (strchr): Change when strchrnul is
6993 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6996 * manual/locale.texi (setlocale): Document LOCPATH.
6998 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7001 * manual/process.texi (execle): Move @dots{} before last argument.
7003 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7006 * manual/charset.texi (Generic Charset Conversion): Fix typo
7007 (LC_TYPE -> LC_CTYPE).
7009 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7012 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7013 (scalbnf): Likewise.
7014 (scalbnl): Likewise.
7015 (scalbln): Likewise.
7016 (scalblnf): Likewise.
7017 (scalblnl): Likewise.
7018 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7022 * manual/filesys.texi (telldir): Use braces around return type.
7023 * manual/llio.texi (mmap): Add space after comma.
7025 * manual/math.texi (jn): Use @var{} on parameter names.
7031 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7033 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7035 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7036 (sched_get_priority_max): Likewise.
7037 * manual/signal.texi (sigvec): Add space after comma.
7038 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7040 (if_indextoname): Likewise.
7041 (if_freenameindex): Likewise.
7042 (sendto): Use ',' instead of '.' in prototype.
7043 * manual/startup.texi (syscall): Use @dots{} instead of literal
7045 * manual/stdio.texi (__fpending): Separate initial words of
7046 paragraph from @deftypefun line.
7047 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7049 (vsyslog): Use @var{} on parameter names.
7050 * manual/terminal.texi (stty): Use @var{} on parameter names.
7051 * manual/users.texi (getutmp): Use @var{} on parameter names.
7052 (getutmpx): Likewise.
7054 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7057 * manual/stdio.texi (fopen): Fix typos in description of
7060 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7063 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7064 get clock_id definition.
7066 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7069 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7070 (madvise): Cast every argument to void on its own.
7072 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7075 * manual/startup.texi (Exit Status): Fix typo.
7077 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7080 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7081 * manual/examples/argp-ex2.c: Likewise.
7082 * manual/examples/argp-ex3.c: Likewise.
7084 2012-02-16 Richard Henderson <rth@redhat.com>
7086 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7087 * sysdeps/s390/s390-32/initfini.c: Remove.
7088 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7089 * sysdeps/s390/s390-64/initfini.c: Remove.
7091 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7093 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7094 compiler output for sysdeps/generic/initfini.c.
7095 * sysdeps/sh/elf/initfini.c: Remove file.
7097 2012-02-16 David S. Miller <davem@davemloft.net>
7100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7102 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7103 * sysdeps/sparc/crti.S: New file.
7104 * sysdeps/sparc/crtn.S: New file.
7105 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7106 * sysdeps/sparc/sparc64/Makefile: Likewise.
7108 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7111 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7113 2012-02-15 Roland McGrath <roland@hack.frob.com>
7116 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7118 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7119 (write, read, close): Likewise.
7120 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7122 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7124 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7125 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7126 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7127 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7129 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7133 2012-02-14 Marek Polacek <polacek@redhat.com>
7135 * sysdeps/x86_64/crti.S: New file.
7136 * sysdeps/x86_64/crtn.S: New file.
7137 * sysdeps/x86_64/elf/initfini.c: Remove file.
7139 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7141 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7142 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7143 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7144 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7146 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7150 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7152 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7153 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7154 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7155 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7157 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7161 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7163 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7164 __feraiseexcept instead of feraiseexcept.
7166 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7167 nanosleep invocations.
7168 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7169 strings, and add error checking for a nanosleep invocations.
7171 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7173 Replace FSF snail mail address with URLs, as per GNU coding standards.
7174 Most of the snail mail addresses were wrong anyway, and omitting
7175 them makes the source code easier to maintain. Almost all of the
7176 changes are to license notices and to locale LC_IDENTIFICATION
7177 addresses, except for this one:
7178 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7179 not its snail mail address.
7181 2012-02-09 Richard Henderson <rth@twiddle.net>
7183 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7184 of kernel-features.h.
7186 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7188 2012-02-08 Marek Polacek <polacek@redhat.com>
7190 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7191 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7192 * sysdeps/gnu/_G_config.h: Likewise.
7193 * sysdeps/generic/_G_config.h: Likewise.
7195 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7197 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7201 * sysdeps/powerpc/powerpc32/crti.S: New file.
7202 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7203 * sysdeps/powerpc/powerpc64/crti.S: New file.
7204 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7206 * Makeconfig (have-initfini): Don't set.
7207 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7208 * configure.in (nopic_initfini): Don't substitute.
7209 * config.h.in (HAVE_INITFINI): Don't #undef.
7210 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7211 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7213 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7215 Support crti.S and crtn.S provided directly by architectures.
7216 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7217 [crti.S in sysdirs] (omit-deps): Likewise.
7218 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7219 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7220 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7221 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7222 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7223 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7224 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7225 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7226 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7227 compiler output for sysdeps/generic/initfini.c.
7228 * sysdeps/i386/elf/Makefile: Remove file.
7229 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7231 2012-02-07 Marek Polacek <polacek@redhat.com>
7233 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7234 * sysdeps/gnu/_G_config.h: Likewise.
7235 * sysdeps/mach/hurd/_G_config.h: Likewise.
7237 2012-02-07 Marek Polacek <polacek@redhat.com>
7239 * math/Makefile (tests): Add tst-CMPLX2.
7240 * math/tst-CMPLX2.c: New file.
7242 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7244 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7246 * math/libm-test.inc (jn_test): Add missing L suffix.
7248 2012-02-06 Marek Polacek <polacek@redhat.com>
7250 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7251 * sysdeps/i386/fpu/e_powf.S: Likewise.
7252 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7253 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7254 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7255 * sysdeps/i386/fpu/e_pow.S: Likewise.
7256 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7257 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7258 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7259 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7260 * sysdeps/i386/fpu/e_log2.S: Likewise.
7261 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7262 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7263 * sysdeps/i386/fpu/e_powl.S: Likewise.
7264 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7265 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7266 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7267 * sysdeps/i386/fpu/e_logl.S: Likewise.
7268 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7269 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7270 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7271 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7272 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7273 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7274 * sysdeps/i386/fpu/e_log.S: Likewise.
7275 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7276 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7277 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7278 * sysdeps/i386/fpu/e_logf.S: Likewise.
7279 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7280 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7281 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7282 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7283 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7284 * sysdeps/i386/fpu/e_log10.S: Likewise.
7285 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7286 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7287 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7288 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7289 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7290 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7291 * sysdeps/i386/asm-syntax.h: Likewise.
7292 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7293 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7294 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7295 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7296 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7297 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7298 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7299 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7300 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7301 * sysdeps/powerpc/sysdep.h: Likewise.
7302 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7303 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7305 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7308 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7310 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7312 * sysdeps/i386/sysdep.h: Include <features.h>.
7313 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7316 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7318 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7320 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7323 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7325 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7326 (SETUP_PIC_REG): Use GET_PC_THUNK.
7327 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7330 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7332 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7333 for non-PIC compilation.
7334 (SETUP_PIC_REG): Add .p2align directive.
7335 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7336 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7337 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7338 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7339 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7340 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7341 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7342 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7343 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7344 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7345 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7346 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7347 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7348 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7349 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7350 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7351 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7352 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7353 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7354 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7355 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7356 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7357 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7358 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7361 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7362 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7363 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7364 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7365 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7366 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7367 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7368 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7369 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7370 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7371 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7372 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7373 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7374 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7375 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7377 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7379 * math/tst-CMPLX.c: Include <stdio.h>.
7381 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7383 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7385 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7386 * sysdeps/sparc/bits/mathdef.h: Likewise.
7388 2012-01-31 Marek Polacek <polacek@redhat.com>
7390 * libio/libio.h: Don't define _PARAMS.
7391 * locale/programs/config.h: Don't define PARAMS.
7392 * stdlib/strtol_l.c: Likewise.
7393 (__strtol_l): Remove PARAMS from the prototype.
7395 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7397 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7398 names. Just use the correct names. Remove unnecessary wrapper
7400 * malloc/arena.c: Likewise.
7401 * malloc/hooks.c: Likewise.
7403 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7404 ARENA_TEST says not to. Simplify test for creation of a new arena.
7405 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7407 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7409 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7411 (update_get_addr): New function.
7412 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7413 GET_ADDR_MODULE parameter.
7415 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7417 * crypt/cert.c: Remove __STDC__ conditionals.
7418 * crypt/crypt-entry.c: Likewise.
7419 * crypt/crypt_util.c: Likewise.
7420 * libio/filedoalloc.c: Likewise.
7421 * libio/fileops.c: Likewise.
7422 * libio/genops.c: Likewise.
7423 * libio/iofclose.c: Likewise.
7424 * libio/iofdopen.c: Likewise.
7425 * libio/iofopen.c: Likewise.
7426 * libio/iofopen64.c: Likewise.
7427 * libio/iogetdelim.c: Likewise.
7428 * libio/iopopen.c: Likewise.
7429 * libio/obprintf.c: Likewise.
7430 * libio/oldfileops.c: Likewise.
7431 * libio/oldiofclose.c: Likewise.
7432 * libio/oldiofdopen.c: Likewise.
7433 * libio/oldiofopen.c: Likewise.
7434 * libio/oldiopopen.c: Likewise.
7435 * libio/wfiledoalloc.c: Likewise.
7436 * libio/wgenops.c: Likewise.
7437 * locale/programs/xmalloc.c: Likewise.
7438 * misc/syslog.c: Likewise.
7439 * stdio-common/xbug.c: Likewise.
7440 * string/memchr.c: Likewise.
7441 * string/memcmp.c: Likewise.
7442 * string/memrchr.c: Likewise.
7443 * string/rawmemchr.c: Likewise.
7444 * sysdeps/posix/getcwd.c: Likewise.
7445 * time/strftime_l.c: Likewise.
7447 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7449 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7450 * config.make.in (config-cflags-sse2avx): Define.
7451 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7454 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7456 * scripts/config.guess: Update from upstream config git repository.
7457 * scripts/config.sub: Likewise.
7459 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7461 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7463 (R_TILEPRO_*, R_TILEGX_*): New macros.
7465 * scripts/firstversions.awk: Fix bug in version range handling.
7467 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7469 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7471 * include/sys/epoll.h: New file.
7472 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7475 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7477 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7478 Avoid unnecessary __WORDSIZE == 64 test.
7479 (fmaxf): Use VEX format if possible.
7484 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7485 * math/math_private.h: Remove libc_fegetround* and
7487 * sysdeps/i386/configure.in: Check for -msse2avx.
7488 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7489 also if SSE2AVX is defined.
7490 Remove libc_fegetround* and libc_fesetround*.
7491 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7492 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7493 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7495 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7496 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7497 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7498 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7499 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7501 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7503 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7505 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7507 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7509 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7512 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7514 * Makeconfig (libm): Define.
7515 * elf/Makefile: Add rules to build and run tst-relsort1.
7516 * elf/tst-relsort1.c: New file.
7517 * elf/tst-relsort1mod1.c: New file.
7518 * elf/tst-relsort1mod2.c: New file.
7520 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7522 * math/s_ldexp.c: Remove __STDC__ conditionals.
7523 * math/s_ldexpf.c: Likewise.
7524 * math/s_ldexpl.c: Likewise.
7525 * math/s_nextafter.c: Likewise.
7526 * math/s_nexttowardf.c: Likewise.
7527 * math/s_significand.c: Likewise.
7528 * math/s_significandf.c: Likewise.
7529 * math/s_significandl.c: Likewise.
7530 * math/w_jnl.c: Likewise.
7531 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7532 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7533 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7534 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7535 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7550 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7551 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7552 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7553 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7554 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7555 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7556 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7557 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7558 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7559 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7560 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7561 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7562 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7563 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7564 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7565 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7566 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7567 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7568 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7569 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7570 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7571 * sysdeps/ieee754/k_standard.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7633 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7638 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7646 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7647 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7649 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7651 * sysdeps/ieee754/s_matherr.c: Likewise.
7652 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7653 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7654 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7657 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7659 * crypt/md5.h: Remove __STDC__ conditionals.
7660 * libio/libioP.h: Likewise.
7661 * locale/programs/config.h: Likewise.
7662 * sysdeps/generic/sysdep.h: Likewise.
7663 * sysdeps/i386/asm-syntax.h: Likewise.
7664 * sysdeps/s390/asm-syntax.h: Likewise.
7665 * sysdeps/unix/sysdep.h: Likewise.
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7669 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7671 * libio/libio.h: Remove __STDC__ conditionals.
7672 * malloc/obstack.h: Likewise.
7673 * math/complex.h: Likewise.
7674 * math/math.h: Likewise.
7675 * sysdeps/generic/_G_config.h: Likewise.
7676 * sysdeps/gnu/_G_config.h: Likewise.
7677 * sysdeps/mach/hurd/_G_config.h: Likewise.
7678 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7679 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7680 * sysdeps/sparc/bits/mathdef.h: Likewise.
7682 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7685 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7686 Clean up HAS_* macros.
7687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7688 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7693 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7694 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7698 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7700 * elf/tst-unique3.cc (gets): Remove declaration.
7701 * elf/tst-unique3lib.cc (gets): Likewise.
7702 * elf/tst-unique3lib2.cc (gets): Likewise.
7703 * elf/tst-unique4.cc (gets): Likewise.
7705 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7707 * include/stdio.h: Add C++ protection. Add gets declarations and
7709 * debug/tst-chk1.c: Don't declare gets here.
7710 * stdio-common/tst-gets.c: Likewise.
7712 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7714 * posix/glob: Remove directory.
7716 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7718 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7720 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7722 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7723 of the non-standard EPFNOSUPPORT.
7725 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7727 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7728 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7729 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7731 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7733 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7735 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7737 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7739 * nscd/grpcache.c (cache_addgr): Likewise.
7740 * nscd/hstcache.c (cache_addhst): Likewise.
7741 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7742 * nscd/pwdcache.c (cache_addpw): Likewise.
7743 * nscd/servicescache.c (cache_addserv): Likewise.
7745 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7747 * malloc/malloc.c: Various cleanups.
7748 * malloc/hooks.c: Likewise.
7750 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7751 * stdlib/bug-fmtmsg1.c: New file.
7753 * stdlib/fmtmsg.c (init): Add missing unlock.
7754 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7756 2012-01-12 Marek Polacek <polacek@redhat.com>
7758 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7761 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7763 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7764 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7765 macro to ensure uniqueness of label name.
7766 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7767 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7769 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7771 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7773 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7774 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7775 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7778 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7780 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7782 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7783 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7784 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7786 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7788 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7789 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7790 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7793 * math/bits/math-finite.h: Add ldexp support.
7795 2012-01-10 Marek Polacek <polacek@redhat.com>
7797 * locale/programs/localedef.h (show_archive_content): Add noreturn
7800 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7802 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7804 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7806 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7808 * io/Makefile (headers): Add bits/poll2.h.
7810 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7813 typo #include statement.
7815 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7817 * include/sys/cdefs.h: Define __attribute_alloc_size.
7818 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7819 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7820 * elf/pldd.c: Likewise.
7821 * iconv/iconv_charmap.c: Likewise.
7822 * iconv/iconvconfig.c: Likewise.
7823 * iconv/strtab.c: Likewise.
7824 * locale/programs/locale.c: Likewise.
7825 * locale/programs/localedef.h: Likewise.
7826 * locale/programs/simple-hash.c: Likewise.
7827 * nscd/nscd.h: Likewise.
7828 * nss/makedb.c: Likewise.
7829 * sysdeps/generic/ldconfig.h: Likewise.
7830 * locale/programs/localedef.c: Remove xmalloc prototype.
7831 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7833 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7835 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7838 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7840 * math/Makefile (tests): Add tst-CMPLX.
7841 * math/tst-CMPLX.c: New file.
7843 * math/complex.h (CMPLXL): Fix typo.
7845 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7846 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7848 * debug/tst-chk1.c: Add poll and ppoll tests.
7849 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7850 * include/sys/poll.h: Add hidden proto for ppoll.
7851 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7852 * sysdeps/mach/hurd/ppoll.c: Likewise.
7853 * io/ppoll.c: Likewise.
7854 * debug/poll_chk.c: New file.
7855 * debug/ppoll_chk.c: New file.
7856 * include/bits/poll2.h: New file.
7857 * io/bits/poll2.h: New file.
7860 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7862 * configure.in: static is always set to yes. Remove.
7863 * config.make.in: Don't set build-static.
7864 * Makeconfig: Remove use of build-static.
7865 * dlfcn/Makefile: Likewise.
7866 * elf/Makefile: Likewise.
7867 * math/Makefile: Likewise.
7868 * misc/Makefile: Likewise.
7869 * nptl/Makefile: Likewise.
7870 * sysdeps/mach/hurd/Makefile: Likewise.
7872 * configure.in: PWD_P is not used anymore.
7873 * config.make.in: Remove PWD_P entry.
7875 * configure.in: Remove last remnants of RANLIB.
7876 No need to check for signed size_t anymore.
7877 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7879 Remove __builtin_expect test because we require at least gcc 3.4.
7880 * aclocal.m4: Likewise.
7882 * wcsmbs/mbrtoc16.c: Implement using towc function.
7883 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7884 * wcsmbs/wcsmbsload.c: Likewise.
7885 * iconv/gconv_simple.c: Likewise.
7886 * iconv/gconv_int.h: Likewise.
7887 * iconv/gconv_builtin.h: Likewise.
7888 * iconv/iconv_prog.c: Remove CHAR16 handling.
7890 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7892 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7894 * configure.in: Remove --with-elf and --enable-bounded options.
7895 Dont set base_machine for ia64. More non-ELF conditions removed.
7896 Remove testing and setting of leading underscore information.
7897 * config.make.in (build-bounded): Set to no.
7898 * config.h.in: Remove NO_UNDERSCORES entry.
7899 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7901 * csu/start.c: Remove !NO_UNDERSCORE code.
7902 * locale/localeinfo.h: Likewise.
7903 * sysdeps/generic/machine-gmon.h: Likewise.
7904 * sysdeps/generic/sysdep.h: Likewise.
7905 * sysdeps/i386/sysdep.h: Likewise.
7906 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7907 * sysdeps/mach/sysdep.h: Likewise.
7908 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7909 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7910 * sysdeps/sh/sysdep.h: Likewise.
7911 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7912 * sysdeps/unix/i386/sysdep.S: Likewise.
7913 * sysdeps/unix/sparc/start.c: Likewise.
7914 * sysdeps/unix/sparc/sysdep.S: Likewise.
7915 * sysdeps/unix/sparc/sysdep.h: Likewise.
7916 * sysdeps/unix/start.c: Likewise.
7917 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7918 * sysdeps/x86_64/sysdep.h: Likewise.
7920 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7923 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7925 * argp/argp-fmtstream.h: Use const instead __const.
7926 * argp/argp.h: Likewise.
7927 * assert/assert.h: Likewise.
7928 * bits/fenv.h: Likewise.
7929 * bits/sched.h: Likewise.
7930 * bits/sigset.h: Likewise.
7931 * bits/sigthread.h: Likewise.
7932 * catgets/nl_types.h: Likewise.
7933 * conform/data/pthread.h-data: Likewise.
7934 * crypt/crypt-private.h: Likewise.
7935 * crypt/crypt.h: Likewise.
7936 * crypt/crypt_util.c: Likewise.
7937 * ctype/ctype.h: Likewise.
7938 * debug/execinfo.h: Likewise.
7939 * debug/mbsnrtowcs_chk.c: Likewise.
7940 * debug/mbsrtowcs_chk.c: Likewise.
7941 * debug/wcsnrtombs_chk.c: Likewise.
7942 * debug/wcsrtombs_chk.c: Likewise.
7943 * debug/wcstombs_chk.c: Likewise.
7944 * dirent/dirent.h: Likewise.
7945 * dlfcn/dlfcn.h: Likewise.
7946 * elf/neededtest4.c: Likewise.
7947 * grp/grp.h: Likewise.
7948 * gshadow/gshadow.h: Likewise.
7949 * iconv/gconv.h: Likewise.
7950 * iconv/gconv_int.h: Likewise.
7951 * iconv/gconv_simple.c: Likewise.
7952 * iconv/iconv.h: Likewise.
7953 * iconv/loop.c: Likewise.
7954 * iconv/skeleton.c: Likewise.
7955 * include/aio.h: Likewise.
7956 * include/aliases.h: Likewise.
7957 * include/argz.h: Likewise.
7958 * include/arpa/inet.h: Likewise.
7959 * include/assert.h: Likewise.
7960 * include/dirent.h: Likewise.
7961 * include/dlfcn.h: Likewise.
7962 * include/execinfo.h: Likewise.
7963 * include/fcntl.h: Likewise.
7964 * include/fenv.h: Likewise.
7965 * include/glob.h: Likewise.
7966 * include/grp.h: Likewise.
7967 * include/libintl.h: Likewise.
7968 * include/mntent.h: Likewise.
7969 * include/netdb.h: Likewise.
7970 * include/pwd.h: Likewise.
7971 * include/rpc/netdb.h: Likewise.
7972 * include/sched.h: Likewise.
7973 * include/search.h: Likewise.
7974 * include/shadow.h: Likewise.
7975 * include/signal.h: Likewise.
7976 * include/stdio.h: Likewise.
7977 * include/stdlib.h: Likewise.
7978 * include/string.h: Likewise.
7979 * include/sys/socket.h: Likewise.
7980 * include/sys/stat.h: Likewise.
7981 * include/sys/statfs.h: Likewise.
7982 * include/sys/statvfs.h: Likewise.
7983 * include/sys/syslog.h: Likewise.
7984 * include/sys/time.h: Likewise.
7985 * include/sys/uio.h: Likewise.
7986 * include/time.h: Likewise.
7987 * include/unistd.h: Likewise.
7988 * include/utmp.h: Likewise.
7989 * include/wchar.h: Likewise.
7990 * include/wctype.h: Likewise.
7991 * inet/aliases.h: Likewise.
7992 * inet/arpa/inet.h: Likewise.
7993 * inet/netinet/ether.h: Likewise.
7994 * inet/netinet/in.h: Likewise.
7995 * intl/libintl.h: Likewise.
7996 * io/bits/fcntl2.h: Likewise.
7997 * io/fcntl.h: Likewise.
7998 * io/ftw.h: Likewise.
7999 * io/sys/poll.h: Likewise.
8000 * io/sys/stat.h: Likewise.
8001 * io/sys/statfs.h: Likewise.
8002 * io/sys/statvfs.h: Likewise.
8003 * io/utime.h: Likewise.
8004 * libio/bits/stdio.h: Likewise.
8005 * libio/bits/stdio2.h: Likewise.
8006 * libio/libio.h: Likewise.
8007 * libio/libioP.h: Likewise.
8008 * libio/stdio.h: Likewise.
8009 * locale/lc-ctype.c: Likewise.
8010 * locale/locale.h: Likewise.
8011 * login/utmp.h: Likewise.
8012 * malloc/arena.c: Likewise.
8013 * malloc/malloc.c: Likewise.
8014 * malloc/malloc.h: Likewise.
8015 * malloc/mcheck.c: Likewise.
8016 * malloc/mtrace.c: Likewise.
8017 * math/bits/mathcalls.h: Likewise.
8018 * math/fenv.h: Likewise.
8019 * math/math_private.h: Likewise.
8020 * misc/bits/error.h: Likewise.
8021 * misc/bits/syslog.h: Likewise.
8022 * misc/err.h: Likewise.
8023 * misc/error.h: Likewise.
8024 * misc/fstab.h: Likewise.
8025 * misc/mntent.h: Likewise.
8026 * misc/regexp.h: Likewise.
8027 * misc/search.h: Likewise.
8028 * misc/sgtty.h: Likewise.
8029 * misc/sys/mman.h: Likewise.
8030 * misc/sys/syslog.h: Likewise.
8031 * misc/sys/uio.h: Likewise.
8032 * misc/sys/xattr.h: Likewise.
8033 * misc/ttyent.h: Likewise.
8034 * nis/rpcsvc/ypclnt.h: Likewise.
8035 * nss/nss.h: Likewise.
8036 * posix/bits/unistd.h: Likewise.
8037 * posix/fnmatch.h: Likewise.
8038 * posix/glob.h: Likewise.
8039 * posix/sched.h: Likewise.
8040 * posix/spawn.h: Likewise.
8041 * posix/sys/wait.h: Likewise.
8042 * posix/unistd.h: Likewise.
8043 * posix/wordexp.h: Likewise.
8044 * pwd/pwd.h: Likewise.
8045 * resolv/netdb.h: Likewise.
8046 * resource/sys/resource.h: Likewise.
8047 * rt/aio.h: Likewise.
8048 * rt/bits/mqueue2.h: Likewise.
8049 * rt/mqueue.h: Likewise.
8050 * shadow/shadow.h: Likewise.
8051 * signal/signal.h: Likewise.
8052 * socket/send.c: Likewise.
8053 * socket/sendto.c: Likewise.
8054 * socket/sys/socket.h: Likewise.
8055 * stdio-common/printf.h: Likewise.
8056 * stdlib/bits/stdlib.h: Likewise.
8057 * stdlib/fmtmsg.h: Likewise.
8058 * stdlib/monetary.h: Likewise.
8059 * stdlib/stdlib.h: Likewise.
8060 * stdlib/ucontext.h: Likewise.
8061 * streams/stropts.h: Likewise.
8062 * string/argz.h: Likewise.
8063 * string/bits/string2.h: Likewise.
8064 * string/string.h: Likewise.
8065 * string/strings.h: Likewise.
8066 * sunrpc/rpc/auth.h: Likewise.
8067 * sunrpc/rpc/auth_des.h: Likewise.
8068 * sunrpc/rpc/clnt.h: Likewise.
8069 * sunrpc/rpc/netdb.h: Likewise.
8070 * sunrpc/rpc/pmap_clnt.h: Likewise.
8071 * sunrpc/rpc/xdr.h: Likewise.
8072 * sysdeps/generic/inttypes.h: Likewise.
8073 * sysdeps/generic/net/if.h: Likewise.
8074 * sysdeps/generic/sys/swap.h: Likewise.
8075 * sysdeps/gnu/net/if.h: Likewise.
8076 * sysdeps/gnu/utmpx.h: Likewise.
8077 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8078 * sysdeps/i386/i486/bits/string.h: Likewise.
8079 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8080 * sysdeps/s390/bits/string.h: Likewise.
8081 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8082 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8083 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8084 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8085 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8086 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8087 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8088 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8089 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8090 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8091 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8092 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8093 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8094 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8095 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8096 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8097 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8099 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8100 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8101 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8102 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8103 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8104 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8105 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8106 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8107 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8108 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8109 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8110 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8111 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8112 * sysvipc/sys/ipc.h: Likewise.
8113 * sysvipc/sys/msg.h: Likewise.
8114 * sysvipc/sys/sem.h: Likewise.
8115 * sysvipc/sys/shm.h: Likewise.
8116 * termios/termios.h: Likewise.
8117 * time/sys/time.h: Likewise.
8118 * time/time.h: Likewise.
8119 * wcsmbs/bits/wchar2.h: Likewise.
8120 * wcsmbs/uchar.h: Likewise.
8121 * wcsmbs/wchar.h: Likewise.
8122 * wctype/wctype.h: Likewise.
8125 * Makeconfig: Remove all but ELF support including AIX support.
8126 * Makerules: Likewise.
8127 * config.h.in: Likewise.
8128 * config.make.in: Likewise.
8129 * configure: Likewise.
8130 * configure.in: Likewise.
8131 * csu/Makefile: Likewise.
8132 * csu/version.c: Likewise.
8133 * debug/Makefile: Likewise.
8134 * dlfcn/Makefile: Likewise.
8135 * elf/Makefile: Likewise.
8136 * extra-lib.mk: Likewise.
8137 * iconv/Makefile: Likewise.
8138 * include/libc-symbols.h: Likewise.
8139 * include/shlib-compat.h: Likewise.
8140 * resolv/Makefile: Likewise.
8141 * resolv/res_libc.c: Likewise.
8142 * rt/Makefile: Likewise.
8143 * sysdeps/i386/asm-syntax.h: Likewise.
8144 * sysdeps/i386/sysdep.h: Likewise.
8145 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8146 * sysdeps/mach/sysdep.h: Likewise.
8147 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8148 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8149 * sysdeps/s390/asm-syntax.h: Likewise.
8150 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8151 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8152 * sysdeps/sh/sysdep.h: Likewise.
8153 * sysdeps/unix/sparc/sysdep.h: Likewise.
8154 * sysdeps/wordsize-32/divdi3.c: Likewise.
8155 * sysdeps/x86_64/sysdep.h: Likewise.
8157 * argp/Versions: Remove _argp_unlock_xxx.
8160 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8161 * abilist/libBrokenLocale.abilist: Likewise.
8162 * abilist/libanl.abilist: Likewise.
8163 * abilist/libc.abilist: Likewise.
8164 * abilist/libcrypt.abilist: Likewise.
8165 * abilist/libdl.abilist: Likewise.
8166 * abilist/libm.abilist: Likewise.
8167 * abilist/libnsl.abilist: Likewise.
8168 * abilist/libpthread.abilist: Likewise.
8169 * abilist/libresolv.abilist: Likewise.
8170 * abilist/librt.abilist: Likewise.
8171 * abilist/libthread_db.abilist: Likewise.
8172 * abilist/libutil.abilist: Likewise.
8173 * abilist/libnss_db.abilist: New file.
8175 * scripts/abilist.awk: Add support for indirect functions.
8177 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8179 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8181 * shlib-versions: Remove entries for ports architectures.
8183 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8185 * elf/stackguard-macros.h: Remove support for IA-64.
8186 * elf/tst-auditmod1.c: Likewise.
8187 * sysdeps/generic/ldsodefs.h: Likewise.
8189 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8190 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8194 * configure.in: Remove --enable-omitfp support.
8196 * config.make.in: Likewise.
8197 * Makeconfig: Likewise.
8198 * manual/install.texi: Likewise.
8200 In case anyone cares, the IA-64 architecture could move to ports.
8201 * sysdeps/ia64/*: Removed.
8202 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8203 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8206 * configure.in: Remove entries for unsupported architectures.
8209 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8210 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8212 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8213 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8214 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8215 fall back to using wcrtomb.
8216 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8217 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8219 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8220 * wcsmbs/tst-c16c32-1.c: New file.
8222 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8225 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8227 * elf/tst-unique3.cc: Add explicit declaration of gets.
8228 * elf/tst-unique3lib.cc: Likewise.
8229 * elf/tst-unique3lib2.cc: Likewise.
8230 * elf/tst-unique4.cc: Likewise.
8232 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8234 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8237 * assert/assert.h (static_assert): Don't define for C++.
8238 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8239 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8241 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8243 * iconv/loop.c (single loop): Fix assertion in storing of
8246 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8248 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8250 * posix/getconf.c: Update copyright year.
8251 * nss/getent.c: Likewise.
8252 * nss/makedb.c: Likewise.
8253 * iconv/iconvconfig.c: Likewise.
8254 * iconv/iconv_prog.c: Likewise.
8255 * elf/ldconfig.c: Likewise.
8256 * elf/pldd.c: Likewise.
8257 * elf/sotruss.ksh: Likewise.
8258 * catgets/gencat.c: Likewise.
8259 * csu/version.c: Likewise.
8260 * elf/ldd.bash.in: Likewise.
8261 * elf/sprof.c (print_version): Likewise.
8262 * locale/programs/locale.c: Likewise.
8263 * locale/programs/localedef.c: Likewise.
8264 * login/programs/pt_chown.c: Likewise.
8265 * nscd/nscd.c (print_version): Likewise.
8266 * debug/xtrace.sh: Likewise.
8267 * malloc/memusage.sh: Likewise.
8268 * malloc/mtrace.pl: Likewise.
8269 * debug/catchsegv.sh: Likewise.
8271 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8273 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8276 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8279 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8280 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8282 * iconv/gconv_int.h: Likewise.
8283 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8284 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8285 from libc for GLIBC_2.16.
8286 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8287 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8288 * wcsmbs/uchar.h: Really define mbstate_t.
8289 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8290 * wcsmbs/c16rtomb.c: New file.
8291 * wcsmbs/mbrtoc16.c: New file.
8292 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8294 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8295 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8297 * wcsmbs/wchar.h: Add missing __restrict.
8299 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8302 * time/Makefile (routines): Add timespec_get.
8303 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8304 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8305 timespec for ISO C11.
8306 * time/timespec_get.c: New file.
8307 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8308 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8311 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8312 * stdlib/stdlib.h: Declare aligned_alloc.
8313 * Versions.def: Add GLIBC_2.16 for libc.
8314 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8317 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8320 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8324 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8327 * assert/assert.h (static_assert): Define.
8329 * version.h: Update for 2.16 development version.
8332 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8335 * version.h (RELEASE): Bump for 2.15 release.
8336 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8338 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8339 Patch by Marek Polacek <mpolacek@redhat.com>.
8341 * bits/byteswap.h: Protect long long constants with __extension__.
8342 * sysdeps/i386/bits/byteswap.h: Likewise.
8343 * sysdeps/ia64/bits/byteswap.h: Likewise.
8344 * sysdeps/s390/bits/byteswap.h: Likewise.
8345 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8347 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8350 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8352 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8354 2011-12-23 Marek Polacek <polacek@redhat.com>
8356 * elf/dl-addr.c (determine_info): Add inline keyword.
8357 * elf/tst-auditmod4b.c (check_avx): Likewise.
8358 * elf/tst-auditmod6b.c (check_avx): Likewise.
8359 * elf/tst-auditmod6c.c (check_avx): Likewise.
8360 * elf/tst-auditmod7b.c (check_avx): Likewise.
8362 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8364 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8367 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8370 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8371 processing for last bytes.
8373 2011-08-06 Bruno Haible <bruno@clisp.org>
8376 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8377 U+0385, not to U+1FEE.
8380 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8381 entry for U+00A5 U+0301.
8383 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8386 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8387 buffer for the output is too small.
8389 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8393 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8394 SSE flags if possible.
8396 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8399 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8400 processing for last bytes.
8402 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8404 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8405 (syscall-list-default-options, syscall-list-default-condition)
8406 (syscall-list-includes): Define.
8407 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8408 list of ABIs and options and #if conditions for each ABI. Do not
8409 handle common syscalls between ABIs specially.
8410 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8412 (syscall-list-variants, syscall-list-32bit-options)
8413 (syscall-list-32bit-condition, syscall-list-64bit-options)
8414 (syscall-list-64bit-condition): Define.
8415 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8416 (syscall-list-variants, syscall-list-32bit-options)
8417 (syscall-list-32bit-condition, syscall-list-64bit-options)
8418 (syscall-list-64bit-condition): Define.
8419 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8421 (syscall-list-variants, syscall-list-32bit-options)
8422 (syscall-list-32bit-condition, syscall-list-64bit-options)
8423 (syscall-list-64bit-condition): Define.
8424 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8426 (syscall-list-variants, syscall-list-32bit-options)
8427 (syscall-list-32bit-condition, syscall-list-64bit-options)
8428 (syscall-list-64bit-condition): Define.
8430 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8432 * locale/iso-639.def: Add brx entry.
8435 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8436 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8438 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8439 __feraiseexcept_renamed.
8441 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8444 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8445 EPOLLET with unsigned values.
8446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8447 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8449 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8450 to large cancellation.
8451 * math/s_cacoshf.c: Likewise.
8452 * math/s_cacoshl.c: Likewise.
8454 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8458 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8459 * math/s_cacoshf.c: Likewise.
8460 * math/s_cacoshl.c: Likewise.
8462 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8465 * iconv/gconv.h: Define __GCONV_SWAP.
8466 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8467 * iconvdata/utf-16.c: Likewise.
8468 * iconvdata/utf-32.c: Likewise.
8470 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8473 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8474 numerator after shifting it by one limb.
8476 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8478 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8479 under [__USE_EXTERN_INLINES].
8481 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8484 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8486 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8488 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8489 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8491 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8492 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8493 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8494 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8495 for strncasecmp/strncasecmp_l compilation.
8496 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8497 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8499 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8502 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8505 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8508 * time/tzfile.c (__tzfile_read): Check values from file header.
8510 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8512 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8513 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8514 * powerpc/powerpc32/dl-start.S: Likewise.
8515 * powerpc/powerpc32/elf/start.S: Likewise.
8516 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8517 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8518 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8519 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8520 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8521 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8522 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8523 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8524 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8525 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8526 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8527 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8528 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8529 * powerpc/powerpc32/memset.S: Likewise.
8530 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8531 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8532 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8533 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8534 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8535 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8536 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8537 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8538 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8539 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8540 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8541 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8542 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8544 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8546 * math/libm-test.inc: Added more nearbyint tests.
8547 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8548 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8549 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8550 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8552 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8554 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8557 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8559 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8560 Add wcscpy-ssse3 wcscpy-c.
8561 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8562 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8563 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8564 * sysdeps/x86_64/wcschr.S: New file.
8565 * sysdeps/x86_64/wcsrchr.S: New file.
8566 * string/test-strcmp.c: Remove checking of wcscmp function for
8568 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8569 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8570 wcsrchr-sse2 wcsrchr-c.
8571 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8572 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8573 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8574 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8575 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8576 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8577 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8578 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8579 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8580 * wcsmbc/wcschr.c (WCSCHR): New macro.
8582 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8584 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8585 * wcsmbs/test-wcsrchr.c: New file.
8586 * string/test-strrchr.c: Add wcsrchr support.
8588 * wcsmbs/test-wcscpy.c: New file.
8589 * string/test-strcpy.c: Add wcscpy support.
8592 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8594 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8597 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8600 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8602 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8604 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8605 Minor optimizations.
8607 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8608 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8609 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8611 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8613 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8614 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8615 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8616 for gcc to avoid warnings.
8617 * inet/Makefile (tests): Add tst-checks.
8618 * inet/tst-checks.c: New file.
8620 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8623 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8626 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8627 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8629 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8631 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8633 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8636 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8638 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8640 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8641 conditional on GCC version.
8642 (__arch_compare_and_exchange_val_8_acq)
8643 (__arch_compare_and_exchange_val_16_acq)
8644 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8645 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8646 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8648 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8650 * sysdeps/sh/backtrace.c: New file.
8652 2011-12-02 Andreas Schwab <schwab@redhat.com>
8654 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8657 2011-12-01 Andreas Schwab <schwab@redhat.com>
8659 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8660 falling back to utime.
8662 2011-11-30 Andreas Schwab <schwab@redhat.com>
8664 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8665 expectations for float.
8667 2011-11-29 Andreas Schwab <schwab@redhat.com>
8669 * locale/weight.h (findidx): Add parameter len.
8670 * locale/weightwc.h (findidx): Likewise.
8671 * posix/fnmatch_loop.c (FCT): Adjust caller.
8672 * posix/regcomp.c (build_equiv_class): Likewise.
8673 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8674 * posix/regexec.c (check_node_accept_bytes): Likewise.
8675 * string/strcoll_l.c (STRCOLL): Likewise.
8676 * string/strxfrm_l.c (STRXFRM): Likewise.
8678 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8680 * Makefile.in: Remove CVSOPT handling.
8681 * configure.in: Remove use of AC_REVISION.
8682 * iconvdata/Makefile (distribute): No need to filter out CVS.
8683 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8686 2011-11-16 Andreas Schwab <schwab@redhat.com>
8688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8689 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8690 [USE_AS_STRNCASECMP_L]: Likewise.
8691 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8692 NO_TLS_DIRECT_SEG_REFS.
8693 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8694 Fix argument offsets for non-PIC.
8695 [USE_AS_STRNCASECMP_L]: Likewise.
8696 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8697 NO_TLS_DIRECT_SEG_REFS.
8699 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8701 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8703 * locale/loadlocale.c (_nl_load_locale): Likewise.
8705 2011-11-15 Andreas Schwab <schwab@redhat.com>
8707 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8708 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8709 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8710 (SYSCALL_GETTIME): Set errno on error.
8712 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8713 count references to noai6ai_cached.
8715 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8717 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8719 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8720 FD_CLOEXEC for /proc/self/maps.
8722 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8723 FD_CLOEXEC for /proc/meminfo.
8725 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8728 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8729 FD_CLOEXEC for given file.
8731 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8733 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8734 FD_CLOEXEC for /etc/hosts.
8735 (_gethtent): Likewise.
8737 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8739 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8740 cancellation and set FD_CLOEXEC for /etc/netgroup.
8742 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8743 reading /etc/publickey.
8745 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8746 allow cancellation when reading /etc/group.
8748 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8750 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8752 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8753 when using data file.
8755 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8757 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8758 (write_nis_obj): Use "c" and "e" in fopen.
8760 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8762 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8764 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8766 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8768 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8771 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8773 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8775 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8777 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8778 file parsing and set FD_CLOEXEC.
8780 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8782 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8784 2011-11-14 Andreas Schwab <schwab@redhat.com>
8786 * malloc/arena.c (arena_get2): Don't call reused_arena when
8787 _int_new_arena failed.
8789 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8791 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8792 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8793 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8794 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8795 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8797 to compile strcasecmp and strncasecmp.
8798 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8799 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8803 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8805 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8806 locale-defines.sym to gen-as-const-headers.
8807 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8808 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8810 to compile strcasecmp and strncasecmp.
8811 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8812 strcasecmp_l and strncasecmp_l.
8813 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8814 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8815 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8816 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8817 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8818 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8819 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8820 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8821 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8822 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8823 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8825 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8827 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8828 result of SYSDEP_GETTIME_CPU to retval.
8829 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8830 parameter list to macro. Remove trailing semicolon. Adjust users.
8832 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8835 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8837 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8839 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8840 from unused variable.
8842 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8844 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8847 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8850 * sunrpc/rpc_prot.c (rejected): Fix case value.
8852 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8853 unsigned long long int to avoid warnings in shift.
8855 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8857 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8860 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8861 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8862 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8864 * nis/nis_table.c (nis_list): Use variable of correct type for
8865 result of __follow_path call.
8867 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8869 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8870 of math functions ceil, trunc, floor, round, and sqrt, when
8871 avaliable on the platform.
8872 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8874 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8875 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8876 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8878 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8880 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8881 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8883 2011-11-11 Roland McGrath <roland@hack.frob.com>
8885 * include/unistd.h: Fix __readlink return type.
8886 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8888 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8890 * stdlib/ucontext.h: Undo last change for makecontext.
8892 2011-11-11 Andreas Schwab <schwab@redhat.com>
8894 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8896 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8897 * setjmp/setjmp.h: Mark functions as non-leaf.
8898 * setjmp/bits/setjmp2.h: Likewise.
8899 * stdlib/ucontext.h: Likewise.
8901 2011-11-10 Andreas Schwab <schwab@redhat.com>
8903 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8904 (reused_arena): Don't check arena limit.
8905 (arena_get2): Atomically check arena limit.
8907 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8909 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8910 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8915 2011-11-07 Andreas Schwab <schwab@redhat.com>
8917 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8918 handler when locking.
8920 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8921 Fix size of allocated buffer.
8923 2011-11-04 Andreas Schwab <schwab@redhat.com>
8926 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8927 declarations for long double functions.
8928 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8930 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8932 2011-11-03 Andreas Schwab <schwab@redhat.com>
8934 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8937 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8940 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8942 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8944 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8946 * include/alloca.h (stackinfo_alloca_round): Define.
8947 (extend_alloca): Use it.
8948 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8949 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8952 * scripts/check-local-headers.sh: Ignore libaudit.h.
8954 * nscd/Makefile (extra-objs): Make recursively expanded.
8956 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8958 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8959 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8961 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8962 * posix/tst-rfc3484-2.c: Likewise.
8963 * posix/tst-rfc3484-3.c: Likewise.
8965 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8967 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8969 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8970 process_vm_writev from libc using GLIBC_2.15 version.
8972 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8974 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8976 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8979 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8982 * nss/getent.c (initgroups_keys): Show error message in case no group
8985 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8986 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8987 __bump_nl_timestamp.
8988 * nscd/connections (nscd_init): When host database is served open
8989 netlink socket and request notification about configuration changes.
8990 (main_loop_poll): Track netlink file descriptor and bump timestamp
8991 in case data becomes available.
8992 (main_loop_epoll): Likewise.
8993 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8994 (database_pers_head): Add extra_data fileds.
8995 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8996 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8997 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9000 in6ai data, call __free_in6ai.
9001 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9003 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9004 interface information. Reuse previous data if netlink timestamp
9006 (__bump_nl_timestamp): New function.
9007 (__free_in6ai): New function.
9009 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9011 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9012 close_not_cancel_no_status here.
9013 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9015 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9018 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9021 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9022 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9023 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9025 2011-07-03 Andreas Jaeger <aj@suse.de>
9028 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9029 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9030 * math/libm-test.inc (sin_test): Add test case.
9032 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9035 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9036 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9038 * elf/chroot_canon.c (chroot_canon): Cleanups.
9040 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9043 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9044 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9046 * string/test-strchr.c: Make usable for strchrnul testing.
9047 * string/test-strchrnul.c: New file.
9048 * string/Makefile (strop-tests): Add strchrnul.
9050 * po/it.po: Update from translation team.
9051 * po/es.po: Likewise.
9053 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9055 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9056 the three constants needed as parameters. Drop the others.
9057 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9058 __m128i_strloadu_tolower.
9059 Create and initialize variable zero and use it in all the places
9060 where _mm_setzero_si128 was used.
9062 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9063 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9064 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9065 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9067 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9068 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9069 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9070 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9071 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9072 __mpranred, __mptan.
9073 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9074 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9075 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9076 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9077 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9078 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9079 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9080 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9081 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9083 2011-10-28 Andreas Schwab <schwab@redhat.com>
9085 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9087 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9090 wide char related routines to wcsmbs subdir.
9092 2011-10-27 Andreas Schwab <schwab@redhat.com>
9095 * misc/sys/cdefs.h (__THROWNL): Define.
9096 * posix/unistd.h: Use __THREADNL instead of __THREAD
9097 for memory synchronization functions.
9099 2011-10-26 Roland McGrath <roland@hack.frob.com>
9102 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9104 * manual/stdio.texi (Obstack Streams): Node removed.
9106 2011-10-26 Andreas Schwab <schwab@redhat.com>
9108 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9109 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9110 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9112 * math/math_private.h (math_force_eval): Allow non-addressable
9114 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9116 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9118 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9121 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9122 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9123 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9124 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9125 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9126 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9127 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9128 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9130 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9131 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9132 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9133 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9134 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9135 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9136 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9137 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9138 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9139 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9140 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9141 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9142 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9143 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9144 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9145 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9146 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9147 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9148 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9150 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9151 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9153 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9154 place. Use VEX encoding when compiling for AVX.
9156 2011-10-25 Andreas Schwab <schwab@redhat.com>
9158 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9159 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9161 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9163 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9165 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9166 useless if() expression.
9167 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9176 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9177 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9178 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9179 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9180 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9181 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9182 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9183 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9185 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9187 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9189 2011-10-25 Andreas Schwab <schwab@redhat.com>
9191 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9193 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9195 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9197 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9198 .text section. Avoid duplicate constants.
9199 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9201 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9208 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9209 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9210 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9211 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9212 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9213 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9214 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9215 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9216 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9217 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9219 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9220 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9221 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9222 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9223 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9224 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9225 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9226 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9227 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9228 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9229 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9230 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9231 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9232 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9233 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9234 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9235 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9236 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9237 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9238 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9239 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9240 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9241 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9242 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9243 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9245 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9247 * sysdeps/x86_64/dla.h: Move to ...
9248 * sysdeps/x86_64/fpu/dla.h: ...here.
9249 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9250 situations. Use __builtin_fma only for gcc 4.6 and up.
9252 * config.make.in: Add have-mfma4 entry.
9253 * configure.in: Substitute libc_cv_cc_fma4.
9254 * math/Makefile (dbl-only-routines): Add sincostab.
9255 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9256 Use __sincostab not sincos.
9257 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9264 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9265 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9266 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9267 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9269 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9270 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9272 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9273 define aliases when function name is a macro.
9274 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9275 sysdeps/ieee754/dbl-64/sincos.tbl.
9276 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9277 fma4-enabled routines.
9278 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9279 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9280 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9281 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9282 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9283 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9285 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9287 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9288 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9289 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9290 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9291 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9292 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9293 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9294 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9295 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9296 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9297 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9298 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9299 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9300 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9301 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9303 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9304 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9305 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9306 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9307 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9309 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9320 2011-10-24 Andreas Schwab <schwab@redhat.com>
9322 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9324 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9326 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9328 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9330 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9332 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9333 Remove unused variable magic_bits.
9334 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9336 * string/strnlen.c: Define and use STRNLEN macro.
9337 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9338 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9339 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9340 * wcsmbs/wcslen.c: Define and use WCSLEN.
9341 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9342 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9343 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9344 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9345 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9346 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9347 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9349 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9352 strnlen-sse2-no-bsf.
9353 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9355 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9356 Add strnlen support.
9357 (USE_AS_STRNLEN): New macro.
9358 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9359 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9360 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9361 * sysdeps/x86_64/wcslen.S: New file.
9363 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9365 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9366 XMM-moves are used for copying on small sizes.
9368 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9370 * wcsmbs/Makefile (strop-tests): Add wcschr.
9371 * wcsmbs/test-wcschr.c: New file.
9372 * string/test-strchr.c: Update.
9376 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9378 * wcsmbs/Makefile (strop-tests): Add wcslen.
9379 * wcsmbs/test-wcslen.c: New file.
9380 * string/test-strlen.c: Update.
9384 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9386 * po/it.po: Update from translation team.
9388 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9390 * sysdeps/x86_64/wcscmp.S: Update.
9391 Fix wrong comparison semantics.
9392 wcscmp shall use signed comparison not unsigned.
9393 Don't use substraction to avoid overflow bug.
9394 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9395 * wcsmbc/wcscmp.c: Likewise.
9396 * string/test-strcmp.c: Likewise.
9397 Add new tests to check cases with negative values.
9399 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9401 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9402 * sysdeps/x86_64/dla.h: ...here. New file.
9403 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9413 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9415 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9416 __ynl_finite aliases.
9418 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9422 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9424 [DLA_FMA] (EMULV): Use DLA_FMA.
9425 [DLA_FMA] (MUL12): Use EMULV.
9426 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9427 that are not needed.
9428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9436 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9438 * math/s_nan.c: Undef __nan.
9439 * math/s_nanf.c: Undef __nanf.
9440 * math/s_nanl.c: Undef __nanl.
9441 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9444 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9446 * math/s_catan.c: Add branch predictions.
9447 * math/s_catanf.c: Likewise.
9448 * math/s_catanh.c: Likewise.
9449 * math/s_catanhf.c: Likewise.
9450 * math/s_catanhl.c: Likewise.
9451 * math/s_catanl.c: Likewise.
9452 * math/s_cexp.c: Likewise.
9453 * math/s_cexpf.c: Likewise.
9454 * math/s_cexpl.c: Likewise.
9455 * math/s_clog.c: Likewise.
9456 * math/s_clog10.c: Likewise.
9457 * math/s_clog10f.c: Likewise.
9458 * math/s_clog10l.c: Likewise.
9459 * math/s_clogf.c: Likewise.
9460 * math/s_clogl.c: Likewise.
9461 * math/s_csqrt.c: Likewise.
9462 * math/s_csqrtf.c: Likewise.
9463 * math/s_csqrtl.c: Likewise.
9464 * math/s_ctanf.c: Likewise.
9465 * math/s_ctanh.c: Likewise.
9466 * math/s_ctanhf.c: Likewise.
9467 * math/s_ctanhl.c: Likewise.
9468 * math/s_ctanl.c: Likewise.
9470 * math/math_private.h: Define __nan, __nanf, __nanl.
9471 * math/s_cacosh.c: Include <math_private.h>.
9472 * math/s_cacoshl.c: Likewise.
9473 * math/s_casinh.c: Likewise.
9474 * math/s_casinhf.c: Likewise.
9475 * math/s_casinhl.c: Likewise.
9476 * math/s_ccos.c: Rely entire on ccosh.
9477 * math/s_ccosf.c: Rely entire on ccoshf.
9478 * math/s_ccosl.c: Rely entirely on ccoshl.
9479 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9480 Remove tests for FE_INVALID.
9481 * math/s_ccoshf.c: Likewise.
9482 * math/s_ccoshl.c: Likewise.
9483 * math/s_csin.c: Likewise.
9484 * math/s_csinf.c: Likewise.
9485 * math/s_csinh.c Likewise.
9486 * math/s_csinhf.c: Likewise.
9487 * math/s_csinhl.c: Likewise.
9488 * math/s_csinl.c: Likewise.
9489 * math/s_ctan.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9491 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9492 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9494 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9497 compilation problems.
9499 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9502 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9504 * sysdeps/i386/configure.in: Test for -mfma4 option.
9505 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9506 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9507 COMMON_CPUID_INDEX_80000001.
9508 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9509 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9510 use it if FMA3 is not supported.
9511 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9513 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9514 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9516 2011-10-20 Andreas Schwab <schwab@redhat.com>
9519 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9520 it would create a cycle with a link time dependency.
9522 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9524 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9526 * string/Makefile (strop-tests): Add rawmemchr.
9527 * string/test-rawmemchr.c: New file.
9529 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9531 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9532 when compiling str{,n}casecmp and when AVX is available. Hook up
9533 new optimized code in initializers.
9535 2011-10-19 Andreas Schwab <schwab@redhat.com>
9537 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9538 __feraiseexcept instead of feraiseexcept.
9540 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9542 * math/math_private.h: Define defaults for libc_fetestexcept and
9544 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9545 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9546 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9547 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9548 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9549 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9550 libc_fetestexcept and libc_feupdateenv.
9552 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9553 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9554 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9555 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9556 libc_feholdexcept_setround.
9558 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9559 Add s_nearbyint-c and s_nearbyintf-c.
9560 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9562 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9563 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9564 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9565 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9567 * math/math_private.h: Define defaults for libc_fegetround,
9568 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9569 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9570 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9571 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9572 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9574 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9575 Remove comments and hacks for old compiler versions.
9576 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9577 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9580 2011-10-18 Andreas Schwab <schwab@redhat.com>
9582 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9583 (__feraiseexcept_renamed): Add __NTH.
9584 (feraiseexcept): Add __NTH. Rename local variables to fix
9585 namespace violations.
9587 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9589 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9591 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9593 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9594 recently added interfaces.
9595 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9597 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9598 about macro parameter expansion.
9600 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9601 __NO_MATH_INLINES is defined. Cleanups.
9603 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9604 and __floorf is target has SSE4.1.
9605 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9606 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9607 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9608 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9610 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9614 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9616 2011-10-17 Andreas Schwab <schwab@redhat.com>
9618 * misc/sys/cdefs.h: Fix last change.
9620 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9623 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9625 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9627 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9628 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9629 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9632 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9633 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9635 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9636 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9637 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9638 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9639 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9640 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9641 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9642 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9643 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9644 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9645 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9646 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9647 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9648 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9650 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9651 ceil, ceilf, floor, floorf.
9653 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9654 Perform IRELATIVE relocations last.
9656 * elf/do-rel.h: Add another parameter nrelative, replacing the
9657 local variable with the same name. Change name of the function
9658 to end in Rel or Rela (uppercase).
9659 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9660 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9661 elf_dynamic_do_##reloc function.
9663 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9665 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9666 is sufficient, at least on modern CPUs.
9668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9670 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9671 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9673 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9675 * math/bits/math-finite.h: Add entries for exp.
9676 * math/e_expl.c: Add __*_finite alias.
9677 * sysdeps/i386/fpu/e_exp.S: Likewise.
9678 * sysdeps/i386/fpu/e_expf.S: Likewise.
9679 * sysdeps/i386/fpu/e_expl.c: Likewise.
9680 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9681 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9684 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9685 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9686 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9688 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9689 is sufficient, at least on modern CPUs.
9691 * ctype/ctype-info.c (__ctype_init): Define.
9692 * include/ctype.h (__ctype_init): Declare.
9693 (__ctype_b_loc): The variable is always initialized.
9694 (__ctype_toupper_loc): Likewise.
9695 (__ctype_tolower_loc): Likewise.
9696 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9697 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9699 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9701 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9703 * configure.in: Also look in $cxxmachine/include for C++ system
9706 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9708 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9709 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9710 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9711 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9712 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9713 (USE_AS_WMEMCMP): New macro.
9715 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9716 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9717 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9718 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9720 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9721 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9722 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9723 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9724 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9725 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9726 (USE_AS_WMEMCMP): New macro.
9727 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9728 * sysdeps/string/test-memcmp.c: Update.
9731 * wcsmbs/wmemcmp.c: Update.
9732 (WMEMCMP): New macro.
9735 2011-10-12 Andreas Jaeger <aj@suse.de>
9738 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9740 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9742 * libio/iofwide.c (do_length): Avoid warning.
9744 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9746 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9748 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9750 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9751 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9752 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9753 * sysdeps/i386/i686/fpu/e_log.S: New file.
9754 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9755 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9757 * ctype/ctype.h: Add support for inlined isXXX functions when
9760 2011-10-14 Andreas Schwab <schwab@redhat.com>
9762 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9764 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9766 2011-10-13 Roland McGrath <roland@hack.frob.com>
9769 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9771 2011-10-13 Andreas Schwab <schwab@redhat.com>
9773 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9774 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9777 * sysdeps/x86_64/memrchr.S: Check for zero size.
9779 * string/stratcliff.c: Add memrchr tests.
9781 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9784 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9785 rawmemchr-sse2 rawmemchr-sse2-bsf.
9786 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9787 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9788 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9789 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9790 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9791 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9792 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9793 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9794 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9795 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9796 * string/memrchr.c (MEMRCHR): New macro.
9798 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9800 Add integration with gcc's -ffinite-math-only and optimize wrapper
9802 * Versions.def: Define GLIBC_2.15 version for libm.
9803 * math/Makefile (headers): Add bits/math-finite.h.
9804 * math/bits/math-finite.h: New file.
9805 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9806 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9807 * math/e_acoshl.c: Add __*_finite alias.
9808 * math/e_acosl.c: Likewise.
9809 * math/e_asinl.c: Likewise.
9810 * math/e_atan2l.c: Likewise.
9811 * math/e_atanhl.c: Likewise.
9812 * math/e_coshl.c: Likewise.
9813 * math/e_exp10.c: Likewise.
9814 * math/e_exp10f.c: Likewise.
9815 * math/e_exp10l.c: Likewise.
9816 * math/e_exp2l.c: Likewise.
9817 * math/e_fmodl.c: Likewise.
9818 * math/e_gammal_r.c: Likewise.
9819 * math/e_hypotl.c: Likewise.
9820 * math/e_j0l.c: Likewise.
9821 * math/e_j1l.c: Likewise.
9822 * math/e_jnl.c: Likewise.
9823 * math/e_lgammal_r.c: Likewise.
9824 * math/e_log10l.c: Likewise.
9825 * math/e_log2l.c: Likewise.
9826 * math/e_logl.c: Likewise.
9827 * math/e_powl.c: Likewise.
9828 * math/e_sinhl.c: Likewise.
9829 * math/e_sqrtl.c: Likewise.
9830 * math/e_scalb.c: Completely rewritten and optimized.
9831 * math/e_scalbf.c: Likewise.
9832 * math/e_scalbl.c: Likewise.
9833 * math/w_acos.c: Likewise.
9834 * math/w_acosf.c: Likewise.
9835 * math/w_acosl.c: Likewise.
9836 * math/w_acosh.c: Likewise.
9837 * math/w_acoshf.c: Likewise.
9838 * math/w_acoshl.c: Likewise.
9839 * math/w_asin.c: Likewise.
9840 * math/w_asinf.c: Likewise.
9841 * math/w_asinl.c: Likewise.
9842 * math/w_atan2.c: Likewise.
9843 * math/w_atan2f.c: Likewise.
9844 * math/w_atan2l.c: Likewise.
9845 * math/w_atanh.c: Likewise.
9846 * math/w_atanhf.c: Likewise.
9847 * math/w_atanhl.c: Likewise.
9848 * math/w_exp10.c: Likewise.
9849 * math/w_exp10f.c: Likewise.
9850 * math/w_exp10l.c: Likewise.
9851 * math/w_fmod.c: Likewise.
9852 * math/w_fmodf.c: Likewise.
9853 * math/w_fmodl.c: Likewise.
9854 * math/w_j0.c: Likewise.
9855 * math/w_j0f.c: Likewise.
9856 * math/w_j0l.c: Likewise.
9857 * math/w_j1.c: Likewise.
9858 * math/w_j1f.c: Likewise.
9859 * math/w_j1l.c: Likewise.
9860 * math/w_jn.c: Likewise.
9861 * math/w_jnf.c: Likewise.
9862 * math/w_log.c: Likewise.
9863 * math/w_logf.c: Likewise.
9864 * math/w_logl.c: Likewise.
9865 * math/w_log10.c: Likewise.
9866 * math/w_log10f.c: Likewise.
9867 * math/w_log10l.c: Likewise.
9868 * math/w_log2.c: Likewise.
9869 * math/w_log2f.c: Likewise.
9870 * math/w_log2l.c: Likewise.
9871 * math/w_pow.c: Likewise.
9872 * math/w_powf.c: Likewise.
9873 * math/w_powl.c: Likewise.
9874 * math/w_remainder.c: Likewise.
9875 * math/w_remainderf.c: Likewise.
9876 * math/w_remainderl.c: Likewise.
9877 * math/w_scalb.c: Likewise.
9878 * math/w_scalbf.c: Likewise.
9879 * math/w_scalbl.c: Likewise.
9880 * math/w_sqrt.c: Likewise.
9881 * math/w_sqrtf.c: Likewise.
9882 * math/w_sqrtl.c: Likewise.
9883 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9884 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9886 * math/math_private.h: Declare __kernel_standard_f.
9887 * math/w_cosh.c: Remove cruft and optimize a bit.
9888 * math/w_coshf.c: Likewise.
9889 * math/w_coshl.c: Likewise.
9890 * math/w_exp2.c: Likewise.
9891 * math/w_exp2f.c: Likewise.
9892 * math/w_exp2l.c: Likewise.
9893 * math/w_hypot.c: Likewise.
9894 * math/w_hypotf.c: Likewise.
9895 * math/w_hypotl.c: Likewise.
9896 * math/w_lgamma.c: Likewise.
9897 * math/w_lgamma_r.c: Likewise.
9898 * math/w_lgammaf.c: Likewise.
9899 * math/w_lgammaf_r.c: Likewise.
9900 * math/w_lgammal.c: Likewise.
9901 * math/w_lgammal_r.c: Likewise.
9902 * math/w_sinh.c: Likewise.
9903 * math/w_sinhf.c: Likewise.
9904 * math/w_sinhl.c: Likewise.
9905 * math/w_tgamma.c: Likewise.
9906 * math/w_tgammaf.c: Likewise.
9907 * math/w_tgammal.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9909 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9910 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9911 Minor optimizations. Pretty printing. Remove cruft.
9912 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9913 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9914 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9915 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9916 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9917 * sysdeps/i386/fpu/e_asin.S: Likewise.
9918 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9919 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9920 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9921 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9922 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9923 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9924 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9925 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9926 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9927 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9928 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9929 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9930 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9931 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9932 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9933 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9934 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9935 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9936 * sysdeps/i386/fpu/e_log.S: Likewise.
9937 * sysdeps/i386/fpu/e_log10.S: Likewise.
9938 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9939 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9940 * sysdeps/i386/fpu/e_log2.S: Likewise.
9941 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9942 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9943 * sysdeps/i386/fpu/e_logf.S: Likewise.
9944 * sysdeps/i386/fpu/e_logl.S: Likewise.
9945 * sysdeps/i386/fpu/e_pow.S: Likewise.
9946 * sysdeps/i386/fpu/e_powf.S: Likewise.
9947 * sysdeps/i386/fpu/e_powl.S: Likewise.
9948 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9949 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9950 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9951 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9952 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9953 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9954 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9955 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9956 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9957 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9958 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9960 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9961 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9962 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9963 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9964 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9965 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9966 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9967 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9968 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9970 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9971 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9973 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9974 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9975 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9976 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9978 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9979 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9980 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9981 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9982 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9983 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9984 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9985 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9986 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9987 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9988 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9989 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9990 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9991 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9992 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9993 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9994 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9995 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9996 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9997 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9998 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9999 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10000 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10001 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10002 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10003 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10004 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10005 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10006 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10007 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10008 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10009 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10010 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10011 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10012 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10013 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10014 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10015 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10017 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10018 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10021 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10022 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10023 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10024 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10025 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10027 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10031 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10032 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10033 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10035 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10036 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10037 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10038 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10039 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10040 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10041 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10042 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10043 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10044 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10045 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10046 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10047 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10048 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10049 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10050 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10051 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10052 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10053 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10054 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10055 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10056 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10057 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10058 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10059 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10060 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10061 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10062 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10063 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10064 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10065 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10066 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10067 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10068 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10069 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10070 (__isnanf): Likewise.
10071 (__isinf_ns): Likewise.
10072 (__isinf_nsf): Likewise.
10073 (__finite): Likewise.
10074 (__finitef): Likewise.
10075 (__ieee754_sqrt): Define as macro.
10076 (__ieee754_sqrtf): Define as macro.
10077 (__ieee754_sqrtl): Define as macro.
10078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10080 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10081 __FINITE_MATH_ONLY__ consistent.
10082 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10084 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10086 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10089 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10091 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10093 * po/ja.po: Update from translation team.
10095 2011-10-08 Roland McGrath <roland@hack.frob.com>
10097 * locale/programs/locarchive.c (prepare_address_space): New function.
10098 (create_archive, enlarge_archive, open_archive): Use it.
10100 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10101 inside [SHARED], where it is used.
10103 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10105 * nss/getent.c (netgroup_keys): Remove unused variable.
10106 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10108 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10110 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10111 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10113 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10114 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10115 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10116 * math/Makefile (libm-calls): Add s_isinf_ns.
10117 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10118 * math/multc3.c: Likewise.
10119 * math/s_casin.c: Likewise.
10120 * math/s_casinf.c: Likewise.
10121 * math/s_casinl.c: Likewise.
10122 * math/s_ccos.c: Likewise.
10123 * math/s_ccosf.c: Likewise.
10124 * math/s_ccosl.c: Likewise.
10125 * math/s_ctan.c: Likewise.
10126 * math/s_ctanf.c: Likewise.
10127 * math/s_ctanh.c: Likewise.
10128 * math/s_ctanhf.c: Likewise.
10129 * math/s_ctanhl.c: Likewise.
10130 * math/s_ctanl.c: Likewise.
10131 * math/w_fmod.c: Likewise.
10132 * math/w_fmodf.c: Likewise.
10133 * math/w_fmodl.c: Likewise.
10134 * math/w_remainder.c: Likewise.
10135 * math/w_remainderf.c: Likewise.
10136 * math/w_remainderl.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10138 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10139 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10141 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10142 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10143 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10144 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10146 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10148 * stdio-common/printf_fphex.c: Likewise.
10149 * stdio-common/printf_size.c: Likewise.
10151 * math/e_exp10.c: Include math_private.h using <...> not "...".
10152 * math/e_exp10f.c: Likewise.
10153 * math/e_exp10l.c: Likewise.
10154 * math/e_exp2l.c: Likewise.
10155 * math/e_j0l.c: Likewise.
10156 * math/e_j1l.c: Likewise.
10157 * math/e_jnl.c: Likewise.
10158 * math/e_lgammal_r.c: Likewise.
10159 * math/e_rem_pio2l.c: Likewise.
10160 * math/e_scalb.c: Likewise.
10161 * math/e_scalbf.c: Likewise.
10162 * math/e_scalbl.c: Likewise.
10163 * math/k_cosl.c: Likewise.
10164 * math/k_sinl.c: Likewise.
10165 * math/k_tanl.c: Likewise.
10166 * math/s_cacoshf.c: Likewise.
10167 * math/s_catan.c: Likewise.
10168 * math/s_catanf.c: Likewise.
10169 * math/s_catanh.c: Likewise.
10170 * math/s_catanhf.c: Likewise.
10171 * math/s_catanhl.c: Likewise.
10172 * math/s_catanl.c: Likewise.
10173 * math/s_ccosh.c: Likewise.
10174 * math/s_ccoshf.c: Likewise.
10175 * math/s_ccoshl.c: Likewise.
10176 * math/s_cexp.c: Likewise.
10177 * math/s_cexpf.c: Likewise.
10178 * math/s_cexpl.c: Likewise.
10179 * math/s_clog.c: Likewise.
10180 * math/s_clog10.c: Likewise.
10181 * math/s_clog10f.c: Likewise.
10182 * math/s_clog10l.c: Likewise.
10183 * math/s_clogf.c: Likewise.
10184 * math/s_clogl.c: Likewise.
10185 * math/s_csin.c: Likewise.
10186 * math/s_csinf.c: Likewise.
10187 * math/s_csinh.c: Likewise.
10188 * math/s_csinhf.c: Likewise.
10189 * math/s_csinhl.c: Likewise.
10190 * math/s_csinl.c: Likewise.
10191 * math/s_csqrt.c: Likewise.
10192 * math/s_csqrtf.c: Likewise.
10193 * math/s_csqrtl.c: Likewise.
10194 * math/s_ctan.c: Likewise.
10195 * math/s_ctanf.c: Likewise.
10196 * math/s_ctanh.c: Likewise.
10197 * math/s_ctanhf.c: Likewise.
10198 * math/s_ctanhl.c: Likewise.
10199 * math/s_ctanl.c: Likewise.
10200 * math/s_ldexp.c: Likewise.
10201 * math/s_ldexpf.c: Likewise.
10202 * math/s_ldexpl.c: Likewise.
10203 * math/s_significand.c: Likewise.
10204 * math/s_significandf.c: Likewise.
10205 * math/s_significandl.c: Likewise.
10206 * math/w_acos.c: Likewise.
10207 * math/w_acosf.c: Likewise.
10208 * math/w_acosh.c: Likewise.
10209 * math/w_acoshf.c: Likewise.
10210 * math/w_acoshl.c: Likewise.
10211 * math/w_acosl.c: Likewise.
10212 * math/w_asin.c: Likewise.
10213 * math/w_asinf.c: Likewise.
10214 * math/w_asinl.c: Likewise.
10215 * math/w_atan2.c: Likewise.
10216 * math/w_atan2f.c: Likewise.
10217 * math/w_atan2l.c: Likewise.
10218 * math/w_atanh.c: Likewise.
10219 * math/w_atanhf.c: Likewise.
10220 * math/w_atanhl.c: Likewise.
10221 * math/w_cosh.c: Likewise.
10222 * math/w_coshf.c: Likewise.
10223 * math/w_coshl.c: Likewise.
10224 * math/w_dremf.c: Likewise.
10225 * math/w_exp10.c: Likewise.
10226 * math/w_exp10f.c: Likewise.
10227 * math/w_exp10l.c: Likewise.
10228 * math/w_exp2.c: Likewise.
10229 * math/w_exp2f.c: Likewise.
10230 * math/w_fmod.c: Likewise.
10231 * math/w_fmodf.c: Likewise.
10232 * math/w_fmodl.c: Likewise.
10233 * math/w_hypot.c: Likewise.
10234 * math/w_hypotf.c: Likewise.
10235 * math/w_hypotl.c: Likewise.
10236 * math/w_j0.c: Likewise.
10237 * math/w_j0f.c: Likewise.
10238 * math/w_j0l.c: Likewise.
10239 * math/w_j1.c: Likewise.
10240 * math/w_j1f.c: Likewise.
10241 * math/w_j1l.c: Likewise.
10242 * math/w_jn.c: Likewise.
10243 * math/w_jnf.c: Likewise.
10244 * math/w_jnl.c: Likewise.
10245 * math/w_lgamma.c: Likewise.
10246 * math/w_lgamma_r.c: Likewise.
10247 * math/w_lgammaf.c: Likewise.
10248 * math/w_lgammaf_r.c: Likewise.
10249 * math/w_lgammal.c: Likewise.
10250 * math/w_lgammal_r.c: Likewise.
10251 * math/w_log.c: Likewise.
10252 * math/w_log10.c: Likewise.
10253 * math/w_log10f.c: Likewise.
10254 * math/w_log10l.c: Likewise.
10255 * math/w_log2.c: Likewise.
10256 * math/w_log2f.c: Likewise.
10257 * math/w_log2l.c: Likewise.
10258 * math/w_logf.c: Likewise.
10259 * math/w_logl.c: Likewise.
10260 * math/w_pow.c: Likewise.
10261 * math/w_powf.c: Likewise.
10262 * math/w_powl.c: Likewise.
10263 * math/w_remainder.c: Likewise.
10264 * math/w_remainderf.c: Likewise.
10265 * math/w_remainderl.c: Likewise.
10266 * math/w_scalb.c: Likewise.
10267 * math/w_scalbf.c: Likewise.
10268 * math/w_scalbl.c: Likewise.
10269 * math/w_sinh.c: Likewise.
10270 * math/w_sinhf.c: Likewise.
10271 * math/w_sinhl.c: Likewise.
10272 * math/w_sqrt.c: Likewise.
10273 * math/w_sqrtf.c: Likewise.
10274 * math/w_sqrtl.c: Likewise.
10275 * math/w_tgamma.c: Likewise.
10276 * math/w_tgammaf.c: Likewise.
10277 * math/w_tgammal.c: Likewise.
10279 * po/ja.po: Update from translation team.
10281 2011-09-29 Andreas Jaeger <aj@suse.de>
10284 * sunrpc/netname.c (netname2host): Fix logic.
10288 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10290 * math/w_remainder.c (__remainder): Likewise.
10291 * math/w_remainderf.c (__remainderf): Likewise.
10292 * math/libm-test.inc (remainder_test): Add test cases.
10294 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10296 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10299 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10301 * string/test-memcmp.c: Avoid unncessary #defines.
10302 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10304 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10306 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10307 Use new sse2 version for core i3 - i7 as it's faster
10308 than sse42 version.
10309 (bit_Prefer_PMINUB_for_stringop): New.
10310 * sysdeps/x86_64/rawmemchr.S: Update.
10311 Replace with faster SSE2 version.
10312 * sysdeps/x86_64/memrchr.S: New file.
10313 * sysdeps/x86_64/memchr.S: Update.
10314 Replace with faster SSE2 version.
10316 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10318 * elf/dl-load.c (lose): Add cast to avoid warning.
10320 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10322 * po/ca.po: Update from translation team.
10324 * inet/getnetgrent_r.c: Hook up nscd.
10325 * nscd/Makefile (routines): Add nscd_netgroup.
10326 (nscd-modules): Add netgroupcache.
10327 (CFLAGS-netgroupcache.c): Define.
10328 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10329 (cache_search): Add const to second parameter.
10330 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10332 (dbs): Add netgrdb entry.
10333 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10334 (verify_persistent_db): Handle netgrdb.
10335 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10336 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10338 (netgroup_response_header): Define.
10339 (innetgroup_response_header): Define.
10340 (datahead): Add netgroup_response_header and innetgroup_response_header
10342 * nscd/nscd.conf: Add entries for netgroup cache.
10343 * nscd/nscd.h (dbtype): Add netgrdb.
10344 (_PATH_NSCD_NETGROUP_DB): Define.
10345 (netgroup_iov_disabled): Declare.
10346 (xmalloc, xcalloc, xrealloc): Move declarations here.
10347 (cache_search): Adjust prototype.
10348 Add netgroup-related prototypes.
10349 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10350 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10351 (__nscd_innetgr): Declare.
10352 * nscd/selinux.c (perms): Use access_vector_t as element type and
10353 add netgroup-related initializers.
10354 * nscd/netgroupcache.c: New file.
10355 * nscd/nscd_netgroup.c: New file.
10356 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10357 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10358 For four parameters use innetgr.
10359 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10360 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10361 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10362 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10364 * nscd/connections.c (register_traced_file): Don't register file
10365 for disabled databases.
10367 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10369 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10371 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10372 from tree and freeing node.
10374 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10376 * nss/nsswitch.c (__nss_database_lookup): Handle
10377 nss_parse_service_list out of memory case.
10379 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10381 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10382 out of memory case.
10384 2011-10-04 Andreas Schwab <schwab@redhat.com>
10386 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10387 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10389 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10390 elf_machine_rela, elf_machine_lazy_rel.
10391 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10392 (ELF_DYNAMIC_DO_REL): Likewise.
10393 (ELF_DYNAMIC_DO_RELA): Likewise.
10394 (ELF_DYNAMIC_RELOCATE): Likewise.
10395 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10396 to ELF_DYNAMIC_DO_REL.
10397 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10398 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10399 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10401 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10402 skip_ifunc, don't call ifunc function if non-zero.
10403 (elf_machine_rela): Likewise.
10404 (elf_machine_lazy_rel): Likewise.
10405 (elf_machine_lazy_rela): Likewise.
10406 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10407 (elf_machine_lazy_rel): Likewise.
10408 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10410 (elf_machine_lazy_rel): Likewise.
10411 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10413 (elf_machine_lazy_rel): Likewise.
10414 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10415 (elf_machine_lazy_rel): Likewise.
10416 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10417 (elf_machine_lazy_rel): Likewise.
10418 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10419 (elf_machine_lazy_rel): Likewise.
10420 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10421 (elf_machine_lazy_rel): Likewise.
10422 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10423 (elf_machine_lazy_rel): Likewise.
10424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10425 (elf_machine_lazy_rel): Likewise.
10427 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10429 * nss/nss_files/files-init.c (_nss_files_init): Use static
10430 initialization for all the *_traced_file variables.
10432 2011-09-28 Andreas Schwab <schwab@redhat.com>
10434 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10436 2011-09-27 Roland McGrath <roland@hack.frob.com>
10439 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10441 2011-09-27 Andreas Schwab <schwab@redhat.com>
10443 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10444 Reread the line before reparsing it.
10446 2011-09-26 Andreas Schwab <schwab@redhat.com>
10448 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10450 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10451 Maxim Kuvyrkov <maxim@codesourcery.com>
10452 Joseph Myers <joseph@codesourcery.com>
10454 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10455 if needed for __stack_chk_guard.
10457 2011-09-19 Roland McGrath <roland@hack.frob.com>
10459 * sysdeps/posix/spawni.c (script_execute): Always define it.
10460 It will be optimized away if unused.
10461 (maybe_script_execute): New function.
10462 (__spawni): Call it.
10464 * Makerules: Don't include tls.make.
10465 (config-tls): Always set to thread.
10466 * tls.make.c: File removed.
10468 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10470 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10471 * config.make.in (CPPFLAGS-config): New substituted variable.
10473 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10475 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10478 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10479 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10481 2011-09-15 Roland McGrath <roland@hack.frob.com>
10483 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10484 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10485 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10486 (CALL_FAIL): Likewise.
10487 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10488 (CALL_FAIL): Macro removed.
10489 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10491 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10493 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10494 for __FINITE_MATH_ONLY__ == 1.
10496 2011-09-15 Andreas Schwab <schwab@redhat.com>
10498 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10499 __ieee754_sqrt instead of sqrt.
10500 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10501 __ieee754_sqrtf instead of sqrtf.
10502 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10503 __floorf instead of floorf.
10504 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10505 __floorf, __truncf instead of floorf, truncf.
10507 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10509 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10511 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10512 __extern_always_inline.
10513 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10516 2011-09-14 Andreas Schwab <schwab@redhat.com>
10518 * elf/rtld.c (dl_main): Also relocate in dependency order when
10519 doing symbol dependency testing.
10521 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10523 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10524 Always define `refsym'.
10526 2011-09-13 Andreas Schwab <schwab@redhat.com>
10528 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10529 (__FD_ELT): Renamed from __FDELT.
10530 * misc/bits/select2.h (__FD_ELT): Likewise.
10531 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10532 __FD_MASK instead of __FDELT, __FDMASK.
10533 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10535 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10538 * elf/Makefile (gen-ldd): Fix pattern.
10540 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10541 (init_tls): Likewise.
10543 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10545 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10547 2011-09-12 Andreas Schwab <schwab@redhat.com>
10549 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10550 `struct cmsghdr *' instead of `void *'.
10551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10554 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10556 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10558 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10559 ldd_rewrite_script.
10561 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10563 * configure.in: Remove --with-tls option.
10564 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10565 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10566 out in case it is missing.
10567 * sysdeps/ia64/elf/configure.in: Likewise.
10568 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10569 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10570 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10571 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10572 * sysdeps/sh/elf/configure.in: Likewise.
10573 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10574 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10575 * sysdeps/x86_64/elf/configure.in: Likewise.
10576 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10577 * sysdeps/mach/hurd/tls.h: Likewise.
10580 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10583 * configure.in: Fix use of AC_INIT.
10585 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10587 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10589 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10591 * malloc/hooks.c: Likewise.
10594 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10595 variables statically.
10596 (narenas): Initialize.
10597 (list_lock): Initialize.
10598 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10599 initializtion of main_arena and list_lock. Small cleanups.
10600 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10601 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10602 Add initializers to main_arena and mp_.
10603 (malloc_state): Remove pagesize member. Change all users to use
10606 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10607 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10608 is always initialized.
10610 * malloc/malloc.c: Removed unused configurations and dead code.
10611 * malloc/arena.c: Likewise.
10612 * malloc/hooks.c: Likewise.
10613 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10615 * include/tls.h: Removed. USE___THREAD must always be defined.
10616 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10617 * elf/dl-libc.c: Likewise.
10618 * elf/dl-tsd.c: Likewise.
10619 * include/errno.h: Likewise.
10620 * include/netdb.h: Likewise.
10621 * include/resolv.h: Likewise.
10622 * inet/herrno-loc.c: Likewise.
10623 * inet/herrno.c: Likewise.
10624 * malloc/arena.c: Likewise.
10625 * malloc/hooks.c: Likewise.
10626 * malloc/malloc.c: Likewise.
10627 * resolv/res-state.c: Likewise.
10628 * resolv/res_libc.c: Likewise.
10629 * sysdeps/i386/dl-machine.h: Likewise.
10630 * sysdeps/ia64/dl-machine.h: Likewise.
10631 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10632 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10633 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10634 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10635 * sysdeps/sh/dl-machine.h: Likewise.
10636 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10637 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10638 * sysdeps/unix/i386/sysdep.S: Likewise.
10639 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10640 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10641 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10642 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10643 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10645 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10649 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10650 * sysdeps/x86_64/dl-machine.h: Likewise.
10651 * tls.make.c: Likewise.
10653 * configure.in: Remove --with-__thread option. Make tests for
10654 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10655 tls_model attribute fail if no support is available. Remove
10657 * Makeconfig: Adjust for dropped configure option. All features are
10659 * Makerules: Likewise.
10660 * Versions.def: Likewise.
10661 * argp/argp-fmtstream.c: Likewise.
10662 * argp/argp-fmtstream.h: Likewise.
10663 * argp/argp-help.c: Likewise.
10664 * assert/assert.c: Likewise.
10665 * config.h.in: Likewise.
10666 * config.make.in: Likewise.
10667 * configure: Likewise.
10668 * configure.in: Likewise.
10669 * csu/Versions: Likewise.
10670 * csu/init.c: Likewise.
10671 * elf/tst-audit2.c: Likewise.
10672 * elf/tst-tls10.c: Likewise.
10673 * elf/tst-tls10.h: Likewise.
10674 * elf/tst-tls11.c: Likewise.
10675 * elf/tst-tls12.c: Likewise.
10676 * elf/tst-tls14.c: Likewise.
10677 * elf/tst-tlsmod11.c: Likewise.
10678 * elf/tst-tlsmod12.c: Likewise.
10679 * elf/tst-tlsmod13.c: Likewise.
10680 * elf/tst-tlsmod13a.c: Likewise.
10681 * elf/tst-tlsmod14a.c: Likewise.
10682 * elf/tst-tlsmod15b.c: Likewise.
10683 * elf/tst-tlsmod16a.c: Likewise.
10684 * elf/tst-tlsmod16b.c: Likewise.
10685 * elf/tst-tlsmod7.c: Likewise.
10686 * elf/tst-tlsmod8.c: Likewise.
10687 * elf/tst-tlsmod9.c: Likewise.
10688 * gmon/gmon.c: Likewise.
10689 * grp/fgetgrent_r.c: Likewise.
10690 * grp/putgrent.c: Likewise.
10691 * hurd/fopenport.c: Likewise.
10692 * include/libc-symbols.h: Likewise.
10693 * include/tls.h: Likewise.
10694 * intl/gettextP.h: Likewise.
10695 * intl/loadinfo.h: Likewise.
10696 * locale/global-locale.c: Likewise.
10697 * locale/localeinfo.h: Likewise.
10698 * mach/devstream.c: Likewise.
10699 * malloc/arena.c: Likewise.
10700 * malloc/set-freeres.c: Likewise.
10701 * misc/err.c: Likewise.
10702 * misc/getttyent.c: Likewise.
10703 * misc/mntent_r.c: Likewise.
10704 * posix/getopt.c: Likewise.
10705 * posix/wordexp.c: Likewise.
10706 * pwd/fgetpwent_r.c: Likewise.
10707 * resolv/Versions: Likewise.
10708 * resolv/res_hconf.c: Likewise.
10709 * shadow/fgetspent_r.c: Likewise.
10710 * shadow/putspent.c: Likewise.
10711 * stdio-common/printf_fphex.c: Likewise.
10712 * stdio-common/tmpfile.c: Likewise.
10713 * stdlib/abort.c: Likewise.
10714 * stdlib/fmtmsg.c: Likewise.
10715 * sunrpc/auth_unix.c: Likewise.
10716 * sunrpc/clnt_perr.c: Likewise.
10717 * sunrpc/clnt_tcp.c: Likewise.
10718 * sunrpc/clnt_udp.c: Likewise.
10719 * sunrpc/clnt_unix.c: Likewise.
10720 * sunrpc/openchild.c: Likewise.
10721 * sunrpc/svc_simple.c: Likewise.
10722 * sunrpc/svc_tcp.c: Likewise.
10723 * sunrpc/svc_udp.c: Likewise.
10724 * sunrpc/svc_unix.c: Likewise.
10725 * sunrpc/xdr.c: Likewise.
10726 * sunrpc/xdr_array.c: Likewise.
10727 * sunrpc/xdr_rec.c: Likewise.
10728 * sunrpc/xdr_ref.c: Likewise.
10729 * sunrpc/xdr_stdio.c: Likewise.
10731 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10733 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10735 2011-07-03 Andreas Jaeger <aj@suse.de>
10737 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10738 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10739 regenerate with gen-libm-tests.pl.
10741 2010-05-12 Petr Baudis <pasky@suse.cz>
10744 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10745 around j0() zero points by switching to j1().
10746 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10751 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10753 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10755 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10757 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10758 Patch in part by Pavel Roskin <proski@gnu.org>.
10761 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10763 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10764 Free memory block if necessary.
10767 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10768 be NULL. Don't lock in this case.
10770 2011-09-09 Roland McGrath <roland@hack.frob.com>
10772 * elf/elf.h (ELFOSABI_GNU): New macro.
10773 (ELFOSABI_LINUX): Define to that.
10775 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10777 * string/strncat.c (strncat): Undef the symbol in case it has been
10778 defined in bits/string.h.
10780 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10782 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10784 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10787 2011-08-17 Andreas Jaeger <aj@suse.de>
10789 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10791 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10792 Ian Lance Taylor <iant@google.com>
10794 * math/libm-test.inc (lround_test): New testcase.
10795 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10797 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10799 * Makefile: Remove support for automatic cvs check-ins.
10800 * Makerules: Likewise.
10801 * config.make.in: Likewise.
10802 * configure.in: Likewise.
10803 * intl/Makefile: Likewise.
10804 * locale/Makefile: Likewise.
10805 * po/Makefile: Likewise.
10806 * posix/Makefile: Likewise.
10807 * sysdeps/gnu/Makefile: Likewise.
10808 * sysdeps/mach/hurd/Makefile: Likewise.
10809 * sysdeps/sparc/sparc32/Makefile: Likewise.
10812 * posix/Makefile (bug-regex32-ENV): Define.
10813 Patch by John Stanley <jpsinthemix@verizon.net>.
10815 * misc/Makefile (headers): Add bits/select2.h.
10816 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10817 * misc/bits/select2.h: New file.
10818 * include/bits/select2.h: New file.
10819 * debug/Makefile (routines): Add fdelt_chk.
10820 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10821 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10823 * debug/fdelt_chk.c: New file.
10825 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10826 * wcsmbs/test-wmemcmp.c: Likewise.
10827 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10828 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10830 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10832 * string/Makefile (strop-tests): Add memcmp.
10833 * string/test-wmemcmp.c: New file.
10834 * string/test-memcmp.c: Add wmemcmp support.
10836 2011-09-08 Roland McGrath <roland@hack.frob.com>
10839 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10842 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10843 garbage value in a __mach_port_mod_refs call in the cases of the
10844 task-self and thread-self ports.
10846 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10848 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10850 2011-09-08 Andreas Schwab <schwab@redhat.com>
10852 * elf/dl-load.c (lose): Check for non-null L.
10854 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10856 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10858 * elf/dl-libc.c (dlerror_run): Pass back error code from
10862 * elf/dl-load.c (lose): Free l_origin if it is valid.
10864 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10866 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10867 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10868 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10869 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10870 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10871 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10873 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10875 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10876 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10877 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10878 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10879 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10880 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10881 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10882 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10883 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10884 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10886 2011-08-15 Alan Modra <amodra@gmail.com>
10889 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10890 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10891 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10892 ppc_mcount to static-only-routines.
10893 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10895 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10896 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10898 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10900 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10901 for finite and infinity parameters.
10903 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10906 and add nop instructions for throughput optimization.
10907 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10909 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10911 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10912 aligned copy for power7 with vector-scalar instructions.
10913 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10915 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10920 2011-09-07 Andreas Schwab <schwab@redhat.com>
10923 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10926 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10928 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10929 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10930 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10931 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10934 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10936 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10937 Forgot to demangle the pointer.
10939 * sysdeps/i386/sysdep.h: Define atom_text_section.
10940 * sysdeps/x86_64/sysdep.h: Likewise.
10941 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10942 section with atom_text_section.
10943 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10944 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10945 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10946 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10947 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10949 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10950 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10951 already be defined. Change to take two parameters and don't assign
10952 result to variable. Adjust all users.
10953 Define INTERNAL_GETTIME if not already defined.
10954 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10957 HAVE_CLOCK_GETTIME_VSYSCALL.
10958 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10960 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10961 gettimeofday vsyscall, just use time.
10963 2011-09-06 Andreas Schwab <schwab@redhat.com>
10965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10968 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10970 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10974 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10976 syscall if possible.
10978 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10980 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10981 e_ident. Don't pass to find_mapsXX.
10982 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10984 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10987 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10988 * sysdeps/x86_64/multiarch/strchr.S: Update.
10989 Check bit_slow_BSF bit.
10990 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10991 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10992 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10994 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10997 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10999 (tryshell): Define.
11000 (__spawni): Change last parameter to be flag. Test
11001 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11002 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11003 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11004 * posix/spawni.c: Likewise.
11005 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11006 * posix/spawnp.c: Likewise. Change normal version to use
11007 SPAWN_XFLAGS_USE_PATH.
11008 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11009 SPAWN_XFLAGS_TRY_SHELL.
11012 * posix/glob.h: Remove gcc 1.x support.
11015 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11017 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11020 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11022 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11023 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11024 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11025 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11026 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11027 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11029 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11031 * sysdeps/x86_64/wcscmp.S: New file.
11033 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11034 wcscmp-c wcscmp-sse2
11035 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11036 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11037 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11038 * wcsmbs/wcscmp.c: Allow renaming.
11040 2011-09-05 David S. Miller <davem@davemloft.net>
11042 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11043 stack slot, rather than the struct return pointer slot.
11044 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11045 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11047 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11049 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11051 * po/ja.po: Update from translation team.
11054 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11055 kernel in 64-bit binaries.
11057 2011-09-01 David S. Miller <davem@davemloft.net>
11059 * elf/elf.h (HWCAP_SPARC_*): Move to..
11060 * sysdeps/sparc/sysdep.h: this new file and add new values.
11061 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11062 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11063 _DL_HWCAP_COUNT to 24.
11064 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11066 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11067 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11068 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11070 instead of magic constants.
11071 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11073 2011-08-31 David S. Miller <davem@davemloft.net>
11075 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11077 Reimplement to do errno handling inline.
11078 (SYSCALL_ERROR_HANDLER): New macro.
11079 (__SYSCALL_STRING): Do not do errno handling in asm.
11080 (__CLONE_SYSCALL_STRING): Delete.
11081 (__INTERNAL_SYSCALL_STRING): Delete.
11082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11083 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11084 (PSEUDO): Reimplement to do errno handling inline.
11085 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11086 (SYSCALL_ERROR_HANDLER): New macro.
11087 (__SYSCALL_STRING): Do not do errno handling in asm.
11088 (__CLONE_SYSCALL_STRING): Delete.
11089 (__INTERNAL_SYSCALL_STRING): Delete.
11090 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11091 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11093 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11094 (inline_syscall*): Add 'err' argument.
11095 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11096 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11097 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11098 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11100 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11101 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11103 2011-08-30 Andreas Schwab <schwab@redhat.com>
11105 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11107 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11109 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11112 2011-08-24 David S. Miller <davem@davemloft.net>
11114 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11116 2011-08-24 Andreas Schwab <schwab@redhat.com>
11118 * elf/Makefile: Add rules to build and run unload8 test.
11119 * elf/unload8.c: New file.
11120 * elf/unload8mod1.c: New file.
11121 * elf/unload8mod1x.c: New file.
11122 * elf/unload8mod2.c: New file.
11123 * elf/unload8mod3.c: New file.
11125 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11128 2011-08-23 David S. Miller <davem@davemloft.net>
11130 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11131 subtract stack bias.
11132 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11133 %sp not %fp in calculations.
11134 (_JMPBUF_UNWINDS_ADJ): Likewise.
11136 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11137 (aio_suspend): Call it to force an exception region around the
11138 AIO_MISC_WAIT() invocation.
11140 2011-08-23 Andreas Schwab <schwab@redhat.com>
11142 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11145 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11147 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11149 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11150 and <dl-machine.h>.
11151 (Elf64_FuncDesc): Remove.
11153 2011-08-22 David S. Miller <davem@davemloft.net>
11155 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11156 sigaltstack check, add missing cfi directives.
11157 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11158 missing cfi directives, and sigaltstack handling.
11160 2011-08-16 Andreas Schwab <schwab@redhat.com>
11163 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11164 object is seen twice.
11165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11167 * elf/Makefile (distribute): Add tst-initorder2.c.
11168 (tests): Add tst-initorder2.
11169 (modules-names): Add tst-initorder2a tst-initorder2b
11170 tst-initorder2c tst-initorder2d. Add rules to build them.
11171 ($(objpfx)tst-initorder2.out): New rule.
11172 * elf/tst-initorder2.c: New file.
11173 * elf/tst-initorder2.exp: New file.
11175 2011-08-22 Andreas Schwab <schwab@redhat.com>
11177 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11179 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11180 dependencies back to end of function.
11182 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11183 $(elfobjdir)/ld.so.
11185 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11188 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11190 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11191 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11192 of __vdso_gettimeofday.
11193 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11194 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11196 (_libc_vdso_platform_setup): Remove initialization of
11197 __vdso_gettimeofday and __vdso_time.
11199 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11201 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11202 and fgetc_unlocked.
11203 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11206 * elf/dl-open.c (add_to_global): Report additions to the global scope
11207 for LD_DEBUG=scopes.
11208 (dl_open_worker): Also print scope of newly loaded dependencies.
11209 (_dl_show_scope): Indicate if there is no scope.
11212 * stdio-common/Makefile (tests): Add bug24.
11213 * stdio-common/bug24.c: New file.
11215 2011-08-19 Andreas Jaeger <aj@suse.de>
11218 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11219 non-existant file when using close-on-exec mode.
11221 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11224 the very first instruction.
11226 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11227 the CFI state in the end.
11228 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11229 inclusion of dl-trampoline.h.
11230 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11232 2011-08-19 Andreas Schwab <schwab@redhat.com>
11234 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11235 expectations for long double.
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11238 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11240 2011-08-14 David S. Miller <davem@davemloft.net>
11242 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11243 artificual limit depends upon the system page size.
11245 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11247 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11248 * resolv/Makefile: Define CFLAGS-libresolv.
11250 2011-08-17 Andreas Schwab <schwab@redhat.com>
11252 * nss/makedb.c (compute_tables): Make variables used in nested
11255 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11257 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11258 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11259 if buffer was too small.
11261 * elf/pldd.c (main): Attach to all threads in the process.
11262 Rewrite /proc handling to use *at functions.
11264 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11266 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11267 specifies first scope to show.
11268 (dl_open_worker): Update callers. Move printing scope of new
11269 object to before the relocation.
11270 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11271 * sysdeps/generic/ldsodefs.h: Update declaration.
11273 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11274 string for the scope number.
11276 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11278 * nscd/servicescache.c (cache_addserv): Make sure written is always
11281 2011-08-14 Roland McGrath <roland@hack.frob.com>
11283 * sysdeps/i386/i486/bits/atomic.h
11284 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11285 statement expression, so as to suppress "set but not used" warning.
11286 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11288 * string/strncat.c (STRNCAT): Use prototype definition.
11290 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11291 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11293 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11294 (localedef-modules): Add localedef.
11295 (locale-modules): Add locale.
11297 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11298 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11299 to avoid a warning.
11301 2011-08-14 David S. Miller <davem@davemloft.net>
11303 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11304 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11306 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11308 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11309 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11310 * elf/rtld.c (dl_main): Set l_name of vDSO.
11311 Call _dl_show_scope when DL_DEBUG_SCOPES.
11312 (process_dl_debug): Recognize scopes flag and also set it for all.
11313 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11314 Declare _dl_show_scope.
11316 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11317 (do_dlopen): Pass caller_dlopen to dl_open.
11318 (__libc_dlopen_mode): Initialize caller_dlopen.
11320 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11321 of libc. Make tolower call locale-independent. Optimize a bit by
11322 using isdigit instead of isalnum.
11323 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11325 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11327 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11328 was a dependency or dynamically loaded.
11330 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11332 * intl/l10nflist.c: Allow architecture-specific pop function.
11333 * sysdeps/x86_64/l10nflist.c: New file.
11335 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11338 2011-08-10 Andreas Schwab <schwab@redhat.com>
11340 * include/dirent.h: Add libc_hidden_proto for scandirat and
11341 scandirat64. Don't declare __scandirat64.
11342 * dirent/scandirat.c: Add libc_hidden_def.
11343 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11344 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11346 2011-08-10 David S. Miller <davem@davemloft.net>
11348 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11351 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11352 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11354 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11356 * Versions.def [libc]: Add GLIBC_2.15.
11357 * dirent/Makefile (routines): Add scandirat and scandirat64.
11358 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11360 * dirent/dirent.h: Declare scandirat and scandirat64.
11361 * dirent/scandirat.c: New file.
11362 * dirent/scandirat64.c: New file.
11363 * sysdeps/wordsize-64/scandirat.c: New file.
11364 * sysdeps/wordsize-64/scandirat64.c: New file.
11365 * dirent/opendir.c: Define opendirat.
11366 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11368 * dirent/scandir64.c: Adjust for scandir.c change.
11369 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11370 __scandirat64, and __scandir_cancel_handler.
11371 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11372 additional parameter and use openat instead of open (outside of ld.so).
11373 Add new __opendir as wrapper around __opendirat.
11374 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11375 here without requiring old scandirat implementation.
11377 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11379 * dirent/scandir.c (cancel_handler): Renamed to
11380 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11381 defined. Adjust users.
11382 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11383 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11385 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11387 * string/test-string.h (IMPL): Use __STRING to expand name and then
11390 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11393 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11395 * string/Makefile: Update.
11396 (strop-tests): Append strncat.
11397 * string/test-wcscmp.c: New file.
11398 New comprehensive test for wcscmp.
11399 * string/test-strcmp.c: Update.
11400 (WIDE): New define.
11402 2011-07-22 Andreas Schwab <schwab@redhat.com>
11404 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11407 2011-07-26 Andreas Schwab <schwab@redhat.com>
11409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11410 encoding to ACE if AI_IDN.
11412 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11415 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11417 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11419 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11420 Fix overflow bug in strncat.
11421 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11423 * string/test-strncat.c: Update.
11424 Add new tests for checking overflow bugs.
11426 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11429 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11430 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11431 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11432 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11433 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11434 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11435 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11436 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11438 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11439 (USE_AS_STRCAT): Define.
11440 Add strcat and strncat support.
11441 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11443 2011-07-25 Andreas Schwab <schwab@redhat.com>
11445 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11446 __n bigger than INT_MAX+1.
11447 (__strncmp_g): Likewise.
11449 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11451 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11452 * libio/stido.h: Likewise.
11454 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11459 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11460 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11461 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11462 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11463 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11466 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11471 (_dl_x86_64_save_sse): Likewise.
11473 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11477 (_dl_x86_64_save_sse): Likewise.
11479 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11481 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11483 2011-07-21 Andreas Schwab <schwab@redhat.com>
11485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11487 (_dl_x86_64_save_sse): Use correct AVX check.
11489 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11491 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11492 bug in strncpy/strncat.
11493 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11495 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11497 * string/tester.c (test_strcat): Add tests for different alignments
11498 of source and destination.
11499 (test_strncat): Likewise.
11501 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11504 * posix/glob.c (glob): Check passed in values before using them in
11505 expressions to avoid some overflows.
11506 (glob_in_dir): Likewise.
11509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11510 check for AVX enablement so that we don't crash with old kernels and
11512 * elf/tst-audit4.c: Add same checks here.
11513 * elf/tst-audit6.c: Likewise.
11515 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11517 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11519 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11521 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11523 * po/cs.po: Update from translation team.
11524 * po/bg.po: Likewise.
11526 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11528 * misc/sys/cdefs.h: Add support for const attribute.
11529 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11530 to gnu_dev_{major,minor,makedev} functions.
11532 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11534 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11536 2011-07-20 Andreas Schwab <schwab@redhat.com>
11538 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11541 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11543 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11544 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11545 register in order to avoid conflicts with the soft frame pointer
11546 being held in r11 when necessary.
11547 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11548 (INTERNAL_VSYSCALL_NCS): Likewise.
11550 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11552 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11553 * elf/dl-fini.c (_dl_fini): Adjust caller.
11554 * elf/dl-close.c (_dl_close_worker): Likewise.
11555 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11557 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11559 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11560 "aux_cache->nlibs < 0".
11562 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11563 in the reload-count case.
11565 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11568 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11569 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11570 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11571 * sysdeps/x86_64/multiarch/strcat.S: New file.
11572 * sysdeps/x86_64/multiarch/strncat.S: New file.
11573 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11574 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11575 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11576 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11577 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11578 (USE_AS_STRCAT): Define.
11579 Add strcat and strncat support.
11580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11581 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11582 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11583 * string/strncat.c: Update.
11584 (USE_AS_STRNCAT): Define.
11585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11586 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11588 * sysdeps/x86_64/multiarch/init-arch.h
11589 (bit_Prefer_PMINUB_for_stringop): New.
11590 (index_Prefer_PMINUB_for_stringop): Likewise.
11591 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11592 bit_Prefer_PMINUB_for_stringop.
11594 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11596 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11598 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11599 of casting of buffer.
11600 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11601 buffer32 and buffer64.
11602 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11603 writes instead of casting of buffer.
11604 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11606 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11609 2011-07-19 Andreas Schwab <schwab@redhat.com>
11611 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11613 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11615 * nscd/nscd.c (termination_handler): Don't do anything for a database
11616 if it has not yet been initialized.
11618 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11620 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11622 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11624 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11626 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11628 * po/nl.po: Update from translation team.
11629 * po/sv.po: Likewise.
11631 2011-07-16 Roland McGrath <roland@hack.frob.com>
11633 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11634 now disallowed by GCC.
11636 * configure.in (use-default-link): Default to yes if a test -shared
11637 link meets our qualifications.
11638 * configure: Regenerated.
11640 * config.make.in (output-format): New variable.
11641 * configure.in: Check for ld --print-output-format support.
11642 * configure: Regenerated.
11643 * Makerules ($(common-objpfx)format.lds)
11644 [$(output-format) != unknown]: Just use $(output-format),
11645 instead of the linker-script munging.
11647 2011-07-14 Roland McGrath <roland@hack.frob.com>
11649 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11650 of $(common-objpfx)shlib.lds.
11651 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11653 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11654 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11656 * configure.in (-z relro check): Adjust test code to add a large
11657 writable data section after it.
11658 * configure: Regenerated.
11660 2011-07-11 Roland McGrath <roland@hack.frob.com>
11662 * configure.in (-z relro check): Fix test code to make the variable
11664 * configure: Regenerated.
11666 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11668 * nscd/nscd.h (struct traced_file): Define.
11669 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11670 elements. Add traced_files.
11671 (inotify_fd): Declare.
11672 (register_traced_file): Declare.
11673 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11674 (inotify_fd): Export.
11675 (resolv_conf_descr): Remove.
11676 (nscd_init): Move inotify descriptor creation to main.
11677 Don't register files for notification here.
11678 (register_traced_file): New function.
11679 (invalidate_cache): Don't use reset_res to determine whether to call
11680 res_init, go through the list of registered files.
11681 (main_loop_poll): The inotify descriptors are now stored in the
11682 structures for the traced files.
11683 (main_loop_epoll): Likewise
11684 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11685 to __nss_disable_nscd.
11686 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11687 for a database anymore. Check the records for all the registered
11689 * nss/Makefile (libnss_files-routines): Add files-init.
11690 (libnss_db-routines): Add db-init.
11691 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11692 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11693 * nss/nss_db/db-init.c: New file.
11694 * nss/nss_files/files-init.c: New file.
11695 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11696 __nss_lookup_function.
11697 (__nss_lookup_function): Call nss_load_library.
11698 (nss_load_all_libraries): New function.
11699 (__nss_disable_nscd): Take parameter with callback function for files
11700 to register. Set is_nscd. Load all the DSOs for the NSS modules
11701 used for the cached services.
11702 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11703 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11704 options for features to all the files in nscd.
11706 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11708 2011-07-10 Roland McGrath <roland@hack.frob.com>
11710 * csu/elf-init.c (__libc_csu_init): Comment typo.
11712 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11714 * po/pl.po: Update from translation team.
11715 * po/ja.po: Likewise.
11716 * po/ru.po: Likewise.
11717 * po/ko.po: Likewise.
11718 * po/fr.po: Likewise.
11720 2011-07-09 Roland McGrath <roland@hack.frob.com>
11722 * configure.in (.ctors/.dtors header and trailer check):
11723 Use an empirical test on a built program.
11724 * configure: Regenerated.
11726 * configure.in (-z relro check): Use an empirical test on a built DSO.
11727 Detect, but do not require, on ia64.
11728 * configure: Regenerated.
11730 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11731 Update tests that use readelf to use $READELF instead.
11732 * configure: Regenerated.
11734 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11736 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11737 if the result is not used.
11739 2011-07-05 Andreas Jaeger <aj@suse.de>
11742 * stdlib/tst-strtod.c: Add testcase.
11744 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11746 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11747 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11748 The latter has a higher limit. Take additional parameter to pass to
11750 (__pathconf): Pass file to __statfs_link_max.
11751 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11753 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11757 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11760 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11761 (__statfs_filesize_max): Likewise.
11762 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11764 2011-07-05 Andreas Jaeger <aj@suse.de>
11766 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11768 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11770 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11772 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11775 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11777 * Makefile (strop-tests): Add strncat.
11778 * string/test-strncat.c: New file.
11780 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11782 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11784 2011-06-21 Andreas Jaeger <aj@suse.de>
11786 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11787 Copy rule from iconvdata/Makefile.
11789 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11792 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11793 but no long options are defined, just return 'W'.
11795 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11798 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11800 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11802 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11804 (innetgr): Likewise.
11806 2011-07-05 Roland McGrath <roland@hack.frob.com>
11808 * config.make.in (install_root): Default to $(DESTDIR).
11810 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11812 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11814 2011-07-02 Roland McGrath <roland@hack.frob.com>
11816 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11818 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11819 containing directory rather than embedding absolute directory names.
11821 * scripts/check-local-headers.sh: Rewritten using awk.
11822 Match by word, not by line. Print error messages for matches.
11823 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11825 * Makerules [shlib-lds-flags empty]:
11826 ($(common-objpfx)libc_pic.opts): New target.
11827 ($(common-objpfx)libc_pic.os.clean): New target.
11828 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11830 * config.make.in (OBJCOPY): New variable.
11831 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11832 * configure: Regenerated.
11834 * config.make.in (use-default-link): New variable.
11835 * configure.in (use_default_link): Grok --with-default-link to set it.
11836 * configure: Regenerated.
11837 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11838 (shlib-lds, shlib-lds-flags): Define to empty.
11840 * Makerules (shlib-lds): New variable.
11841 (shlib-lds-flags): New variable.
11842 (build-shlib, build-moduile, build-module-asneeded): Use it.
11843 ($(common-objpfx)libc.so): Use $(shlib-lds).
11844 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11845 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11847 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11848 DT_FLAGS/DT_FLAGS_1 with zero flags.
11850 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11851 linker script munging.
11853 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11855 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11857 * crypt/sha512.c (sha512_process_block): Perform total addition using
11858 128-bit if possible.
11859 (__sha512_finish_ctx): Likewise.
11860 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11862 * crypt/sha256.c (SWAP64): Define.
11863 (sha256_process_block): Perform total addition using 64-bit if
11865 (__sha256_finish_ctx): Likewise.
11867 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11869 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11871 * nscd/hstcache.c (cache_addhst): Likewise.
11872 * nscd/grpcache.c (cache_addgr): Likewise.
11873 * nscd/aicache.c (addhstaiX): Likewise
11874 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11876 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11878 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11879 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11880 * nscd/hstcache.c (cache_addhst): Likewise.
11881 * nscd/grpcache.c (cache_addgr): Likewise.
11882 * nscd/aicache.c (addhstaiX): Likewise
11884 2011-07-01 Andreas Schwab <schwab@redhat.com>
11886 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11887 domain only when needed.
11889 2011-06-30 Andreas Schwab <schwab@redhat.com>
11891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11892 is always restored.
11894 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11896 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11897 are re-adding the entry.
11898 * nscd/servicescache.c (cache_addserv): Likewise.
11900 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11902 * sysdeps/generic/dl-irel.h: fix protection against multiple
11904 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11906 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11909 * malloc/memusage.sh: Fix quoting in message.
11910 * debug/xtrace.sh: Likewise.
11912 * configure.in: Remove support for --experimental-malloc option, make
11914 * config.make.in: Likewise.
11915 * malloc/Makefile: Likewise.
11917 2011-06-27 Andreas Schwab <schwab@redhat.com>
11919 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11920 two-byte characters.
11922 2011-06-27 Roland McGrath <roland@hack.frob.com>
11924 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11925 AC_CACHE_CHECK invocation.
11926 * configure: Regenerated.
11928 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11930 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11933 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11934 bit from old_res_options.
11936 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11938 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11939 value type for setfct.
11941 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11943 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11944 __gettimeofday instead of gettimeofday.
11946 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11948 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11950 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11952 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11957 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11960 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11961 strcpy-sse2-unaligned strncpy-sse2-unaligned
11962 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11963 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11964 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11965 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11966 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11967 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11968 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11969 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11970 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11971 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11972 (STRCPY): Support SSE2 and SSSE3 versions.
11974 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11977 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11978 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11979 kernels which artificially limit size of requests.
11981 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11984 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11985 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11986 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11987 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11988 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11989 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11990 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11992 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11993 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11994 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11995 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11996 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11997 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11999 Enable unaligned load optimization for Intel Core i3, i5 and i7
12001 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12003 (index_Fast_Unaligned_Load): Define.
12004 (HAS_FAST_UNALIGNED_LOAD): Define.
12006 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12008 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12010 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12013 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12014 until it is clear that the information is realy needed.
12015 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12017 2011-06-22 Andreas Schwab <schwab@redhat.com>
12019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12021 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12024 /sys/devices/system/cpu/online if it is usable.
12026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12027 reading the information from the /proc filesystem to once a second.
12029 2011-06-21 Andreas Jaeger <aj@suse.de>
12031 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12032 NULL after inclusion of kernel headers.
12034 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12036 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12037 calls to internal_setent.
12040 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12041 addresses using gethostbyname4_r ignore IPv4 addresses.
12043 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12044 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12046 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12048 2011-06-20 David S. Miller <davem@davemloft.net>
12050 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12052 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12054 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12055 (elf_irel): Use it.
12056 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12057 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12058 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12059 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12060 * sysdeps/x86_64/dl-irel.h: Likewise.
12062 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12063 * elf/dl-sym.c: Likewise.
12065 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12067 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12068 need to dereference resplen2.
12070 2011-06-14 Andreas Schwab <schwab@redhat.com>
12072 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12074 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12076 * Makeconfig: Define vardbdir and inst_vardbdir.
12077 * nss/Makefile: Add rules to install db-Makefile.
12079 * nss/nss_db/db-XXX.c: Cleanup.
12081 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12082 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12084 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12085 * nss/makedb.c: Implement -g option to specify that value strings
12086 are generated and should not be added to table iterated over for
12088 * nss/nss_db/db-initgroups.c: New file.
12090 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12093 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12094 (internal_getgrouplist): Adjust to name change.
12095 Update use_initgroups_entry if this is not the first call.
12096 * nss/databases.def: Add initgroups entry.
12098 * nss/makedb.c (compute_tables): Check result of multiple hash table
12099 sizes to minimize maximum chain length.
12101 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12103 * Versions.def: Add entry for libnss_db.
12104 * shlib-versions: Likewise.
12105 * nss/Makefile: Add rules to build libnss_db.
12106 * nss/Versions: Add libnss_db information. Organize libnss_files
12108 * nss/db-Makefile: Add gshadow support. Change rules for the new
12109 makedb progra. Some minor improvements to generate smaller files.
12110 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12112 * nss/makedb.c: ...here.
12113 Improve database format to be smaller and require less memory at
12115 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12117 * nss/nss_db/db-netgrp.c: Likewise.
12118 * nss/nss_db/db-open.c: Likewise.
12119 * nss/nss_files/flies-XXX.x: Adjust comments.
12120 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12121 * nss/nss_files/files-grp.c: Likewise.
12122 * nss/nss_files/files-hosts.c: Likewise.
12123 * nss/nss_files/files-network.c: Likewise.
12124 * nss/nss_files/files-proto.c: Likewise.
12125 * nss/nss_files/files-pwd.c: Likewise.
12126 * nss/nss_files/files-rpc.c: Likewise.
12127 * nss/nss_files/files-service.c: Likewise.
12128 * nss/nss_files/files-sgrp.c: Likewise.
12129 * nss/nss_files/files-spwd.c: Likewise.
12130 * nss/nss_db/db-alias.c: Removed.
12131 * nss/nss_db/dummy-db.h: Removed.
12133 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12135 * nss/makedb.c: Rewritten to not use database library.
12136 * nss/Makefile: Update to build new makedb program.
12138 2011-06-14 Andreas Jaeger <aj@suse.de>
12140 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12141 memset declaration.
12143 2011-06-10 Andreas Schwab <schwab@redhat.com>
12145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12148 2011-06-10 Roland McGrath <roland@hack.frob.com>
12150 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12151 * elf/Makefile ($(objpfx)ld.so): Likewise.
12153 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12154 Don't list ld.so twice in dependencies.
12156 * posix/bug-regex31.c: Include <stdlib.h>.
12158 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12160 * nis/nss_compat/compat-spwd.c
12161 (getspent_next_nss_netgr): Remove unused variable.
12162 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12164 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12165 nonmembers" output to use the right array.
12167 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12169 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12171 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12172 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12173 * catgets/gencat.c (read_input_file): Likewise.
12174 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12176 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12177 variable definition inside #if's controlling its use.
12179 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12181 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12183 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12185 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12188 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12190 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12191 * configure: Regenerated.
12193 * Makerules: Revert last change.
12194 * elf/Makefile: Likewise.
12196 2011-06-09 Roland McGrath <roland@hack.frob.com>
12198 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12199 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12200 (reloc-link): Likewise.
12202 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12204 * elf/Makefile: Add rules to build pldd.
12205 * elf/pldd.c: New file.
12206 * elf/pldd-xx.c: New file.
12208 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12210 * version.h: Update for 2.15 development version.
12212 2011-06-07 David S. Miller <davem@davemloft.net>
12214 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12217 elf_machine_lazy_rel): Likewise.
12218 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12220 elf_machine_lazy_rel): Likewise.
12221 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12222 dl_hwcap via passed in argument.
12223 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12226 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12228 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12230 2011-06-06 Roland McGrath <roland@hack.frob.com>
12233 * manual/fdl-1.1.texi: New file, verbatim from:
12234 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12235 * manual/lgpl-2.1.texi: New file, verbatim from:
12236 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12237 * manual/Makefile (licenses): New variable, list those new file names.
12239 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12241 * manual/fdl.texi: File removed.
12242 * manual/lesser.texi: File removed.
12243 * manual/libc.texinfo (Copying, Documentation License):
12244 Use new @include file names, put @appendix directive before @include.
12246 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12249 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12250 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12251 (mq_open): Add __NTH.
12253 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12256 Assume Intel Core i3/i5/i7 processor if AVX is available.
12258 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12260 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12263 2011-05-31 Andreas Schwab <schwab@redhat.com>
12265 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12266 memory. Use alloca_account. Fix memory leak when retrying.
12268 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12270 * version.h (RELEASE): Bump for 2.14 release.
12271 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12273 * config.make.in (RANLIB): Remove entry.
12275 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12277 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12278 (libc.pot): Work around missing support for .ksh extension in xgettext.
12281 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12282 if both request failed.
12283 (send_dg): In case of server errors clear resplen or *resplen2.
12286 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12287 when there are multiple maps.
12288 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12289 (_dl_fini): Remove test here.
12291 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12293 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12296 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12297 bit from old_res_options.
12298 (gaih_inet): Likewise.
12301 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12304 * resolv/res_init.c (res_setoptions): Make the code more compact.
12307 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12311 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12313 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12316 * malloc/malloc.h: Declare malloc hook variables as volatile.
12318 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12322 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12323 raise in the comment.
12324 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12325 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12326 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12328 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12331 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12332 grow the buffers more if it already has to be sufficient.
12333 (build_wcs_upper_buffer): Likewise.
12334 * posix/regexec.c (check_matching): Likewise.
12335 (clean_state_log_if_needed): Likewise.
12336 (extend_buffers): Don't enlarge buffers beyond size of the input
12338 Patches mostly by Emil Wojak <emil@wojak.eu>.
12339 * posix/bug-regex32.c: New file.
12340 * posix/Makefile (tests): Add bug-regex32.
12342 * locale/findlocale.c (_nl_find_locale): Return right away if
12343 _nl_explode_name failed.
12344 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12346 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12348 * debug/xtrace.sh: Unify messages.
12349 * malloc/memusage.sh: Likewise.
12352 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12353 time symbol from vDSO. Substitute with vsyscall if not available.
12354 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12357 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12358 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12359 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12360 Add sendmmsg and internal_sendmmsg.
12361 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12362 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12363 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12365 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12366 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12367 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12369 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12372 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12373 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12375 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12379 * iconvdata/Makefile (tests): Add bug-iconv9.
12380 * iconvdata/bug-iconv9.c: New file.
12382 2011-05-27 Andreas Schwab <schwab@redhat.com>
12385 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12387 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12389 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12390 (struct user_regs_struct): Change intcs field back to cs.
12392 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12394 * po/ja.po: Update from translation team.
12396 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12399 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12400 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12402 2011-05-20 Andreas Schwab <schwab@redhat.com>
12404 * stdlib/longlong.h: Update from GCC.
12406 2011-05-23 Andreas Schwab <schwab@redhat.com>
12408 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12410 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12411 Add parameter name.
12412 (__sysconf): Pass it down.
12414 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12417 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12419 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12420 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12421 add in in __libc_use_alloca calls. Adjust callers.
12422 (glob): Use malloc in some situations.
12424 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12425 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12428 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12430 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12431 and CLOCK_BOOTTIME_ALARM.
12434 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12437 * string/_strerror.c (__strerror_r): Print negative errors as signed
12441 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12442 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12443 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12445 * configure.in: Fix typo in redirection and correct removal of test
12446 files in two cases.
12449 * locale/setlocale.c (new_composite_name): Fix test to check for
12450 identical name of all categories.
12453 * libio/filedoalloc.c (local_isatty): New function.
12454 (_IO_file_doallocate): Use local_isatty.
12455 * stdio-common/perror.c (perror): In case a new stream is used
12456 forward the stream error.
12457 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12460 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12465 * include/alloca.h (extend_alloca_account): Define.
12468 * posix/regex.h: Fix comments with documentation of user-accessible
12469 fields after compilation and describe correct free'ing of pattern
12470 after re_compile_pattern.
12471 Patch by Reuben Thomas <rrt@sc3d.org>.
12473 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12475 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12476 and -mno-altivec to prevent the compiler from using Altivec and/or
12477 VSX instructions when the corresponding registers are not available.
12479 2011-05-19 Andreas Schwab <schwab@redhat.com>
12481 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12483 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12485 * libio/freopen.c (freopen): Use __dup2, not dup2.
12486 * libio/freopen64.c (freopen64): Likewise.
12488 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12491 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12492 * math/Makefile (tests): Add test-powl.
12493 (CFLAGS-test-powl.c): Define.
12494 * math/test-powl.c: New file.
12496 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12498 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12500 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12503 * iconvdata/gb18030.c: Update to GB18020-2005.
12505 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12507 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12508 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12509 Patch by Aharon Robbins <arnold@skeeve.com>.
12512 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12516 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12517 through underflows.
12520 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12521 point to strings before performing equality test for error_one_per_line
12525 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12529 (struct user_fpregs_struct): Avoid __uint*_t types.
12532 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12533 symbol info. Use it instead of calling _dl_addr locally.
12534 (lock_and_info): New function.
12535 (tr_freehook): Call lock_and_info and pass symbol info as additional
12536 parameter to tr_where.
12537 (tr_mallochook): Likewise.
12538 (tr_reallochook): Likewise.
12539 (tr_memalignhook): Likewise.
12541 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12542 used and couldn't be at all thread-safe.
12544 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12546 * libio/freopen.c (freopen): Don't close old file descriptor
12547 before the new one is opened. Instead dup the new file descriptor
12548 to the old one after the new stream is created.
12549 * libio/freopen64.c (freopen64): Likewise.
12550 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12551 * libio/fileops.c (_IO_new_file_close_it): Handle new
12552 _IO_FLAGS2_NOCLOSE flag.
12553 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12554 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12555 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12556 _IO_FLAGS2_NOCLOSE flag.
12557 * include/unistd.h: Add hidden_proto for dup3.
12558 Define __have_dup3.
12559 * io/dup3.c: Define hidden symbol.
12560 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12563 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12564 when an incomplete long option is used.
12565 * posix/tst-getopt_long1.c: New file.
12566 * posix/Makefile (tests): Add tst-getopt_long1.
12569 * scripts/config.guess: Update from autoconf-2.68.
12570 * scripts/config.sub: Likewise.
12573 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12575 (has_cpuclock): ...this. New function.
12576 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12577 macro here based on has_cpuclock code.
12580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12581 First byte (not low byte) is now always NUL.
12582 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12584 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12585 Use non-cancelable interfaces.
12588 * locale/iso-639.def: Add entry for Sorani.
12591 * include/stdlib.h: Move include protection to the right place.
12592 Define abort_msg_s. Declare __abort_msg with it.
12593 * stdlib/abort.c (__abort_msg): Adjust type.
12594 * assert/assert.c (__assert_fail_base): New function. Majority
12595 of code from __assert_fail. Allocate memory for __abort_msg with
12597 (__assert_fail): Now call __assert_fail_base.
12598 * assert/assert-perr.c: Remove bulk of implementation. Use
12599 __assert_fail_base.
12600 * include/assert.hL Declare __assert_fail_base.
12601 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12603 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12605 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12609 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12610 until all modules are registered in the DTV.
12611 * elf/Makefile: Add rules to build and run tst-tls19.
12612 * elf/tst-tls19.c: New file.
12613 * elf/tst-tls19mod1.c: New file.
12614 * elf/tst-tls19mod2.c: New file.
12615 * elf/tst-tls19mod3.c: New file.
12616 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12619 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12623 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12624 two-byte sequence errors.
12625 * iconvdata/Makefile (tests): Add bug-iconv8.
12626 * iconvdata/bug-iconv8.c: New file.
12629 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12632 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12635 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12636 (dummy_getcfa): New function.
12637 (init): Get _Unwind_GetCFA address, use dummy if not found.
12638 (backtrace_helper): In recursion check, also check whether CFA changes.
12639 (__backtrace): Completely initialize arg.
12641 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12642 storing incomplete byte sequence in state object. Avoid testing for
12643 guaranteed too small input if we know there is enough data available.
12645 2011-05-11 Andreas Schwab <schwab@redhat.com>
12647 * Makeconfig (+link-pie): Indent.
12648 * Rules (binaries-pie): Define if $(have-fpie) and
12650 (binaries-shared): Also filter out $(binaries-pie).
12651 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12652 * nscd/Makefile (others-pie): Add nscd.
12653 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12654 ($(objpfx)nscd): Remove command override.
12655 * login/Makefile (others-pie): Add pt_chown.
12656 ($(objpfx)pt_chown): Remove command override.
12657 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12658 remove command overrides.
12660 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12662 * libio/tst_putwc.c: Fix error messages.
12665 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12666 currently writing and seek to current position when not.
12667 * libio/Makefile (tests): Add bug-fclose1.
12668 * libio/bug-fclose1.c: New file.
12670 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12673 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12674 don't set DF_1_NODELETE here.
12675 (do_lookup_x): When entering new entry test for copy relocation
12676 and if necessary set DF_1_NODELETE flag.
12677 * elf/tst-unique4.cc: New file.
12678 * elf/tst-unique4.h: New file.
12679 * elf/tst-unique4lib.cc: New file.
12680 * elf/Makefile: Add rules to build and run tst-unique4.
12681 Patch by Piotr Bury <pbury@goahead.com>.
12683 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12686 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12689 * misc/mntent_r.c (addmntent): Flush the stream after the output
12692 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12693 (is_trusted_path_normalize): Skip initial colon. Append slash
12694 to empty buffer. Duplicate is_trusted_path code but allow
12695 constructed patch to be prefix.
12696 (is_dst): Allow $ORIGIN followed by /.
12697 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12698 Correct testing of result of is_trusted_path_normalize
12699 (decompose_rpath): Fix warning.
12701 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12704 * grp/initgroups.c (internal_getgrouplist): When we found the service
12705 list through the initgroups entry in nsswitch.conf do not always
12706 continue on a successful lookup. Don't always use the
12707 __nss_group_database value if it is set.
12708 * nss/nsswitch.conf (initgroups): Change action for successful db
12709 lookup to continue for compatibility.
12711 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12714 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12716 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12718 * iconvdata/tst-tables.sh: Likewise.
12719 * iconvdata/cp770.c: New file.
12720 * iconvdata/cp771.c: New file.
12721 * iconvdata/cp772.c: New file.
12722 * iconvdata/cp773.c: New file.
12723 * iconvdata/cp774.c: New file.
12724 * iconvdata/testdata/CP770: New file.
12725 * iconvdata/testdata/CP770..UTF8: New file.
12726 * iconvdata/testdata/CP771: New file.
12727 * iconvdata/testdata/CP771..UTF8: New file.
12728 * iconvdata/testdata/CP772: New file.
12729 * iconvdata/testdata/CP772..UTF8: New file.
12730 * iconvdata/testdata/CP773: New file.
12731 * iconvdata/testdata/CP773..UTF8: New file.
12732 * iconvdata/testdata/CP774: New file.
12733 * iconvdata/testdata/CP774..UTF8: New file.
12735 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12737 * iconvdata/gen-8bit-gap.sh: Likewise.
12738 * iconvdata/gen-8bit.sh: Likewise.
12740 * locale/iso-639.def: Add ary entry.
12743 * locale/C-translit.h.in: Add U20A1 transliteration.
12746 * locale/iso-639.def: Add wae entry.
12747 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12750 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12754 * locale/C-translit.h.in: Add entry for U20B9.
12755 Patch by pravin.d.s@gmail.com.
12757 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12760 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12761 ENAMETOOLONG use generic getcwd.
12762 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12763 in rtld. Use *stat64.
12764 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12765 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12766 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12767 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12768 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12769 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12770 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12771 __fstatat64 macros.
12772 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12773 * dirent/rewinddir.c: Add libc_hidden_def.
12774 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12775 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12777 * include/dirent.h (__alloc_dir): Add flags parameter.
12778 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12779 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12781 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12782 from fdopendir if O_CLOEXEC is already set.
12784 2011-03-15 Alan Modra <amodra@gmail.com>
12786 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12787 l_tls_firstbyte_offset non-zero. Save padding offset in
12788 l_tls_firstbyte_offset for later use.
12789 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12790 freeing static tls block.
12792 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12794 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12795 where #ifdef was intended. The intent is to prevent ARG_MAX from
12796 being defined by the kernel headers.
12798 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12801 * resolv/resolv.h: Define RES_NOTLDQUERY.
12802 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12803 no-tld-query and set RES_NOTLDQUERY.
12804 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12805 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12806 modern BIND to search name as TLD unless forbidden.
12808 2011-05-07 Petr Baudis <pasky@suse.cz>
12809 Ulrich Drepper <drepper@gmail.com>
12812 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12813 (is_trusted_path): ...to here.
12814 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12815 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12816 using is_trusted_path_normalize() in setuid scripts.
12818 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12820 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12821 __BEGIN/__END_DECLS.
12823 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12825 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12826 NSS_STATUS_NOTFOUND if no record was found.
12828 2011-05-05 Andreas Schwab <schwab@redhat.com>
12830 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12831 (headers-not-in-tirpc): Remove rpc/netdb.h
12832 * resolv/netdb.h: Revert last change.
12834 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12836 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12837 circular dependency between libgcc.a and libc.a.
12839 2011-05-05 Andreas Schwab <schwab@redhat.com>
12841 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12842 * nis/Makefile: Don't install rpcsvc/*.
12843 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12844 instead of <rpc/types.h>.
12845 (MAXHOSTNAMELEN): Define.
12847 2011-05-03 Andreas Schwab <schwab@redhat.com>
12849 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12851 2011-04-28 Maciej Babinski <mbabinski@google.com>
12854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12855 gethostbyname4_r when IPv6 results are possible.
12857 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12860 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12861 _PC_PIPE_BUF handling.
12863 2011-04-30 Bruno Haible <bruno@clisp.org>
12866 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12867 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12869 * inet/getnameinfo.c (getnameinfo): Likewise.
12871 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12873 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12874 to groups setting in database lookup.
12875 * nss/nsswitch.conf: Add initgroups entry.
12877 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12880 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12882 Patch by Eric Blake <eblake@redhat.com>.
12884 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12886 * sunrpc/Makefile (need-export-routines): Add svc_run.
12887 (routines): Remove svc_run.
12888 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12889 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12890 * sunrpc/svc_run.c (svc_run): Likewise.
12891 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12893 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12895 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12896 problem in reallocation in last patch.
12898 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12900 * sunrpc/Makefile: Move inclusion of Rules.
12902 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12904 * nss/nss_files/files-initgroups.c: New file.
12905 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12906 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12907 _nss_files_initgroups_dyn.
12909 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12911 * elf/elf.h (R_ARM_IRELATIVE): Define.
12913 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12915 * po/ru.po: Update from translation team.
12917 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12919 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12922 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12925 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12926 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12927 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12928 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12929 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12931 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12933 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12935 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12936 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12939 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12942 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12944 * stdlib/bug-getcontext.c: New file.
12945 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12947 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12949 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12950 instructions into .machine "z9-109".
12951 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12952 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12954 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12956 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12957 between environment variables and auxiliary vector.
12959 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12961 * Makefile: Add rules to build linkobj/libc.so.
12962 * include/libc-symbols.h: Define libc_hidden_nolink.
12963 * include/rpc/auth.h: Mark functions which are to be hidden.
12964 * include/rpc/auth_des.h: Likewise.
12965 * include/rpc/auth_unix.h: Likewise.
12966 * include/rpc/clnt.h: Likewise.
12967 * include/rpc/des_crypt.h: Likewise.
12968 * include/rpc/key_prot.h: Likewise.
12969 * include/rpc/pmap_clnt.h: Likewise.
12970 * include/rpc/pmap_prot.h: Likewise.
12971 * include/rpc/pmap_rmt.h: Likewise.
12972 * include/rpc/rpc_msg.h: Likewise.
12973 * include/rpc/svc.h: Likewise.
12974 * include/rpc/svc_auth.h: Likewise.
12975 * include/rpc/xdr.h: Likewise.
12976 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12977 * nss/Makefile: Likewise.
12978 * sunrpc/Makefile: Don't install headers. Build library with normal
12979 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12980 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12981 for the compat linking library. Remove use of INTDEF/INTUSE.
12982 * sunrpc/auth_none.c: Likewise.
12983 * sunrpc/auth_unix.c: Likewise.
12984 * sunrpc/authdes_prot.c: Likewise.
12985 * sunrpc/authuxprot.c: Likewise.
12986 * sunrpc/clnt_gen.c: Likewise.
12987 * sunrpc/clnt_perr.c: Likewise.
12988 * sunrpc/clnt_raw.c: Likewise.
12989 * sunrpc/clnt_simp.c: Likewise.
12990 * sunrpc/clnt_tcp.c: Likewise.
12991 * sunrpc/clnt_udp.c: Likewise.
12992 * sunrpc/clnt_unix.c: Likewise.
12993 * sunrpc/des_crypt.c: Likewise.
12994 * sunrpc/des_soft.c: Likewise.
12995 * sunrpc/get_myaddr.c: Likewise.
12996 * sunrpc/key_call.c: Likewise.
12997 * sunrpc/key_prot.c: Likewise.
12998 * sunrpc/netname.c: Likewise.
12999 * sunrpc/pm_getmaps.c: Likewise.
13000 * sunrpc/pm_getport.c: Likewise.
13001 * sunrpc/pmap_clnt.c: Likewise.
13002 * sunrpc/pmap_prot.c: Likewise.
13003 * sunrpc/pmap_prot2.c: Likewise.
13004 * sunrpc/pmap_rmt.c: Likewise.
13005 * sunrpc/publickey.c: Likewise.
13006 * sunrpc/rpc_cmsg.c: Likewise.
13007 * sunrpc/rpc_common.c: Likewise.
13008 * sunrpc/rpc_dtable.c: Likewise.
13009 * sunrpc/rpc_prot.c: Likewise.
13010 * sunrpc/rpc_thread.c: Likewise.
13011 * sunrpc/rtime.c: Likewise.
13012 * sunrpc/svc.c: Likewise.
13013 * sunrpc/svc_auth.c: Likewise.
13014 * sunrpc/svc_authux.c: Likewise.
13015 * sunrpc/svc_raw.c: Likewise.
13016 * sunrpc/svc_run.c: Likewise.
13017 * sunrpc/svc_simple.c: Likewise.
13018 * sunrpc/svc_tcp.c: Likewise.
13019 * sunrpc/svc_udp.c: Likewise.
13020 * sunrpc/svc_unix.c: Likewise.
13021 * sunrpc/svcauth_des.c: Likewise.
13022 * sunrpc/xcrypt.c: Likewise.
13023 * sunrpc/xdr.c: Likewise.
13024 * sunrpc/xdr_array.c: Likewise.
13025 * sunrpc/xdr_float.c: Likewise.
13026 * sunrpc/xdr_intXX_t.c: Likewise.
13027 * sunrpc/xdr_mem.c: Likewise.
13028 * sunrpc/xdr_rec.c: Likewise.
13029 * sunrpc/xdr_ref.c: Likewise.
13030 * sunrpc/xdr_sizeof.c: Likewise.
13031 * sunrpc/xdr_stdio.c: Likewise.
13033 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13036 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13037 * sysdeps/ia64/dl-tls.h: Likewise.
13038 * sysdeps/powerpc/dl-tls.h: Likewise.
13039 * sysdeps/s390/dl-tls.h: Likewise.
13040 * sysdeps/sh/dl-tls.h: Likewise.
13041 * sysdeps/sparc/dl-tls.h: Likewise.
13042 * sysdeps/x86_64/dl-tls.h: Likewise.
13043 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13045 2011-03-14 Andreas Schwab <schwab@redhat.com>
13047 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13048 rpath element also skip the following colon.
13049 (expand_dynamic_string_token): Add is_path parameter and pass
13050 down to DL_DST_REQUIRED and _dl_dst_substitute.
13051 (decompose_rpath): Call expand_dynamic_string_token with
13052 non-zero is_path. Ignore empty rpaths.
13053 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13056 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13061 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13064 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13065 Patch by Filipe David Manana <fdmanana@apache.org>.
13067 2011-04-07 Andreas Schwab <schwab@redhat.com>
13069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13070 Maintain aligned stack.
13071 (CHECK_RSP): Remove unused macro.
13073 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13075 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13076 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13078 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13080 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13082 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13084 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13087 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13088 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13089 * sysdeps/x86_64/memmove.c: New file.
13090 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13091 (memcpy): Renamed to ...
13092 (__new_memcpy): This.
13093 (memcpy): Provide GLIBC_2_14 memcpy.
13094 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13095 (memcpy): Provide GLIBC_2_2_5 memcpy.
13097 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13100 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13102 2011-03-30 Andreas Schwab <schwab@redhat.com>
13104 * misc/syncfs.c: New file.
13105 * misc/Makefile (routines): Add syncfs.
13106 * posix/unistd.h: Declare syncfs.
13107 * sysdeps/unix/syscalls.list: Add syncfs.
13109 2011-04-01 Andreas Schwab <schwab@redhat.com>
13111 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13113 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13114 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13116 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13118 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13121 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13123 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13124 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13125 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13127 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13131 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13132 sync_file_range.c with -fexceptions.
13133 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13134 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13135 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13136 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13137 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13138 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13139 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13140 sync_file_range as cancellation point
13141 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13142 now a wrapper around __call_sync_file_range with cancellation handling.
13143 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13144 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13145 function name to __call_sync_file_range.
13146 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13147 Add call_sync_file_range.
13149 2011-04-01 Andreas Schwab <schwab@redhat.com>
13151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13154 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13156 * iconv/iconv.h: Fix typo in comment.
13157 * io/fcntl.h: Likewise.
13158 * libio/stdio.h: Likewise.
13159 * posix/spawn.h: Likewise.
13160 * posix/unistd.h: Likewise.
13161 * stdlib/stdlib.h: Likewise.
13162 * time/time.h: Likewise.
13163 * wcsmbs/wchar.h: Likewise.
13165 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13166 open_by_handle): Add.
13167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13168 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13169 Augment a few comments.
13170 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13174 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13175 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13178 * io/fcntl.h (AT_EMPTY_PATH): Define.
13180 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13182 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13183 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13184 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13186 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13187 * Versions.def: Add GLIBC_2.14.
13188 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13191 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13193 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13195 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13197 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13200 * string/test-strncmp.c (do_page_test): New function.
13201 (check2): Likewise.
13202 (test_main): Call check2.
13203 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13205 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13208 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13209 Handle cache information in CPU leaf 4.
13210 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13212 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13215 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13216 character representation.
13217 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13219 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13221 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13222 END(__isnan) to END(__isnanf) to match function entry point/label
13223 EALIGN(__isnanf,...).
13225 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13227 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13229 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13232 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13233 copy from the symbol referenced in the relocation to initialize the
13235 Patch by Piotr Bury <pbury@goahead.com>.
13236 * elf/Makefile: Add rules to build and tst-unique3.
13237 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13238 * elf/tst-unique3.cc: New file.
13239 * elf/tst-unique3.h: New file.
13240 * elf/tst-unique3lib.cc: New file.
13241 * elf/tst-unique3lib2.cc: New file.
13243 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13245 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13247 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13248 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13251 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13253 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13254 to-be-loaded object along a path to loader is ld.so.
13256 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13257 Ulrich Drepper <drepper@gmail.com>
13259 * sysdeps/x86_64/memset.S: After aligning destination, code
13260 branches to different locations depending on the value of
13261 misalignment, when multiarch is enabled. Fix this.
13263 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13265 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13266 Set _x86_64_preferred_memory_instruction for AMD processsors.
13267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13268 Set bit_Prefer_SSE_for_memop for AMD processors.
13270 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13272 * libio/fmemopen.c (fmemopen): Optimize a bit.
13274 2011-03-03 Andreas Schwab <schwab@redhat.com>
13276 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13278 2011-03-03 Roland McGrath <roland@redhat.com>
13280 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13282 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13284 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13285 __bzero_ultra1 instead of __memset_ultra1.
13287 2011-02-23 Andreas Schwab <schwab@redhat.com>
13288 Ulrich Drepper <drepper@gmail.com>
13291 * include/link.h (struct link_map): Add l_orig_initfini.
13292 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13293 returning unsuccessfully.
13294 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13295 close of a file loaded at startup, restore the original l_initfini
13297 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13298 list, store the pointer.
13299 * elf/Makefile ($(objpfx)noload-mem): New rule.
13300 (noload-ENV): Define.
13301 (tests): Add $(objpfx)noload-mem.
13302 * elf/noload.c: Include <memcheck.h>.
13303 (main): Call mtrace. Close all opened handles.
13305 2011-02-17 Andreas Schwab <schwab@redhat.com>
13308 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13309 dependencies are missing.
13311 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13313 Fix __if_freereq crash: Unlike the generic version which uses free,
13315 * sysdeps/mach/hurd/ifreq.h: New file.
13317 2011-01-27 Petr Baudis <pasky@suse.cz>
13318 Ulrich Drepper <drepper@gmail.com>
13321 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13322 to extend_alloca().
13323 * stdio-common/bug23.c: New file.
13324 * stdio-common/Makefile (tests): Add bug23.
13326 2010-09-28 Andreas Schwab <schwab@redhat.com>
13327 Ulrich Drepper <drepper@gmail.com>
13330 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13331 before performing relro protection. At old place add assertion
13332 to make sure nothing changed.
13334 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13335 Glauber de Oliveira Costa <glommer@gmail.com>
13337 * elf/elf.h: Add new ARM TLS relocs.
13339 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13342 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13344 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13346 * sysdeps/wordsize-64/tst-writev.c: New file.
13348 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13350 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13351 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13352 insns in _dl_start to prevent a TOC reference before relocs are
13355 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13358 * Makeconfig: Remove RANLIB definition.
13359 * Makerules: Don't use RANLIB.
13360 * aclocal.m4: Remove ranlib test.
13361 * configure.in: No need to check for ranlib.
13362 * elf/rtld-Rules: Don't use RANLIB.
13364 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13366 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13368 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13369 inclusion protection macro.
13371 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13372 SIGRTMIN and SIGRTMAX and print information in that case only when
13373 SIGRTMIN is defined.
13375 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13377 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13378 arginfo fn returning -1.
13380 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13381 and thousands string is zero terminated.
13383 2011-02-03 Andreas Schwab <schwab@redhat.com>
13385 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13386 sysdeps/unix/sysv/linux/bits/socket.h.
13388 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13390 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13391 (__CPU_COUNT): Remove old macros.
13392 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13393 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13394 (__CPU_ALLOC, __CPU_FREE): Add macros.
13395 (__sched_cpualloc, __sched_cpufree): Add declarations.
13397 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13399 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13400 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13401 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13402 (readdhstai): Return value of addhstaiX call.
13403 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13404 (addgrbyX): Return value returned by cache_addgr.
13405 (readdgrbyname): Return value returned by addgrbyX.
13406 (readdgrbygid): Likewise.
13407 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13408 (addpwbyX): Return value returned by cache_addpw.
13409 (readdpwbyname): Return value returned by addhstbyX.
13410 (readdpwbyuid): Likewise.
13411 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13412 (addservbyX): Return value returned by cache_addserv.
13413 (readdservbyname): Return value returned by addservbyX:
13414 (readdservbyport): Likewise.
13415 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13416 (addhstbyX): Return value returned by cache_addhst.
13417 (readdhstbyname): Return value returned by addhstbyX.
13418 (readdhstbyaddr): Likewise.
13419 (readdhstbynamev6): Likewise.
13420 (readdhstbyaddrv6): Likewise.
13421 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13422 (readdinitgroups): Return value returned by addinitgroupsX.
13423 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13424 (prune_cache): Keep track of timeout value of re-added entries.
13425 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13426 * nscd/nscd.h: Adjust prototypes of readd* functions.
13428 2011-02-04 Roland McGrath <roland@redhat.com>
13430 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13431 (nis_stats): Likewise.
13432 * nis/nis_modify.c (nis_modify): Likewise.
13433 * nis/nis_remove.c (nis_remove): Likewise.
13434 * nis/nis_add.c (nis_add): Likewise.
13436 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13438 * posix/fnmatch_loop.c: Add some consts.
13440 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13442 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13445 * config.make.in (config-cflags-novzeroupper): Define.
13446 * configure.in: Substitute libc_cv_cc_novzeroupper.
13447 * elf/Makefile (AVX-CFLAGS): Define.
13448 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13449 (CFLAGS-tst-auditmod4a.c): Likewise.
13450 (CFLAGS-tst-auditmod4b.c): Likewise.
13451 (CFLAGS-tst-auditmod6b.c): Likewise.
13452 (CFLAGS-tst-auditmod6c.c): Likewise.
13453 (CFLAGS-tst-auditmod7b.c): Likewise.
13454 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13456 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13458 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13459 function to the callback.
13460 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13462 2011-02-02 Andreas Schwab <schwab@redhat.com>
13464 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13467 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13470 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13472 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13474 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13477 * elf/Makefile: Add rules to build and run new test.
13478 * elf/tst-initorder.c: New file.
13479 * elf/tst-initorder.exp: New file.
13480 * elf/tst-initordera1.c: New file.
13481 * elf/tst-initordera2.c: New file.
13482 * elf/tst-initordera3.c: New file.
13483 * elf/tst-initordera4.c: New file.
13484 * elf/tst-initorderb1.c: New file.
13485 * elf/tst-initorderb2.c: New file.
13486 * elf/tst-order-a1.c: New file.
13487 * elf/tst-order-a2.c: New file.
13488 * elf/tst-order-a3.c: New file.
13489 * elf/tst-order-a4.c: New file.
13490 * elf/tst-order-b1.c: New file.
13491 * elf/tst-order-b2.c: New file.
13492 * elf/tst-order-main.c: New file.
13493 New test case by George Gensure <werkt0@gmail.com>.
13495 2010-10-01 Andreas Schwab <schwab@redhat.com>
13497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13498 decoding ACE if AI_CANONIDN.
13500 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13502 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13504 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13506 * version.h (RELEASE): Bump for 2.13 release.
13507 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13509 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13511 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13513 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13514 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13515 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13516 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13517 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13518 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13520 * posix/getconf.c: Update copyright year.
13521 * catgets/gencat.c: Likewise.
13522 * csu/version.c: Likewise.
13523 * debug/catchsegv.sh: Likewise.
13524 * debug/xtrace.sh: Likewise.
13525 * elf/ldconfig.c: Likewise.
13526 * elf/ldd.bash.in: Likewise.
13527 * elf/sprof.c (print_version): Likewise.
13528 * iconv/iconv_prog.c: Likewise.
13529 * iconv/iconvconfig.c: Likewise.
13530 * locale/programs/locale.c: Likewise.
13531 * locale/programs/localedef.c: Likewise.
13532 * malloc/memusage.sh: Likewise.
13533 * malloc/mtrace.pl: Likewise.
13534 * nscd/nscd.c (print_version): Likewise.
13535 * nss/getent.c: Likewise.
13537 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13538 PF_CAIF, and PF_ALG.
13539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13541 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13543 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13544 (modules-names): Use them.
13545 (ifunc-test-modules, ifunc-pie-tests): Define.
13546 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13547 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13548 (test-extras): Likewise.
13549 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13550 $(compile-command.c).
13551 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13552 (all-built-dso): Define.
13553 (check-textrel.out, check-execstack.out): Depend on it.
13555 * configure.in: Don't override --enable-multi-arch.
13557 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13560 * nscd/hstcache.c (tryagain): Define.
13561 (cache_addhst): Return tryagain not notfound for temporary errors.
13562 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13565 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13568 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13569 to make the syscall.
13570 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13573 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13574 and fall back to matching as normal character if the string ends before
13575 the matching ']' is found. This is what POSIX requires.
13576 * posix/testfnm.c: Adjust test result.
13577 * posix/globtest.sh: Adjust test result. Add new test.
13578 * posix/tst-fnmatch.input: Likewise.
13579 * posix/tst-fnmatch2.c: Add new test.
13581 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13583 * elf/Makefile (check-execstack): Revert last change. Depend on
13585 (check-execstack.h): New target.
13586 (generated): Add check-execstack.h.
13587 * elf/check-execstack.c: Include "check-execstack.h".
13588 (main): Revert last change.
13589 (handle_file): Return zero if GNU_STACK is absent and
13590 DEFAULT_STACK_PERMS doesn't include PF_X.
13592 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13594 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13595 in child fails because the descriptor is already closed.
13596 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13597 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13598 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13601 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13605 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13606 temporary buffer used to handle multi lookups locally.
13607 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13609 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13611 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13614 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13616 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13617 alignment for SSE2.
13619 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13622 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13623 characters. When rounding increased number of integer digits recompute
13625 * stdio-common/tst-grouping.c: New file.
13626 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13628 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13630 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13631 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13633 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13635 * bits/select.h: Likewise.
13637 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13639 * po/ja.po: Update from translation team.
13641 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13644 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13645 implementation just like for lxstat, fxstatat, et al.
13647 2010-12-27 Jim Meyering <meyering@redhat.com>
13650 * posix/regexec.c (build_trtable): Return failure indication upon
13651 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13653 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13656 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13657 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13658 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13659 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13662 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13665 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13666 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13668 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13670 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13671 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13672 script has SORT_BY_INIT_PRIORITY.
13673 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13674 NO_CTORS_DTORS_SECTIONS is defined.
13675 * elf/soinit.c: Likewise.
13676 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13677 NO_CTORS_DTORS_SECTIONS is defined.
13678 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13679 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13680 * sysdeps/sh/init-first.c: Likewise.
13681 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13683 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13685 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13686 always use the slow path.
13688 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13690 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13691 similar rule which adds the sysdep directories to the header search in
13692 order to pick up the correct platform stackinfo.h.
13693 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13694 perform test if it is, otherwise return successfully without testing.
13695 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13696 DEFAULT_STACK_PERMS define in stackinfo.h.
13697 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13698 defined in stackinfo.h.
13699 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13700 DEFAULT_STACK_PERMS defined in stackinfo.h.
13701 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13702 * sysdeps/ia64/stackinfo.h: Likewise.
13703 * sysdeps/s390/stackinfo.h: Likewise.
13704 * sysdeps/sh/stackinfo.h: Likewise.
13705 * sysdeps/sparc/stackinfo.h: Likewise.
13706 * sysdeps/x86_64/stackinfo.h: Likewise.
13707 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13708 PF_X for powerpc64. Retain PF_X for powerpc32.
13710 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13712 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13714 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13715 GETDENTS_64BIT_ALIGNED.
13717 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13719 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13721 2010-12-10 Andreas Schwab <schwab@redhat.com>
13723 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13726 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13727 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13729 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13730 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13732 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13735 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13738 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13740 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13742 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13744 * po/it.po: Update from translation team.
13746 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13751 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13753 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13755 2010-11-24 Andreas Schwab <schwab@redhat.com>
13757 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13759 (gaih_getanswer_slice): Likewise.
13761 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13765 2010-05-31 Petr Baudis <pasky@suse.cz>
13768 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13769 silently even in the chroot mode.
13771 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13773 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13774 last patch a bit. Pretty printing
13776 2010-05-31 Petr Baudis <pasky@suse.cz>
13779 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13780 initialization of skip_initgroups_dyn.
13782 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13784 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13785 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13787 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13789 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13791 2010-11-11 Andreas Schwab <schwab@redhat.com>
13793 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13794 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13795 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13796 ($(objpfx)tst-fnmatch-mem): New rule.
13797 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13798 * posix/tst-fnmatch.c (main): Call mtrace.
13800 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13803 Support Intel processor model 6 and model 0x2c.
13805 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13807 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13810 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13813 * string/test-strncasecmp.c (check_result): New function.
13814 (do_one_test): Use it.
13815 (check1): New function.
13816 (test_main): Use it.
13817 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13818 Support strcasecmp and strncasecmp.
13820 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13823 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13824 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13826 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13828 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13832 * sysdeps/x86_64/multiarch/bzero.S: New file.
13833 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13834 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13835 * sysdeps/x86_64/multiarch/memset.S: New file.
13836 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13838 Set bit_Prefer_SSE_for_memop for Intel processors.
13839 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13841 (index_Prefer_SSE_for_memop): Define.
13842 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13844 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13846 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13847 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13849 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13852 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13853 (__x86_64_raw_data_cache_size_half): Likewise.
13854 (__x86_64_raw_shared_cache_size): Likewise.
13855 (__x86_64_raw_shared_cache_size_half): Likewise.
13857 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13858 (__x86_64_raw_data_cache_size_half): Likewise.
13859 (__x86_64_raw_shared_cache_size): Likewise.
13860 (__x86_64_raw_shared_cache_size_half): Likewise.
13861 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13862 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13863 and __x86_64_raw_shared_cache_size_half. Round
13864 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13865 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13866 to multiple of 256 bytes.
13868 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13871 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13872 of inacessible symlinks. Verify result of symlink before returning it.
13873 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13874 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13876 2010-10-28 Erich Ritz <erichritz@gmail.com>
13878 * math/math.h (isinf): Fix typo in comment.
13880 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13882 * po/da.po: Update from translation team.
13884 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13886 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13887 is added to the list.
13889 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13890 Ulrich Drepper <drepper@gmail.com>
13892 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13893 the global list here. Move code to...
13894 (_dl_add_to_namespace_list): ...here. New function.
13895 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13896 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13897 * elf/dl-load.c (lose): Don't remove the element from the list.
13898 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13899 (_dl_map_object): Likewise.
13901 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13904 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13905 into all bytes of SSE register.
13906 Patch by Richard Li <richardpku@gmail.com>.
13908 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13911 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13914 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13916 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13917 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13918 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13919 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13924 2010-10-22 Andreas Schwab <schwab@redhat.com>
13926 * include/dlfcn.h (__RTLD_SECURE): Define.
13927 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13928 mode & __RTLD_SECURE instead.
13929 (open_path): Rename preloaded parameter to secure.
13930 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13931 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13932 * elf/dl-deps.c (openaux): Likewise.
13933 * elf/rtld.c (struct map_args): Remove is_preloaded.
13934 (map_doit): Don't use it.
13935 (dl_main): Likewise.
13936 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13937 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13939 2010-09-09 Andreas Schwab <schwab@redhat.com>
13941 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13942 (sysd-rules-targets): Remove duplicates.
13943 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13944 rtld-%.$o dependency.
13946 2010-10-18 Andreas Schwab <schwab@redhat.com>
13948 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13949 _dl_map_object do it.
13951 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13953 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13954 fast fma builtins, define the macros in the C99 standard.
13955 (FP_FAST_FMAF): Likewise.
13956 (FP_FAST_FMAL): Likewise.
13957 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13959 * bits/mathdef.h: Update copyright year.
13960 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13962 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13964 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13965 builtins, define the macros in the C99 standard.
13966 (FP_FAST_FMAF): Likewise.
13967 (FP_FAST_FMAL): Likewise.
13968 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13970 (FP_FAST_FMAF): Likewise.
13972 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13975 * math/libm-test.inc (fma_test): Some new testcases.
13976 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13977 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13978 y and infinite z. Do multiplication by C already in long double.
13979 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13981 y and infinite z. Do bitwise or of inexact bit into u.d.
13982 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13983 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13984 * sysdeps/i386/fpu/s_fma.S: Removed.
13985 * sysdeps/i386/fpu/s_fmal.S: Removed.
13987 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13990 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13992 computation is not scheduled after fetestexcept. Fix value
13993 of minimum denormal long double.
13995 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13998 * math/libm-test.inc (fma_test): Add some more tests.
13999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14002 2010-10-15 Andreas Schwab <schwab@redhat.com>
14004 * scripts/data/localplt-s390-linux-gnu.data: New file.
14005 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14007 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14010 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14011 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14013 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14015 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14017 if one of x and y is very large and the other is subnormal.
14018 * sysdeps/s390/fpu/s_fmaf.c: New file.
14019 * sysdeps/s390/fpu/s_fma.c: New file.
14020 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14021 * sysdeps/powerpc/fpu/s_fma.S: New file.
14022 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14023 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14024 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14026 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14029 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14031 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14032 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14033 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14034 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14035 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14036 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14039 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14042 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14043 * posix/bug-regex31.input: Add test case.
14045 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14047 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14048 * posix/bug-regex31.input: New file.
14051 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14052 (parse_sub_exp): Fix last change, use postorder.
14054 * posix/bug-regex31.c: New file.
14055 * posix/Makefile: Add rules to build and run bug-regex31.
14057 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14060 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14063 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14064 to have entries in sys_siglist.
14067 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14070 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14073 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14074 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14075 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14076 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14077 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14078 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14079 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14080 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14081 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14082 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14083 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14084 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14085 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14086 * math/ftestexcept.c (fetestexcept): Likewise.
14087 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14088 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14089 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14090 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14091 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14092 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14093 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14095 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14098 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14101 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14103 * string/bug-strstr1.c: New file.
14104 * string/Makefile: Add rules to build and run bug-strstr1.
14106 2010-10-05 Eric Blake <eblake@redhat.com>
14109 * string/str-two-way.h (two_way_long_needle): Always clear memory
14110 when skipping input due to the shift table.
14112 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14115 * malloc/mcheck.c: Handle large requests.
14118 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14119 for strncmp and strncasecmp.
14120 * string/stratcliff.c: Add tests for strcmp and strncmp.
14121 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14123 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14125 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14128 2010-09-30 Andreas Jaeger <aj@suse.de>
14130 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14131 (CGROUP_SUPER_MAGIC): Define.
14132 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14133 Handle btrfs and cgroup file systems.
14134 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14137 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14139 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14140 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14142 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14145 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14146 trying to locate the ELF header.
14148 2010-09-27 Andreas Schwab <schwab@redhat.com>
14151 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14152 Mask out sign-bit copies when constructing f_fsid.
14154 2010-09-24 Petr Baudis <pasky@suse.cz>
14156 * debug/stack_chk_fail_local.c: Add missing licence exception.
14157 * debug/warning-nop.c: Likewise.
14159 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14161 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14162 implementing getdents64 using getdents syscall, set d_type if
14163 __ASSUME_GETDENTS32_D_TYPE.
14165 2010-09-16 Andreas Schwab <schwab@redhat.com>
14167 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14168 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14170 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14173 * posix/unistd.h: Undo change of feature selection for ftruncate from
14176 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14178 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14181 2010-09-20 Andreas Schwab <schwab@redhat.com>
14183 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14185 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14187 2010-09-14 Andreas Schwab <schwab@redhat.com>
14189 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14190 variables after CHECK_SP call.
14191 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14193 2010-09-13 Andreas Schwab <schwab@redhat.com>
14194 Ulrich Drepper <drepper@redhat.com>
14196 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14197 re-relocationg ld.so.
14198 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14199 _dl_init_paths call.
14200 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14203 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14205 * resolv/res_init.c (__res_vinit): Count the default server we added.
14207 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14208 Ulrich Drepper <drepper@redhat.com>
14211 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14212 (____longjmp_chk): Use %ebx for saving value across system call.
14215 2010-09-06 Andreas Schwab <schwab@redhat.com>
14217 * manual/Makefile: Don't mix pattern rules with normal rules.
14219 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14221 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14223 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14224 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14225 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14226 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14230 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14233 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14234 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14236 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14238 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14239 * sysdeps/x86_64/addmul_1.S: Likewise.
14240 * sysdeps/x86_64/lshift.S: Likewise.
14241 * sysdeps/x86_64/mul_1.S: Likewise.
14242 * sysdeps/x86_64/rshift.S: Likewise.
14243 * sysdeps/x86_64/sub_n.S: Likewise.
14244 * sysdeps/x86_64/submul_1.S: Likewise.
14246 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14248 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14249 Define __sched_param instead of SCHED_* and sched_param when
14250 <bits/sched.h> is included with __need_schedparam defined.
14251 * bits/sched.h [__need_schedparam]
14252 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14253 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14254 (__defined_schedparam): Define to 1.
14255 (__sched_param): New structure, identical to sched_param.
14256 (__need_schedparam): Undefine.
14258 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14260 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14261 (epoll_create1): Declare.
14263 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14265 2010-08-31 Andreas Schwab <schwab@redhat.com>
14268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14269 shifting retval into place.
14271 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14273 * nis/rpcsvc/nis.h: Update copyright notice.
14274 * nis/rpcsvc/nis.x: Likewise.
14275 * nis/rpcsvc/nis_callback.h: Likewise.
14276 * nis/rpcsvc/nis_callback.x: Likewise.
14277 * nis/rpcsvc/nis_object.x: Likewise.
14278 * nis/rpcsvc/nis_tags.h: Likewise.
14279 * nis/rpcsvc/yp.h: Likewise.
14280 * nis/rpcsvc/yp.x: Likewise.
14281 * nis/rpcsvc/ypupd.h: Likewise.
14282 * nis/yp_xdr.c: Likewise.
14283 * nis/ypupdate_xdr.c: Likewise.
14285 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14286 mainly the body of pmap_getport. Add parameters to specify timeouts.
14287 (pmap_getport): Use __libc_rpc_getport.
14288 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14289 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14290 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14292 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14297 2010-08-27 Roland McGrath <roland@redhat.com>
14299 * sysdeps/i386/i686/multiarch/Makefile
14300 (CFLAGS-varshift.c): New variable.
14302 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14304 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14305 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14307 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14309 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14311 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14313 * sysdeps/x86_64/strlen.S: Unroll the loop.
14314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14315 strlen-sse2 strlen-sse2-bsf.
14316 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14317 __strlen_no_bsf if bit_Slow_BSF is set.
14318 (__strlen_sse42): Removed.
14319 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14320 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14322 2010-08-25 Roland McGrath <roland@redhat.com>
14324 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14325 * sysdeps/x86_64/multiarch/varshift.c: New file.
14326 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14327 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14328 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14329 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14331 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14334 strlen-sse2 strlen-sse2-bsf.
14335 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14336 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14337 (__strlen_sse2): Removed.
14338 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14339 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14341 bit_Slow_BSF for Atom.
14342 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14343 (index_Slow_BSF): Define.
14344 (HAS_SLOW_BSF): Define.
14346 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14349 * resolv/res_init.c (__res_vinit): When no server address at all
14350 is given default to loopback.
14352 2010-08-24 Roland McGrath <roland@redhat.com>
14354 * configure.in: Remove config-name.h generation.
14355 * configure: Regenerated.
14356 * config-name.in: File removed.
14357 * scripts/config-uname.sh: New file.
14358 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14359 ($(objdir)config-name.h): New target.
14361 * sunrpc/rpc_parse.h: Avoid nested comment.
14363 2010-08-24 Richard Henderson <rth@redhat.com>
14364 Ulrich Drepper <drepper@redhat.com>
14365 H.J. Lu <hongjiu.lu@intel.com>
14367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14369 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14370 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14371 _mm_alignr_epi8 with _mm_loadu_si128.
14372 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14373 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14374 (__m128i_shift_right): Removed.
14375 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14376 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14377 * sysdeps/x86_64/multiarch/varshift.h: New file.
14378 * sysdeps/x86_64/multiarch/varshift.S: New file.
14380 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14382 * configure.in: Move assembler checks to before sysdep dir checking.
14384 2010-08-20 Petr Baudis <pasky@suse.cz>
14386 * LICENSES: Sync the sunrpc license.
14388 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14390 * sunrpc/auth_des.c: Update copyright notice once again.
14391 * sunrpc/auth_none.c: Likewise.
14392 * sunrpc/auth_unix.c: Likewise.
14393 * sunrpc/authdes_prot.c: Likewise.
14394 * sunrpc/authuxprot.c: Likewise.
14395 * sunrpc/bindrsvprt.c: Likewise.
14396 * sunrpc/clnt_gen.c: Likewise.
14397 * sunrpc/clnt_perr.c: Likewise.
14398 * sunrpc/clnt_raw.c: Likewise.
14399 * sunrpc/clnt_simp.c: Likewise.
14400 * sunrpc/clnt_tcp.c: Likewise.
14401 * sunrpc/clnt_udp.c: Likewise.
14402 * sunrpc/clnt_unix.c: Likewise.
14403 * sunrpc/des_crypt.c: Likewise.
14404 * sunrpc/des_soft.c: Likewise.
14405 * sunrpc/get_myaddr.c: Likewise.
14406 * sunrpc/getrpcport.c: Likewise.
14407 * sunrpc/key_call.c: Likewise.
14408 * sunrpc/key_prot.c: Likewise.
14409 * sunrpc/openchild.c: Likewise.
14410 * sunrpc/pm_getmaps.c: Likewise.
14411 * sunrpc/pm_getport.c: Likewise.
14412 * sunrpc/pmap_clnt.c: Likewise.
14413 * sunrpc/pmap_prot.c: Likewise.
14414 * sunrpc/pmap_prot2.c: Likewise.
14415 * sunrpc/pmap_rmt.c: Likewise.
14416 * sunrpc/rpc/auth.h: Likewise.
14417 * sunrpc/rpc/auth_unix.h: Likewise.
14418 * sunrpc/rpc/clnt.h: Likewise.
14419 * sunrpc/rpc/des_crypt.h: Likewise.
14420 * sunrpc/rpc/key_prot.h: Likewise.
14421 * sunrpc/rpc/netdb.h: Likewise.
14422 * sunrpc/rpc/pmap_clnt.h: Likewise.
14423 * sunrpc/rpc/pmap_prot.h: Likewise.
14424 * sunrpc/rpc/pmap_rmt.h: Likewise.
14425 * sunrpc/rpc/rpc.h: Likewise.
14426 * sunrpc/rpc/rpc_des.h: Likewise.
14427 * sunrpc/rpc/rpc_msg.h: Likewise.
14428 * sunrpc/rpc/svc.h: Likewise.
14429 * sunrpc/rpc/svc_auth.h: Likewise.
14430 * sunrpc/rpc/types.h: Likewise.
14431 * sunrpc/rpc/xdr.h: Likewise.
14432 * sunrpc/rpc_clntout.c: Likewise.
14433 * sunrpc/rpc_cmsg.c: Likewise.
14434 * sunrpc/rpc_common.c: Likewise.
14435 * sunrpc/rpc_cout.c: Likewise.
14436 * sunrpc/rpc_dtable.c: Likewise.
14437 * sunrpc/rpc_hout.c: Likewise.
14438 * sunrpc/rpc_main.c: Likewise.
14439 * sunrpc/rpc_parse.c: Likewise.
14440 * sunrpc/rpc_parse.h: Likewise.
14441 * sunrpc/rpc_prot.c: Likewise.
14442 * sunrpc/rpc_sample.c: Likewise.
14443 * sunrpc/rpc_scan.c: Likewise.
14444 * sunrpc/rpc_scan.h: Likewise.
14445 * sunrpc/rpc_svcout.c: Likewise.
14446 * sunrpc/rpc_tblout.c: Likewise.
14447 * sunrpc/rpc_util.c: Likewise.
14448 * sunrpc/rpc_util.h: Likewise.
14449 * sunrpc/rpcinfo.c: Likewise.
14450 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14451 * sunrpc/rpcsvc/key_prot.x: Likewise.
14452 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14453 * sunrpc/rpcsvc/mount.x: Likewise.
14454 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14455 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14456 * sunrpc/rpcsvc/rex.x: Likewise.
14457 * sunrpc/rpcsvc/rstat.x: Likewise.
14458 * sunrpc/rpcsvc/rusers.x: Likewise.
14459 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14460 * sunrpc/rpcsvc/spray.x: Likewise.
14461 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14462 * sunrpc/rtime.c: Likewise.
14463 * sunrpc/svc.c: Likewise.
14464 * sunrpc/svc_auth.c: Likewise.
14465 * sunrpc/svc_authux.c: Likewise.
14466 * sunrpc/svc_raw.c: Likewise.
14467 * sunrpc/svc_run.c: Likewise.
14468 * sunrpc/svc_simple.c: Likewise.
14469 * sunrpc/svc_tcp.c: Likewise.
14470 * sunrpc/svc_udp.c: Likewise.
14471 * sunrpc/svc_unix.c: Likewise.
14472 * sunrpc/svcauth_des.c: Likewise.
14473 * sunrpc/xcrypt.c: Likewise.
14474 * sunrpc/xdr.c: Likewise.
14475 * sunrpc/xdr_array.c: Likewise.
14476 * sunrpc/xdr_float.c: Likewise.
14477 * sunrpc/xdr_mem.c: Likewise.
14478 * sunrpc/xdr_rec.c: Likewise.
14479 * sunrpc/xdr_ref.c: Likewise.
14480 * sunrpc/xdr_sizeof.c: Likewise.
14481 * sunrpc/xdr_stdio.c: Likewise.
14483 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14486 2010-08-19 Andreas Schwab <schwab@redhat.com>
14488 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14490 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14492 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14493 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14494 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14495 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14496 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14497 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14498 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14499 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14501 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14502 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14503 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14504 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14505 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14507 2010-07-26 Anton Blanchard <anton@samba.org>
14509 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14510 * malloc/arena.c (heap_trim): Likewise.
14512 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14514 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14516 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14517 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14519 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14521 * sysdeps/i386/elf/Makefile: New file.
14523 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14525 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14526 from fanotify_init.
14527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14528 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14530 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14532 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14534 * sysdeps/multiarch/strcmp.S: Likewise.
14536 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14538 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14539 strncase_l-nonascii.
14540 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14541 Add strncase_l-ssse3.
14542 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14543 * sysdeps/x86_64/strcmp.S: Likewise.
14544 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14545 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14546 * sysdeps/x86_64/strncase.S: New file.
14547 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14548 * sysdeps/x86_64/strncase_l.S: New file.
14549 * string/Makefile (strop-tests): Add strncasecmp.
14550 * string/test-strncasecmp.c: New file.
14552 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14555 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14556 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14558 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14560 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14562 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14564 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14565 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14566 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14568 2010-05-01 Alan Modra <amodra@gmail.com>
14570 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14571 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14572 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14573 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14574 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14575 tidying. Don't tail-call __sigjmp_save for static lib.
14576 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14578 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14579 (CALL_MCOUNT): Add eh info, and nop after bl.
14580 (TAIL_CALL_SYSCALL_ERROR): New macro.
14581 (PSEUDO_RET): Use it.
14582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14583 Correct save location of integer regs and cr.
14584 (_dl_profile_resolve): Correct cr save location. Delete nops
14585 after bl when SHARED. Reduce cfi size a little by better
14586 placement of cfi directives.
14587 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14588 make a stack frame. Instead use parm save area as a temp.
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14590 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14592 Don't make a stack frame for parent, use parm save area.
14593 Increase child stack frame to 112 bytes. Don't save unused reg,
14594 and adjust reg usage. Set up cfi on error recovery and
14595 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14597 (__makecontext): Add dummy nop after jump to exit.
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14599 Use correct parm save area and cr save, reduce stack frame.
14600 Correct cfi for possible PSEUDO_RET frame setup.
14601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14602 Branch to local label emitted by PSEUDO_RET rather than
14605 2010-08-12 Andreas Schwab <schwab@redhat.com>
14608 * locale/programs/locale.c (print_assignment): New function.
14609 (show_locale_vars): Use it.
14611 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14613 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14615 (struct statfs64): Likewise.
14616 (_STATFS_F_FLAGS): Define.
14617 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14618 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14619 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14620 (ST_VALID): Define locally.
14621 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14622 __statvfs_getflags, use the provided value.
14623 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14624 __ASSUME_STATFS_F_FLAGS.
14626 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14628 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14629 Add sys/fanotify.h.
14630 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14631 fanotify_mask for GLIBC_2.13.
14632 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14633 fanotify_init and fanotify_mark.
14634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14635 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14637 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14639 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14640 prlimit64 for GLIBC_2.13.
14641 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14643 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14646 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14647 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14648 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14651 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14654 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14655 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14657 * nss/Makefile: Add rules to build and run tst-nss-test1.
14658 * shlib-versions: Add entry for libnss_test1.
14659 * nss/nss_test1.c: New file.
14660 * nss/tst-nss-test1.c: New file.
14662 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14663 (__nss_configure_lookup): Set appropriate entry in
14664 __nss_configure_lookup to true.
14665 * nss/nsswitch.h: Define enum with indeces of databases in
14666 databases and __nss_database_custom arrays. Declare
14667 __nss_database_custom.
14668 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14669 to avoid using nscd when custom rules are installed.
14670 * nss/getXXbyYY_r.c: Likewise.
14671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14673 * nss/nss_files/files-parse.c: Whitespace fixes.
14675 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14678 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14679 * posix/fnmatch_loop.c: Likewise.
14681 2010-07-17 Andi Kleen <ak@linux.intel.com>
14683 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14684 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14685 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14686 * Versions.def [GLIBC_2.13]: Add.
14688 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14690 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14691 Also fail if tpwd after pwuid call is NULL.
14693 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14695 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14696 when converting to ms.
14698 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14700 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14701 EOPNOTSUPP errors with ENOTTY.
14702 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14703 EOPNOTSUPP errors with ENOTTY.
14705 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14707 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14708 Add strcasecmp_l-ssse3.
14709 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14711 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14712 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14713 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14715 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14717 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14719 * string/Makefile (strop-tests): Add strcasecmp.
14720 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14721 strcasecmp_l-nonascii.
14722 (gen-as-const-headers): Add locale-defines.sym.
14723 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14724 * sysdeps/x86_64/strcasecmp.S: New file.
14725 * sysdeps/x86_64/strcasecmp_l.S: New file.
14726 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14727 * sysdeps/x86_64/locale-defines.sym: New file.
14728 * string/test-strcasecmp.c: New file.
14730 * string/test-strcasestr.c: Test both ends of the range of characters.
14731 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14733 2010-07-29 Roland McGrath <roland@redhat.com>
14736 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14738 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14740 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14743 2010-07-27 Andreas Schwab <schwab@redhat.com>
14745 * manual/memory.texi (Malloc Tunable Parameters): Document
14748 2010-07-26 Roland McGrath <roland@redhat.com>
14751 * configure.in (-fgnu89-inline check): Set and substitute
14752 gnu89_inline, not libc_cv_gnu89_inline.
14753 * configure: Regenerated.
14754 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14756 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14758 * string/test-strnlen.c: New file.
14759 * string/Makefile (strop-tests): Add strnlen.
14760 * string/tester.c (test_strnlen): Add a few more test cases.
14761 * string/tst-strlen.c: Better error reporting.
14763 * sysdeps/x86_64/strnlen.S: New file.
14765 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14767 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14768 lower-latency instructions.
14770 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14772 * string/test-strcasestr.c: New file.
14773 * string/test-strstr.c: New file.
14774 * string/Makefile (strop-tests): Add strstr and strcasestr.
14775 * string/str-two-way.h: Don't undefine MAX.
14776 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14778 2010-07-21 Andreas Schwab <schwab@redhat.com>
14780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14781 strcasestr-nonascii.
14782 (CFLAGS-strcasestr-nonascii.c): Define.
14783 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14784 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14785 Remove unused attribute.
14787 2010-07-20 Roland McGrath <roland@redhat.com>
14789 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14790 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14791 ld.so.cache was broken. With it, there is no way to disable dsocaps
14792 like LD_HWCAP_MASK can disable hwcaps.
14794 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14796 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14798 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14800 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14801 call in strcasestr.
14802 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14803 __strcasestr_sse42_nonascii.
14804 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14805 strcasestr-nonascii.c.
14806 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14808 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14810 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14812 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14813 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14815 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14817 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14820 2010-07-06 Andreas Schwab <schwab@redhat.com>
14823 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14826 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14828 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14829 _PC_PIPE_BUF using F_GETPIPE_SZ.
14831 2010-07-05 Roland McGrath <roland@redhat.com>
14833 * manual/arith.texi (Rounding Functions): Fix rint description
14834 implicit in round description.
14836 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14838 * elf/Makefile: Fix linking for a few tests to make recent linker
14841 2010-06-30 Andreas Schwab <schwab@redhat.com>
14843 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14844 $(common-objpfx)libc_nonshared.a.
14846 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14848 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14849 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14850 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14851 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14852 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14853 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14854 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14855 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14870 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14871 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14872 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14873 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14874 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14875 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14876 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14877 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14878 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14879 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14880 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14881 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14897 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14899 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14900 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14901 * string/memmove.c (memmove): Renamed to ...
14902 (MEMMOVE): ...this. Default to memmove.
14903 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14904 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14907 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14908 mempcpy-ssse3-back memmove-ssse3-back.
14909 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14910 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14911 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14912 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14913 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14914 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14915 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14916 * sysdeps/x86_64/multiarch/memmove.c: New file.
14917 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14918 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14919 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14920 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14921 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14922 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14924 (index_Fast_Copy_Backward): Define.
14925 (HAS_ARCH_FEATURE): Define.
14926 (HAS_FAST_REP_STRING): Define.
14927 (HAS_FAST_COPY_BACKWARD): Define.
14929 2010-06-21 Andreas Schwab <schwab@redhat.com>
14931 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14932 Restore proper fallback handling.
14934 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14937 * posix/group_member.c (__group_member): Correct checking loop.
14939 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14940 OOM in getpwuid_r correctly. Return error number when the caller
14941 should return, otherwise -1.
14942 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14943 call returning > 0 value.
14944 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14946 2010-06-07 Andreas Schwab <schwab@redhat.com>
14948 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14949 libc_nonshared.a from targets in modules-names.
14951 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14953 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14956 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14958 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14959 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14960 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14961 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14963 2010-06-02 Andreas Schwab <schwab@redhat.com>
14965 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14967 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14969 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14971 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14972 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14975 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14976 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14978 2010-06-14 Roland McGrath <roland@redhat.com>
14980 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14982 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14984 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14985 __REDIRECT followed by __THROW.
14986 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14987 * posix/getopt.h (getopt): Likewise.
14989 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14991 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14992 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14993 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14995 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14996 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14998 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15000 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15002 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15006 Properly check family and model.
15008 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15010 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15012 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15014 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15016 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15018 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15021 2010-05-19 Andreas Schwab <schwab@redhat.com>
15023 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15026 2010-05-21 Andreas Schwab <schwab@redhat.com>
15028 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15029 and internal_recvmmsg.
15030 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15031 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15032 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15033 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15035 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15036 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15037 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15039 2010-05-20 Andreas Schwab <schwab@redhat.com>
15041 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15043 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15045 POWER7 optimizations.
15046 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15047 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15049 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15051 * version.h: Update for 2.13 development version.
15053 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15055 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15056 exceptions. Return 0.
15058 2010-05-07 Roland McGrath <roland@redhat.com>
15060 * elf/ldconfig.c (main): Add a const.
15062 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15064 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15065 (args_options): Add no-idn option.
15066 (ahosts_keys_int): Add idn_flags to ai_flags.
15067 (parse_option): Handle 'i' option to clear idn_flags.
15069 * malloc/malloc.c (_int_free): Possible race in the most recently
15070 added check. Only act on the data if no current modification
15073 See ChangeLog.17 for earlier changes.