1 2012-05-22 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4 (PREPARE_VERSION): Just use assert instead, it will be elided
7 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9 * sysdeps/unix/sysv/linux/Makefile: Include
10 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11 (sysdep_routines): Remove sysctl.
12 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18 2012-05-22 Andreas Jaeger <aj@suse.de>
20 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21 that pseudo_end is just ret and the stack pointer is correct also
22 for static library in error case.
24 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27 * nss/nsswitch.c (defconfig_entries): New variable.
28 (__nss_database_lookup): Don't leak defconfig entries.
29 (nss_parse_service_list): Don't leak on error paths.
30 (free_database_entries): New function.
31 (free_defconfig): New function.
32 (free_mem): Move common code to free_database_entries.
34 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45 (INTERNAL_SYSCALL_TYPES): Likewise.
46 (LOAD_ARGS_TYPES_[1-6]): Likewise.
47 (LOAD_REGS_TYPES_[1-6]): Likewise.
48 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
54 copysignl for GLIBC_2_0.
55 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
59 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
64 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
67 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70 * time/mktime.c: Update copyright years.
72 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
74 mktime: merge comment-quoting-style change from gnulib
75 * time/mktime.c: Quote 'like this' in comments.
76 The GNU coding standards suggest that we no longer quote `like this',
77 as "`" and "'" are typically rendered asymmetrically nowadays.
78 The typical gnulib style is to quote 'like this' when quoting
79 code, and "like this" when quoting English.
81 * time/mktime.c (compile-command): Add "-I.".
83 mktime: merge mktime-internal.h change from gnulib
84 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
86 mktime: merge time_r change from gnulib
87 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
89 mktime: merge DEBUG change from gnulib
90 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
91 case system <time.h> has a #define.
93 mktime: merge <sys/types.h> change from gnulib
94 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
95 since <time.t> is now guaranteed to define time_t.
97 mktime: merge HAVE_CONFIG_H change from gnulib
98 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
100 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
105 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
107 (struct rusage): Use anonymous union to pad each field to
110 2012-05-21 David S. Miller <davem@davemloft.net>
112 * Makefules (o-iterator): Remove .s cases.
113 (compile-command.s): Delete.
115 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
117 2012-05-21 Joseph Myers <joseph@codesourcery.com>
119 * configure.in (libc_cv_predef_stack_protector): Only consider
120 "foobar" and "__stack_chk_fail" lines in libc_undefs.
121 * configure: Regenerated.
123 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
126 New macro. Use R*LP on int and pointer.
127 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
128 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
129 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
130 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
132 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
133 [__WORDSIZE_TIME64_COMPAT32] instead of
134 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
135 (struct utmp): Likewise.
136 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
137 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
139 (__WORDSIZE_TIME64_COMPAT32): This.
140 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
141 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
142 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
143 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
144 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
145 (__WORDSIZE_TIME64_COMPAT32): New macro.
147 2012-05-21 Andreas Jaeger <aj@suse.de>
149 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
150 only if [SHARED]. Add prototype for __wcschr_ia32.
152 2012-05-21 Roland McGrath <roland@hack.frob.com>
154 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
155 of %rbp unmolested in the jmp_buf while mangling the low bits.
156 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
157 unmolested high bits of %rbp while demangling the low bits.
158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
160 2012-05-21 Andreas Jaeger <aj@suse.de>
162 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
163 * sunrpc/svc_simple.c: Use it for registerrpc.
164 * sunrpc/xcrypt.c: Use it for passwd2des.
166 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
168 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
170 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
171 Don't define if [__SYSCALL_WORDSIZE != 32].
172 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
175 2012-05-21 Bruno Haible <bruno@clisp.org>
176 Andreas Jaeger <aj@suse.de>
178 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
179 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
180 inptr and inend for must_buffer_ch.
181 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
182 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
183 * stdio-common/Makefile (tests): Remove bug15.
184 (bug15-ENV): Remove macro.
185 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
188 2012-05-19 Andreas Jaeger <aj@suse.de>
189 Roland McGrath <roland@hack.frob.com>
191 * manual/contrib.texi: Completely rewritten. It contains now an
192 alphabetical list of contributors and their contributions.
194 2012-05-21 Richard Henderson <rth@twiddle.net>
196 * misc/getauxval.c (__getauxval): Use unsigned long int.
197 * misc/sys/auxv.h: Include <sys/cdefs.h>.
198 (getauxval): Use unsigned long int.
200 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
202 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
204 2012-05-21 Roland McGrath <roland@hack.frob.com>
206 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
207 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
208 __alignof__ (long double).
210 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
214 2012-05-20 Richard Henderson <rth@twiddle.net>
216 * misc/getauxval.c: New file.
217 * misc/sys/auxv.h: New file.
218 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
219 (routines): Add getauxval.
220 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
221 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
222 * elf/dl-sysdep.c (_dl_auxv): Remove.
223 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
224 * elf/dl-support.c (_dl_auxv): New variable.
225 (_dl_aux_init): Initialize it.
226 * manual/startup.texi (Auxiliary Vector): New node.
227 * sysdeps/generic/bits/hwcap.h: New file.
228 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
229 * sysdeps/powerpc/sysdep.h: ... here. Include it.
230 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
231 * sysdeps/sparc/sysdep.h: ... here. Include it.
232 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
233 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
245 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
249 2012-05-19 David S. Miller <davem@davemloft.net>
251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
253 2012-05-19 Joseph Myers <joseph@codesourcery.com>
256 * math/s_ccosh.c: Include <float.h>
257 (__ccosh): Avoid internal overflow calculating sinh and cosh
258 values before multiplying by sin and cos values.
259 * math/s_ccoshf.c: Likewise.
260 * math/s_ccoshl.c: Likewise.
261 * math/s_csin.c: Likewise.
262 * math/s_csinf.c: Likewise.
263 * math/s_csinl.c: Likewise.
264 * math/s_csinh.c: Likewise.
265 * math/s_csinhf.c: Likewise.
266 * math/s_csinhl.c: Likewise.
267 * math/libm-test.inc (ccos_test): Add more tests.
268 (ccosh_test): Likewise.
269 (csin_test): Likewise.
270 (csinh_test): Likewise.
271 * sysdeps/i386/fpu/libm-test-ulps: Update.
272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
274 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
276 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
277 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
279 * sysdeps/x86_64/x32/_itoa.h: Add comment.
281 2012-05-19 Joseph Myers <joseph@codesourcery.com>
283 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
284 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
285 * sysdeps/powerpc/soft-fp/Versions: Likewise.
286 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
287 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
288 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
289 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
290 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
291 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
292 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
293 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
294 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
295 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
296 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
297 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
298 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
299 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
300 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
301 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
302 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
303 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
304 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
305 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
306 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
307 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
308 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
309 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
310 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
311 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
312 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
313 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
315 2012-05-18 Andreas Jaeger <aj@suse.de>
317 * csu/.gitignore: Delete.
319 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
321 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
322 (timex): Use __syscall_slong_t.
324 2012-05-18 Andreas Jaeger <aj@suse.de>
325 Carlos O'Donell <carlos_odonell@mentor.com>
327 * manual/install.texi (Configuring and compiling): Update
328 description about files modified in the source directory.
329 * INSTALL: Regenerated.
331 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
333 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
334 value. Use "or" to set return value to -1.
335 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
338 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
340 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
341 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
342 failure if the compiler has Graphite support disabled.
343 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
345 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
346 CFLAGS-memmove.c): Likewise.
347 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
350 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
352 * sysdeps/x86_64/x32/_itoa.h: New file.
354 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
355 getdents system call only if kernel and user dirents have the
356 same d_ino and d_off.
358 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
359 LLONG_MAX != LONG_MAX.
360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
361 (_fitoa_word): Likewise.
363 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
365 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
366 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
367 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
369 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
370 include <bits/wordsize.h>. Check __x86_64__ instead of
372 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
373 if __x86_64__ is defined. Use anonymous union on fpstate.
375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
378 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
380 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
381 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
382 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
383 Refer to _rtld_local_ro instead of _rtld_global_ro.
384 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
386 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
388 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
390 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
391 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
392 of _rtld_global, and rtld_progname instead of _dl_argv[0].
394 * sysdeps/powerpc/powerpc32/dl-machine.c
395 (__elf_machine_runtime_setup) [PROF]: Don't reference
398 2012-05-18 Andreas Jaeger <aj@suse.de>
400 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
401 function only available for GCCs before 3.4 since GCC 3.4
402 introduced a builtin.
412 (nearbyint): Likewise.
413 (nearbyintf): Likewise.
419 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
421 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
422 on both fields and cast pointer to __syscall_ulong_t.
424 * bits/types.h (__fsword_t): New type.
425 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
426 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
428 (__FSWORD_T_TYPE): Likewise.
429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
430 (__FSWORD_T_TYPE): Likewise.
431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
432 (__FSWORD_T_TYPE): Likewise.
433 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
434 (__FSWORD_T_TYPE): Likewise.
435 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
436 __SWORD_TYPE with __fsword_t.
437 (statfs64): Likewise.
439 2012-05-17 David S. Miller <davem@davemloft.net>
441 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
443 2012-05-17 Andreas Jaeger <aj@suse.de>
445 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
448 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
450 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
452 2012-05-17 Andreas Jaeger <aj@suse.de>
454 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
457 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
459 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
461 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
463 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
464 * sysdeps/x86_64/tst-mallocalign1.c: New file.
466 2012-05-17 Andreas Jaeger <aj@suse.de>
467 Carlos O'Donell <carlos_odonell@mentor.com>
470 * sysdeps/x86_64/multiarch/init-arch.h
471 (bit_YMM_Usable): Rename to...
472 (bit_AVX_Usable): ... this.
473 (bit_FMA4_Usable): New macro.
474 (bit_XMM_state): New macro.
475 (bit_YMM_state): New macro.
476 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
477 [__ASSEMBLER__] (index_AVX_Usable): ... this.
478 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
479 (CPUID_OSXSAVE): New macro.
480 (CPUID_AVX): New macro.
481 (CPUID_FMA4): New macro.
482 (index_YMM_Usable): Rename to...
483 (index_AVX_Usable): ... this.
484 (HAS_AVX): Use HAS_ARCH_FEATURE.
485 (HAS_FMA4): Likewise.
486 (HAS_YMM_USABLE): Remove.
487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
488 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
490 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
491 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
492 * sysdeps/x86_64/multiarch/Makefile: Likewise.
493 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
494 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
496 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
498 * math/libm-test.c: Support platforms without multiple rounding modes.
499 * math/bug-nextafter.c: Support platforms without FP exceptions.
500 * math/bug-nexttoward.c: Likewise.
501 * math/test-fenv.c: Likewise.
502 * math/test-misc.c: Likewise.
503 * stdlib/bug-getcontext.c: Likewise.
505 2012-05-17 Andreas Jaeger <aj@suse.de>
507 * manual/examples/search.c (critter_cmp): Change signature to
509 * manual/string.texi (Collation Functions): Likewise.
511 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
513 * bits/types.h: Fold copyright years.
514 * bits/typesizes.h: Likewise.
515 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
516 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
517 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
518 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
519 * time/time.h: Likewise.
521 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
524 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
525 in instead of returning them. Return void.
526 (__libc_mallinfo): Accumulate over all arenas.
527 (__malloc_stats): Adjust for change in int_mallinfo interface.
529 2012-05-16 Roland McGrath <roland@hack.frob.com>
532 * configure.in (NM): Add AC_CHECK_TOOL for it.
533 (libc_extra_cflags): New substituted variable.
534 Check for -fstack-protector being used implicitly.
535 * configure: Regenerated.
536 * config.make.in (config-extra-cflags): New variable,
537 gets @libc_extra_cflags@.
538 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
541 * configure.in: Check for _FORTIFY_SOURCE being predefined.
542 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
543 * configure: Regenerated.
544 * config.make.in (CPPUNDEFS): New substituted variable.
545 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
546 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
547 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
549 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
551 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
552 (mq_attr): Use __syscall_slong_t.
554 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
556 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
557 Check __x86_64__ instead of __WORDSIZE.
558 (_STAT_VER_LINUX): Likewise.
559 (stat): Check __x86_64__ instead of __WORDSIZE. Use
560 __syscall_ulong_t and __syscall_slong_t.
563 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
565 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
567 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
569 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
571 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
573 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
576 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
577 include <bits/wordsize.h>. Check __x86_64__ instead of
579 (greg_t): Use "__extension__ long long int" if __x86_64__ is
581 (mcontext_t): Replace "unsigned long" with "unsigned long long".
583 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
584 include <bits/wordsize.h>. Check __x86_64__ instead of
586 (user_regs_struct): Use "__extension__ unsigned long long"
587 instead of "unsigned long" if __x86_64__ is defined.
588 (user): Likewise. Pad after pointer field if __ILP32__ is
591 2012-05-16 Joseph Myers <joseph@codesourcery.com>
593 * configure.in (makeinfo): Require version 4.5 or later. Allow
595 * configure: Regenerated.
596 * manual/install.texi (texinfo): Increase version requirement to
598 * INSTALL: Regenerated.
600 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
602 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
604 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
606 * sysdeps/x86_64/x32/ffs.c: New file.
608 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
610 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
611 defined. Use __syscall_ulong_t.
612 (shminfo): Use __syscall_ulong_t.
613 (shm_info): Likewise.
615 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
618 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
620 (msgqnum_t): Use __syscall_ulong_t.
621 (msglen_t): Likewise.
622 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
625 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
626 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
628 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
630 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
631 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
633 * sysvipc/sys/msg.h (msgbuf): Replace long int with
636 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
637 include <bits/wordsize.h>. Check __x86_64__ instead of
640 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
641 "unsigned long long int" if __x86_64__ is defined.
642 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
644 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
645 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
646 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
648 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
650 (GET_PC): Cast to uintptr_t first.
651 (GET_FRAME): Likewise.
652 (GET_STACK): Likewise.
654 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
656 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
657 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
658 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
659 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
660 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
661 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
662 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
663 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
664 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
665 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
666 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
668 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
669 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
670 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
671 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
672 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
673 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
674 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
675 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
676 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
677 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
678 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
679 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
680 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
681 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
682 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
684 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
686 * Makerules (+depfiles): Also collect depfiles from .oS in
688 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
689 .oS, $(libnldbl-routines)).
691 * Makerules (native-compile-mkdep-flags): Define.
692 * sunrpc/Makefile (extra-objs): Add $(addprefix
693 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
694 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
695 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
696 calling $(make-target-directory).
698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
700 * bits/types.h (__snseconds_t): Removed.
701 * time/time.h (struct timespec): Replace __snseconds_t with
703 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
704 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
706 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
707 (__SNSECONDS_T_TYPE): Likewise.
708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
709 (__SNSECONDS_T_TYPE): Likewise.
710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
711 (__SNSECONDS_T_TYPE): Likewise.
713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
715 * sysdeps/mach/hurd/bits/typesizes.h
716 (__SYSCALL_SLONG_TYPE): New macro.
717 (__SYSCALL_ULONG_TYPE): Likewise.
719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
721 * bits/types.h (__syscall_slong_t): New type.
722 (__syscall_ulong_t): Likewise.
724 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
725 (__SYSCALL_ULONG_TYPE): Likewise.
726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
727 (__SYSCALL_SLONG_TYPE): Likewise.
728 (__SYSCALL_ULONG_TYPE): Likewise.
729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
730 (__SYSCALL_SLONG_TYPE): Likewise.
731 (__SYSCALL_ULONG_TYPE): Likewise.
732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
733 (__SYSCALL_SLONG_TYPE): Likewise.
734 (__SYSCALL_ULONG_TYPE): Likewise.
736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
738 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
739 Add sigaltstack-offsets.sym.
740 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
741 <sigaltstack-offsets.h>.
742 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
744 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
745 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
747 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
749 2012-05-15 Joseph Myers <joseph@codesourcery.com>
751 * elf/stackguard-macros.h: Remove file.
752 * sysdeps/generic/stackguard-macros.h: New file.
753 * sysdeps/i386/stackguard-macros.h: Likewise.
754 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
755 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
756 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
757 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
758 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
759 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
760 * sysdeps/x86_64/stackguard-macros.h: Likewise.
761 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
762 <elf/stackguard-macros.h>.
765 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
766 __aligned__ in attribute.
767 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
768 (gregset_t): Likewise.
770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
772 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
773 * sysdeps/x86_64/64/Implies-after: Here. New file.
774 * sysdeps/x86_64/x32/Implies-after: New file.
776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
778 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
779 and access return value for _dl_profile_fixup. Use R10_LP to
782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
784 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
788 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
789 * sysdeps/x86_64/x32/sysdep.h: New file.
791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
793 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
794 * sysdeps/x86_64/setjmp.S: Likewise.
796 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
798 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
799 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
800 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
801 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
802 remove unused global constant.
804 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
806 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
807 include of <not-cancel.h>.
809 2012-05-15 Roland McGrath <roland@hack.frob.com>
811 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
813 2012-05-15 Jeff Law <law@redhat.com>
814 Andreas Jaeger <aj@suse.de>
817 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
819 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
820 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
821 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
822 code changing __hst_map_handle.map.
824 2012-05-15 Roland McGrath <roland@hack.frob.com>
826 * configure.in (sysnames): Look for Implies-before and Implies-after
828 * configure: Regenerated.
830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
832 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
833 8-byte data alignment with LP_SIZE alignment.
835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
837 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
842 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
844 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
846 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
847 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
850 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
854 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
855 (stackinfo_sub_sp): Likewise.
857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
859 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
864 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
869 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
872 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
874 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
878 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
879 into R11_LP and load __x86_64_shared_cache_size_half into
882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
884 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
887 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
889 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
891 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
893 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
895 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
896 powerpc32/power7/fpu/s_logb.c via #include.
897 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
898 powerpc32/power7/fpu/s_logbf.c via #include.
899 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
900 powerpc32/power7/fpu/s_logbl.c via #include.
902 2012-05-15 Joseph Myers <joseph@codesourcery.com>
904 * README.libm: Remove file.
906 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
908 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
909 count for x32. Use R*_LP and omit operand-size suffix.
911 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
913 * shlib-versions: Move x86_64-.*-linux.* entries to ...
914 * sysdeps/x86_64/64/shlib-versions: Here. New file.
915 * sysdeps/x86_64/x32/shlib-versions: New file.
917 2012-05-14 Roland McGrath <roland@hack.frob.com>
919 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
920 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
921 Use _dl_fatal_printf instead.
923 2012-05-14 Joseph Myers <joseph@codesourcery.com>
925 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
926 set if not set by the user. Do not allow for being unset.
927 * sysdeps/unix/sysv/linux/configure: Regenerated.
929 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
931 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
932 the `q' suffix from lea and replace .quad with ASM_ADDR.
934 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
937 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
939 (PTR_DEMANGLE): Likewise.
941 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
943 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
945 (ASM_ADDR): Likewise.
963 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
965 * sysdeps/x86_64/x32/dl-machine.h: New file.
967 2012-05-14 Andreas Jaeger <aj@suse.de>
969 * manual/Makefile (subdir): Remove export of subdir.
970 (all): Remove target.
971 (.PHONY): Remove all from list.
972 (mkinstalldirs): Remove.
973 (.PHONY): Remove installdirs from list.
974 ($(inst_infodir)/libc.info): Use make-target-directory.
975 (installdirs): Remove.
977 (glibc-targets): Remove.
980 ($(objpfx)stubs ../po/manual.pot): Remove.
981 ($(objpfx)stamp%): Remove.
982 (make-target-directory): Remove.
983 (subdir_install): Remove.
991 * manual/.gitignore: Remove, it's not needed anymore.
992 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
994 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
996 (texis): Renamed to $(objpfx)texis.
997 (texis-path): New, contains path to generated files.
998 (chapters.%): Use texis-path for complete path, add extra argument
1000 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1001 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1002 (summary,texi, stamp-summary): Use complete path of
1003 files. Generate files in build dir.
1004 (dir-add.texi): Build in build dir.
1005 (libm-err.texi,stamp-libm-err): Likewise.
1006 (version.texi, stamp-version): Likewise.
1007 (.%c.texi): Likewise.
1008 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1009 (mostlyclean): Remove target.
1010 (realclean): Remove target.
1011 (generated): Add new variable with contents from mostlyclean and
1012 realclean, remove entries duplicated in common-mostlyclean, add
1013 stamp-libm-err and stamp-version.
1014 (generated-dirs): Add libc directory.
1015 ($(inst_infodir)/libc.info): Install files from build dir.
1017 * manual/install.texi (Configuring and compiling): Adjust since
1018 the info files are not part of the tar ball anymore.
1020 2012-05-14 Andreas Jaeger <aj@suse.de>
1022 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1025 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1029 to 2.2.0 where earlier.
1030 * sysdeps/unix/sysv/linux/configure: Regenerated.
1031 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1032 Remove conditional code.
1033 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1034 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1035 Remove conditional code.
1036 [!__NR_lchown]: Likewise.
1037 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1038 [__NR_lchown]: Likewise.
1039 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1040 comment referencing __ASSUME_LCHOWN_SYSCALL.
1041 * sysdeps/unix/sysv/linux/i386/sigaction.c
1042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1044 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1045 Remove conditional code.
1046 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1047 (__protocol_available): Remove #if 0 code.
1048 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1050 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1051 * sysdeps/unix/sysv/linux/kernel-features.h
1052 (__ASSUME_GETCWD_SYSCALL): Don't define.
1053 (__ASSUME_REALTIME_SIGNALS): Likewise.
1054 (__ASSUME_PREAD_SYSCALL): Likewise.
1055 (__ASSUME_PWRITE_SYSCALL): Likewise.
1056 (__ASSUME_POLL_SYSCALL): Likewise.
1057 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1058 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1060 (__ASSUME_SIOCGIFNAME): Don't define.
1061 (__ASSUME_MSG_NOSIGNAL): Likewise.
1062 (__ASSUME_SENDFILE): Define unconditionally.
1063 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1064 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1066 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1067 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1068 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1069 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1070 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1071 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1072 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1074 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1077 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1078 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1080 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1083 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1084 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1086 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1089 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1090 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1092 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1095 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1096 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1097 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1098 Remove conditional code.
1099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1100 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1101 Remove conditional code.
1102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1103 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1104 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1105 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1106 Remove conditional code.
1107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1108 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1109 Remove conditional code.
1110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1111 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1112 Remove conditional code.
1113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1114 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1115 Remove conditional code.
1116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1117 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1118 Remove conditional code.
1119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1120 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1123 * sysdeps/unix/sysv/linux/sigaction.c
1124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1126 * sysdeps/unix/sysv/linux/sigpending.c
1127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1129 * sysdeps/unix/sysv/linux/sigprocmask.c
1130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1132 * sysdeps/unix/sysv/linux/sigsuspend.c
1133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1135 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1136 (__libc_missing_rt_sigs): Remove.
1137 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1138 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1139 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1140 Remove conditional code.
1141 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1142 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1144 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1145 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1146 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1147 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1149 2012-05-14 Andreas Jaeger <aj@suse.de>
1151 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1152 it's not used in glibc.
1153 (__coshm1): Likewise.
1154 (__acosh1p): Likewise.
1157 * manual/string.texi (Copying and Concatenation): Add missing
1158 variable in concat example.
1159 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1161 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1164 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1165 __builtin_clzl with __builtin_clzll.
1167 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1170 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1173 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1175 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1176 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1177 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1178 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1180 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1182 * NEWS: Update ia64 info.
1184 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1186 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1189 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1191 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1192 * sysdeps/unix/syscalls.list (dup3): Likewise.
1193 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1194 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1196 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1198 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1199 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1201 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1203 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1205 (TLS_IE): Use mov/add instead of movq/addq to load thread
1207 (TLS_GD_PREFIX): New.
1210 2012-05-11 David S. Miller <davem@davemloft.net>
1212 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1213 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1214 (_FPU_SETCW): Likewise.
1216 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1218 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1221 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1224 * iconvdata/gb18030.c: Update tables.
1225 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1226 characters specially.
1227 (BODY for TO_LOOP): Add encoding of missing ranges.
1229 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1232 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1233 * sysdeps/mach/hurd/dup3.c: Likewise.
1234 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1235 * sysdeps/powerpc/memmove.c:: Likewise.
1237 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1240 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1242 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1244 * elf/elf.h (R_X86_64_RELATIVE64): New.
1245 (R_X86_64_NUM): Updated.
1246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1247 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1248 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1249 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1250 tst-quad1pie tst-quad2pie
1251 (modules-names): Add tst-quadmod1 tst-quadmod2.
1252 ($(objpfx)tst-quad1): New dependency.
1253 ($(objpfx)tst-quad2): Likewise.
1254 ($(objpfx)tst-quad1pie): Likewise.
1255 ($(objpfx)tst-quad2pie): Likewise.
1256 * sysdeps/x86_64/tst-quad1.c: New file.
1257 * sysdeps/x86_64/tst-quad1pie.c: New file.
1258 * sysdeps/x86_64/tst-quad2.c: Likewise.
1259 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1260 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1261 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1262 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1263 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1265 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1267 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1268 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1269 * streams/stropts.h (t_scalar_t): Define type.
1271 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1272 (_PATH_PRESERVE): Set to "/var/lib".
1273 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1275 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1278 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1279 if __dir_mkfile succeeded.
1281 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1282 checking for _hurd_dtablesize. Unlock it right after having
1283 finished _hurd_dtable allocation.
1285 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1287 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1288 * sysdeps/mach/hurd/configure: Regenerated.
1289 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1290 special-casing to...
1291 * sysdeps/gnu/configure.in: ... this new file.
1292 * sysdeps/unix/sysv/linux/configure: Regenerated.
1293 * sysdeps/gnu/configure: New generated file.
1295 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1296 for Linux: use nsec instead of usec, as well as:
1297 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1298 members of type struct timespec.
1299 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1301 (struct stat64): Likewise.
1302 (_STATBUF_ST_NSEC): New macro.
1303 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1305 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1306 __strtoul_internal rather than strtoul.
1308 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1310 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1313 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1315 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1316 which preserves existing values.
1317 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1319 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1321 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1322 TIMEOUT values. Return EINVAL for NFDS values either negative or
1323 greater than FD_SETSIZE.
1325 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1327 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1328 allocated, call __vm_protect to finish enabling the existing space, and
1329 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1330 allocate the remainder.
1332 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1334 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1335 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1339 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1340 sysdeps/mach/hurd/readlink.c.
1342 * posix/tst-sysconf.c (posix_options): Only use
1343 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1344 _POSIX_SYNCHRONIZED_IO when they are defined
1345 * sysdeps/mach/hurd/bits/posix_opt.h:
1346 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1347 (_XOPEN_REALTIME): Undefine macro.
1348 (_XOPEN_REALTIME_THREADS): Undefine macro.
1349 (_XOPEN_SHM): Undefine macro.
1350 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1352 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1354 (_POSIX_ASYNC_IO): Undefine macro.
1355 (_POSIX_PRIORITIZED_IO): Undefine macro.
1356 (_POSIX_SPIN_LOCKS): Define macro to -1.
1358 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1359 SA_NODEFER, SA_RESETHAND.
1360 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1361 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1364 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1366 * elf/Makefile (pldd-modules): Define unconditionally.
1368 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1370 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1372 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1374 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1375 Return ENOENT when name is empty.
1376 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1378 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1380 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1382 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1384 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1386 Fix mlock in all cases except non-readable pages.
1387 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1388 instead of VM_PROT_ALL as parameter to __vm_wire function.
1390 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1391 (__mkdir): When path is `/', just fail with EEXIST.
1392 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1394 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1396 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1397 <sys/uio.h> (for writev).
1398 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1399 and <sys/param.h> (for MIN).
1401 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1403 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1404 REQUESTED_TIME. Properly set the remaining time and return EINTR
1407 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1409 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1410 Depend on against $(link-rpcuserlibs).
1412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1414 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1415 (__libc_stack_end): Do not use attribute_relro.
1416 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1417 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1418 to libthread-provided value.
1419 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1422 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1425 * bits/libc-lock.h (__libc_once_get): New macro.
1426 * sysdeps/mach/bits/libc-lock.h: Likewise.
1427 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1429 instead of using implementation details.
1431 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1432 * libio/freopen.c: Likewise.
1433 * libio/freopen64.c: Likewise.
1434 * misc/syslog.c: Likewise.
1435 * nscd/connections.c: Likewise.
1436 * nscd/netgroupcache.c: Likewise.
1437 * sysdeps/posix/getcwd.c: Likewise.
1439 2012-05-10 Roland McGrath <roland@hack.frob.com>
1441 * math/w_ilogbf.c: Add #include <limits.h>.
1443 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1445 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1446 path instead of returning without unlocking.
1448 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1449 immediate-write ioctls.
1450 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1452 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1454 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1455 __builtin_frame_address instead of making assumptions about the
1456 location of the return address relative to DATA. Force early load of
1458 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1459 __builtin_frame_address.
1462 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1463 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1464 implement dup3 and do some further code clean-ups.
1465 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1466 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1468 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1470 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1472 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1473 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1474 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1475 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1476 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1479 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1480 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1481 when handler == SIG_ERR, not when handler != SIG_ERR.
1483 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1485 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1486 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1489 accept4 for GNU Hurd.
1490 * include/sys/socket.h (__libc_accept4): New prototype.
1491 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1492 to implement __libc_accept4.
1493 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1495 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1497 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1498 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1499 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1502 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1504 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1506 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1508 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1509 assertion on O_CLOEXEC flag.
1510 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1511 * hurd/intern-fd.c: Likewise.
1512 * hurd/port2fd.c: Likewise.
1514 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1517 * bits/in.h (IPV6_PKTINFO): Define new macro.
1518 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1520 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1526 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1527 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1528 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1530 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1531 * math/libm-test.inc (logb_test) : Additional logb tests.
1533 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1534 Andreas Jaeger <aj@suse.de>
1536 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1537 * configure: Regenerated.
1538 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1539 * config.make.in (link-obsolete-rpc): New substituted variable.
1540 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1541 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1542 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1543 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1544 so that libc.a contains the symbols.
1545 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1546 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1547 * sunrpc/auth_none.c: Likewise.
1548 * sunrpc/auth_unix.c: Likewise.
1549 * sunrpc/authdes_prot.c: Likewise.
1550 * sunrpc/authuxprot.c: Likewise.
1551 * sunrpc/clnt_gen.c: Likewise.
1552 * sunrpc/clnt_perr.c: Likewise.
1553 * sunrpc/clnt_raw.c: Likewise.
1554 * sunrpc/clnt_simp.c: Likewise.
1555 * sunrpc/clnt_tcp.c: Likewise.
1556 * sunrpc/clnt_udp.c: Likewise.
1557 * sunrpc/clnt_unix.c: Likewise.
1558 * sunrpc/des_crypt.c: Likewise.
1559 * sunrpc/des_soft.c: Likewise.
1560 * sunrpc/get_myaddr.c: Likewise.
1561 * sunrpc/key_call.c: Likewise.
1562 * sunrpc/key_prot.c: Likewise.
1563 * sunrpc/netname.c: Likewise.
1564 * sunrpc/pm_getmaps.c: Likewise.
1565 * sunrpc/pm_getport.c: Likewise.
1566 * sunrpc/pmap_clnt.c: Likewise.
1567 * sunrpc/pmap_prot.c: Likewise.
1568 * sunrpc/pmap_prot2.c: Likewise.
1569 * sunrpc/pmap_rmt.c: Likewise.
1570 * sunrpc/publickey.c: Likewise.
1571 * sunrpc/rpc_cmsg.c: Likewise.
1572 * sunrpc/rpc_common.c: Likewise.
1573 * sunrpc/rpc_dtable.c: Likewise.
1574 * sunrpc/rpc_prot.c: Likewise.
1575 * sunrpc/rpc_thread.c: Likewise.
1576 * sunrpc/rtime.c: Likewise.
1577 * sunrpc/svc.c: Likewise.
1578 * sunrpc/svc_auth.c: Likewise.
1579 * sunrpc/svc_raw.c: Likewise.
1580 * sunrpc/svc_run.c: Likewise.
1581 * sunrpc/svc_tcp.c: Likewise.
1582 * sunrpc/svc_udp.c: Likewise.
1583 * sunrpc/svc_unix.c: Likewise.
1584 * sunrpc/svcauth_des.c: Likewise.
1585 * sunrpc/xcrypt.c: Likewise.
1586 * sunrpc/xdr.c: Likewise.
1587 * sunrpc/xdr_array.c: Likewise.
1588 * sunrpc/xdr_float.c: Likewise.
1589 * sunrpc/xdr_intXX_t.c: Likewise.
1590 * sunrpc/xdr_mem.c: Likewise.
1591 * sunrpc/xdr_rec.c: Likewise.
1592 * sunrpc/xdr_ref.c: Likewise.
1593 * sunrpc/xdr_sizeof.c: Likewise.
1594 * sunrpc/xdr_stdio.c: Likewise.
1596 2012-05-10 Roland McGrath <roland@hack.frob.com>
1598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1599 change. Update copyright years.
1601 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1603 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1605 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1606 Joseph Myers <joseph@codesourcery.com>
1607 Paul Pluzhnikov <ppluzhnikov@google.com>
1610 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1612 [cross-compiling] (extra-libs): Likewise.
1613 [cross-compiling] (extra-libs-others): Likewise.
1614 [cross-compiling] (librpcsvc-routines): Likewise.
1615 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1616 [cross-compiling] (omit-deps): Likewise.
1617 (sunrpc-CPPFLAGS): New variable.
1618 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1619 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1620 (cross-rpcgen-objs): New variable.
1621 (extra-objs): Append $(cross-rpcgen-objs).
1622 ($(cross-rpcgen-objs)): New rule.
1623 ($(objpfx)cross-rpcgen): Likewise.
1624 (rpcgen-cmd): Define to use $(built-program-file). Expand
1626 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1627 ($(objpfx)x%.stmp): Likewise.
1628 * sunrpc/proto.h [IS_IN_build] (_): Define.
1629 [IS_IN_build] (_libc_intl_domainname): Likewise.
1631 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1633 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1634 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1635 and R_X86_64_TPOFF64.
1637 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1639 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1640 sysdeps/unix/sysv/syscalls.list.
1643 * sysdeps/unix/sysv/syscalls.list: Remove file.
1645 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1648 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1649 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1650 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1651 (__LC_IDENTIFICATION): Make these macros useful in #if
1652 expressions, as required by C99.
1654 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1656 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1657 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1660 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1662 * stdlib/longlong.h: Updated from GCC.
1664 2012-05-09 Andreas Jaeger <aj@suse.de>
1666 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1667 default is first entry.
1668 (run_mode): Set type.
1669 (main): Remove informal message about syslog.
1670 (options): Fix typo.
1673 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1676 (llrintf): Likewise.
1680 (nearbyint): Likewise.
1681 (nearbyintf): Likewise.
1683 2012-05-09 Andreas Jaeger <aj@suse.de>
1684 Pedro Alves <palves@redhat.com>
1686 * nscd/nscd.c (run_mode): Use enum.
1687 (main): Cleanup coding style issue.
1689 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1690 Andreas Jaeger <aj@suse.de>
1692 * nscd/nscd.c (go_background): Replaced with...
1693 (run_mode): ... this.
1694 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1695 (options): Add -F --foreground.
1696 (main): Implement it.
1697 (parse_opt): Parse it.
1699 2012-05-09 Andreas Jaeger <aj@suse.de>
1702 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1703 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1704 -Wconversion warning.
1705 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1708 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1710 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1712 (LC_ALL): Use macro-int-constant.
1713 (LC_COLLATE): Likewise.
1714 (LC_CTYPE): Likewise.
1715 (LC_MESSAGES): Likewise.
1716 (LC_MONETARY): Likewise.
1717 (LC_NUMERIC): Likewise.
1718 (LC_TIME): Likewise.
1719 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1720 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1721 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1722 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1724 [C99-based standards] (float_t): Expect type.
1725 [C99-based standards] (double_t): Expect type.
1726 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1728 [C99-based standards] (HUGE_VALL): Likewise.
1729 [C99-based standards] (INFINITY): Likewise.
1730 [C99-based standards] (NAN): Likewise.
1731 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1732 [C99-based standards] (FP_NAN): Likewise.
1733 [C99-based standards] (FP_NORMAL): Likewise.
1734 [C99-based standards] (FP_SUBNORMAL): Likewise.
1735 [C99-based standards] (FP_ZERO): Likewise.
1736 [C99-based standards] (FP_FAST_FMA): Use
1737 optional-macro-int-constant. Specify type. Require == 1.
1738 [C99-based standards] (FP_FAST_FMAF): Likewise.
1739 [C99-based standards] (FP_FAST_FMAL): Likewise.
1740 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1741 [C99-based standards] (FP_ILOGBNAN): Likewise.
1742 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1744 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1745 [C99-based standards] (math_errhandling): Specify type.
1746 [ISO99 || ISO11] (signgam): Do not allow.
1747 [non-C99-based standards] (copysignf): Do not allow.
1748 [non-C99-based standards] (exp2f): Likewise.
1749 [non-C99-based standards] (log2f): Likewise.
1750 [non-C99-based standards] (modff): Allow.
1751 [non-C99-based standards] (erff): Do not allow.
1752 [non-C99-based standards] (erfcf): Likewise.
1753 [non-C99-based standards] (gammaf): Likewise.
1754 [non-C99-based standards] (hypotf): Likewise.
1755 [non-C99-based standards] (j0f): Likewise.
1756 [non-C99-based standards] (j1f): Likewise.
1757 [non-C99-based standards] (jnf): Likewise.
1758 [non-C99-based standards] (lgammaf): Likewise.
1759 [non-C99-based standards] (tgammaf): Likewise.
1760 [non-C99-based standards] (y0f): Likewise.
1761 [non-C99-based standards] (y1f): Likewise.
1762 [non-C99-based standards] (ynf): Likewise.
1763 [non-C99-based standards] (isnanf): Likewise.
1764 [non-C99-based standards] (acoshf): Likewise.
1765 [non-C99-based standards] (asinhf): Likewise.
1766 [non-C99-based standards] (atanhf): Likewise.
1767 [non-C99-based standards] (cbrtf): Likewise.
1768 [non-C99-based standards] (expm1f): Likewise.
1769 [non-C99-based standards] (ilogbf): Likewise.
1770 [non-C99-based standards] (log1pf): Likewise.
1771 [non-C99-based standards] (logbf): Likewise.
1772 [non-C99-based standards] (nextafterf): Likewise.
1773 [non-C99-based standards] (remainderf): Likewise.
1774 [non-C99-based standards] (rintf): Likewise.
1775 [non-C99-based standards] (scalbf): Likewise.
1776 [non-C99-based standards] (copysignl): Likewise.
1777 [non-C99-based standards] (exp2l): Likewise.
1778 [non-C99-based standards] (log2l): Likewise.
1779 [non-C99-based standards] (modfl): Allow.
1780 [non-C99-based standards] (erfl): Do not allow.
1781 [non-C99-based standards] (erfcl): Likewise.
1782 [non-C99-based standards] (gammal): Likewise.
1783 [non-C99-based standards] (hypotl): Likewise.
1784 [non-C99-based standards] (j0l): Likewise.
1785 [non-C99-based standards] (j1l): Likewise.
1786 [non-C99-based standards] (jnl): Likewise.
1787 [non-C99-based standards] (lgammal): Likewise.
1788 [non-C99-based standards] (tgammal): Likewise.
1789 [non-C99-based standards] (y0l): Likewise.
1790 [non-C99-based standards] (y1l): Likewise.
1791 [non-C99-based standards] (ynl): Likewise.
1792 [non-C99-based standards] (isnanl): Likewise.
1793 [non-C99-based standards] (acoshl): Likewise.
1794 [non-C99-based standards] (asinhl): Likewise.
1795 [non-C99-based standards] (atanhl): Likewise.
1796 [non-C99-based standards] (cbrtl): Likewise.
1797 [non-C99-based standards] (expm1l): Likewise.
1798 [non-C99-based standards] (ilogbl): Likewise.
1799 [non-C99-based standards] (log1pl): Likewise.
1800 [non-C99-based standards] (logbl): Likewise.
1801 [non-C99-based standards] (nextafterl): Likewise.
1802 [non-C99-based standards] (remainderl): Likewise.
1803 [non-C99-based standards] (rintl): Likewise.
1804 [non-C99-based standards] (scalbl): Likewise.
1805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1806 [non-C99-based standards] (FP_*): Do not allow.
1807 [C99-based standards] (FP_*): Change to
1808 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1809 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1811 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1812 (SIG_ERR): Likewise.
1813 [X/Open-based standards] (SIG_HOLD): Likewise.
1814 (SIG_IGN): Likewise.
1815 (SIGABRT): Use macro-int-constant. Specify type. Require
1820 (SIGSEGV): Likewise.
1822 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1823 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1824 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1825 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1826 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1827 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1828 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1829 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1830 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1831 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1832 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1833 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1834 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1835 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1836 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1837 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1838 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1839 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1840 [X/Open-based standards] (SIGTRAP): Likewise.
1841 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1842 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1843 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1844 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1845 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1848 2012-05-08 Ian Wienand <ianw@vmware.com>
1851 * time/tzset.c (__tzset_parse_tz): Update default rules for
1852 daylight time changes in the Energy Policy Act of 2005.
1854 2012-05-09 Andreas Jaeger <aj@suse.de>
1857 * elf/ldconfig.c (parse_conf): Change string to make clear that
1858 ldconfig only issued a warning if ld.so.conf does not exist.
1860 2012-05-08 David S. Miller <davem@davemloft.net>
1862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1863 movxtod instead of popping the value on the stack.
1865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1867 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1869 * config.h.in: Add HAVE_ARM_PCS_VFP.
1871 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1874 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1875 checking but the checks are disabled for any reason.
1877 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1879 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1880 and ELF64_R_TYPE with ELFW(R_TYPE).
1882 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1884 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1887 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1888 (settimeofday): Likewise.
1890 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1892 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1893 a struct th_u2 inside the union, and move tu_block/tu_code into
1894 a new th_u3 union of tu_block/tu_code inside of that. Move
1895 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1896 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1897 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1898 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1899 (th_stuff): Change to th_u1.tu_stuff.
1901 (th_msg): Change to th_u1.th_u2.tu_data.
1903 2012-05-07 David S. Miller <davem@davemloft.net>
1905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1908 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1909 (SETUP_PIC_REG): Use it.
1910 (SETUP_PIC_REG_LEAF): Use it.
1912 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1916 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1918 (EXPL_FINITE): Likewise.
1920 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1921 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1923 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1925 (EXPL_FINITE): Likewise.
1927 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1928 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1930 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1931 test of -max_value argument for long double.
1932 * sysdeps/i386/fpu/libm-test-ulps: Update.
1933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1935 2012-05-06 David S. Miller <davem@davemloft.net>
1937 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1938 quad soft-float symbols whose references which are compiler
1940 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1942 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1946 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1948 (EXPL_FINITE): Likewise.
1952 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1953 Adjust comments for base varying.
1954 (__expl_finite): Change alias to EXPL_FINITE.
1955 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1957 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1958 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1959 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1960 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1961 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1963 (EXPL_FINITE): Likewise.
1967 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1968 Adjust comments for base varying.
1969 (__expl_finite): Change alias to EXPL_FINITE.
1970 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1975 * math/libm-test.inc (check_float_internal): Correct ulp
1976 calculation for subnormal expected results.
1978 2012-05-06 Andreas Jaeger <aj@suse.de>
1980 * Makeconfig (+math-flags): New, set to -frounding-math.
1981 (+cflags): Add +math-flags so that all of glibc gets compiled with
1984 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1986 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1988 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1994 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1995 (__ieee754_expl): Allow for and saturate large arguments.
1996 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1997 (u_threshold): Likewise.
1998 (__exp): Call __ieee754_exp before checking for overflow and
2000 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2001 (u_threshold): Likewise.
2002 (__expf): Call __ieee754_expf before checking for overflow and
2004 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2005 (u_threshold): Likewise.
2006 (__expl): Call __ieee754_expl before checking for overflow and
2008 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2009 (__ieee754_expl): Allow for and saturate large arguments.
2010 * math/libm-test.inc (exp_test): Add another test. Do not allow
2011 missing overflow exception on overflow.
2012 (expm1_test): Do not allow missing overflow exception on overflow.
2014 * sysdeps/i386/fpu/e_expl.c: Move to ...
2015 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2016 rather than using inline asm.
2017 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2018 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2019 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2021 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2028 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2030 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2031 sysdeps/unix/common/syscalls.list.
2034 (ftruncate): Likewise.
2035 (getrusage): Likewise.
2036 (gettimeofday): Likewise.
2037 (setpgid): Likewise.
2038 (setregid): Likewise.
2039 (setreuid): Likewise.
2040 (sigaction): Likewise.
2041 (truncate): Likewise.
2042 (vhangup): Likewise.
2043 * sysdeps/unix/common/syscalls.list: Remove file.
2044 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2045 * sysdeps/unix/sysv/linux/Implies: Likewise.
2047 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2049 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2051 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2055 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2058 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2061 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2064 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2067 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2070 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2073 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2077 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2081 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2084 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2088 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2092 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2094 * sysdeps/unix/common/bits/dirent.h: Remove file.
2095 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2097 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2098 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2099 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2100 * sysdeps/unix/bsd/isatty.c: Likewise.
2101 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2102 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2103 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2105 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2109 long double comparison inaccuracies.
2110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2113 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2115 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2116 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2118 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2121 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2122 nonzero digits before rounding a hex value.
2123 * stdlib/tst-strtod.c (tests): Add another test.
2125 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2127 * sysdeps/s390/fpu/libm-test-ulps: Update.
2129 2012-05-03 Andreas Jaeger <aj@suse.de>
2131 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2132 does not get optimized out.
2133 (malloc_opt_barrier): New.
2135 2012-05-03 Andreas Jaeger <aj@suse.de>
2136 Roland McGrath <roland@hack.frob.com>
2138 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2139 intermediate file deletion.
2140 (generated): Add .symlist files.
2142 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2145 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2146 Redirect under this condition.
2147 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2148 [__USE_GNU] (__dprintf_chk): Not under this condition.
2149 [__USE_GNU] (__vdprintf_chk): Likewise.
2150 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2151 under this condition.
2152 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2153 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2154 [__USE_XOPEN2K8] (vdprintf): Likewise.
2155 [__USE_GNU] (__dprintf_chk): Not under this condition.
2156 [__USE_GNU] (__vdprintf_chk): Likewise.
2157 [__USE_GNU] (dprintf): Likewise.
2158 [__USE_GNU] (vdprintf): Likewise.
2160 2012-05-03 Roland McGrath <roland@hack.frob.com>
2162 * elf/Makefile (common-generated): Set this instead of generated for
2163 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2164 $(all-built-dso)-derived lists.
2166 2012-05-03 Andreas Jaeger <aj@suse.de>
2168 * sysdeps/i386/fpu/libm-test-ulps: Update.
2172 * scripts/gen-FAQ.pl: Likewise.
2173 * manual/install.texi (Installation): Point to online location of
2175 * Makefile (files-for-dist): Remove FAQ.
2178 2012-05-02 Allan McRae <allan@archlinux.org>
2180 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2181 (LDFLAGS-reldepmod5.so): Likewise.
2182 (LDFLAGS-reldep6mod1.so): Likewise.
2183 (LDFLAGS-reldep6mod4.so): Likewise.
2184 (LDFLAGS-reldep8mod3.so): Likewise.
2185 (LDFLAGS-unload4mod1.so): Likewise.
2186 (LDFLAGS-unload4mod2.so): Likewise.
2187 (LDFLAGS-tst-initorder): Likewise.
2188 (LDFLAGS-tst-initordera2.so): Likewise.
2189 (LDFLAGS-tst-initordera3.so): Likewise.
2190 (LDFLAGS-tst-initordera4.so): Likewise.
2191 (LDFLAGS-tst-initorderb2.so): Likewise.
2192 (LDFLAGS-noload): Likewise.
2193 (LDFLAGS-next): Likewise.
2194 (LDFLAGS-order2mod1.so): Likewise.
2195 (LDFLAGS-order2mod2.so): Likewise.
2196 (LDFLAGS-tst-initorder2): Likewise.
2197 (LDFLAGS-tst-initorder2a.so): Likewise.
2198 (LDFLAGS-tst-initorder2b.so): Likewise.
2199 (LDFLAGS-tst-initorder2c.so): Likewise.
2200 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2202 2012-05-02 David S. Miller <davem@davemloft.net>
2204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2206 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2209 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2211 2012-05-02 Andreas Jaeger <aj@suse.de>
2213 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2214 since we manipulate rounding mode.
2215 (CPPFLAGS-test-idouble.c): Likewise.
2216 (CPPFLAGS-test-ifloat.c): Likewise.
2217 (CFLAGS-test-ldouble.c): Likewise.
2218 (CFLAGS-test-double.c): Likewise.
2219 (CFLAGS-test-float.c): Likewise.
2220 (CFLAGS-test-misc.c): Likewise.
2221 (CFLAGS-test-test-fenv.c): Likewise.
2223 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2228 comparisons to determine direction to adjust input.
2230 2012-05-01 Roland McGrath <roland@hack.frob.com>
2232 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2233 output to the target.
2235 * scripts/localplt.awk: New file.
2236 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2237 (check-localplt-CFLAGS): Variable removed.
2238 ($(all-built-dso:=.jmprel)): New static pattern rule.
2239 (generated): Add those targets.
2240 (localplt-built-dso): New variable.
2241 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2243 * elf/check-localplt.c: File removed.
2245 * scripts/check-execstack.awk: New file.
2246 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2247 (check-execstack-CFLAGS): Variable removed.
2248 ($(objpfx)check-execstack.h): Target removed.
2249 ($(objpfx)execstack-default): New target.
2250 (generated): Add that instead of check-execstack.h.
2251 ($(all-built-dso:=.phdr)): New static pattern rule.
2252 (generated): Add those targets.
2253 * elf/check-execstack.c: File removed.
2255 * scripts/check-textrel.awk: New file.
2256 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2257 (check-textrel-CFLAGS): Variable removed.
2258 (all-built-dso): Use := to define.o
2259 ($(all-built-dso:=.dyn)): New static pattern rule.
2260 (generated): Add those targets.
2261 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2262 * config.make.in (READELF): New substituted variable.
2263 * elf/check-textrel.c: File removed.
2265 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2267 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2269 * conform/data/ctype.h-data [C99-based standards] (isblank):
2271 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2272 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2274 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2275 Specify type. Require positive value.
2278 [ISO || POSIX] (EILSEQ): Do not expect.
2279 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2280 Specify type. Require positive value.
2281 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2282 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2283 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2284 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2285 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2286 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2287 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2288 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2289 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2290 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2291 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2292 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2293 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2294 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2295 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2296 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2297 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2298 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2299 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2300 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2301 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2302 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2303 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2304 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2305 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2306 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2307 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2308 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2309 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2310 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2311 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2312 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2313 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2314 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2315 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2316 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2317 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2318 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2319 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2320 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2321 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2322 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2323 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2324 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2325 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2326 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2327 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2328 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2329 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2330 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2331 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2332 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2333 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2334 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2335 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2336 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2337 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2338 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2339 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2340 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2341 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2342 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2343 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2344 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2345 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2346 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2347 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2348 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2349 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2350 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2351 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2352 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2353 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2354 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2355 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2356 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2357 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2359 (FLT_ROUNDS): Expect as macro, not constant.
2360 (FLT_MANT_DIG): Use macro-int-constant.
2361 (DBL_MANT_DIG): Likewise.
2362 (LDBL_MANT_DIG): Likewise.
2363 (FLT_DIG): Likewise.
2364 (DBL_DIG): Likewise.
2365 (LDBL_DIG): Likewise.
2366 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2367 (DBL_MIN_EXP): Likewise.
2368 (LDBL_MIN_EXP): Likewise.
2369 (FLT_MAX_EXP): Use macro-int-constant.
2370 (DBL_MAX_EXP): Likewise.
2371 (LDBL_MAX_EXP): Likewise.
2372 (FLT_MAX_10_EXP): Likewise.
2373 (DBL_MAX_10_EXP): Likewise.
2374 (LDBL_MAX_10_EXP): Likewise.
2375 (FLT_MAX): Use macro-constant.
2376 (DBL_MAX): Likewise.
2377 (LDBL_MAX): Likewise.
2378 (FLT_EPSILON): Use macro-constant. Give upper bound.
2379 (DBL_EPSILON): Likewise.
2380 (LDBL_EPSILON): Likewise.
2381 (FLT_MIN): Likewise.
2382 (DBL_MIN): Likewise.
2383 (LDBL_MIN): Likewise.
2384 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2385 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2386 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2387 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2388 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2389 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2390 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2391 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2392 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2393 [ISO11] (FLT_TRUE_MIN): Likewise.
2394 [ISO11] (LDBL_TRUE_MIN): Likewise.
2395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2396 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2397 (SCHAR_MIN): Use macro-int-constant. Specify type.
2398 (SCHAR_MAX): Likewise.
2399 (UCHAR_MAX): Likewise.
2400 (CHAR_MIN): Likewise.
2401 (CHAR_MAX): Likewise.
2402 (MB_LEN_MAX): Use macro-int-constant.
2403 (SHRT_MIN): Use macro-int-constant. Specify type.
2404 (SHRT_MAX): Likewise.
2405 (USHRT_MAX): Likewise.
2406 (INT_MAX): Likewise.
2407 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2409 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2411 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2413 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2414 bound negative. Suffix upper bound with "L".
2415 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2417 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2419 [C99-based standards] (LLONG_MAX): Likewise.
2420 [C99-based standards] (ULLONG_MAX): Likewise.
2421 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2423 [ISO11] (max_align_t): Require type.
2424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2426 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2427 from $CFLAGS, without defining away __attribute__ calls.
2428 (checknamespace): Use $CFLAGS_namespace.
2430 * conform/conformtest.pl (@keywords): Only include C99 keywords
2431 for standards based on C99 or C11.
2433 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2435 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2438 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2439 usability of symbols in #if.
2441 * conform/conformtest.pl: If macro or constant types start
2442 "promoted:", expect the symbol to be of the following type
2443 promoted by the integer promotions.
2445 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2446 in one place. Also handle "macro-constant".
2448 * conform/conformtest.pl: Only accept expected macro values with
2449 "==". Parse all "macro" lines in one place.
2450 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2452 * conform/conformtest.pl: Handle braced types on "constant" lines
2453 instead of handling "typed-constant".
2454 * conform/data/signal.h-data: Use "constant" instead of
2457 * conform/conformtest.pl: Handle "optional-" at start of lines in
2458 one place rather than duplicating several cases. Handle each
2459 format of "macro" line with initial "optional-".
2461 * conform/conformtest.pl: Only accept expected constant or
2462 optional-constant values with "==". Parse all "constant" lines in
2463 one place. Parse all "optional-constant" lines in one place.
2464 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2465 * conform/data/fmtmsg.h-data: Likewise.
2466 * conform/data/netinet/in.h-data: Likewise.
2467 * conform/data/tar.h-data: Likewise.
2468 * conform/data/limits.h-data: Use "==" form on "constant" and
2469 "optional-constant" lines.
2471 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2472 Use -std=c99 for XOPEN2K.
2473 (@knownproblems): Remove.
2474 (newtoken): Don't check %isknown.
2476 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2477 Do not expect macro.
2478 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2490 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2491 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2495 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2496 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2497 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2508 [XPG3] (acosh): Likewise.
2509 [XPG3] (asinh): Likewise.
2510 [XPG3] (atanh): Likewise.
2511 [XPG3] (cbrt): Likewise.
2512 [XPG3] (expm1): Likewise.
2513 [XPG3] (ilogb): Likewise.
2514 [XPG3] (log1p): Likewise.
2515 [XPG3] (logb): Likewise.
2516 [XPG3] (nextafter): Likewise.
2517 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2518 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2519 [XPG3] (remainder): Likewise.
2520 [XPG3] (rint): Likewise.
2521 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2522 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2523 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2524 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2525 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2526 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2527 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2528 [UNIX98 || XOPEN2K] (scalb): Expect.
2529 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2530 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2531 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2532 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2533 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2534 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2535 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2536 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2537 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2538 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2539 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2540 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2541 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2542 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2543 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2544 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2545 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2546 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2547 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2548 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2549 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2550 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2551 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2552 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2553 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2554 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2555 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2556 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2568 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2569 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2576 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2580 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2581 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2582 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2583 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2584 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2585 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2586 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2587 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2588 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2589 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2590 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2591 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2592 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2593 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2594 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2595 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2596 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2597 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2598 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2599 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2600 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2601 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2602 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2603 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2604 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2605 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2606 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2607 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2608 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2609 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2610 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2611 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2612 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2613 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2614 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2615 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2616 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2617 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2618 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2619 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2620 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2621 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2622 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2623 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2624 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2625 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2626 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2627 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2628 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2629 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2630 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2631 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2632 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2633 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2634 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2635 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2636 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2637 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2638 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2639 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2640 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2641 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2642 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2643 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2644 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2645 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2646 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2647 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2648 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2649 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2650 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2651 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2652 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2653 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2654 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2655 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2656 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2657 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2658 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2659 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2660 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2661 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2662 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2663 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2664 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2665 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2667 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2668 _XOPEN_SOURCE_EXTENDED for XPG4.
2670 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2672 * Makeconfig (localtime): Remove variable.
2673 (inst_localtime-file): Likewise.
2675 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2696 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2700 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2701 comparisons to determine direction to adjust input.
2702 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2703 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2704 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2706 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2708 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2710 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2711 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2713 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2715 * math/libm-test.inc (nexttoward_test): Add more tests.
2717 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2721 in version GLIBC_2.1, not GLIBC_2.0.
2722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2725 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2728 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2730 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2731 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2732 * math/libm-test.inc (acos_test): Add more tests.
2733 (asin_test): Likewise.
2734 * sysdeps/i386/fpu/libm-test-ulps: Update.
2735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2738 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2740 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2741 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2742 * math/libm-test.inc (acos_test_tonearest): New function.
2743 (acos_test_towardzero): Likewise.
2744 (acos_test_downward): Likewise.
2745 (acos_test_upward): Likewise.
2746 (asin_test_tonearest): Likewise.
2747 (asin_test_towardzero): Likewise.
2748 (asin_test_downward): Likewise.
2749 (asin_test_upward): Likewise.
2750 (main): Call the new functions.
2751 * sysdeps/i386/fpu/libm-test-ulps: Update.
2752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2756 * math/e_exp10.c: Include <float.h>.
2757 (__ieee754_exp10): Handle underflow here rather than multiplying
2758 large negative argument by M_LN10.
2759 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2761 * math/e_exp10l.c: Include <float.h>.
2762 (__ieee754_exp10l): Handle underflow here rather than multiplying
2763 large negative argument by M_LN10l.
2764 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2765 spurious overflow exception on underflow.
2767 2012-04-29 Marek Polacek <polacek@redhat.com>
2769 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2770 (__fortify_function): New macro.
2771 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2772 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2773 __extern_always_inline.
2774 * libio/bits/stdio2.h: Likewise.
2775 * libio/bits/stdio.h: Likewise.
2776 * string/string.h: Likewise.
2777 * string/bits/string3.h: Likewise.
2778 * include/stdio.h: Likewise.
2779 * stdlib/bits/stdlib.h: Likewise.
2780 * stdlib/stdlib.h: Likewise.
2781 * rt/bits/mqueue2.h: Likewise.
2782 * rt/mqueue.h: Likewise.
2783 * posix/bits/unistd.h: Likewise.
2784 * posix/unistd.h: Likewise.
2785 * io/bits/poll2.h: Likewise.
2786 * io/bits/fcntl2.h: Likewise.
2787 * io/fcntl.h: Likewise.
2788 * io/sys/poll.h: Likewise.
2789 * misc/bits/syslog.h: Likewise.
2790 * misc/bits/syslog-ldbl.h: Likewise.
2791 * misc/sys/syslog.h: Likewise.
2792 * socket/bits/socket2.h: Likewise.
2793 * socket/sys/socket.h: Likewise.
2794 * debug/tst-chk1.c: Likewise.
2795 * wcsmbs/bits/wchar2.h: Likewise.
2796 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2797 * wcsmbs/wchar.h: Likewise.
2799 2012-04-29 Andreas Jaeger <aj@suse.de>
2801 * Makerules (tests): Remove enable-check-abi protection.
2802 (check-abi-warn): Remove.
2803 (check-abi-%): Remove check-abi-warn usage.
2805 * configure.in: Remove check-abi configure option.
2806 * configure: Regenerated.
2807 * config.make.in (enable-check-abi): Remove.
2809 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2812 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2813 double functions to double *_finite functions.
2816 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2817 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2819 * stdio-common/Makefile (tests): Add tst-sprintf3.
2820 * stdio-common/tst-sprintf3.c: New file.
2822 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2823 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2825 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2827 * conform/conformtest.pl: Remove duplicate typed-constant
2830 2012-04-28 David S. Miller <davem@davemloft.net>
2832 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2833 (check-abi-%): Remove AWK script prerequisite and explicit
2835 (check-abi): Rewrite to just diff the symlist with the abilist.
2836 (config-tls, config-abi-config): Delete, no longer used.
2837 (update-abi-%): Remove AWK script and explicit abilist directory.
2838 (update-abi): Rewrite to simply compare and conditionally copy the
2839 symlist and the sysdep abilist file. Remove update-abi-config
2841 * abilist/ld.abilist: Remove.
2842 * abilist/libBrokenLocale.abilist: Remove.
2843 * abilist/libanl.abilist: Remove.
2844 * abilist/libcrypt.abilist: Remove.
2845 * abilist/libdl.abilist: Remove.
2846 * abilist/librt.abilist: Remove.
2847 * abilist/libthread_db.abilist: Remove.
2848 * abilist/libutil.abilist: Remove.
2849 * scripts/extract-abilist.awk: Remove.
2850 * scripts/merge-abilist.awk: Remove.
2851 * sysdeps/generic/libcidn.abilist: New file.
2852 * sysdeps/generic/libnss_compat.abilist: New file.
2853 * sysdeps/generic/libnss_db.abilist: New file.
2854 * sysdeps/generic/libnss_dns.abilist: New file.
2855 * sysdeps/generic/libnss_files.abilist: New file.
2856 * sysdeps/generic/libnss_hesiod.abilist: New file.
2857 * sysdeps/generic/libnss_nis.abilist: New file.
2858 * sysdeps/generic/libnss_nisplus.abilist: New file.
2859 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2860 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2861 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2863 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2864 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2865 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2866 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2867 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2868 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2869 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2870 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2871 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2873 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2874 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2875 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2876 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2878 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2879 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2880 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2881 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2882 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2883 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2885 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2886 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2887 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2889 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2992 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2993 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2994 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2997 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2998 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2999 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3000 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3001 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3002 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3003 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3004 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3005 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3057 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3059 * conform/conformtest.pl: Fix typo in handling typed-constant from
3062 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3064 * README: Cut down references to pre-2.6 Linux kernels and
3065 Linuxthreads. Update lists of configurations in libc and ports
3066 and sort alphabetically. Say "or newer" with Linux kernel version
3069 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3071 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3074 * math/libm-test.inc (logb_test_downward): New test to expose
3075 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3078 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3081 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3083 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3084 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3086 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3088 * sysdeps/unix/i386/brk.S: Remove file.
3089 * sysdeps/unix/i386/dl-brk.S: Likewise.
3090 * sysdeps/unix/i386/pipe.S: Likewise.
3091 * sysdeps/unix/i386/sigreturn.S: Likewise.
3092 * sysdeps/unix/i386/syscall.S: Likewise.
3093 * sysdeps/unix/i386/vfork.S: Likewise.
3094 * sysdeps/unix/i386/wait.S: Likewise.
3096 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3097 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3099 * configure.in (arm*-none*): Do not allow without
3100 --enable-hacker-mode.
3101 (netbsd*): Remove case setting base_os.
3102 (386bsd*): Likewise.
3103 (freebsd*): Likewise.
3107 (ultrix*): Likewise.
3108 (newsos*): Likewise.
3118 (solaris[2-9]*): Likewise.
3120 * configure: Regenerated.
3122 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3125 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3126 overflow or cancellation in calculating denominator.
3127 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3128 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3129 down expression to avoid unexpected rounding in newer GCCs.
3130 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3132 2012-04-26 David S. Miller <davem@davemloft.net>
3134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3135 long-double compat symbols.
3136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3150 2012-04-25 David S. Miller <davem@davemloft.net>
3152 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3153 HWCAP_* values only after the memory barriers have been defined.
3154 (atomic_full_barrier): Define.
3155 (atomic_read_barrier): Define.
3156 (atomic_write_barrier): Define.
3158 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3160 * shlib-versions: Add libgcc_s version information.
3161 * sysdeps/generic/libgcc_s.h: Remove.
3162 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3164 * sysdeps/gnu/unwind-resume.c: Likewise.
3165 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3167 2012-04-25 David S. Miller <davem@davemloft.net>
3169 * sysdeps/unix/sparc/brk.S: Delete.
3170 * sysdeps/unix/sparc/dl-brk.S: Delete.
3171 * sysdeps/unix/sparc/pipe.S: Delete.
3172 * sysdeps/unix/sparc/sysdep.S: Delete.
3173 * sysdeps/unix/sparc/sysdep.h: Delete.
3174 * sysdeps/unix/sparc/vfork.S: Delete.
3175 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3176 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3177 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3178 ret_ERRVAL, r0, r1, MOVE): Define.
3179 (JUMPTARGET): Remove.
3180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3181 sysdeps/unix/sparc/sysdep.h
3182 (ENTRY, END): Remove.
3183 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3185 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3187 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3188 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3191 * timezone/README: Update upstream location and email address for
3193 * timezone/zdump.c: Update from tzcode 2012b.
3194 * timezone/zic.c: Likewise.
3196 * configure.in (libc_cv_as_needed): Remove test.
3197 * configure: Regenerated.
3198 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3199 conditional definition.
3200 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3201 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3202 * config.make.in (have-as-needed): Remove variable.
3204 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3205 Paul Pluzhnikov <ppluzhnikov@google.com>
3207 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3210 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3212 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3213 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3214 * sysdeps/sh/strlen.S: Likewise.
3216 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3218 * sysdeps/unix/fork.S: Remove file.
3219 * sysdeps/unix/i386/fork.S: Likewise.
3220 * sysdeps/unix/sparc/fork.S: Likewise.
3222 * sysdeps/unix/system.c: Remove file.
3223 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3225 * sysdeps/unix/getegid.S: Remove file.
3226 * sysdeps/unix/geteuid.S: Likewise.
3228 2012-04-24 Roland McGrath <roland@hack.frob.com>
3230 * scripts/check-localplt.awk: New file.
3231 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3233 * scripts/data/localplt-generic.data: Add a comment.
3235 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3236 NODE when __dir_mkfile failed.
3237 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3238 Reported by Ludovic Courtès <ludo@gnu.org>.
3240 2012-04-24 Andreas Jaeger <aj@suse.de>
3242 * Makerules (common-clean): Also remove gen-as-const-headers
3245 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3247 * Makerules (native-compile): Do not change working directory for
3248 build. Use $(OUTPUT_OPTION) in command.
3249 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3251 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3254 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3255 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3256 * math/libm-test.inc (floor_test): Add more tests.
3257 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3259 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3261 * sysdeps/unix/getdents.c: Remove file.
3262 * sysdeps/unix/sysv/getdents.c: Likewise.
3263 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3265 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3266 sysdeps/unix/mman/syscalls.list.
3268 (mprotect): Likewise.
3271 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3272 * sysdeps/unix/mman/syscalls.list: Remove.
3273 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3275 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3276 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3277 * configure: Regenerated.
3278 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3280 * config.make.in (libgcc_s_suffix): Remove variable.
3282 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3284 * sysdeps/unix/sysv/gethostname.c: Move to ...
3285 * sysdeps/posix/gethostname.c: ... here.
3287 * sysdeps/unix/execve.S: Remove file.
3289 * sysdeps/unix/_exit.S: Remove file.
3291 2012-04-23 Andreas Jaeger <aj@suse.de>
3294 * manual/Makefile: Remove make dist support, there's no
3295 need for a stand-alone documentation tar ball.
3296 (TEXI2DVI): Define always, it's not in Makeconfig.
3300 (glibc-doc-$(edition).tar): Removed
3304 (ETAGS): Remove, it's in Makeconfig.
3305 (move-if-change): Remove, it's in Makeconfig.
3307 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3310 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3311 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3312 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3313 (strtod_l, strtof_l, strtold_l): Remove __wur.
3314 It is not necessarily an error to ignore strtol's return value.
3315 One can reliably look at the stored endptr to decide whether
3316 the number had valid syntax.
3318 2012-04-21 Andreas Jaeger <aj@suse.de>
3321 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3323 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3325 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3326 * sysdeps/unix/sysv/Versions: Remove file.
3328 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3333 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3337 version from __vm86.
3339 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3341 * sysdeps/unix/common/lxstat.c: Remove file.
3342 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3344 * sysdeps/unix/sysv/Makefile: Remove file.
3346 * sysdeps/unix/sysv/direct.h: Remove file.
3348 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3349 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3350 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3351 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3352 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3353 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3354 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3356 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3358 * sysdeps/unix/xmknod.c: Remove file.
3359 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3361 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3363 * sysdeps/unix/sysv/i386/time.S: Remove file.
3365 * sysdeps/unix/fxstat.c: Remove file.
3366 * sysdeps/unix/xstat.c: Likewise.
3367 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3369 * sysdeps/unix/sysv/sigaction.c: Remove file.
3371 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3372 (sysdep_headers): Remove variable.
3373 [termio.h not in sysdep_headers] (generated): Likewise.
3374 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3375 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3376 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3377 * sysdeps/unix/sysv/tcflow.c: Likewise.
3378 * sysdeps/unix/sysv/tcflush.c: Likewise.
3379 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3380 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3381 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3382 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3383 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3385 * sysdeps/unix/siglist.c: Remove file.
3387 * sysdeps/unix/getppid.S: Remove file.
3389 * sysdeps/unix/mkdir.c: Remove file.
3390 * sysdeps/unix/rmdir.c: Likewise.
3392 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3394 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3396 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3397 errlist-compat value.
3399 2012-04-18 David S. Miller <davem@davemloft.net>
3401 * sysdeps/generic/memcopy.h (reg_char): Delete.
3402 * debug/strcat_chk.c: Use char, not reg_char.
3403 * debug/strcpy_chk.c: Likewise.
3404 * debug/strncat_chk.c: Likewise.
3405 * debug/strncpy_chk.c: Likewise.
3406 * string/memchr.c: Likewise.
3407 * string/memrchr.c: Likewise.
3408 * string/rawmemchr.c: Likewise.
3409 * string/strcat.c: Likewise.
3410 * string/strchr.c: Likewise.
3411 * string/strchrnul.c: Likewise.
3412 * string/strcmp.c: Likewise.
3413 * string/strcpy.c: Likewise.
3414 * string/strncat.c: Likewise.
3415 * string/strncmp.c: Likewise.
3416 * string/strncpy.c: Likewise.
3418 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3420 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3421 __builtin_memcopy is called when src and dest ranges are known to not
3424 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3426 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3427 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3428 fwd_align_merge macro call.
3429 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3430 bwd_align_merge macro call.
3431 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3433 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3435 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3436 bwd_align_merge macros.
3437 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3438 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3439 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3441 2012-04-18 David S. Miller <davem@davemloft.net>
3443 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3445 2012-04-18 Andreas Jaeger <aj@suse.de>
3448 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3449 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3450 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3452 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3453 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3454 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3456 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3457 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3458 Adjust for changed ldbl-128 files.
3460 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3461 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3462 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3464 2012-04-17 David S. Miller <davem@davemloft.net>
3466 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3468 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3470 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3471 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3472 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3473 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3474 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3475 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3477 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3481 * math/libm-test.inc: Add ilogb errno and exception tests.
3482 * math/w_ilogb.c: New file: ilogb wrapper.
3483 * math/w_ilogbf.c: New file: ilogbf wrapper.
3484 * math/w_ilogbl.c: New file: ilogbl wrapper.
3485 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3486 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3487 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3488 exception being thrown with 0.0 as argument.
3489 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3490 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3491 exception being thrown with 0.0 as argument.
3492 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3493 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3494 exception being thrown with 0.0 as argument.
3495 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3496 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3497 exception being thrown with 0.0 as argument.
3498 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3499 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3500 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3501 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3502 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3503 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3504 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3505 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3506 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3508 2012-04-17 Petr Baudis <pasky@ucw.cz>
3510 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3513 2012-04-16 Marek Polacek <polacek@redhat.com>
3515 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3517 2012-04-16 Marek Polacek <polacek@redhat.com>
3519 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3520 operands of fdivp instruction.
3522 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3524 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3525 * elf/tst-auditmod3b.c: Likewise.
3526 * elf/tst-auditmod4b.c: Likewise.
3527 * elf/tst-auditmod5b.c: Likewise.
3528 * elf/tst-auditmod6b.c: Likewise.
3529 * elf/tst-auditmod6c.c: Likewise.
3530 * elf/tst-auditmod7b.c: Likewise.
3531 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3532 * sysdeps/x86_64/preconfigure.in: Likewise.
3533 * sysdeps/x86_64/preconfigure: Regenerated.
3535 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3537 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3540 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3542 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3543 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3545 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3548 * locale/iso-639.def: Fix gl language name. Spotted by
3551 2012-04-12 Roland McGrath <roland@hack.frob.com>
3554 * libio/libio.h (__io_write_fn): Update comment.
3556 2012-04-12 Petr Baudis <pasky@ucw.cz>
3559 * stdio.texi (Hook Functions): The user provided writer function
3560 is not allowed to return -1.
3562 2012-04-11 David S. Miller <davem@davemloft.net>
3564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3566 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3568 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3569 Add a leading slash to rtkaio.
3571 2012-04-11 Jim Meyering <meyering@redhat.com>
3574 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3575 It is not necessarily an error to ignore fwrite's return
3576 value. One can reliably use ferror to test for errors after
3579 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3581 * bits/types.h (__snseconds_t): New type.
3582 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3584 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3586 (__SNSECONDS_T_TYPE): Likewise.
3587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3588 (__SNSECONDS_T_TYPE): Likewise.
3589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3590 (__SNSECONDS_T_TYPE): Likewise.
3592 2012-04-10 Andreas Jaeger <aj@suse.de>
3595 * manual/time.texi (Processor Time): Return type of times is
3596 elapsed real time since an arbitrary point in the past.
3597 (CPU Time): Move CLK_TCK from here...
3598 (Processor Time): ...to here. Correct description.
3599 * manual/conf.texi (Constants for Sysconf): Correct description of
3602 2012-04-10 David S. Miller <davem@davemloft.net>
3605 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3606 where the is a gap between DT_REL(A) and DT_JMPREL.
3608 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3610 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3611 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3612 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3614 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3616 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3617 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3618 (dl_main): Handle --inhibit-cache.
3619 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3621 * elf/dl-load.c (_dl_map_object): Use it.
3622 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3624 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3627 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3628 (__ieee754_powl): Saturate large exponents rather than testing for
3629 overflow of y*log2(x).
3630 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3631 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3635 * math/s_ctan.c: Include <float.h>.
3636 (__ctan): Avoid internal overflow or cancellation in calculating
3638 * math/s_ctanf.c: Likewise.
3639 * math/s_ctanl.c: Likewise.
3640 * math/s_ctanh.c: Likewise.
3641 * math/s_ctanhf.c: Likewise.
3642 * math/s_ctanhl.c: Likewise.
3643 * math/libm-test.inc (ctan_test): Add more tests.
3644 (ctanh_test): Likewise.
3645 * sysdeps/i386/fpu/libm-test-ulps: Update.
3646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3648 2012-04-09 Andreas Jaeger <aj@suse.de>
3651 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3652 is an optional BSD extension.
3655 * manual/stdio.texi (Opening Streams): Document additional fopen
3658 2012-04-09 Roland McGrath <roland@hack.frob.com>
3660 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3661 %eax without telling the compiler.
3663 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3666 * manual/install.texi: Use sourceware.org.
3668 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3671 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3672 (__ieee754_pow): Generate overflow and underflow using huge*huge
3673 and tiny*tiny rather than just returning constant infinity or zero
3674 for large exponents.
3675 * math/libm-test.inc (pow_test): Require overflow exceptions for
3676 applicable cases of large exponents.
3679 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3680 (__ieee754_pow): Use iterative multiplication algorithm only for
3681 integer exponents with absolute value below 1024. Check for odd
3682 integer exponents when using algorithm for real exponents.
3683 * math/libm-test.inc (pow_test): Add more tests.
3684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3686 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3689 * math/libm-test.inc (exp_test): Do not allow overflow exception
3692 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3695 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3696 instead of __kernel_standard_f.
3698 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3700 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3701 * sysdeps/x86_64/memset_chk.S: Likewise.
3703 2012-04-08 Andreas Jaeger <aj@suse.de>
3706 * manual/startup.texi (Environment Access): Describe return value
3707 for putenv and setenv.
3710 * manual/filesys.texi (Directory Entries): Add description for
3714 * manual/filesys.texi (Directory Entries): Clarify that it's file
3715 system not operating system in the description of DT_UNKNOWN.
3718 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3720 2012-04-08 Stephen Compall <s11@member.fsf.org>
3723 * manual/llio.texi (Opening and Closing Files): Add cross
3724 reference to explain mode argument.
3726 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3728 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3729 * sysdeps/x86_64/memset_chk.S: Likewise.
3731 2012-04-07 David S. Miller <davem@davemloft.net>
3733 * elf/elf.h (R_SPARC_WDISP10): Define.
3734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3736 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3737 R_SPARC_SIZE64 and R_SPARC_H34.
3739 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3741 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3742 conditions and remove no longer applicable assertion.
3744 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3746 * bits/byteswap.h: Include <features.h>.
3747 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3748 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3750 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3752 * bits/byteswap.h (__bswap_16): Removed.
3753 Include <bits/byteswap-16.h> to get __bswap_16.
3754 * sysdeps/i386/bits/byteswap.h: Likewise.
3755 * sysdeps/s390/bits/byteswap.h: Likewise.
3756 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3757 * bits/byteswap-16.h: New file.
3758 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3759 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3760 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3761 * string/Makefile (headers): Add bits/byteswap-16.h.
3763 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3766 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3768 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3769 * nss/tst-nss-static.c: New.
3771 2012-04-06 Robert Millan <rmh@gnu.org>
3774 * manual/llio.texi (File Position Primitive): lseek
3775 refers to WHENCE when it really means OFFSET.
3777 2012-04-06 Andreas Jaeger <aj@suse.de>
3779 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3780 strncmp declarations.
3782 * abilist/libc.abilist: Add __poll and __ppoll.
3784 2012-04-05 David S. Miller <davem@davemloft.net>
3786 * scripts/check-local-headers.sh: Accept a host triplet in the
3787 path matched by the exclude regexp.
3789 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3791 * sysdeps/powerpc/powerpc32/dl-machine.h
3792 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3793 * sysdeps/s390/s390-32/dl-machine.h
3794 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3795 * sysdeps/sparc/sparc32/dl-machine.h
3796 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3797 * sysdeps/sparc/sparc64/dl-machine.h
3798 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3800 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3802 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3803 undefined symbol errors.
3805 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3808 2012-04-05 Michael Matz <matz@suse.de>
3811 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3813 2012-04-05 Andreas Jaeger <aj@suse.de>
3816 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3819 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3821 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3822 which ROUND is no valid rounding mode.
3824 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3826 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3828 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3830 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3832 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3833 an exception using FPU order intentionally.
3835 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3837 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3838 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3839 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3840 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3842 2012-04-05 Simon Josefsson <simon@josefsson.org>
3845 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3846 EINVAL when BUFLEN is too smal.
3848 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3851 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3852 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3854 2012-04-03 Andreas Jaeger <aj@suse.de>
3857 * manual/setjmp.texi (System V contexts): Fix sentence.
3860 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3861 New macro for this case.
3862 [!__GNUC__] (__bswap_64): New inline function for this case.
3863 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3864 * bits/byteswap.h: Likewise.
3865 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3866 ull, guard with __GLIBC_HAVE_LONG_LONG.
3868 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3869 __GLIBC_HAVE_LONG_LONG.
3871 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3872 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3874 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3877 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3878 inptr and inend, rather than using last_ch.
3880 2012-04-02 David S. Miller <davem@davemloft.net>
3882 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3883 * stdio-common/printf-parse.h (read_int): Change return type to
3884 'int', return -1 on INT_MAX overflow.
3885 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3886 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3887 overflows INT_MAX. Check for overflow of in-format-string precision
3888 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3889 SIZE_MAX not INT_MAX for integer overflow test.
3890 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3891 skip the construct in the format string but do not record anything.
3892 * stdio-common/bug22.c: Adjust to test both width/prevision
3893 INT_MAX overflow as well as total length INT_MAX overflow. Check
3894 explicitly for proper errno values.
3896 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3898 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3900 * string/test-strcmp.c [! WIDE]: Likewise.
3901 * time/tst-mktime2.c: Likewise for INT_MAX.
3902 * string/test-string.h: #include <sys/param.h> for MIN.
3904 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3905 * sysdeps/i386/init-first.c (init): Likewise.
3906 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3907 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3908 * sysdeps/sh/init-first.c (init): Likewise.
3910 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3912 * po/ru.po: Update from translation team.
3913 * po/vi.po: Likewise.
3915 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3917 * resolv/nss_dns/dns-host.c: Merge copyright years.
3919 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3922 Optimize memcpy with prefetch if
3923 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3924 src, dst pointers have unequal 16 byte alignments.
3926 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3929 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3930 from a CNAME entry and return the minimum ttl for the query.
3931 (gaih_getanswer_slice): Likewise.
3933 2012-03-30 Jeff Law <law@redhat.com>
3935 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3937 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3938 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3940 * resolv/nss_dns/dns-host.c: Update copyright year.
3942 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3944 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3945 requests to save a system call. Fix check that all bytes are sent.
3947 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3948 comments for sendmmsg.
3950 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3953 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3954 with only 1 character between 0x0041 and 0x01b0.
3955 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3956 * wcsmbs/tst-mbsnrtowcs.c: New file.
3958 2012-03-29 David S. Miller <davem@davemloft.net>
3960 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3961 small copies by hand.
3963 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3966 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3967 _nss_compat_initgroups_dyn): Fall back to malloc/free
3968 for large group memberships.
3970 2012-03-28 David S. Miller <davem@davemloft.net>
3972 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3973 that branches into memcpy.
3974 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3975 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3977 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3980 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3982 * sysdeps/sparc/mempcpy.S: New file.
3984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3985 the IFUNC routine in the libc case.
3986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3988 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3989 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3990 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3991 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3992 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3993 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3994 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3995 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3997 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3998 loop to 256 bytes instead of 64 bytes and fix test signedness.
4000 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4001 * sysdeps/sparc/sparc32/Makefile: rather than here...
4002 * sysdeps/sparc/sparc64/Makefile: and here.
4004 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4006 * malloc/mallocbug.c: Avoid warnings about unused variables.
4008 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4011 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4012 in the right place. Discard and retry query if response is
4013 larger than input buffer size.
4015 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4020 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4021 x for large integer exponent.
4022 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4023 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4024 sign of result as needed afterwards.
4025 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4026 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4027 result for underflowing pow the same as for overflow.
4028 (__kernel_standard_l): Handle powl overflow and underflow here
4029 rather than calling __kernel_standard.
4030 * math/libm-test.inc (pow_test): Add more tests.
4045 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4046 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4047 (__kernel_standard_l): New function.
4048 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4050 * math/w_acosl.c (__acosl): Likewise.
4051 * math/w_asinl.c (__asinl): Likewise.
4052 * math/w_atan2l.c (__atan2l): Likewise.
4053 * math/w_atanhl.c (__atanhl): Likewise.
4054 * math/w_coshl.c (__coshl): Likewise.
4055 * math/w_exp10l.c (__exp10l): Likewise.
4056 * math/w_exp2l.c (__exp2l): Likewise.
4057 * math/w_fmodl.c (__fmodl): Likewise.
4058 * math/w_hypotl.c (__hypotl): Likewise.
4059 * math/w_j0l.c (__j0l, __y0l): Likewise.
4060 * math/w_j1l.c (__j1l, __y1l): Likewise.
4061 * math/w_jnl.c (__jnl, __ynl): Likewise.
4062 * math/w_lgammal.c (__lgammal): Likewise.
4063 * math/w_log10l.c (__log10l): Likewise.
4064 * math/w_log2l.c (__log2l): Likewise.
4065 * math/w_logl.c (__logl): Likewise.
4066 * math/w_powl.c (__powl): Likewise.
4067 * math/w_remainderl.c (__remainderl): Likewise.
4068 * math/w_scalbl.c (sysv_scalbl): Likewise.
4069 * math/w_sinhl.c (__sinhl): Likewise.
4070 * math/w_sqrtl.c (__sqrtl): Likewise.
4071 * math/w_tgammal.c (__tgammal): Likewise.
4072 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4073 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4074 * math/libm-test.inc (acos_test): Add more tests.
4075 (acosh_test): Likewise.
4076 (asin_test): Likewise.
4077 (atanh_test): Likewise.
4078 (exp_test): Likewise.
4079 (exp10_test): Likewise.
4080 (exp2_test): Likewise.
4081 (expm1_test): Likewise.
4082 (lgamma_test): Likewise.
4083 (log_test): Likewise.
4084 (log10_test): Likewise.
4085 (log1p_test): Likewise.
4086 (log2_test): Likewise.
4087 (pow_test): Do not allow some spurious overflow exceptions.
4088 (sqrt_test): Add more tests.
4089 (tgamma_test): Likewise.
4090 (y0_test): Likewise.
4091 (y1_test): Likewise.
4092 (yn_test): Likewise.
4094 2012-03-27 Anton Blanchard <anton@samba.org>
4096 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4098 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4099 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4100 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4102 2012-03-27 David S. Miller <davem@davemloft.net>
4104 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4106 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4109 2012-03-27 Andreas Jaeger <aj@suse.de>
4111 * sysdeps/x86_64/elf/configure.in: Moved to ...
4112 * sysdeps/x86_64/configure.in: ... here.
4113 * sysdeps/x86_64/elf/start.S: Moved to ...
4114 * sysdeps/x86_64/start.S: ... here.
4115 * sysdeps/x86_64/elf/configure: Delete.
4117 * sysdeps/x86_64/configure.in: Merge contents from
4118 sysdeps/i386/configure.in (without i686 check).
4120 * sysdeps/i386/elf/Versions: Merge into ...
4121 * sysdeps/i386/Versions: ... this.
4122 * sysdeps/i386/elf/Versions: Delete file.
4123 * sysdeps/i386/elf/start.S: Moved to ...
4124 * sysdeps/i386/start.S: ...here.
4125 * sysdeps/i386/elf/configure.in: Merge into...
4126 * sysdeps/i386/configure.in: ...here.
4127 * sysdeps/i386/elf/configure.in: Delete file.
4128 * sysdeps/i386/elf/configure: Delete file.
4130 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4131 * debug/backtracesyms.c: ... here.
4132 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4133 * debug/backtracesymsfd.c: ... here.
4134 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4135 * sysdeps/generic/ifunc-sel.h: ... here.
4137 * sysdeps/unix/i386/start.c: Delete file.
4138 * sysdeps/unix/sparc/start.c: Delete file.
4139 * sysdeps/unix/start.c: Delete file.
4141 * sysdeps/sh/elf/configure.in: Moved to ...
4142 * sysdeps/sh/configure.in: ... here.
4143 * sysdeps/sh/elf/start.S: Moved to ...
4144 * sysdeps/sh/start.S: ... here.
4145 * sysdeps/sh/elf/configure: Delete file.
4147 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4148 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4149 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4150 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4151 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4152 * sysdeps/powerpc/powerpc64/start.S: here.
4153 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4154 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4155 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4156 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4157 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4159 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4160 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4161 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4162 * sysdeps/powerpc/powerpc32/start.S: ... here.
4163 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4164 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4165 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4167 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4168 * sysdeps/powerpc/ifunc-sel.h: ... here.
4169 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4170 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4172 * sysdeps/sparc/elf/configure.in: Moved to ...
4173 * sysdeps/sparc/configure.in: ... here.
4174 * sysdeps/sparc/elf/configure: Delete file.
4175 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4176 * sysdeps/sparc/sparc32/start.S: ... here.
4177 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4178 * sysdeps/sparc/sparc64/start.S: ... here.
4179 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4180 * sysdeps/sparc/sparc32/Makefile: ... this.
4181 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4182 * sysdeps/sparc/sparc64/Makefile: ... this.
4184 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4185 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4186 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4187 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4188 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4189 * sysdeps/s390/s390-32/setjmp.S: ... here.
4190 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4191 * sysdeps/s390/s390-32/configure.in: ... here.
4192 * sysdeps/s390/s390-32/elf/configure: Delete file.
4193 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4194 * sysdeps/s390/s390-32/start.S: ... here.
4196 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4197 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4198 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4199 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4200 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4201 * sysdeps/s390/s390-64/setjmp.S: ... here.
4202 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4203 * sysdeps/s390/s390-64/configure.in: ... here
4204 * sysdeps/s390/s390-64/elf/configure: Delete file.
4205 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4206 * sysdeps/s390/s390-64/start.S: ... here.
4207 * sysdeps/s390/s390-64/elf/configure: Delete.
4209 * configure.in: Remove support for elf directories in sysdeps.
4211 * configure: Regenerated.
4212 * sysdeps/i386/configure: Regenerated.
4213 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4214 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4215 * sysdeps/s390/s390-32/configure: Regenerated.
4216 * sysdeps/s390/s390-64/configure: Regenerated.
4217 * sysdeps/sh/configure: Regenerated.
4218 * sysdeps/sparc/configure: Regenerated.
4219 * sysdeps/x86_64/configure: Regenerated.
4221 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4225 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4226 denormal result into account.
4228 2012-03-25 Roland McGrath <roland@hack.frob.com>
4230 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4231 Reported by Allan McRae <allan@archlinux.org>.
4233 2012-03-23 Jeff Law <law@redhat.com>
4235 * nss/getnssent.c (__nss_getent): Fix typo.
4237 2012-03-23 David S. Miller <davem@davemloft.net>
4239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4241 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4243 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4244 to pad to uint64_t for each field.
4245 (dl_tls_index): Replace unsigned long with uint64_t.
4247 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4248 Paul Pluzhnikov <ppluzhnikov@google.com>
4251 * grp/Makefile (otherlibs): Don't set it.
4252 * inet/Makefile (otherlibs): Likewise.
4253 * login/Makefile (otherlibs): Likewise.
4254 * nscd/Makefile (otherlibs): Likewise.
4255 * posix/Makefile (otherlibs): Likewise.
4256 * pwd/Makefile (otherlibs): Likewise.
4257 * rt/Makefile (otherlibs): Likewise.
4258 * sunrpc/Makefile (otherlibs): Likewise.
4259 * nss/Makefile (otherlibs): Likewise.
4260 Add libnss_files to routines and static-only-routines.
4261 ($(objpfx)getent): Remove rule.
4262 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4263 static-only-routines.
4265 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4268 * math/s_cexp.c: Include <float.h>.
4269 (__cexp): Handle exp result overflowing not necessarily
4270 overflowing both real and imaginary parts of result.
4271 * math/s_cexpf.c: Likewise.
4272 * math/s_cexpl.c: Likewise.
4273 * math/libm-test.inc (cexp_test): Add more tests.
4274 * sysdeps/i386/fpu/libm-test-ulps: Update.
4275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4277 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4279 * include/link.h (ELFW): New macro.
4280 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4281 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4283 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4285 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4288 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4290 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4292 (struct La_x32_retval): Likewise.
4294 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4296 * sysdeps/x86_64/preconfigure.in: New file.
4297 * sysdeps/x86_64/preconfigure: New generated file.
4299 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4302 * math/e_exp2l.c: Include <float.h>.
4303 (__ieee754_exp2l): Handle overflow and underflow cases
4304 separately. Only pass fractional part of argument to
4306 * math/libm-test.inc (exp2_test): Add more tests.
4308 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4309 negating x to take absolute value.
4310 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4312 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4313 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4315 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4316 computing low part if x was negated.
4317 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4319 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4321 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4323 (pltexit): Cast int_retval to ptrdiff_t.
4324 * elf/tst-auditmod3b.c: Likewise.
4325 * elf/tst-auditmod4b.c: Likewise.
4326 * elf/tst-auditmod5b.c: Likewise.
4327 * elf/tst-auditmod6b.c: Likewise.
4328 * elf/tst-auditmod6c.c: Likewise.
4329 * elf/tst-auditmod7b.c: Likewise.
4331 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4332 and x32_gnu_pltexit.
4334 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4336 (La_x32_regs): New macro.
4337 (La_x32_retval): Likewise.
4338 (la_x32_gnu_pltenter): New function prototype.
4339 (la_x32_gnu_pltexit): Likewise.
4341 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4343 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4348 * configure.in (libc_cv_cc_nofma): Check for option to disable
4349 generation of FMA instructions.
4350 * configure: Regenerate.
4351 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4352 * sysdeps/ieee754/dbl-64/Makefile: New file.
4353 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4354 Remove brandred-fma4.
4355 (CFLAGS-brandred-fma4.c): Remove.
4356 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4357 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4359 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4362 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4364 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4365 LLONG_MAX != LONG_MAX.
4366 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4367 (_fitoa_word): Likewise.
4368 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4369 LLONG_MAX != LONG_MAX.
4370 * stdio-common/_itowa.h: Include <_itoa.h>.
4371 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4372 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4373 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4374 only if not defined.
4375 (_ITOA_WORD_TYPE): Likewise.
4376 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4377 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4379 2012-03-21 David S. Miller <davem@davemloft.net>
4381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4383 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4385 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4386 of x86_64 when setting libc_cv_slibdir, libdir and
4388 * sysdeps/unix/sysv/linux/configure: Regenerated.
4390 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4392 * manual/lang.texi (Old Varargs): Remove section.
4393 (How Variadic): Update menu.
4394 (va_start): Do not mention varargs.h.
4396 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4397 Joseph Myers <joseph@codesourcery.com>
4399 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4401 * configure: Regenerated.
4403 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4405 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4406 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4409 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4412 * Makefile (files-for-dist): Remove NOTES.
4413 (NOTES): Remove rule.
4414 * README: Don't refer to NOTES.
4415 * manual/creature.texi: Don't include macros.texi.
4416 * manual/intro.texi (creature.texi): Remove comment referring to
4419 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4420 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4421 * configure: Regenerated.
4422 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4424 (libc_cv_as_i686): Likewise.
4425 (libc_cv_cc_avx): Likewise.
4426 (libc_cv_cc_sse2avx): Likewise.
4427 (libc_cv_cc_fma4): Likewise.
4428 (libc_cv_cc_novzeroupper): Likewise.
4429 * sysdeps/i386/configure: Regenerated.
4432 * sysdeps/i386/fpu/s_cexp.S: Remove.
4433 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4434 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4435 * math/libm-test.inc (cexp_test): Add more tests.
4436 * sysdeps/i386/fpu/libm-test-ulps: Update.
4437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4439 2012-03-21 Allan McRae <allan@archlinux.org>
4441 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4443 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4446 * math/w_exp2.c: Do not include <float.h>.
4447 (o_threshold, u_threshold): Remove.
4448 (__exp2): Calculate result before checking finiteness and calling
4450 * math/w_exp2f.c: Likewise.
4451 * math/w_exp2l.c: Likewise.
4452 * math/libm-test.inc (exp2_test): Require overflow exception for
4456 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4457 range of signed 64-bit integers before using fistpll. Remove
4458 checks for whether integers fit in mantissa bits.
4459 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4460 the range of signed 32-bit integers before using fistpl. Remove
4461 checks for whether integers fit in mantissa bits.
4462 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4463 (__ieee754_powl): Test for y outside the range of signed 64-bit
4464 integers before using fistpll. Reduce 64-bit values to 63-bit
4466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4467 divide-by-zero is raised for zero to large negative powers.
4468 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4469 (__ieee754_powl): Test for y outside the range of signed 64-bit
4470 integers before using fistpll. Reduce 64-bit values to 63-bit
4472 * math/libm-test.inc (pow_test): Add more tests.
4474 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4476 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4477 <stdio-common/_itoa.h>.
4478 * debug/segfault.c: Likewise.
4479 * elf/dl-cache.c: Likewise.
4480 * elf/dl-minimal.c: Likewise.
4481 * elf/dl-misc.c: Likewise.
4482 * elf/dl-sysdep.c: Likewise.
4483 * elf/dl-version.c: Likewise.
4484 * elf/rtld.c: Likewise.
4485 * hurd/hurdsock.c: Likewise.
4486 * hurd/lookup-retry.c: Likewise.
4487 * malloc/malloc.c: Likewise.
4488 * malloc/mtrace.c: Likewise.
4489 * nscd/nscd_getgr_r.c: Likewise.
4490 * nscd/nscd_getpw_r.c: Likewise.
4491 * nscd/nscd_getserv_r.c: Likewise.
4492 * posix/getopt_init.c: Likewise.
4493 * posix/wordexp.c: Likewise.
4494 * stdio-common/_itoa.c: Likewise.
4495 * stdio-common/printf_fphex.c: Likewise.
4496 * stdio-common/vfprintf.c: Likewise.
4497 * string/_strerror.c: Likewise.
4498 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4499 * sysdeps/i386/i686/hp-timing.h: Likewise.
4500 * sysdeps/mach/_strerror.c: Likewise.
4501 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4502 * sysdeps/mach/hurd/sethostid.c: Likewise.
4503 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4504 * sysdeps/mach/xpg-strerror.c: Likewise.
4505 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4506 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4507 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4508 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4509 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4510 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4511 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4512 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4513 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4514 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4515 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4516 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4517 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4518 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4519 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4520 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4521 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4522 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4523 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4524 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4525 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4527 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4529 * stdio-common/_itoa.h: Moved to ...
4530 * sysdeps/generic/_itoa.h: Here.
4532 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4534 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4535 instead of "_itoa.h" and "_itowa.h".
4536 * stdio-common/vfprintf.: Likewise.
4538 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4540 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4542 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4543 (__signbit): Likwise.
4547 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4549 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4552 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4554 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4555 OVERFLOW_EXCEPTION_OK.
4556 * math/libm-test.inc ("Philosophy"): Update comment about
4558 (OVERFLOW_EXCEPTION): Define.
4559 (OVERFLOW_EXCEPTION_OK): Likewise.
4560 (INVALID_EXCEPTION_OK): Renumber.
4561 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4562 (IGNORE_ZERO_INF_SIGN): Likewise.
4563 (test_exceptions): Handle FE_OVERFLOW.
4564 (exp10_test): Expect overflow exceptions.
4565 (exp2_test): Likewise.
4566 (expm1_test): Likewise.
4567 (nextafter_test): Likewise.
4568 (pow_test): Likewise.
4569 (scalbn_test): Likewise.
4570 (scalbln_test): Likewise.
4572 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4574 * sysdeps/x86_64/bits/atomic.h
4575 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4577 (atomic_exchange_acq): Likewise.
4578 (__arch_exchange_and_add_body): Likewise.
4579 (__arch_add_body): Likewise.
4580 (atomic_add_negative): Likewise.
4581 (atomic_add_zero): Likewise.
4583 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4585 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4586 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4588 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4590 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4591 Check __x86_64__ instead of __WORDSIZE.
4593 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4595 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4597 2012-03-19 David S. Miller <davem@davemloft.net>
4599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4601 * sysdeps/sparc/fpu/fenv_private.h: New file.
4602 * sysdeps/sparc/fpu/math_private.h: Use it.
4603 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4605 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4606 (libc_feholdexcept_setroundl): Remove.
4607 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4609 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4610 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4612 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4614 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4615 int64_t instead of long int.
4616 (INSERT_WORDS64): Likwise.
4618 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4620 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4621 _Unwind_GetCFA return to _Unwind_Ptr first.
4623 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4626 * math/s_clog.c: Include <float.h>.
4627 (__clog): Scale large or subnormal inputs.
4628 * math/s_clogf.c: Likewise.
4629 * math/s_clogl.c: Likewise.
4630 * math/s_clog10.c: Include <float.h>.
4631 (M_LOG10_2): Define.
4632 (__clog10): Scale large or subnormal inputs.
4633 * math/s_clog10f.c: Likewise.
4634 * math/s_clog10l.c: Likewise.
4635 * math/libm-test.inc (clog_test): Add more tests.
4636 (clog10_test): Likewise.
4637 * sysdeps/i386/fpu/libm-test-ulps: Update.
4638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4641 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4643 * math/libm-test.inc (atan2_test): Add another test.
4645 * Makerules (common-objdir-compile): Remove.
4646 * sysdeps/unix/Makefile (config-generated): Do not add
4647 $(unix-generated) to variable.
4648 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4649 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4651 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4653 [generic bits/local_lim.h] (before-compile): Do not append to
4655 [generic bits/local_lim.h] (common-generated): Likewise.
4656 [generic sys/param.h] (before-compile): Do not append to variable.
4657 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4658 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4659 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4660 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4662 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4663 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4664 [generic sys/param.h] ($(addprefix
4665 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4666 [generic sys/param.h] (common-generated): Do not append to
4668 [generic sys/param.h] (sysdep_headers): Likewise.
4669 [generic bits/errno.h] (before-compile): Do not append to
4671 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4673 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4674 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4675 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4676 [generic bits/errno.h] (common-generated): Do not append to
4678 [generic bits/ioctls.h] (before-compile): Do not append to
4680 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4682 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4683 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4684 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4686 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4687 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4688 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4689 [generic bits/ioctls.h] (common-generated): Do not append to
4691 [generic sys/syscall.h] (syscall.h): Remove variable.
4692 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4694 [generic sys/syscall.h] (before-compile): Do not append to
4696 [generic sys/syscall.h] (common-generated): Likewise.
4697 * sysdeps/unix/errnos-tmpl.c: Remove file.
4698 * sysdeps/unix/errnos.awk: Likewise.
4699 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4700 * sysdeps/unix/ioctls.awk: Likewise.
4701 * sysdeps/unix/mk-local_lim.c: Likewise.
4702 * sysdeps/unix/snarf-ioctls: Likewise.
4704 2012-03-19 Richard Henderson <rth@twiddle.net>
4706 * sysdeps/i386/fpu/fenv_private.h: New file.
4707 * sysdeps/i386/fpu/math_private.h: Use it.
4708 (math_opt_barrier, math_force_eval): Remove.
4709 (libc_feholdexcept_setround_53bit): Remove.
4710 (libc_feupdateenv_53bit): Remove.
4711 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4712 (math_opt_barrier, math_force_eval): Remove.
4713 (libc_feholdexcept): Remove.
4714 (libc_feholdexcept_setround): Remove.
4715 (libc_fetestexcept, libc_fesetenv): Remove.
4716 (libc_feupdateenv_test): Remove.
4717 (libc_feupdateenv, libc_feholdsetround): Remove.
4718 (libc_feresetround): Remove.
4720 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4721 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4723 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4724 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4725 (libc_feupdateenv_testl): New.
4726 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4727 (libc_feupdateenv_testf): New.
4728 (libc_feupdateenv): Use libc_feupdateenv_test.
4729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4730 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4732 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4733 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4734 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4735 (libc_feresetround_noex): New.
4736 (libc_feresetround_noexf): New.
4737 (libc_feresetround_noexl): New.
4738 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4739 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4740 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4741 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4743 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4744 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4746 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4747 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4748 SET_RESTORE_ROUND_NOEX.
4749 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4750 SET_RESTORE_ROUND_NOEXF.
4751 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4752 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4753 (libc_feholdsetroundf): New.
4754 (libc_feresetround, libc_feresetroundf): New.
4756 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4757 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4758 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4760 * sysdeps/generic/math_private.h: Include <fenv.h>.
4761 (default_libc_feholdexcept): New.
4762 (default_libc_feholdexcept_setround): New.
4763 (default_libc_fesetenv, default_libc_feupdateenv): New.
4764 (libc_feholdexcept): Only define if undefined.
4765 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4766 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4767 (libc_feholdexcept_setroundl): Likewise.
4768 (libc_feholdexcept_setround_53bit): Likewise.
4769 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4770 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4771 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4772 (libc_feupdateenv_53bit): Likewise.
4773 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4774 (libc_feholdexcept): Convert from macro to inline function.
4775 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4776 (libc_fesetenv, libc_feupdateenv): Likewise.
4778 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4779 not previously defined.
4780 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4781 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4782 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4783 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4784 * sysdeps/ieee754/flt-32/math_private.h: New file.
4785 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4786 math_private.h below SET_FLOAT_WORD.
4787 (__isnan, __isinf_ns, __finite): Remove.
4788 (__isnanf, __isinf_nsf, __finitef): Remove.
4790 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4794 2012-03-17 David S. Miller <davem@davemloft.net>
4797 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4800 2012-03-16 David S. Miller <davem@davemloft.net>
4802 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4806 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4808 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4809 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4810 sysdep_routines when subdir is sysvipc.
4811 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4814 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4816 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4818 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4821 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4823 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4824 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4825 (__lround): Renamed to ...
4826 (__llround): This. Replace long int with long long int.
4827 Define lround functions as aliases of llround functions.
4828 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4830 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4832 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4833 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4834 adresses to uintptr_t. Replace "long int" and "unsigned long
4835 int" with "greg_t" on va_arg.
4837 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4839 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4840 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4842 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4843 Move e_machine check before EI_CLASS check. Handle x32
4844 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4845 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4846 SKIP_EM_IA_64 and include
4847 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4849 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4850 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4851 (add_system_dir): New macro.
4853 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4854 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4856 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4867 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4869 * math/w_j0f.c (j0f): Likewise.
4871 * math/w_j0l.c (__j0l): Likewise.
4873 * math/w_j1.c (j1): Likewise.
4875 * math/w_j1f.c (j1f): Likewise.
4877 * math/w_j1l.c (__j1l): Likewise.
4879 * math/w_jn.c (jn): Likewise.
4881 * math/w_jnf.c (jnf): Likewise.
4883 * math/w_jnl.c (__jnl): Likewise.
4885 * math/libm-test.inc (j0_test): Add more tests.
4886 (j1_test): Likewise.
4887 (jn_test): Likewise. Add trailing semicolon to existing test.
4888 (y0_test): Likewise.
4889 (y1_test): Likewise.
4890 * sysdeps/i386/fpu/libm-test-ulps: Update.
4891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4895 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4896 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4897 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4898 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4899 (__tanl): Set errno for infinite argument.
4900 * sysdeps/i386/fpu/mptan.c: Remove.
4901 * sysdeps/i386/fpu/s_tan.S: Likewise.
4902 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4903 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4904 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4905 * math/libm-test.inc (tan_test): Add more tests and enable more
4906 tests for double and long double.
4907 * sysdeps/i386/fpu/libm-test-ulps: Update.
4908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4910 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4912 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4913 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4915 2012-03-16 Roland McGrath <roland@hack.frob.com>
4917 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4918 * configure.in: Use it for both main tree and add-ons.
4919 * configure: Regenerated.
4921 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4923 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4925 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4927 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4931 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4932 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4935 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4937 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4938 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4940 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4941 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4942 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4943 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4944 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4945 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4946 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4947 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4948 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4949 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4950 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4951 * math/libm-test.inc (cos_test): Add more tests and enable more
4952 tests for long double.
4953 (sin_test): Likewise.
4954 (sincos_test): Likewise.
4955 * sysdeps/i386/fpu/libm-test-ulps: Update.
4956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4958 2012-03-16 David S. Miller <davem@davemloft.net>
4960 * sysdeps/sparc/fpu/math_private.h: New file.
4962 2012-03-15 David S. Miller <davem@davemloft.net>
4964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4974 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4978 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4979 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4981 * sysdeps/sparc/sparc-ifunc.h: New file.
4982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5008 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5009 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5020 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5021 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5022 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5023 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5024 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5025 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5027 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5029 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5033 2012-03-15 Andreas Jaeger <aj@suse.de>
5036 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5037 ieee754/flt-32 implementation for sin, cos and sincos.
5038 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5039 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5040 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5041 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5042 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5043 ieee754/flt-32 implementation for tan.
5045 * math/libm-test.inc (cos_test): Enable some large input tests for
5047 (sin_test): Likewise.
5048 (sincos_test): Likewise.
5049 (tan_test): Add tests for large input.
5051 * sysdeps/i386/fpu/libm-test-ulps: Update.
5053 2012-03-15 Andreas Jaeger <aj@suse.de>
5056 * math/libm-test.inc (cos_test): Add more test cases.
5057 (sin_test): Likewise.
5058 (sincos_test): Likewise.
5060 2012-03-15 Andreas Jaeger <aj@suse.de>
5063 * math/libm-test.inc (cos_test): Add a test case for large input
5065 (sin_test): Likewise.
5066 (sincos_test): Likewise.
5068 2012-03-15 Andreas Jaeger <aj@suse.de>,
5069 Joseph Myers <joseph@codesourcery.com>
5072 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5073 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5074 * sysdeps/i386/fpu/branred.c: Likewise.
5075 * sysdeps/i386/fpu/dosincos.c: Likewise.
5076 * sysdeps/i386/fpu/mpa.c: Likewise.
5077 * sysdeps/i386/fpu/s_cos.S: Likewise.
5078 * sysdeps/i386/fpu/s_sin.S: Likewise.
5079 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5080 * sysdeps/i386/fpu/sincos32.c: Likewise.
5082 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5084 (libc_feupdateenv_53bit): Define.
5085 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5087 (libc_feupdateenv_53bit): Define.
5089 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5090 53 bit (without extend i386 double precision).
5092 * math/libm-test.inc (sincos_test): Add tests for large input.
5096 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5098 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5102 2012-03-15 David S. Miller <davem@davemloft.net>
5104 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5105 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5106 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5107 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5132 fmin/fmax sysdep routines.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5135 2012-03-14 David S. Miller <davem@davemloft.net>
5137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5163 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5164 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5209 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5214 * sysdeps/sparc/configure.in: New file.
5215 * sysdeps/sparc/configure: Generate.
5216 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5217 * configure: Regenerate.
5218 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5219 * config.make.in (have-as-vis3): New.
5220 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5221 available use -Av9d instead of -Av9a.
5222 * sysdeps/sparc/sparc64/Makefile: Likewise.
5223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5234 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5236 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5238 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5239 fzeros/fnegs to load 0x80000000 into a float register instead of
5241 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5243 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5247 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5248 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5249 ($(inst_includedir)/bits/syscall.h): Remove rule.
5250 ($(objpfx)bits/syscall.d): Include instead of
5251 $(objpfx)syscall-list.d.
5252 (generated): Change syscall-list.h and syscall-list.d to
5253 bits/syscall.h and bits/syscall.d.
5255 2012-03-14 Roland McGrath <roland@hack.frob.com>
5258 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5260 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5263 * math/s_csqrt.c: Include <float.h>.
5264 (__csqrt): Scale large or subnormal inputs.
5265 * math/s_csqrtf.c: Likewise.
5266 * math/s_csqrtl.c: Likewise.
5267 * math/libm-test.inc (csqrt_test): Add more tests.
5268 * sysdeps/i386/fpu/libm-test-ulps: Update.
5269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5272 * math/libm-test.inc (hypot_test): Add more tests.
5274 2012-03-13 David S. Miller <davem@davemloft.net>
5277 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5278 double-precision for the calculation instead of scaling.
5280 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5282 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5283 manipulate bits before adding and subtracting TWO52[sx].
5284 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5285 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5287 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5289 2012-03-13 David S. Miller <davem@davemloft.net>
5291 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5292 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5294 rtld-global-offsets.h
5295 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5297 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5300 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5302 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5303 'err' in the ifdef scope in which it is actually used.
5305 * nss/nss_db/db-init.c: Include string.h
5307 2012-03-12 David S. Miller <davem@davemloft.net>
5309 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5310 masking out of the most significant byte of random value used.
5311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5312 Fix coding style in previous change.
5314 * sysdeps/unix/sysv/linux/kernel-features.h
5315 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5316 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5318 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5321 2012-03-11 David S. Miller <davem@davemloft.net>
5323 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5324 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5326 for 'resultvar' otherwise things get truncated on 64-bit.
5328 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5329 Fix masking out of the most significant byte of random value used.
5331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5333 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5337 2012-03-09 David S. Miller <davem@davemloft.net>
5339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5340 variables with appropriate CPP guards.
5341 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5342 frame pointer, not the stack pointer. Correct layout comments. Fix test
5343 on resulting framesize and the management of the outregs buffer for pltexit.
5344 Preserve floating point return values across _dl_call_pltexit call.
5345 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5346 framesize and the management of the outregs buffer for pltexit.
5347 Preserve floating point return values across _dl_call_pltexit
5349 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5350 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5351 (print_exit): Fix format string for return register value.
5353 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5355 * sunrpc/Makefile (others): Add rpcgen.
5356 ($(objpfx)rpcgen): Remove special build rule and dependency on
5358 * sunrpc/rpcgen.c: New file.
5360 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5363 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5364 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5365 * sysdeps/i386/crti.S: Likewise.
5366 * sysdeps/i386/crtn.S: Likewise.
5367 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5368 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5369 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5370 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5371 * sysdeps/sh/crti.S: Likewise.
5372 * sysdeps/sh/crtn.S: Likewise.
5373 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5376 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5378 * locale/programs/locfile-kw.gperf: Likewise.
5379 * locale/programs/charmap-kw.h: Regenerated.
5380 * locale/programs/locfile-kw.h: Likewise.
5383 * intl/plural.y: Replace FSF snail mail address with URL.
5384 * intl/plural.c: Regenerated.
5386 2012-03-09 Richard Henderson <rth@twiddle.net>
5388 * include/math_private.h: Remove file.
5389 * math/math_private.h: Move file ...
5390 * sysdeps/generic/math_private.h: ... here.
5392 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5393 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5394 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5396 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5397 and <math_private.h>.
5398 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5399 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5400 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5401 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5402 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5419 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5420 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5422 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5423 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5424 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5427 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5428 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5429 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5430 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5433 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5437 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5438 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5439 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5440 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5441 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5442 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5443 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5444 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5445 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5446 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5447 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5448 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5449 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5450 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5451 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5452 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5453 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5454 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5455 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5456 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5457 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5458 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5459 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5460 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5461 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5462 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5463 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5464 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5465 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5466 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5467 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5468 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5469 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5470 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5471 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5472 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5473 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5475 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5477 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5478 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5479 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5480 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5481 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5482 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5483 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5484 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5485 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5486 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5487 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5488 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5489 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5490 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5491 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5492 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5493 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5494 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5495 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5497 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5498 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5499 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5500 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5501 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5502 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5503 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5504 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5505 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5506 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5507 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5508 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5509 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5510 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5511 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5512 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5513 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5514 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5515 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5516 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5517 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5518 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5519 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5520 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5521 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5522 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5523 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5524 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5525 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5526 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5527 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5528 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5529 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5530 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5531 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5532 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5533 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5534 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5535 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5536 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5537 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5538 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5539 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5540 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5541 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5542 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5543 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5544 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5545 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5546 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5547 * sysdeps/ieee754/k_standard.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5574 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5575 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5577 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5578 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5579 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5580 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5584 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5585 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5590 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5592 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5598 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5599 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5600 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5608 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5613 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5615 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5622 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5625 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5626 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5627 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5629 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5630 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5631 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5632 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5635 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5660 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5661 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5663 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5664 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5666 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5667 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5668 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5670 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5671 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5672 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5674 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5675 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5676 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5677 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5678 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5680 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5681 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5682 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5683 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5689 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5690 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5691 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5692 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5693 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5694 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5696 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5697 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5698 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5699 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5700 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5701 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5702 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5703 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5704 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5705 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5706 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5707 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5708 * sysdeps/ieee754/s_lib_version.c: Likewise.
5709 * sysdeps/ieee754/s_matherr.c: Likewise.
5710 * sysdeps/ieee754/s_signgam.c: Likewise.
5711 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5712 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5713 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5714 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5715 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5716 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5717 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5718 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5719 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5720 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5721 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5722 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5723 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5724 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5725 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5726 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5727 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5728 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5729 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5730 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5731 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5733 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5735 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5736 * sunrpc/rpc_main.c: Likewise.
5737 * sunrpc/rpc_svcout.c: Likewise.
5739 2012-03-09 David S. Miller <davem@davemloft.net>
5741 * include/math_private.h: New file.
5743 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5745 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5746 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5747 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5748 from <bits/socket_type.h>.
5749 (enum __socket_type): Don't define here.
5750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5755 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5758 * Makerules ($(inst_includedir)/%.h): New rule.
5759 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5760 (install-others): Remove variable setting.
5761 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5763 2012-03-08 Richard Henderson <rth@twiddle.net>
5765 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5766 from macro to inline function; merge with the
5767 !__LIBC_INTERNAL_MATH_INLINES version.
5768 (__ieee754_sqrtf): Likewise.
5770 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5772 (__rintf, __floor, __floorf): Likewise.
5774 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5775 macro to inline function.
5776 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5778 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5779 not <math/math_private.h>.
5781 2012-03-08 David S. Miller <davem@davemloft.net>
5783 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5785 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5787 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5789 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5791 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5792 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5794 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5796 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5797 be defined individually, they must be defined as a block. Define
5798 S for printing a string instead of hidint the different by using a
5799 macro for adding the 'l'.
5800 * stdio-common/tst-fphex-wide.c: Adjust.
5802 2012-03-07 Marek Polacek <polacek@redhat.com>
5804 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5806 2012-03-08 Marek Polacek <polacek@redhat.com>
5809 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5810 * stdio-common/tst-fphex.c: Define a few macros to make the
5811 test reusable. Use them.
5812 * stdio-common/tst-fphex-wide.c: New file.
5814 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5817 * manual/macros.texi (gnusystems): New macro.
5818 (nongnusystems): Likewise.
5819 (gnulinuxhurdsystems): Likewise.
5820 (gnuhurdsystems): Likewise..
5821 (gnulinuxsystems): Likewise.
5822 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5823 variants of the GNU system, not "GNU system".
5824 * manual/conf.texi: Likewise.
5825 * manual/errno.texi: Likewise. Update example of errno macro
5827 * manual/filesys.texi: Likewise.
5828 (getumask): Document as specific to GNU/Hurd.
5829 * manual/install.texi: Likewise. Reword some references to
5831 * manual/intro.texi: Likewise.
5832 * manual/io.texi: Likewise.
5833 (File Name Portability): Detail which constraints are inapplicable
5834 to all GNU systems and which are only inapplicable to GNU/Hurd.
5835 * manual/job.texi: Likewise.
5836 * manual/llio.texi: Likewise.
5837 (O_NOCTTY): Document as present on GNU/Linux.
5838 * manual/maint.texi: Likewise.
5839 * manual/memory.texi: Likewise.
5840 * manual/pattern.texi: Likewise.
5841 * manual/pipe.texi: Likewise.
5842 * manual/process.texi: Likewise.
5843 * manual/resource.texi: Likewise.
5844 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5846 * manual/setjmp.texi: Likewise.
5847 * manual/signal.texi: Likewise.
5848 * manual/startup.texi: Likewise.
5849 * manual/stdio.texi: Likewise.
5850 * manual/terminal.texi: Likewise.
5851 (ONLCR): Document as POSIX.
5852 (OXTABS): Document availability on GNU/Linux as XTABS.
5853 (ONOEOT): Document availability separately from other bits.
5854 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5855 * manual/time.texi: Likewise.
5856 * manual/users.texi: Likewise.
5857 * INSTALL: Regenerated.
5858 * sysdeps/gnu/errlist.c: Regenerated.
5860 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5861 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5862 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5864 * configure: Regenerated.
5866 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5868 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5869 default includes instead of AC_HEADER_CHECK.
5870 * sysdeps/i386/configure: Regenerated.
5873 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5874 * math/s_cacoshf.c (__cacoshf): Likewise.
5875 * math/s_cacoshl.c (__cacoshl): Likewise.
5876 * math/s_casinh.c (__casinh): Set signs of result from argument.
5877 * math/s_casinhf.c (__casinhf): Likewise.
5878 * math/s_casinhl.c (__casinhl): Likewise.
5879 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5880 (casinh_test): Add more tests.
5881 * sysdeps/i386/fpu/libm-test-ulps: Update.
5882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5884 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5886 * po/zh_TW.po: Update from translation team.
5888 * login/Makefile (distribute): Remove variable.
5889 * catgets/Makefile: Likewise.
5890 * mach/Makefile: Likewise.
5891 * malloc/Makefile: Likewise.
5892 * misc/Makefile: Likewise.
5893 * iconv/Makefile: Likewise.
5894 * nscd/Makefile: Likewise.
5895 * hurd/Makefile: Likewise.
5896 * manual/Makefile: Likewise.
5897 * locale/Makefile: Likewise.
5898 * intl/Makefile: Likewise.
5899 * conform/Makefile: Likewise.
5900 * nss/Makefile: Likewise.
5901 * time/Makefile: Likewise.
5902 * soft-fp/Makefile: Likewise.
5903 * dirent/Makefile: Likewise.
5904 * gmon/Makefile: Likewise.
5905 * po/Makefile: Likewise.
5906 * rt/Makefile: Likewise.
5907 * socket/Makefile: Likewise.
5908 * math/Makefile: Likewise.
5909 * signal/Makefile: Likewise.
5910 * debug/Makefile: Likewise.
5911 * elf/Makefile: Likewise.
5912 * timezone/Makefile: Likewise.
5913 * stdlib/Makefile: Likewise.
5914 * iconvdata/Makefile: Likewise.
5915 * sunrpc/Makefile: Likewise.
5916 * io/Makefile: Likewise.
5917 * argp/Makefile: Likewise.
5918 * inet/Makefile: Likewise.
5919 * hesiod/Makefile: Likewise.
5920 * grp/Makefile: Likewise.
5921 * csu/Makefile: Likewise.
5922 * wctype/Makefile: Likewise.
5923 * crypt/Makefile: Likewise.
5924 * libio/Makefile: Likewise.
5925 * string/Makefile: Likewise.
5926 * nis/Makefile: Likewise.
5927 * resolv/Makefile: Likewise.
5928 * stdio-common/Makefile: Likewise.
5929 * wcsmbs/Makefile: Likewise.
5930 * dlfcn/Makefile: Likewise.
5931 * posix/Makefile: Likewise.
5934 * timezone/Makefile: Don't install timezone files, just the programs
5937 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5939 * nss/databases.def: Add missing gshadow entry.
5941 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5943 2012-03-06 Marek Polacek <polacek@redhat.com>
5946 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5947 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5948 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5949 * stdio-common/tst-long-dbl-fphex.c: New file.
5951 2012-03-06 David S. Miller <davem@davemloft.net>
5953 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5954 (set_obp_int): New function.
5955 (get_obp_int): New function.
5956 (__get_clockfreq_via_dev_openprom): Likewise.
5957 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5958 Avoid unused variable warnings on 'val' and use builtin_expect.
5959 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5961 (INLINE_CLONE_SYSCALL): Likewise.
5963 2012-03-05 David S. Miller <davem@davemloft.net>
5965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5967 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5971 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5975 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5977 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5978 Replace gettimeofday with __vdso_gettimeofday.
5980 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5981 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5982 __vdso_clock_gettime and __vdso_getcpu.
5984 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5985 time with __vdso_time.
5987 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5989 * manual/lang.texi (size_t): Note types to which size_t may be
5990 equivalent with the GNU C Library, but do not describe when
5991 differences between them are significant.
5993 2012-03-05 Andreas Jaeger <aj@suse.de>
5995 * sysdeps/i386/fpu/libm-test-ulps: Update.
5997 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6000 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6001 (__ieee754_pow): Save and restore rounding mode and use
6002 round-to-nearest for main computations.
6003 * math/libm-test.inc (pow_test_tonearest): New function.
6004 (pow_test_towardzero): Likewise.
6005 (pow_test_downward): Likewise.
6006 (pow_test_upward): Likewise.
6007 (main): Call the new functions.
6008 * sysdeps/i386/fpu/libm-test-ulps: Update.
6009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6012 * math/libm-test.inc (cosh_test_tonearest): New function.
6013 (cosh_test_towardzero): Likewise.
6014 (cosh_test_downward): Likewise.
6015 (cosh_test_upward): Likewise.
6016 (sinh_test_tonearest): Likewise.
6017 (sinh_test_towardzero): Likewise.
6018 (sinh_test_downward): Likewise.
6019 (sinh_test_upward): Likewise.
6020 (main): Call the new functions.
6021 * sysdeps/i386/fpu/libm-test-ulps: Update.
6022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6024 2012-03-05 Tom de Vries <tom@codesourcery.com>
6026 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6027 default stack guard is set in last bytes.
6028 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6030 2012-03-05 Kees Cook <keescook@chromium.org>
6032 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6035 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6036 possibly allocate from heap instead of stack.
6037 * stdio-common/bug-vfprintf-nargs.c: New file.
6038 * stdio-common/Makefile (tests): Add nargs overflow test.
6040 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6044 2012-03-03 Marek Polacek <polacek@redhat.com>
6046 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6047 * math/math_private.h: Likewise.
6048 * stdlib/tst-strtod.c: Likewise.
6049 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6050 * sysdeps/x86_64/bits/atomic.h: Likewise.
6052 2012-03-02 David S. Miller <davem@davemloft.net>
6054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6058 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6059 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6060 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6061 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6063 2012-03-02 Roland McGrath <roland@hack.frob.com>
6066 * manual/examples/README: New file, says the example source files
6067 can be used under GPL>=2.
6068 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6069 line containing just "*/".
6070 * manual/examples/add.c: Add copyright header (GPL>=2).
6071 * manual/examples/argp-ex1.c: Likewise.
6072 * manual/examples/argp-ex2.c: Likewise.
6073 * manual/examples/argp-ex3.c: Likewise.
6074 * manual/examples/argp-ex4.c: Likewise.
6075 * manual/examples/atexit.c: Likewise.
6076 * manual/examples/db.c: Likewise.
6077 * manual/examples/dir.c: Likewise.
6078 * manual/examples/dir2.c: Likewise.
6079 * manual/examples/execinfo.c: Likewise.
6080 * manual/examples/filecli.c: Likewise.
6081 * manual/examples/filesrv.c: Likewise.
6082 * manual/examples/fmtmsgexpl.c: Likewise.
6083 * manual/examples/genpass.c: Likewise.
6084 * manual/examples/inetcli.c: Likewise.
6085 * manual/examples/inetsrv.c: Likewise.
6086 * manual/examples/isockad.c: Likewise.
6087 * manual/examples/longopt.c: Likewise.
6088 * manual/examples/memopen.c: Likewise.
6089 * manual/examples/memstrm.c: Likewise.
6090 * manual/examples/mkfsock.c: Likewise.
6091 * manual/examples/mkisock.c: Likewise.
6092 * manual/examples/mygetpass.c: Likewise.
6093 * manual/examples/pipe.c: Likewise.
6094 * manual/examples/popen.c: Likewise.
6095 * manual/examples/rprintf.c: Likewise.
6096 * manual/examples/search.c: Likewise.
6097 * manual/examples/select.c: Likewise.
6098 * manual/examples/setjmp.c: Likewise.
6099 * manual/examples/sigh1.c: Likewise.
6100 * manual/examples/sigusr.c: Likewise.
6101 * manual/examples/stpcpy.c: Likewise.
6102 * manual/examples/strdupa.c: Likewise.
6103 * manual/examples/strftim.c: Likewise.
6104 * manual/examples/strncat.c: Likewise.
6105 * manual/examples/subopt.c: Likewise.
6106 * manual/examples/swapcontext.c: Likewise.
6107 * manual/examples/termios.c: Likewise.
6108 * manual/examples/testopt.c: Likewise.
6109 * manual/examples/testpass.c: Likewise.
6110 * manual/examples/timeval_subtract.c: Likewise.
6113 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6115 * manual/timeval_subtract.c.texi: ... here, new file.
6117 2012-03-02 David S. Miller <davem@davemloft.net>
6119 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6121 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6124 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6125 (__sin): Save and restore rounding mode and use round-to-nearest
6126 for all computations.
6127 (__cos): Save and restore rounding mode and use round-to-nearest
6128 for all computations.
6129 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6131 (tan): Save and restore rounding mode and use round-to-nearest for
6133 * math/libm-test.inc (cos_test_tonearest): New function.
6134 (cos_test_towardzero): Likewise.
6135 (cos_test_downward): Likewise.
6136 (cos_test_upward): Likewise.
6137 (sin_test_tonearest): Likewise.
6138 (sin_test_towardzero): Likewise.
6139 (sin_test_downward): Likewise.
6140 (sin_test_upward): Likewise.
6141 (tan_test_tonearest): Likewise.
6142 (tan_test_towardzero): Likewise.
6143 (tan_test_downward): Likewise.
6144 (tan_test_upward): Likewise.
6145 (main): Call the new functions.
6146 * sysdeps/i386/fpu/libm-test-ulps: Update.
6147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6150 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6151 small n, then large n, before computing and testing k+n.
6152 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6153 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6155 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6157 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6158 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6159 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6160 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6161 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6162 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6163 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6164 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6165 * math/libm-test.inc (scalbn_test): Add more tests.
6166 (scalbln_test): Likewise.
6168 * manual/filesys.texi (mode_t): Describe constraints on size and
6169 signedness, not exact equivalence to a particular type.
6171 (ino64_t): Likewise.
6173 (nlink_t): Likewise.
6174 (blkcnt_t): Likewise.
6175 (blkcnt64_t): Likewise.
6176 * manual/llio.texi (off_t): Likewise.
6179 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6180 (__ieee754_exp): Save and restore rounding mode and use
6181 round-to-nearest for all computations.
6182 * math/libm-test.inc (exp_test_tonearest): New function.
6183 (exp_test_towardzero): Likewise.
6184 (exp_test_downward): Likewise.
6185 (exp_test_upward): Likewise.
6186 (main): Call the new functions.
6187 * sysdeps/i386/fpu/libm-test-ulps: Update.
6188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6190 2012-03-01 Chris Demetriou <cgd@google.com>
6192 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6193 have predictable order.
6195 2012-03-01 David S. Miller <davem@davemloft.net>
6197 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6199 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6200 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6201 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6202 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6204 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6205 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6206 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6208 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6209 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6210 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6211 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6212 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6216 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6217 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6218 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6220 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6221 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6222 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6223 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6224 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6226 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6227 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6228 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6229 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6230 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6231 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6232 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6233 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6234 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6236 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6237 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6238 * sysdeps/sparc/elf/configure: Regenerated.
6240 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6242 * configure.in (AS, LD): Require binutils 2.20 or later.
6243 * configure: Regenerated.
6244 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6245 as required minimum version.
6246 * INSTALL: Regenerated.
6250 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6251 before squaring exponent.
6252 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6253 bottom long double and 27 bits of top long double before squaring
6255 * math/libm-test.inc (erfc_test): Add more tests.
6256 * sysdeps/i386/fpu/libm-test-ulps: Update.
6257 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6260 2012-03-01 Kai Tietz <ktietz@redhat.com>
6262 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6263 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6264 containing bit-fields.
6265 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6266 * soft-fp/single.h (_FP_UNION_S): Likewise.
6267 * soft-fp/double.h (_FP_UNION_D): Likewise.
6269 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6272 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6273 not include ../strcmp.S.
6274 [USE_AS_STRNCASECMP_L]: Likewise.
6275 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6276 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6277 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6278 (__strncasecmp_l_ia32): Define as alias to
6279 __strncasecmp_l_nonascii.
6282 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6283 * sysdeps/i386/fpu/libm-test-ulps: Update.
6284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6286 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6289 2012-02-29 Jeff Law <law@redhat.com>
6291 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6294 2012-02-29 Marek Polacek <polacek@redhat.com>
6297 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6298 * elf/Makefile: Add rules to run tst-unused-dep.out.
6300 2012-02-28 David S. Miller <davem@davemloft.net>
6302 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6303 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6304 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6306 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6307 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6309 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6311 * math/libm-test.inc (llround_test): Move one test from
6312 lround_test. Use TEST_f_L in moved test.
6313 (lround_test): Move misplaced test to llround_test. Add testcase
6316 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6318 * sysdeps/x86_64/fpu/e_expf.S: New file.
6319 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6321 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6324 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6325 of remain_len that may cause incomplete multi-byte character and
6327 * posix/bug-regex33.c: New file.
6328 * posix/Makefile (tests): Add bug-regex33.
6330 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6332 * manual/macros.texi: New file.
6333 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6334 * manual/libc.texinfo: Include macros.texi.
6335 * manual/creatute.texi: Likewise.
6336 * manual/install.texi: Likewise.
6337 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6338 @glibcadj{} in references to the GNU C Library.
6339 * manual/charset.texi: Likewise.
6340 * manual/conf.texi: Likewise.
6341 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6342 when not using those macros.
6343 * manual/creature.texi: Likewise.
6344 * manual/crypt.texi: Likewise.
6345 * manual/errno.texi: Likewise.
6346 * manual/filesys.texi: Likewise.
6347 * manual/header.texi: Likewise.
6348 * manual/install.texi: Likewise.
6349 * manual/intro.texi: Likewise.
6350 * manual/io.texi: Likewise.
6351 * manual/job.texi: Likewise.
6352 * manual/lang.texi: Likewise.
6353 * manual/libc.texiinfo: Likewise.
6354 * manual/llio.texi: Likewise.
6355 * manual/locale.texi: Likewise.
6356 * manual/maint.texi: Likewise.
6357 * manual/math.texi: Likewise.
6358 * manual/memory.texi: Likewise.
6359 * manual/message.texi: Likewise.
6360 * manual/nss.texi: Likewise.
6361 * manual/pattern.texi: Likewise.
6362 * manual/process.texi: Likewise.
6363 * manual/resource.texi: Likewise.
6364 * manual/search.texi: Likewise.
6365 * manual/setjmp.texi: Likewise.
6366 * manual/signal.texi: Likewise.
6367 * manual/socket.texi: Likewise.
6368 * manual/startup.texi: Likewise.
6369 * manual/stdio.texi: Likewise.
6370 * manual/string.texi: Likewise.
6371 * manual/sysinfo.texi: Likewise.
6372 * manual/syslog.texi: Likewise.
6373 * manual/terminal.texi: Likewise.
6374 * manual/time.texi: Likewise.
6375 * manual/users.texi: Likewise.
6376 * INSTALL: Regenerated.
6377 * NOTES: Regenerated.
6378 * sysdeps/gnu/errlist.c: Regenerated.
6380 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6382 * include/dirent.h: Include <dirstream.h> before
6385 2012-02-28 David S. Miller <davem@davemloft.net>
6387 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6388 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6389 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6390 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6392 2012-02-27 David S. Miller <davem@davemloft.net>
6394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6396 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6397 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6400 frame pointer instead of stack pointer relative arg slot.
6401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6402 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6403 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6405 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6408 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6410 2012-02-27 David S. Miller <davem@davemloft.net>
6412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6416 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6417 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6418 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6419 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6421 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6423 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6424 later. Allow versions 5-9.
6425 * configure: Regenerated.
6426 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6427 required minimum version and 4.6 as recommended version. Do not
6428 mention bugs in GCC 2.7 and 2.8.
6429 * INSTALL: Regenerated.
6431 2012-02-27 David S. Miller <davem@davemloft.net>
6433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6437 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6438 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6439 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6440 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6442 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6443 manipulate bits before adding and subtracting TWO112[sx].
6444 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6446 2012-02-27 Roland McGrath <roland@hack.frob.com>
6449 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6450 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6451 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6452 being in POSIX, because they are in 1003.1-2008.
6454 * rt/tst-aio.c: Include <fcntl.h>.
6455 * rt/tst-aio7.c: Likewise.
6456 * rt/tst-aio64.c: Likewise.
6458 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6460 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6462 * manual/install.texi (--with-headers): Describe headers as
6463 interface headers, not private headers.
6464 (Specific advice for GNU/Linux systems): Describe use of headers
6465 from "make headers_install", not private headers from older
6467 * INSTALL: Regenerated.
6468 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6470 * sysdeps/unix/sysv/linux/configure: Regenerated.
6472 * manual/llio.texi (fclean): Remove documentation.
6474 * manual/Makefile (libc-texi-generated): New variable. Include
6476 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6477 $(libc-texi-generated), not duplicated list of files.
6478 (version.texi, stamp-version): New rules.
6479 (realclean): Remove $(libc-texi-generated), not individual files
6480 from that list. Do not remove dir-add.texinfo.
6481 * manual/libc.texinfo: Comment out uses of edition numbers and
6482 references to printed manual. Remove last-updated dates.
6483 (EDITION): Comment out.
6485 (VERSION, UPDATED): Remove.
6486 (version.texi): Include.
6488 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6490 * sysdeps/posix/spawni.c: Include <signal.h>.
6491 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6492 * sysdeps/pthread/aio_fsync.c: Likewise.
6494 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6496 * conform/Makefile (tests): Run only when not cross-compiling and
6497 when fast-check is not defined.
6499 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6500 * conform/data/limits.h-data: Fixes for POSIX2008.
6501 * conform/run-conformtest.sh: Run all tests.
6502 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6504 * include/bits/dlfcn.h: Likewise.
6505 * include/langinfo.h: Likewise.
6506 * include/monetary.h: Likewise.
6507 * include/sys/poll.h: Likewise.
6509 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6511 * posix/spawn.h: Define __need_sigset_t.
6512 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6513 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6514 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6515 to get sigevent_t only.
6516 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6519 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6520 process_vm_writev only for __USE_GNU.
6521 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6523 * conform/Makefile: For now ignore errors from run-conformtest.
6524 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6525 POSIX to avoid namespace pollution. Don't prepend headers.
6526 * conform/data/aio.h-data: Fixes for POSIX testing.
6527 * conform/data/fcntl.h-data: Likewise.
6528 * conform/data/glob.h-data: Likewise.
6529 * conform/data/grp.h-data: Likewise.
6530 * conform/data/pthread.h-data: Likewise.
6531 * conform/data/pwd.h-data: Likewise.
6532 * conform/data/signal.h-data: Likewise.
6533 * conform/data/spawn.h-data: Likewise.
6534 * conform/data/stdio.h-data: Likewise.
6535 * conform/data/stdlib.h-data: Likewise.
6536 * conform/data/stropts.h-data: Likewise.
6537 * conform/data/sys/mman.h-data: Likewise.
6538 * conform/data/sys/stat.h-data: Likewise.
6539 * conform/data/sys/types.h-data: Likewise.
6540 * conform/data/sys/wait.h-data: Likewise.
6541 * conform/data/time.h-data: Likewise.
6542 * conform/data/unistd.h-data: Likewise.
6543 * conform/data/utime.h-data: Likewise.
6545 * io/sys/stat.h: fchmod was always in POSIX.
6546 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6547 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6548 * rt/aio.h: Define __need_timespec before including <time.h>.
6549 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6550 struct. Add forward declaration of pthread_attr_t and use it in
6552 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6554 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6555 always remove CLK_TCK definition.
6557 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6559 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6561 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6563 * conform/run-conformtest.sh: New file.
6564 * conform/Makefile: Run run-conformtest for tests.
6565 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6568 * conform/data/uchar.h-data: New file.
6569 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6570 * conform/data/arpa/inet.h-data: Likewise.
6571 * conform/data/assert.h-data: Likewise.
6572 * conform/data/complex.h-data: Likewise.
6573 * conform/data/cpio.h-data: Likewise.
6574 * conform/data/ctype.h-data: Likewise.
6575 * conform/data/dirent.h-data: Likewise.
6576 * conform/data/dlfcn.h-data: Likewise.
6577 * conform/data/errno.h-data: Likewise.
6578 * conform/data/fcntl.h-data: Likewise.
6579 * conform/data/float.h-data: Likewise.
6580 * conform/data/fmtmsg.h-data: Likewise.
6581 * conform/data/fnmatch.h-data: Likewise.
6582 * conform/data/ftw.h-data: Likewise.
6583 * conform/data/glob.h-data: Likewise.
6584 * conform/data/grp.h-data: Likewise.
6585 * conform/data/iconv.h-data: Likewise.
6586 * conform/data/inttypes.h-data: Likewise.
6587 * conform/data/langinfo.h-data: Likewise.
6588 * conform/data/libgen.h-data: Likewise.
6589 * conform/data/limits.h-data: Likewise.
6590 * conform/data/locale.h-data: Likewise.
6591 * conform/data/math.h-data: Likewise.
6592 * conform/data/monetary.h-data: Likewise.
6593 * conform/data/mqueue.h-data: Likewise.
6594 * conform/data/ndbm.h-data: Likewise.
6595 * conform/data/net/if.h-data: Likewise.
6596 * conform/data/netdb.h-data: Likewise.
6597 * conform/data/netinet/in.h-data: Likewise.
6598 * conform/data/nl_types.h-data: Likewise.
6599 * conform/data/poll.h-data: Likewise.
6600 * conform/data/pthread.h-data: Likewise.
6601 * conform/data/pwd.h-data: Likewise.
6602 * conform/data/regex.h-data: Likewise.
6603 * conform/data/sched.h-data: Likewise.
6604 * conform/data/search.h-data: Likewise.
6605 * conform/data/semaphore.h-data: Likewise.
6606 * conform/data/setjmp.h-data: Likewise.
6607 * conform/data/signal.h-data: Likewise.
6608 * conform/data/spawn.h-data: Likewise.
6609 * conform/data/stdarg.h-data: Likewise.
6610 * conform/data/stdio.h-data: Likewise.
6611 * conform/data/stdlib.h-data: Likewise.
6612 * conform/data/string.h-data: Likewise.
6613 * conform/data/strings.h-data: Likewise.
6614 * conform/data/stropts.h-data: Likewise.
6615 * conform/data/sys/ipc.h-data: Likewise.
6616 * conform/data/sys/mman.h-data: Likewise.
6617 * conform/data/sys/msg.h-data: Likewise.
6618 * conform/data/sys/resource.h-data: Likewise.
6619 * conform/data/sys/select.h-data: Likewise.
6620 * conform/data/sys/sem.h-data: Likewise.
6621 * conform/data/sys/shm.h-data: Likewise.
6622 * conform/data/sys/socket.h-data: Likewise.
6623 * conform/data/sys/stat.h-data: Likewise.
6624 * conform/data/sys/statvfs.h-data: Likewise.
6625 * conform/data/sys/time.h-data: Likewise.
6626 * conform/data/sys/timeb.h-data: Likewise.
6627 * conform/data/sys/times.h-data: Likewise.
6628 * conform/data/sys/types.h-data: Likewise.
6629 * conform/data/sys/uio.h-data: Likewise.
6630 * conform/data/sys/un.h-data: Likewise.
6631 * conform/data/sys/utsname.h-data: Likewise.
6632 * conform/data/sys/wait.h-data: Likewise.
6633 * conform/data/syslog.h-data: Likewise.
6634 * conform/data/tar.h-data: Likewise.
6635 * conform/data/termios.h-data: Likewise.
6636 * conform/data/utime.h-data: Likewise.
6637 * conform/data/utmpx.h-data: Likewise.
6638 * conform/data/varargs.h-data: Likewise.
6639 * conform/data/wchar.h-data: Likewise.
6640 * conform/data/wctype.h-data: Likewise.
6641 * conform/data/wordexp.h-data: Likewise.
6643 * include/stropts.h: New file.
6644 * include/uchar.h: New file.
6645 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6646 * include/assert.h: Likewise.
6647 * include/ctype.h: Likewise.
6648 * include/dirent.h: Likewise.
6649 * include/dlfcn.h: Likewise.
6650 * include/fcntl.h: Likewise.
6651 * include/fnmatch.h: Likewise.
6652 * include/glob.h: Likewise.
6653 * include/grp.h: Likewise.
6654 * include/libio.h: Likewise.
6655 * include/locale.h: Likewise.
6656 * include/math.h: Likewise.
6657 * include/net/if.h: Likewise.
6658 * include/netdb.h: Likewise.
6659 * include/netinet/in.h: Likewise.
6660 * include/pthread.h: Likewise.
6661 * include/pwd.h: Likewise.
6662 * include/regex.h: Likewise.
6663 * include/sched.h: Likewise.
6664 * include/search.h: Likewise.
6665 * include/setjmp.h: Likewise.
6666 * include/signal.h: Likewise.
6667 * include/stdio.h: Likewise.
6668 * include/stdlib.h: Likewise.
6669 * include/string.h: Likewise.
6670 * include/sys/cdefs.h: Likewise.
6671 * include/sys/mman.h: Likewise.
6672 * include/sys/msg.h: Likewise.
6673 * include/sys/resource.h: Likewise.
6674 * include/sys/select.h: Likewise.
6675 * include/sys/socket.h: Likewise.
6676 * include/sys/stat.h: Likewise.
6677 * include/sys/statvfs.h: Likewise.
6678 * include/sys/time.h: Likewise.
6679 * include/sys/times.h: Likewise.
6680 * include/sys/uio.h: Likewise.
6681 * include/sys/utsname.h: Likewise.
6682 * include/sys/wait.h: Likewise.
6683 * include/termios.h: Likewise.
6684 * include/time.h: Likewise.
6685 * include/ulimit.h: Likewise.
6686 * include/unistd.h: Likewise.
6687 * include/utime.h: Likewise.
6688 * include/wchar.h: Likewise.
6689 * include/wctype.h: Likewise.
6690 * include/wordexp.h: Likewise.
6692 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6694 * time/time.h: TIME_UTC must be a macro.
6695 Make timespec_get available for ISO C11 only as well.
6697 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6699 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6700 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6702 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6704 * configure.in: Use -o not -a in test for unsupported multi-arch.
6706 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6708 * manual/texinfo.tex: Update to version 2012-01-19.16.
6710 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6712 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6714 2012-02-24 Roland McGrath <roland@hack.frob.com>
6717 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6718 * manual/fdl-1.3.texi: New file.
6719 * manual/fdl-1.1.texi: File removed.
6722 * manual/libc.texinfo (FDL_VERSION): New @set.
6723 Use it for mention of FDL in cover text.
6724 (Documentation License): Use it in @include file name.
6726 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6727 Roland McGrath <roland@hack.frob.com>
6730 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6731 not LONG_LONG_MAX and LONG_LONG_MIN.
6732 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6733 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6735 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6737 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6741 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6742 manipulate bits before adding and subtracting TWO23[sx].
6743 * math/libm-test.inc (nearbyint_test): Add more tests.
6745 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6748 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6749 bits before adding and subtracting TWO23[sx].
6750 * math/libm-test.inc (rint_test): Add more tests.
6751 (rint_test_tonearest): Likewise.
6752 (rint_test_towardzero): Likewise.
6753 (rint_test_downward): Likewise.
6754 (rint_test_upward: Likewise.
6756 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6759 * include/stdc-predef.h: New file. Extracted from features.h.
6760 * include/features.h: Include stdc-predef.h.
6761 * Makefile (headers): Add stdc-predef.h.
6762 * CONFORMANCE (Compiler limitations): Update.
6764 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6766 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6768 2012-02-21 David S. Miller <davem@davemloft.net>
6770 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6771 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6773 2012-02-20 David S. Miller <davem@davemloft.net>
6775 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6776 using a normal save/restore sequence, rather than allocating a
6777 dummy stack frame just to store a frame pointer and restore.
6778 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6780 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6782 * manual/install.texi: Fix stray word in line-wrapped comment.
6784 2012-02-20 David S. Miller <davem@davemloft.net>
6786 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6787 both binutils and gcc support GOTDATA.
6789 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6790 "rd %pc" in the PIC register setup sequences.
6792 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6793 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6794 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6795 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6796 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6798 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6801 (SYSCALL_ERROR_HANDLER): Likewise.
6802 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6803 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6805 (SYSCALL_ERROR_HANDLER): Likewise.
6807 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6808 (HAVE_GCC_GOTDATA): New.
6809 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6810 relocation support in both binutils and gcc.
6811 * sysdeps/sparc/elf/configure: Regenerate.
6813 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6814 * sysdeps/sparc/sparc32/elf/configure: Delete.
6815 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6816 * sysdeps/sparc/sparc64/elf/configure: Delete.
6817 * sysdeps/sparc/elf/configure.in: New file.
6818 * sysdeps/sparc/elf/configure: Generate.
6820 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6821 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6822 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6823 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6824 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6826 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6828 * manual/install.texi: Do not mention specific glibc version
6830 * manual/libc.texinfo (VERSION, UPDATED): Update.
6831 (@copying): Use @copyright{} and range of years.
6833 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6836 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6837 [crti.S not in sysdirs] (generated): Do not append.
6838 [crti.S not in sysdirs] (omit-deps): Likewise.
6839 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6840 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6841 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6842 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6843 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6845 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6846 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6847 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6848 * csu/defs.awk: Remove file.
6849 * sysdeps/generic/initfini.c: Likewise.
6850 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6852 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6855 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6857 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6858 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6859 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6860 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6861 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6862 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6864 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6865 (__EPOLL_PACKED): Define to empty if not defined by
6867 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6871 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6873 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6874 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6875 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6876 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6878 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6882 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6884 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6886 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6887 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6888 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6891 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6893 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6894 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6896 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6898 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6899 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6901 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6903 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6906 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6908 * math/w_acos.c: Use non-signaling floating-point comparisons.
6909 * math/w_acosf.c: Likewise.
6910 * math/w_acosh.c: Likewise.
6911 * math/w_acoshf.c: Likewise.
6912 * math/w_acoshl.c: Likewise.
6913 * math/w_acosl.c: Likewise.
6914 * math/w_asin.c: Likewise.
6915 * math/w_asinf.c: Likewise.
6916 * math/w_asinl.c: Likewise.
6917 * math/w_atanh.c: Likewise.
6918 * math/w_atanhf.c: Likewise.
6919 * math/w_atanhl.c: Likewise.
6920 * math/w_exp2.c: Likewise.
6921 * math/w_exp2f.c: Likewise.
6922 * math/w_exp2l.c: Likewise.
6923 * math/w_j0.c: Likewise.
6924 * math/w_j0f.c: Likewise.
6925 * math/w_j0l.c: Likewise.
6926 * math/w_j1.c: Likewise.
6927 * math/w_j1f.c: Likewise.
6928 * math/w_j1l.c: Likewise.
6929 * math/w_jn.c: Likewise.
6930 * math/w_jnf.c: Likewise.
6931 * math/w_log.c: Likewise.
6932 * math/w_log10.c: Likewise.
6933 * math/w_log10f.c: Likewise.
6934 * math/w_log10l.c: Likewise.
6935 * math/w_log2.c: Likewise.
6936 * math/w_log2f.c: Likewise.
6937 * math/w_log2l.c: Likewise.
6938 * math/w_logf.c: Likewise.
6939 * math/w_logl.c: Likewise.
6940 * math/w_sqrt.c: Likewise.
6941 * math/w_sqrtf.c: Likewise.
6942 * math/w_sqrtl.c: Likewise.
6943 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6944 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6945 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6946 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6947 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6949 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6952 * manual/string.texi (strnlen): Use correct parameter name in
6953 equivalent expression.
6955 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6958 * manual/users.texi (seteuid): Consistently use neweuid for
6961 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6964 * manual/nss.texi (Services in the NSS configuration): Correct
6965 list of services in example configuration file.
6967 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6970 * manual/arith.texi: Remove statements about negative zero
6971 behaving identically to zero.
6973 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6976 * manual/install.texi: Do not document upgrading from libc5.
6978 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6981 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6983 2012-02-18 David S. Miller <davem@davemloft.net>
6985 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6986 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6987 %o7 across the call.
6988 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6993 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6994 * sysdeps/sparc/crtn.S: Likewise.
6996 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6998 * aout/Makefile: Remove.
7000 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7003 * manual/examples/argp-ex1.c (main): Format definition in GNU
7005 * manual/examples/argp-ex2.c (main): Likewise.
7006 * manual/examples/argp-ex3.c (main): Likewise.
7007 * manual/examples/argp-ex4.c (main): Likewise.
7008 * manual/examples/longopt.c (main): Use new-style prototype
7010 * manual/examples/strncat.c (main): Specify return type and use
7011 (void) for arguments.
7012 * manual/examples/subopt.c (main): Use char **argv argument.
7014 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7017 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7020 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7023 * manual/string.texi (strchr): Change when strchrnul is
7026 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7029 * manual/locale.texi (setlocale): Document LOCPATH.
7031 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7034 * manual/process.texi (execle): Move @dots{} before last argument.
7036 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7039 * manual/charset.texi (Generic Charset Conversion): Fix typo
7040 (LC_TYPE -> LC_CTYPE).
7042 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7045 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7046 (scalbnf): Likewise.
7047 (scalbnl): Likewise.
7048 (scalbln): Likewise.
7049 (scalblnf): Likewise.
7050 (scalblnl): Likewise.
7051 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7055 * manual/filesys.texi (telldir): Use braces around return type.
7056 * manual/llio.texi (mmap): Add space after comma.
7058 * manual/math.texi (jn): Use @var{} on parameter names.
7064 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7066 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7068 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7069 (sched_get_priority_max): Likewise.
7070 * manual/signal.texi (sigvec): Add space after comma.
7071 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7073 (if_indextoname): Likewise.
7074 (if_freenameindex): Likewise.
7075 (sendto): Use ',' instead of '.' in prototype.
7076 * manual/startup.texi (syscall): Use @dots{} instead of literal
7078 * manual/stdio.texi (__fpending): Separate initial words of
7079 paragraph from @deftypefun line.
7080 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7082 (vsyslog): Use @var{} on parameter names.
7083 * manual/terminal.texi (stty): Use @var{} on parameter names.
7084 * manual/users.texi (getutmp): Use @var{} on parameter names.
7085 (getutmpx): Likewise.
7087 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7090 * manual/stdio.texi (fopen): Fix typos in description of
7093 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7096 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7097 get clock_id definition.
7099 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7102 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7103 (madvise): Cast every argument to void on its own.
7105 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7108 * manual/startup.texi (Exit Status): Fix typo.
7110 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7113 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7114 * manual/examples/argp-ex2.c: Likewise.
7115 * manual/examples/argp-ex3.c: Likewise.
7117 2012-02-16 Richard Henderson <rth@redhat.com>
7119 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7120 * sysdeps/s390/s390-32/initfini.c: Remove.
7121 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7122 * sysdeps/s390/s390-64/initfini.c: Remove.
7124 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7126 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7127 compiler output for sysdeps/generic/initfini.c.
7128 * sysdeps/sh/elf/initfini.c: Remove file.
7130 2012-02-16 David S. Miller <davem@davemloft.net>
7133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7135 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7136 * sysdeps/sparc/crti.S: New file.
7137 * sysdeps/sparc/crtn.S: New file.
7138 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7139 * sysdeps/sparc/sparc64/Makefile: Likewise.
7141 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7144 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7146 2012-02-15 Roland McGrath <roland@hack.frob.com>
7149 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7151 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7152 (write, read, close): Likewise.
7153 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7155 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7157 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7158 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7159 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7160 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7162 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7166 2012-02-14 Marek Polacek <polacek@redhat.com>
7168 * sysdeps/x86_64/crti.S: New file.
7169 * sysdeps/x86_64/crtn.S: New file.
7170 * sysdeps/x86_64/elf/initfini.c: Remove file.
7172 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7174 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7175 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7176 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7177 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7179 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7183 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7185 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7186 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7187 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7188 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7190 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7194 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7196 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7197 __feraiseexcept instead of feraiseexcept.
7199 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7200 nanosleep invocations.
7201 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7202 strings, and add error checking for a nanosleep invocations.
7204 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7206 Replace FSF snail mail address with URLs, as per GNU coding standards.
7207 Most of the snail mail addresses were wrong anyway, and omitting
7208 them makes the source code easier to maintain. Almost all of the
7209 changes are to license notices and to locale LC_IDENTIFICATION
7210 addresses, except for this one:
7211 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7212 not its snail mail address.
7214 2012-02-09 Richard Henderson <rth@twiddle.net>
7216 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7217 of kernel-features.h.
7219 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7221 2012-02-08 Marek Polacek <polacek@redhat.com>
7223 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7224 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7225 * sysdeps/gnu/_G_config.h: Likewise.
7226 * sysdeps/generic/_G_config.h: Likewise.
7228 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7230 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7234 * sysdeps/powerpc/powerpc32/crti.S: New file.
7235 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7236 * sysdeps/powerpc/powerpc64/crti.S: New file.
7237 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7239 * Makeconfig (have-initfini): Don't set.
7240 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7241 * configure.in (nopic_initfini): Don't substitute.
7242 * config.h.in (HAVE_INITFINI): Don't #undef.
7243 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7244 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7246 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7248 Support crti.S and crtn.S provided directly by architectures.
7249 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7250 [crti.S in sysdirs] (omit-deps): Likewise.
7251 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7252 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7253 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7254 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7255 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7256 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7257 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7258 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7259 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7260 compiler output for sysdeps/generic/initfini.c.
7261 * sysdeps/i386/elf/Makefile: Remove file.
7262 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7264 2012-02-07 Marek Polacek <polacek@redhat.com>
7266 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7267 * sysdeps/gnu/_G_config.h: Likewise.
7268 * sysdeps/mach/hurd/_G_config.h: Likewise.
7270 2012-02-07 Marek Polacek <polacek@redhat.com>
7272 * math/Makefile (tests): Add tst-CMPLX2.
7273 * math/tst-CMPLX2.c: New file.
7275 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7277 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7279 * math/libm-test.inc (jn_test): Add missing L suffix.
7281 2012-02-06 Marek Polacek <polacek@redhat.com>
7283 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7284 * sysdeps/i386/fpu/e_powf.S: Likewise.
7285 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7286 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7287 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7288 * sysdeps/i386/fpu/e_pow.S: Likewise.
7289 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7290 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7291 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7292 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7293 * sysdeps/i386/fpu/e_log2.S: Likewise.
7294 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7295 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7296 * sysdeps/i386/fpu/e_powl.S: Likewise.
7297 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7298 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7299 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7300 * sysdeps/i386/fpu/e_logl.S: Likewise.
7301 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7302 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7303 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7304 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7305 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7306 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7307 * sysdeps/i386/fpu/e_log.S: Likewise.
7308 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7309 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7310 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7311 * sysdeps/i386/fpu/e_logf.S: Likewise.
7312 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7313 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7314 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7315 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7316 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7317 * sysdeps/i386/fpu/e_log10.S: Likewise.
7318 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7319 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7320 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7321 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7322 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7323 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7324 * sysdeps/i386/asm-syntax.h: Likewise.
7325 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7326 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7327 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7328 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7329 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7330 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7331 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7332 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7333 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7334 * sysdeps/powerpc/sysdep.h: Likewise.
7335 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7336 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7338 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7341 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7343 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7345 * sysdeps/i386/sysdep.h: Include <features.h>.
7346 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7349 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7351 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7353 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7356 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7358 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7359 (SETUP_PIC_REG): Use GET_PC_THUNK.
7360 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7363 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7365 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7366 for non-PIC compilation.
7367 (SETUP_PIC_REG): Add .p2align directive.
7368 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7369 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7370 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7371 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7372 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7373 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7374 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7375 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7376 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7377 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7378 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7379 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7380 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7381 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7382 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7383 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7384 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7385 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7386 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7387 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7388 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7389 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7390 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7391 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7392 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7394 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7395 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7396 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7397 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7398 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7399 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7400 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7401 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7402 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7403 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7404 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7405 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7406 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7407 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7408 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7410 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7412 * math/tst-CMPLX.c: Include <stdio.h>.
7414 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7416 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7418 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7419 * sysdeps/sparc/bits/mathdef.h: Likewise.
7421 2012-01-31 Marek Polacek <polacek@redhat.com>
7423 * libio/libio.h: Don't define _PARAMS.
7424 * locale/programs/config.h: Don't define PARAMS.
7425 * stdlib/strtol_l.c: Likewise.
7426 (__strtol_l): Remove PARAMS from the prototype.
7428 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7430 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7431 names. Just use the correct names. Remove unnecessary wrapper
7433 * malloc/arena.c: Likewise.
7434 * malloc/hooks.c: Likewise.
7436 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7437 ARENA_TEST says not to. Simplify test for creation of a new arena.
7438 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7440 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7442 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7444 (update_get_addr): New function.
7445 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7446 GET_ADDR_MODULE parameter.
7448 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7450 * crypt/cert.c: Remove __STDC__ conditionals.
7451 * crypt/crypt-entry.c: Likewise.
7452 * crypt/crypt_util.c: Likewise.
7453 * libio/filedoalloc.c: Likewise.
7454 * libio/fileops.c: Likewise.
7455 * libio/genops.c: Likewise.
7456 * libio/iofclose.c: Likewise.
7457 * libio/iofdopen.c: Likewise.
7458 * libio/iofopen.c: Likewise.
7459 * libio/iofopen64.c: Likewise.
7460 * libio/iogetdelim.c: Likewise.
7461 * libio/iopopen.c: Likewise.
7462 * libio/obprintf.c: Likewise.
7463 * libio/oldfileops.c: Likewise.
7464 * libio/oldiofclose.c: Likewise.
7465 * libio/oldiofdopen.c: Likewise.
7466 * libio/oldiofopen.c: Likewise.
7467 * libio/oldiopopen.c: Likewise.
7468 * libio/wfiledoalloc.c: Likewise.
7469 * libio/wgenops.c: Likewise.
7470 * locale/programs/xmalloc.c: Likewise.
7471 * misc/syslog.c: Likewise.
7472 * stdio-common/xbug.c: Likewise.
7473 * string/memchr.c: Likewise.
7474 * string/memcmp.c: Likewise.
7475 * string/memrchr.c: Likewise.
7476 * string/rawmemchr.c: Likewise.
7477 * sysdeps/posix/getcwd.c: Likewise.
7478 * time/strftime_l.c: Likewise.
7480 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7482 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7483 * config.make.in (config-cflags-sse2avx): Define.
7484 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7487 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7489 * scripts/config.guess: Update from upstream config git repository.
7490 * scripts/config.sub: Likewise.
7492 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7494 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7496 (R_TILEPRO_*, R_TILEGX_*): New macros.
7498 * scripts/firstversions.awk: Fix bug in version range handling.
7500 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7502 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7504 * include/sys/epoll.h: New file.
7505 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7508 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7510 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7511 Avoid unnecessary __WORDSIZE == 64 test.
7512 (fmaxf): Use VEX format if possible.
7517 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7518 * math/math_private.h: Remove libc_fegetround* and
7520 * sysdeps/i386/configure.in: Check for -msse2avx.
7521 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7522 also if SSE2AVX is defined.
7523 Remove libc_fegetround* and libc_fesetround*.
7524 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7525 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7526 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7528 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7529 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7530 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7531 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7532 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7534 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7536 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7538 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7540 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7542 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7545 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7547 * Makeconfig (libm): Define.
7548 * elf/Makefile: Add rules to build and run tst-relsort1.
7549 * elf/tst-relsort1.c: New file.
7550 * elf/tst-relsort1mod1.c: New file.
7551 * elf/tst-relsort1mod2.c: New file.
7553 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7555 * math/s_ldexp.c: Remove __STDC__ conditionals.
7556 * math/s_ldexpf.c: Likewise.
7557 * math/s_ldexpl.c: Likewise.
7558 * math/s_nextafter.c: Likewise.
7559 * math/s_nexttowardf.c: Likewise.
7560 * math/s_significand.c: Likewise.
7561 * math/s_significandf.c: Likewise.
7562 * math/s_significandl.c: Likewise.
7563 * math/w_jnl.c: Likewise.
7564 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7565 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7566 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7567 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7568 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7583 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7584 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7585 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7586 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7587 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7588 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7589 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7590 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7591 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7592 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7593 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7594 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7595 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7596 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7597 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7598 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7599 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7600 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7601 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7602 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7603 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7604 * sysdeps/ieee754/k_standard.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7637 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7646 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7649 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7651 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7652 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7653 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7654 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7655 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7656 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7657 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7658 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7661 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7662 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7663 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7664 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7665 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7666 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7667 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7668 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7669 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7670 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7671 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7672 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7673 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7674 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7675 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7676 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7677 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7678 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7679 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7680 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7681 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7682 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7683 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7684 * sysdeps/ieee754/s_matherr.c: Likewise.
7685 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7686 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7687 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7690 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7692 * crypt/md5.h: Remove __STDC__ conditionals.
7693 * libio/libioP.h: Likewise.
7694 * locale/programs/config.h: Likewise.
7695 * sysdeps/generic/sysdep.h: Likewise.
7696 * sysdeps/i386/asm-syntax.h: Likewise.
7697 * sysdeps/s390/asm-syntax.h: Likewise.
7698 * sysdeps/unix/sysdep.h: Likewise.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7702 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7704 * libio/libio.h: Remove __STDC__ conditionals.
7705 * malloc/obstack.h: Likewise.
7706 * math/complex.h: Likewise.
7707 * math/math.h: Likewise.
7708 * sysdeps/generic/_G_config.h: Likewise.
7709 * sysdeps/gnu/_G_config.h: Likewise.
7710 * sysdeps/mach/hurd/_G_config.h: Likewise.
7711 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7712 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7713 * sysdeps/sparc/bits/mathdef.h: Likewise.
7715 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7718 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7719 Clean up HAS_* macros.
7720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7721 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7725 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7726 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7727 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7728 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7729 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7731 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7733 * elf/tst-unique3.cc (gets): Remove declaration.
7734 * elf/tst-unique3lib.cc (gets): Likewise.
7735 * elf/tst-unique3lib2.cc (gets): Likewise.
7736 * elf/tst-unique4.cc (gets): Likewise.
7738 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7740 * include/stdio.h: Add C++ protection. Add gets declarations and
7742 * debug/tst-chk1.c: Don't declare gets here.
7743 * stdio-common/tst-gets.c: Likewise.
7745 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7747 * posix/glob: Remove directory.
7749 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7751 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7753 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7755 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7756 of the non-standard EPFNOSUPPORT.
7758 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7760 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7761 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7762 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7764 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7766 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7768 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7770 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7772 * nscd/grpcache.c (cache_addgr): Likewise.
7773 * nscd/hstcache.c (cache_addhst): Likewise.
7774 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7775 * nscd/pwdcache.c (cache_addpw): Likewise.
7776 * nscd/servicescache.c (cache_addserv): Likewise.
7778 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7780 * malloc/malloc.c: Various cleanups.
7781 * malloc/hooks.c: Likewise.
7783 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7784 * stdlib/bug-fmtmsg1.c: New file.
7786 * stdlib/fmtmsg.c (init): Add missing unlock.
7787 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7789 2012-01-12 Marek Polacek <polacek@redhat.com>
7791 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7794 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7796 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7797 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7798 macro to ensure uniqueness of label name.
7799 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7800 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7802 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7804 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7806 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7807 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7808 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7811 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7813 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7815 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7816 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7817 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7819 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7821 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7822 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7823 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7824 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7826 * math/bits/math-finite.h: Add ldexp support.
7828 2012-01-10 Marek Polacek <polacek@redhat.com>
7830 * locale/programs/localedef.h (show_archive_content): Add noreturn
7833 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7835 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7837 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7839 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7841 * io/Makefile (headers): Add bits/poll2.h.
7843 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7846 typo #include statement.
7848 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7850 * include/sys/cdefs.h: Define __attribute_alloc_size.
7851 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7852 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7853 * elf/pldd.c: Likewise.
7854 * iconv/iconv_charmap.c: Likewise.
7855 * iconv/iconvconfig.c: Likewise.
7856 * iconv/strtab.c: Likewise.
7857 * locale/programs/locale.c: Likewise.
7858 * locale/programs/localedef.h: Likewise.
7859 * locale/programs/simple-hash.c: Likewise.
7860 * nscd/nscd.h: Likewise.
7861 * nss/makedb.c: Likewise.
7862 * sysdeps/generic/ldconfig.h: Likewise.
7863 * locale/programs/localedef.c: Remove xmalloc prototype.
7864 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7866 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7868 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7871 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7873 * math/Makefile (tests): Add tst-CMPLX.
7874 * math/tst-CMPLX.c: New file.
7876 * math/complex.h (CMPLXL): Fix typo.
7878 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7879 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7881 * debug/tst-chk1.c: Add poll and ppoll tests.
7882 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7883 * include/sys/poll.h: Add hidden proto for ppoll.
7884 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7885 * sysdeps/mach/hurd/ppoll.c: Likewise.
7886 * io/ppoll.c: Likewise.
7887 * debug/poll_chk.c: New file.
7888 * debug/ppoll_chk.c: New file.
7889 * include/bits/poll2.h: New file.
7890 * io/bits/poll2.h: New file.
7893 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7895 * configure.in: static is always set to yes. Remove.
7896 * config.make.in: Don't set build-static.
7897 * Makeconfig: Remove use of build-static.
7898 * dlfcn/Makefile: Likewise.
7899 * elf/Makefile: Likewise.
7900 * math/Makefile: Likewise.
7901 * misc/Makefile: Likewise.
7902 * nptl/Makefile: Likewise.
7903 * sysdeps/mach/hurd/Makefile: Likewise.
7905 * configure.in: PWD_P is not used anymore.
7906 * config.make.in: Remove PWD_P entry.
7908 * configure.in: Remove last remnants of RANLIB.
7909 No need to check for signed size_t anymore.
7910 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7912 Remove __builtin_expect test because we require at least gcc 3.4.
7913 * aclocal.m4: Likewise.
7915 * wcsmbs/mbrtoc16.c: Implement using towc function.
7916 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7917 * wcsmbs/wcsmbsload.c: Likewise.
7918 * iconv/gconv_simple.c: Likewise.
7919 * iconv/gconv_int.h: Likewise.
7920 * iconv/gconv_builtin.h: Likewise.
7921 * iconv/iconv_prog.c: Remove CHAR16 handling.
7923 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7925 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7927 * configure.in: Remove --with-elf and --enable-bounded options.
7928 Dont set base_machine for ia64. More non-ELF conditions removed.
7929 Remove testing and setting of leading underscore information.
7930 * config.make.in (build-bounded): Set to no.
7931 * config.h.in: Remove NO_UNDERSCORES entry.
7932 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7934 * csu/start.c: Remove !NO_UNDERSCORE code.
7935 * locale/localeinfo.h: Likewise.
7936 * sysdeps/generic/machine-gmon.h: Likewise.
7937 * sysdeps/generic/sysdep.h: Likewise.
7938 * sysdeps/i386/sysdep.h: Likewise.
7939 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7940 * sysdeps/mach/sysdep.h: Likewise.
7941 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7943 * sysdeps/sh/sysdep.h: Likewise.
7944 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7945 * sysdeps/unix/i386/sysdep.S: Likewise.
7946 * sysdeps/unix/sparc/start.c: Likewise.
7947 * sysdeps/unix/sparc/sysdep.S: Likewise.
7948 * sysdeps/unix/sparc/sysdep.h: Likewise.
7949 * sysdeps/unix/start.c: Likewise.
7950 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7951 * sysdeps/x86_64/sysdep.h: Likewise.
7953 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7956 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7958 * argp/argp-fmtstream.h: Use const instead __const.
7959 * argp/argp.h: Likewise.
7960 * assert/assert.h: Likewise.
7961 * bits/fenv.h: Likewise.
7962 * bits/sched.h: Likewise.
7963 * bits/sigset.h: Likewise.
7964 * bits/sigthread.h: Likewise.
7965 * catgets/nl_types.h: Likewise.
7966 * conform/data/pthread.h-data: Likewise.
7967 * crypt/crypt-private.h: Likewise.
7968 * crypt/crypt.h: Likewise.
7969 * crypt/crypt_util.c: Likewise.
7970 * ctype/ctype.h: Likewise.
7971 * debug/execinfo.h: Likewise.
7972 * debug/mbsnrtowcs_chk.c: Likewise.
7973 * debug/mbsrtowcs_chk.c: Likewise.
7974 * debug/wcsnrtombs_chk.c: Likewise.
7975 * debug/wcsrtombs_chk.c: Likewise.
7976 * debug/wcstombs_chk.c: Likewise.
7977 * dirent/dirent.h: Likewise.
7978 * dlfcn/dlfcn.h: Likewise.
7979 * elf/neededtest4.c: Likewise.
7980 * grp/grp.h: Likewise.
7981 * gshadow/gshadow.h: Likewise.
7982 * iconv/gconv.h: Likewise.
7983 * iconv/gconv_int.h: Likewise.
7984 * iconv/gconv_simple.c: Likewise.
7985 * iconv/iconv.h: Likewise.
7986 * iconv/loop.c: Likewise.
7987 * iconv/skeleton.c: Likewise.
7988 * include/aio.h: Likewise.
7989 * include/aliases.h: Likewise.
7990 * include/argz.h: Likewise.
7991 * include/arpa/inet.h: Likewise.
7992 * include/assert.h: Likewise.
7993 * include/dirent.h: Likewise.
7994 * include/dlfcn.h: Likewise.
7995 * include/execinfo.h: Likewise.
7996 * include/fcntl.h: Likewise.
7997 * include/fenv.h: Likewise.
7998 * include/glob.h: Likewise.
7999 * include/grp.h: Likewise.
8000 * include/libintl.h: Likewise.
8001 * include/mntent.h: Likewise.
8002 * include/netdb.h: Likewise.
8003 * include/pwd.h: Likewise.
8004 * include/rpc/netdb.h: Likewise.
8005 * include/sched.h: Likewise.
8006 * include/search.h: Likewise.
8007 * include/shadow.h: Likewise.
8008 * include/signal.h: Likewise.
8009 * include/stdio.h: Likewise.
8010 * include/stdlib.h: Likewise.
8011 * include/string.h: Likewise.
8012 * include/sys/socket.h: Likewise.
8013 * include/sys/stat.h: Likewise.
8014 * include/sys/statfs.h: Likewise.
8015 * include/sys/statvfs.h: Likewise.
8016 * include/sys/syslog.h: Likewise.
8017 * include/sys/time.h: Likewise.
8018 * include/sys/uio.h: Likewise.
8019 * include/time.h: Likewise.
8020 * include/unistd.h: Likewise.
8021 * include/utmp.h: Likewise.
8022 * include/wchar.h: Likewise.
8023 * include/wctype.h: Likewise.
8024 * inet/aliases.h: Likewise.
8025 * inet/arpa/inet.h: Likewise.
8026 * inet/netinet/ether.h: Likewise.
8027 * inet/netinet/in.h: Likewise.
8028 * intl/libintl.h: Likewise.
8029 * io/bits/fcntl2.h: Likewise.
8030 * io/fcntl.h: Likewise.
8031 * io/ftw.h: Likewise.
8032 * io/sys/poll.h: Likewise.
8033 * io/sys/stat.h: Likewise.
8034 * io/sys/statfs.h: Likewise.
8035 * io/sys/statvfs.h: Likewise.
8036 * io/utime.h: Likewise.
8037 * libio/bits/stdio.h: Likewise.
8038 * libio/bits/stdio2.h: Likewise.
8039 * libio/libio.h: Likewise.
8040 * libio/libioP.h: Likewise.
8041 * libio/stdio.h: Likewise.
8042 * locale/lc-ctype.c: Likewise.
8043 * locale/locale.h: Likewise.
8044 * login/utmp.h: Likewise.
8045 * malloc/arena.c: Likewise.
8046 * malloc/malloc.c: Likewise.
8047 * malloc/malloc.h: Likewise.
8048 * malloc/mcheck.c: Likewise.
8049 * malloc/mtrace.c: Likewise.
8050 * math/bits/mathcalls.h: Likewise.
8051 * math/fenv.h: Likewise.
8052 * math/math_private.h: Likewise.
8053 * misc/bits/error.h: Likewise.
8054 * misc/bits/syslog.h: Likewise.
8055 * misc/err.h: Likewise.
8056 * misc/error.h: Likewise.
8057 * misc/fstab.h: Likewise.
8058 * misc/mntent.h: Likewise.
8059 * misc/regexp.h: Likewise.
8060 * misc/search.h: Likewise.
8061 * misc/sgtty.h: Likewise.
8062 * misc/sys/mman.h: Likewise.
8063 * misc/sys/syslog.h: Likewise.
8064 * misc/sys/uio.h: Likewise.
8065 * misc/sys/xattr.h: Likewise.
8066 * misc/ttyent.h: Likewise.
8067 * nis/rpcsvc/ypclnt.h: Likewise.
8068 * nss/nss.h: Likewise.
8069 * posix/bits/unistd.h: Likewise.
8070 * posix/fnmatch.h: Likewise.
8071 * posix/glob.h: Likewise.
8072 * posix/sched.h: Likewise.
8073 * posix/spawn.h: Likewise.
8074 * posix/sys/wait.h: Likewise.
8075 * posix/unistd.h: Likewise.
8076 * posix/wordexp.h: Likewise.
8077 * pwd/pwd.h: Likewise.
8078 * resolv/netdb.h: Likewise.
8079 * resource/sys/resource.h: Likewise.
8080 * rt/aio.h: Likewise.
8081 * rt/bits/mqueue2.h: Likewise.
8082 * rt/mqueue.h: Likewise.
8083 * shadow/shadow.h: Likewise.
8084 * signal/signal.h: Likewise.
8085 * socket/send.c: Likewise.
8086 * socket/sendto.c: Likewise.
8087 * socket/sys/socket.h: Likewise.
8088 * stdio-common/printf.h: Likewise.
8089 * stdlib/bits/stdlib.h: Likewise.
8090 * stdlib/fmtmsg.h: Likewise.
8091 * stdlib/monetary.h: Likewise.
8092 * stdlib/stdlib.h: Likewise.
8093 * stdlib/ucontext.h: Likewise.
8094 * streams/stropts.h: Likewise.
8095 * string/argz.h: Likewise.
8096 * string/bits/string2.h: Likewise.
8097 * string/string.h: Likewise.
8098 * string/strings.h: Likewise.
8099 * sunrpc/rpc/auth.h: Likewise.
8100 * sunrpc/rpc/auth_des.h: Likewise.
8101 * sunrpc/rpc/clnt.h: Likewise.
8102 * sunrpc/rpc/netdb.h: Likewise.
8103 * sunrpc/rpc/pmap_clnt.h: Likewise.
8104 * sunrpc/rpc/xdr.h: Likewise.
8105 * sysdeps/generic/inttypes.h: Likewise.
8106 * sysdeps/generic/net/if.h: Likewise.
8107 * sysdeps/generic/sys/swap.h: Likewise.
8108 * sysdeps/gnu/net/if.h: Likewise.
8109 * sysdeps/gnu/utmpx.h: Likewise.
8110 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8111 * sysdeps/i386/i486/bits/string.h: Likewise.
8112 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8113 * sysdeps/s390/bits/string.h: Likewise.
8114 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8115 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8116 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8117 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8118 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8119 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8120 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8121 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8122 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8123 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8124 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8125 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8126 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8127 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8128 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8129 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8130 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8132 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8133 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8134 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8135 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8136 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8137 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8138 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8139 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8140 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8141 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8142 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8143 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8144 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8145 * sysvipc/sys/ipc.h: Likewise.
8146 * sysvipc/sys/msg.h: Likewise.
8147 * sysvipc/sys/sem.h: Likewise.
8148 * sysvipc/sys/shm.h: Likewise.
8149 * termios/termios.h: Likewise.
8150 * time/sys/time.h: Likewise.
8151 * time/time.h: Likewise.
8152 * wcsmbs/bits/wchar2.h: Likewise.
8153 * wcsmbs/uchar.h: Likewise.
8154 * wcsmbs/wchar.h: Likewise.
8155 * wctype/wctype.h: Likewise.
8158 * Makeconfig: Remove all but ELF support including AIX support.
8159 * Makerules: Likewise.
8160 * config.h.in: Likewise.
8161 * config.make.in: Likewise.
8162 * configure: Likewise.
8163 * configure.in: Likewise.
8164 * csu/Makefile: Likewise.
8165 * csu/version.c: Likewise.
8166 * debug/Makefile: Likewise.
8167 * dlfcn/Makefile: Likewise.
8168 * elf/Makefile: Likewise.
8169 * extra-lib.mk: Likewise.
8170 * iconv/Makefile: Likewise.
8171 * include/libc-symbols.h: Likewise.
8172 * include/shlib-compat.h: Likewise.
8173 * resolv/Makefile: Likewise.
8174 * resolv/res_libc.c: Likewise.
8175 * rt/Makefile: Likewise.
8176 * sysdeps/i386/asm-syntax.h: Likewise.
8177 * sysdeps/i386/sysdep.h: Likewise.
8178 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8179 * sysdeps/mach/sysdep.h: Likewise.
8180 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8181 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8182 * sysdeps/s390/asm-syntax.h: Likewise.
8183 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8184 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8185 * sysdeps/sh/sysdep.h: Likewise.
8186 * sysdeps/unix/sparc/sysdep.h: Likewise.
8187 * sysdeps/wordsize-32/divdi3.c: Likewise.
8188 * sysdeps/x86_64/sysdep.h: Likewise.
8190 * argp/Versions: Remove _argp_unlock_xxx.
8193 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8194 * abilist/libBrokenLocale.abilist: Likewise.
8195 * abilist/libanl.abilist: Likewise.
8196 * abilist/libc.abilist: Likewise.
8197 * abilist/libcrypt.abilist: Likewise.
8198 * abilist/libdl.abilist: Likewise.
8199 * abilist/libm.abilist: Likewise.
8200 * abilist/libnsl.abilist: Likewise.
8201 * abilist/libpthread.abilist: Likewise.
8202 * abilist/libresolv.abilist: Likewise.
8203 * abilist/librt.abilist: Likewise.
8204 * abilist/libthread_db.abilist: Likewise.
8205 * abilist/libutil.abilist: Likewise.
8206 * abilist/libnss_db.abilist: New file.
8208 * scripts/abilist.awk: Add support for indirect functions.
8210 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8212 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8214 * shlib-versions: Remove entries for ports architectures.
8216 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8218 * elf/stackguard-macros.h: Remove support for IA-64.
8219 * elf/tst-auditmod1.c: Likewise.
8220 * sysdeps/generic/ldsodefs.h: Likewise.
8222 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8223 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8227 * configure.in: Remove --enable-omitfp support.
8229 * config.make.in: Likewise.
8230 * Makeconfig: Likewise.
8231 * manual/install.texi: Likewise.
8233 In case anyone cares, the IA-64 architecture could move to ports.
8234 * sysdeps/ia64/*: Removed.
8235 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8236 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8239 * configure.in: Remove entries for unsupported architectures.
8242 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8243 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8245 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8246 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8247 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8248 fall back to using wcrtomb.
8249 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8250 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8252 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8253 * wcsmbs/tst-c16c32-1.c: New file.
8255 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8258 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8260 * elf/tst-unique3.cc: Add explicit declaration of gets.
8261 * elf/tst-unique3lib.cc: Likewise.
8262 * elf/tst-unique3lib2.cc: Likewise.
8263 * elf/tst-unique4.cc: Likewise.
8265 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8267 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8270 * assert/assert.h (static_assert): Don't define for C++.
8271 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8272 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8274 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8276 * iconv/loop.c (single loop): Fix assertion in storing of
8279 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8281 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8283 * posix/getconf.c: Update copyright year.
8284 * nss/getent.c: Likewise.
8285 * nss/makedb.c: Likewise.
8286 * iconv/iconvconfig.c: Likewise.
8287 * iconv/iconv_prog.c: Likewise.
8288 * elf/ldconfig.c: Likewise.
8289 * elf/pldd.c: Likewise.
8290 * elf/sotruss.ksh: Likewise.
8291 * catgets/gencat.c: Likewise.
8292 * csu/version.c: Likewise.
8293 * elf/ldd.bash.in: Likewise.
8294 * elf/sprof.c (print_version): Likewise.
8295 * locale/programs/locale.c: Likewise.
8296 * locale/programs/localedef.c: Likewise.
8297 * login/programs/pt_chown.c: Likewise.
8298 * nscd/nscd.c (print_version): Likewise.
8299 * debug/xtrace.sh: Likewise.
8300 * malloc/memusage.sh: Likewise.
8301 * malloc/mtrace.pl: Likewise.
8302 * debug/catchsegv.sh: Likewise.
8304 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8306 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8309 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8312 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8313 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8315 * iconv/gconv_int.h: Likewise.
8316 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8317 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8318 from libc for GLIBC_2.16.
8319 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8320 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8321 * wcsmbs/uchar.h: Really define mbstate_t.
8322 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8323 * wcsmbs/c16rtomb.c: New file.
8324 * wcsmbs/mbrtoc16.c: New file.
8325 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8327 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8328 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8330 * wcsmbs/wchar.h: Add missing __restrict.
8332 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8335 * time/Makefile (routines): Add timespec_get.
8336 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8337 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8338 timespec for ISO C11.
8339 * time/timespec_get.c: New file.
8340 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8341 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8344 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8345 * stdlib/stdlib.h: Declare aligned_alloc.
8346 * Versions.def: Add GLIBC_2.16 for libc.
8347 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8350 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8353 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8357 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8360 * assert/assert.h (static_assert): Define.
8362 * version.h: Update for 2.16 development version.
8365 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8368 * version.h (RELEASE): Bump for 2.15 release.
8369 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8371 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8372 Patch by Marek Polacek <mpolacek@redhat.com>.
8374 * bits/byteswap.h: Protect long long constants with __extension__.
8375 * sysdeps/i386/bits/byteswap.h: Likewise.
8376 * sysdeps/ia64/bits/byteswap.h: Likewise.
8377 * sysdeps/s390/bits/byteswap.h: Likewise.
8378 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8380 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8383 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8385 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8387 2011-12-23 Marek Polacek <polacek@redhat.com>
8389 * elf/dl-addr.c (determine_info): Add inline keyword.
8390 * elf/tst-auditmod4b.c (check_avx): Likewise.
8391 * elf/tst-auditmod6b.c (check_avx): Likewise.
8392 * elf/tst-auditmod6c.c (check_avx): Likewise.
8393 * elf/tst-auditmod7b.c (check_avx): Likewise.
8395 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8397 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8400 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8403 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8404 processing for last bytes.
8406 2011-08-06 Bruno Haible <bruno@clisp.org>
8409 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8410 U+0385, not to U+1FEE.
8413 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8414 entry for U+00A5 U+0301.
8416 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8419 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8420 buffer for the output is too small.
8422 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8426 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8427 SSE flags if possible.
8429 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8432 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8433 processing for last bytes.
8435 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8437 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8438 (syscall-list-default-options, syscall-list-default-condition)
8439 (syscall-list-includes): Define.
8440 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8441 list of ABIs and options and #if conditions for each ABI. Do not
8442 handle common syscalls between ABIs specially.
8443 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8445 (syscall-list-variants, syscall-list-32bit-options)
8446 (syscall-list-32bit-condition, syscall-list-64bit-options)
8447 (syscall-list-64bit-condition): Define.
8448 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8449 (syscall-list-variants, syscall-list-32bit-options)
8450 (syscall-list-32bit-condition, syscall-list-64bit-options)
8451 (syscall-list-64bit-condition): Define.
8452 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8454 (syscall-list-variants, syscall-list-32bit-options)
8455 (syscall-list-32bit-condition, syscall-list-64bit-options)
8456 (syscall-list-64bit-condition): Define.
8457 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8459 (syscall-list-variants, syscall-list-32bit-options)
8460 (syscall-list-32bit-condition, syscall-list-64bit-options)
8461 (syscall-list-64bit-condition): Define.
8463 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8465 * locale/iso-639.def: Add brx entry.
8468 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8469 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8471 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8472 __feraiseexcept_renamed.
8474 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8477 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8478 EPOLLET with unsigned values.
8479 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8480 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8482 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8483 to large cancellation.
8484 * math/s_cacoshf.c: Likewise.
8485 * math/s_cacoshl.c: Likewise.
8487 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8491 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8492 * math/s_cacoshf.c: Likewise.
8493 * math/s_cacoshl.c: Likewise.
8495 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8498 * iconv/gconv.h: Define __GCONV_SWAP.
8499 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8500 * iconvdata/utf-16.c: Likewise.
8501 * iconvdata/utf-32.c: Likewise.
8503 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8506 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8507 numerator after shifting it by one limb.
8509 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8511 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8512 under [__USE_EXTERN_INLINES].
8514 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8517 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8519 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8521 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8522 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8524 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8525 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8526 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8527 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8528 for strncasecmp/strncasecmp_l compilation.
8529 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8530 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8532 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8535 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8538 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8541 * time/tzfile.c (__tzfile_read): Check values from file header.
8543 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8545 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8546 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8547 * powerpc/powerpc32/dl-start.S: Likewise.
8548 * powerpc/powerpc32/elf/start.S: Likewise.
8549 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8550 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8551 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8552 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8553 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8554 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8555 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8556 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8557 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8558 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8559 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8560 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8561 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8562 * powerpc/powerpc32/memset.S: Likewise.
8563 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8564 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8565 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8566 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8567 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8568 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8569 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8570 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8571 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8572 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8573 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8574 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8575 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8577 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8579 * math/libm-test.inc: Added more nearbyint tests.
8580 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8581 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8582 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8583 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8585 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8587 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8590 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8592 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8593 Add wcscpy-ssse3 wcscpy-c.
8594 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8595 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8596 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8597 * sysdeps/x86_64/wcschr.S: New file.
8598 * sysdeps/x86_64/wcsrchr.S: New file.
8599 * string/test-strcmp.c: Remove checking of wcscmp function for
8601 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8602 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8603 wcsrchr-sse2 wcsrchr-c.
8604 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8605 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8606 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8607 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8608 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8609 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8610 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8611 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8612 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8613 * wcsmbc/wcschr.c (WCSCHR): New macro.
8615 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8617 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8618 * wcsmbs/test-wcsrchr.c: New file.
8619 * string/test-strrchr.c: Add wcsrchr support.
8621 * wcsmbs/test-wcscpy.c: New file.
8622 * string/test-strcpy.c: Add wcscpy support.
8625 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8627 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8630 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8633 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8635 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8637 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8638 Minor optimizations.
8640 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8641 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8642 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8644 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8646 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8647 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8648 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8649 for gcc to avoid warnings.
8650 * inet/Makefile (tests): Add tst-checks.
8651 * inet/tst-checks.c: New file.
8653 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8656 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8659 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8660 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8662 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8664 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8666 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8669 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8671 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8673 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8674 conditional on GCC version.
8675 (__arch_compare_and_exchange_val_8_acq)
8676 (__arch_compare_and_exchange_val_16_acq)
8677 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8678 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8679 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8681 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8683 * sysdeps/sh/backtrace.c: New file.
8685 2011-12-02 Andreas Schwab <schwab@redhat.com>
8687 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8690 2011-12-01 Andreas Schwab <schwab@redhat.com>
8692 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8693 falling back to utime.
8695 2011-11-30 Andreas Schwab <schwab@redhat.com>
8697 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8698 expectations for float.
8700 2011-11-29 Andreas Schwab <schwab@redhat.com>
8702 * locale/weight.h (findidx): Add parameter len.
8703 * locale/weightwc.h (findidx): Likewise.
8704 * posix/fnmatch_loop.c (FCT): Adjust caller.
8705 * posix/regcomp.c (build_equiv_class): Likewise.
8706 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8707 * posix/regexec.c (check_node_accept_bytes): Likewise.
8708 * string/strcoll_l.c (STRCOLL): Likewise.
8709 * string/strxfrm_l.c (STRXFRM): Likewise.
8711 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8713 * Makefile.in: Remove CVSOPT handling.
8714 * configure.in: Remove use of AC_REVISION.
8715 * iconvdata/Makefile (distribute): No need to filter out CVS.
8716 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8719 2011-11-16 Andreas Schwab <schwab@redhat.com>
8721 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8722 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8723 [USE_AS_STRNCASECMP_L]: Likewise.
8724 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8725 NO_TLS_DIRECT_SEG_REFS.
8726 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8727 Fix argument offsets for non-PIC.
8728 [USE_AS_STRNCASECMP_L]: Likewise.
8729 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8730 NO_TLS_DIRECT_SEG_REFS.
8732 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8734 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8736 * locale/loadlocale.c (_nl_load_locale): Likewise.
8738 2011-11-15 Andreas Schwab <schwab@redhat.com>
8740 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8741 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8742 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8743 (SYSCALL_GETTIME): Set errno on error.
8745 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8746 count references to noai6ai_cached.
8748 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8750 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8752 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8753 FD_CLOEXEC for /proc/self/maps.
8755 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8756 FD_CLOEXEC for /proc/meminfo.
8758 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8761 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8762 FD_CLOEXEC for given file.
8764 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8766 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8767 FD_CLOEXEC for /etc/hosts.
8768 (_gethtent): Likewise.
8770 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8772 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8773 cancellation and set FD_CLOEXEC for /etc/netgroup.
8775 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8776 reading /etc/publickey.
8778 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8779 allow cancellation when reading /etc/group.
8781 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8783 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8785 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8786 when using data file.
8788 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8790 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8791 (write_nis_obj): Use "c" and "e" in fopen.
8793 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8795 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8797 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8799 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8801 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8804 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8806 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8808 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8810 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8811 file parsing and set FD_CLOEXEC.
8813 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8815 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8817 2011-11-14 Andreas Schwab <schwab@redhat.com>
8819 * malloc/arena.c (arena_get2): Don't call reused_arena when
8820 _int_new_arena failed.
8822 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8824 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8825 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8826 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8827 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8829 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8830 to compile strcasecmp and strncasecmp.
8831 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8832 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8836 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8838 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8839 locale-defines.sym to gen-as-const-headers.
8840 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8841 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8842 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8843 to compile strcasecmp and strncasecmp.
8844 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8845 strcasecmp_l and strncasecmp_l.
8846 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8847 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8848 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8849 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8850 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8851 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8852 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8853 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8854 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8855 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8856 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8858 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8860 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8861 result of SYSDEP_GETTIME_CPU to retval.
8862 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8863 parameter list to macro. Remove trailing semicolon. Adjust users.
8865 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8868 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8870 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8872 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8873 from unused variable.
8875 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8877 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8880 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8883 * sunrpc/rpc_prot.c (rejected): Fix case value.
8885 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8886 unsigned long long int to avoid warnings in shift.
8888 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8890 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8893 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8894 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8895 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8897 * nis/nis_table.c (nis_list): Use variable of correct type for
8898 result of __follow_path call.
8900 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8902 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8903 of math functions ceil, trunc, floor, round, and sqrt, when
8904 avaliable on the platform.
8905 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8907 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8908 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8909 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8911 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8913 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8914 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8916 2011-11-11 Roland McGrath <roland@hack.frob.com>
8918 * include/unistd.h: Fix __readlink return type.
8919 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8921 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8923 * stdlib/ucontext.h: Undo last change for makecontext.
8925 2011-11-11 Andreas Schwab <schwab@redhat.com>
8927 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8929 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8930 * setjmp/setjmp.h: Mark functions as non-leaf.
8931 * setjmp/bits/setjmp2.h: Likewise.
8932 * stdlib/ucontext.h: Likewise.
8934 2011-11-10 Andreas Schwab <schwab@redhat.com>
8936 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8937 (reused_arena): Don't check arena limit.
8938 (arena_get2): Atomically check arena limit.
8940 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8942 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8943 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8948 2011-11-07 Andreas Schwab <schwab@redhat.com>
8950 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8951 handler when locking.
8953 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8954 Fix size of allocated buffer.
8956 2011-11-04 Andreas Schwab <schwab@redhat.com>
8959 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8960 declarations for long double functions.
8961 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8963 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8965 2011-11-03 Andreas Schwab <schwab@redhat.com>
8967 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8970 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8973 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8975 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8977 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8979 * include/alloca.h (stackinfo_alloca_round): Define.
8980 (extend_alloca): Use it.
8981 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8982 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8985 * scripts/check-local-headers.sh: Ignore libaudit.h.
8987 * nscd/Makefile (extra-objs): Make recursively expanded.
8989 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8991 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8994 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8995 * posix/tst-rfc3484-2.c: Likewise.
8996 * posix/tst-rfc3484-3.c: Likewise.
8998 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9000 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9002 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9003 process_vm_writev from libc using GLIBC_2.15 version.
9005 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9007 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9009 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9012 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9015 * nss/getent.c (initgroups_keys): Show error message in case no group
9018 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9019 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9020 __bump_nl_timestamp.
9021 * nscd/connections (nscd_init): When host database is served open
9022 netlink socket and request notification about configuration changes.
9023 (main_loop_poll): Track netlink file descriptor and bump timestamp
9024 in case data becomes available.
9025 (main_loop_epoll): Likewise.
9026 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9027 (database_pers_head): Add extra_data fileds.
9028 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9029 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9030 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9032 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9033 in6ai data, call __free_in6ai.
9034 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9036 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9037 interface information. Reuse previous data if netlink timestamp
9039 (__bump_nl_timestamp): New function.
9040 (__free_in6ai): New function.
9042 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9044 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9045 close_not_cancel_no_status here.
9046 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9048 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9051 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9054 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9055 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9056 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9058 2011-07-03 Andreas Jaeger <aj@suse.de>
9061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9062 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9063 * math/libm-test.inc (sin_test): Add test case.
9065 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9068 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9069 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9071 * elf/chroot_canon.c (chroot_canon): Cleanups.
9073 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9076 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9077 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9079 * string/test-strchr.c: Make usable for strchrnul testing.
9080 * string/test-strchrnul.c: New file.
9081 * string/Makefile (strop-tests): Add strchrnul.
9083 * po/it.po: Update from translation team.
9084 * po/es.po: Likewise.
9086 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9088 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9089 the three constants needed as parameters. Drop the others.
9090 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9091 __m128i_strloadu_tolower.
9092 Create and initialize variable zero and use it in all the places
9093 where _mm_setzero_si128 was used.
9095 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9096 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9097 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9098 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9100 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9101 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9102 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9103 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9104 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9105 __mpranred, __mptan.
9106 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9107 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9108 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9109 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9110 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9111 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9112 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9113 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9114 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9116 2011-10-28 Andreas Schwab <schwab@redhat.com>
9118 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9120 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9123 wide char related routines to wcsmbs subdir.
9125 2011-10-27 Andreas Schwab <schwab@redhat.com>
9128 * misc/sys/cdefs.h (__THROWNL): Define.
9129 * posix/unistd.h: Use __THREADNL instead of __THREAD
9130 for memory synchronization functions.
9132 2011-10-26 Roland McGrath <roland@hack.frob.com>
9135 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9137 * manual/stdio.texi (Obstack Streams): Node removed.
9139 2011-10-26 Andreas Schwab <schwab@redhat.com>
9141 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9142 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9143 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9145 * math/math_private.h (math_force_eval): Allow non-addressable
9147 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9149 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9151 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9154 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9155 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9156 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9157 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9158 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9159 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9160 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9161 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9163 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9164 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9165 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9166 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9167 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9168 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9169 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9170 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9171 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9172 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9173 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9174 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9176 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9177 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9178 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9179 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9180 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9181 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9183 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9184 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9187 place. Use VEX encoding when compiling for AVX.
9189 2011-10-25 Andreas Schwab <schwab@redhat.com>
9191 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9192 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9194 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9196 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9198 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9199 useless if() expression.
9200 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9201 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9204 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9208 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9209 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9210 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9211 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9212 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9213 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9214 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9215 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9216 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9218 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9220 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9222 2011-10-25 Andreas Schwab <schwab@redhat.com>
9224 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9226 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9228 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9230 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9231 .text section. Avoid duplicate constants.
9232 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9233 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9234 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9235 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9242 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9244 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9245 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9246 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9247 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9249 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9250 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9252 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9253 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9254 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9255 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9256 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9257 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9258 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9259 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9260 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9261 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9262 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9263 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9264 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9265 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9266 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9267 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9268 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9269 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9270 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9271 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9273 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9274 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9275 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9276 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9278 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9280 * sysdeps/x86_64/dla.h: Move to ...
9281 * sysdeps/x86_64/fpu/dla.h: ...here.
9282 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9283 situations. Use __builtin_fma only for gcc 4.6 and up.
9285 * config.make.in: Add have-mfma4 entry.
9286 * configure.in: Substitute libc_cv_cc_fma4.
9287 * math/Makefile (dbl-only-routines): Add sincostab.
9288 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9289 Use __sincostab not sincos.
9290 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9292 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9297 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9298 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9299 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9300 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9302 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9303 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9305 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9306 define aliases when function name is a macro.
9307 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9308 sysdeps/ieee754/dbl-64/sincos.tbl.
9309 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9310 fma4-enabled routines.
9311 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9312 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9313 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9314 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9315 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9316 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9317 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9318 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9319 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9320 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9321 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9322 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9323 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9324 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9325 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9326 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9327 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9328 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9329 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9330 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9331 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9332 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9333 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9334 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9335 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9336 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9337 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9338 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9339 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9340 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9342 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9344 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9353 2011-10-24 Andreas Schwab <schwab@redhat.com>
9355 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9357 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9359 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9361 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9363 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9365 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9366 Remove unused variable magic_bits.
9367 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9369 * string/strnlen.c: Define and use STRNLEN macro.
9370 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9371 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9372 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9373 * wcsmbs/wcslen.c: Define and use WCSLEN.
9374 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9375 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9376 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9377 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9378 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9379 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9380 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9382 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9385 strnlen-sse2-no-bsf.
9386 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9387 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9388 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9389 Add strnlen support.
9390 (USE_AS_STRNLEN): New macro.
9391 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9392 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9393 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9394 * sysdeps/x86_64/wcslen.S: New file.
9396 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9399 XMM-moves are used for copying on small sizes.
9401 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9403 * wcsmbs/Makefile (strop-tests): Add wcschr.
9404 * wcsmbs/test-wcschr.c: New file.
9405 * string/test-strchr.c: Update.
9409 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9411 * wcsmbs/Makefile (strop-tests): Add wcslen.
9412 * wcsmbs/test-wcslen.c: New file.
9413 * string/test-strlen.c: Update.
9417 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9419 * po/it.po: Update from translation team.
9421 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9423 * sysdeps/x86_64/wcscmp.S: Update.
9424 Fix wrong comparison semantics.
9425 wcscmp shall use signed comparison not unsigned.
9426 Don't use substraction to avoid overflow bug.
9427 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9428 * wcsmbc/wcscmp.c: Likewise.
9429 * string/test-strcmp.c: Likewise.
9430 Add new tests to check cases with negative values.
9432 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9434 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9435 * sysdeps/x86_64/dla.h: ...here. New file.
9436 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9437 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9444 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9446 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9448 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9449 __ynl_finite aliases.
9451 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9455 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9457 [DLA_FMA] (EMULV): Use DLA_FMA.
9458 [DLA_FMA] (MUL12): Use EMULV.
9459 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9460 that are not needed.
9461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9469 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9471 * math/s_nan.c: Undef __nan.
9472 * math/s_nanf.c: Undef __nanf.
9473 * math/s_nanl.c: Undef __nanl.
9474 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9477 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9479 * math/s_catan.c: Add branch predictions.
9480 * math/s_catanf.c: Likewise.
9481 * math/s_catanh.c: Likewise.
9482 * math/s_catanhf.c: Likewise.
9483 * math/s_catanhl.c: Likewise.
9484 * math/s_catanl.c: Likewise.
9485 * math/s_cexp.c: Likewise.
9486 * math/s_cexpf.c: Likewise.
9487 * math/s_cexpl.c: Likewise.
9488 * math/s_clog.c: Likewise.
9489 * math/s_clog10.c: Likewise.
9490 * math/s_clog10f.c: Likewise.
9491 * math/s_clog10l.c: Likewise.
9492 * math/s_clogf.c: Likewise.
9493 * math/s_clogl.c: Likewise.
9494 * math/s_csqrt.c: Likewise.
9495 * math/s_csqrtf.c: Likewise.
9496 * math/s_csqrtl.c: Likewise.
9497 * math/s_ctanf.c: Likewise.
9498 * math/s_ctanh.c: Likewise.
9499 * math/s_ctanhf.c: Likewise.
9500 * math/s_ctanhl.c: Likewise.
9501 * math/s_ctanl.c: Likewise.
9503 * math/math_private.h: Define __nan, __nanf, __nanl.
9504 * math/s_cacosh.c: Include <math_private.h>.
9505 * math/s_cacoshl.c: Likewise.
9506 * math/s_casinh.c: Likewise.
9507 * math/s_casinhf.c: Likewise.
9508 * math/s_casinhl.c: Likewise.
9509 * math/s_ccos.c: Rely entire on ccosh.
9510 * math/s_ccosf.c: Rely entire on ccoshf.
9511 * math/s_ccosl.c: Rely entirely on ccoshl.
9512 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9513 Remove tests for FE_INVALID.
9514 * math/s_ccoshf.c: Likewise.
9515 * math/s_ccoshl.c: Likewise.
9516 * math/s_csin.c: Likewise.
9517 * math/s_csinf.c: Likewise.
9518 * math/s_csinh.c Likewise.
9519 * math/s_csinhf.c: Likewise.
9520 * math/s_csinhl.c: Likewise.
9521 * math/s_csinl.c: Likewise.
9522 * math/s_ctan.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9524 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9525 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9527 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9530 compilation problems.
9532 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9535 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9537 * sysdeps/i386/configure.in: Test for -mfma4 option.
9538 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9539 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9540 COMMON_CPUID_INDEX_80000001.
9541 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9542 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9543 use it if FMA3 is not supported.
9544 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9546 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9547 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9549 2011-10-20 Andreas Schwab <schwab@redhat.com>
9552 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9553 it would create a cycle with a link time dependency.
9555 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9557 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9559 * string/Makefile (strop-tests): Add rawmemchr.
9560 * string/test-rawmemchr.c: New file.
9562 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9563 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9564 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9565 when compiling str{,n}casecmp and when AVX is available. Hook up
9566 new optimized code in initializers.
9568 2011-10-19 Andreas Schwab <schwab@redhat.com>
9570 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9571 __feraiseexcept instead of feraiseexcept.
9573 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9575 * math/math_private.h: Define defaults for libc_fetestexcept and
9577 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9578 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9579 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9580 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9581 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9582 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9583 libc_fetestexcept and libc_feupdateenv.
9585 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9586 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9587 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9588 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9589 libc_feholdexcept_setround.
9591 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9592 Add s_nearbyint-c and s_nearbyintf-c.
9593 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9595 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9596 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9597 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9598 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9600 * math/math_private.h: Define defaults for libc_fegetround,
9601 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9602 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9603 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9604 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9605 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9607 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9608 Remove comments and hacks for old compiler versions.
9609 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9610 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9613 2011-10-18 Andreas Schwab <schwab@redhat.com>
9615 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9616 (__feraiseexcept_renamed): Add __NTH.
9617 (feraiseexcept): Add __NTH. Rename local variables to fix
9618 namespace violations.
9620 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9622 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9624 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9626 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9627 recently added interfaces.
9628 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9630 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9631 about macro parameter expansion.
9633 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9634 __NO_MATH_INLINES is defined. Cleanups.
9636 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9637 and __floorf is target has SSE4.1.
9638 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9639 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9640 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9641 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9643 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9647 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9649 2011-10-17 Andreas Schwab <schwab@redhat.com>
9651 * misc/sys/cdefs.h: Fix last change.
9653 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9656 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9658 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9660 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9661 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9662 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9663 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9664 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9665 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9666 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9667 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9668 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9669 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9670 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9671 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9672 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9673 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9674 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9675 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9676 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9677 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9678 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9679 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9680 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9681 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9683 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9684 ceil, ceilf, floor, floorf.
9686 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9687 Perform IRELATIVE relocations last.
9689 * elf/do-rel.h: Add another parameter nrelative, replacing the
9690 local variable with the same name. Change name of the function
9691 to end in Rel or Rela (uppercase).
9692 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9693 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9694 elf_dynamic_do_##reloc function.
9696 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9698 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9699 is sufficient, at least on modern CPUs.
9701 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9703 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9704 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9706 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9708 * math/bits/math-finite.h: Add entries for exp.
9709 * math/e_expl.c: Add __*_finite alias.
9710 * sysdeps/i386/fpu/e_exp.S: Likewise.
9711 * sysdeps/i386/fpu/e_expf.S: Likewise.
9712 * sysdeps/i386/fpu/e_expl.c: Likewise.
9713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9714 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9718 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9719 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9721 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9722 is sufficient, at least on modern CPUs.
9724 * ctype/ctype-info.c (__ctype_init): Define.
9725 * include/ctype.h (__ctype_init): Declare.
9726 (__ctype_b_loc): The variable is always initialized.
9727 (__ctype_toupper_loc): Likewise.
9728 (__ctype_tolower_loc): Likewise.
9729 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9730 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9732 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9734 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9736 * configure.in: Also look in $cxxmachine/include for C++ system
9739 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9741 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9742 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9743 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9744 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9745 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9746 (USE_AS_WMEMCMP): New macro.
9748 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9749 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9750 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9751 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9753 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9754 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9755 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9756 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9757 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9759 (USE_AS_WMEMCMP): New macro.
9760 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9761 * sysdeps/string/test-memcmp.c: Update.
9764 * wcsmbs/wmemcmp.c: Update.
9765 (WMEMCMP): New macro.
9768 2011-10-12 Andreas Jaeger <aj@suse.de>
9771 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9773 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9775 * libio/iofwide.c (do_length): Avoid warning.
9777 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9779 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9781 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9783 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9784 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9785 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9786 * sysdeps/i386/i686/fpu/e_log.S: New file.
9787 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9788 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9790 * ctype/ctype.h: Add support for inlined isXXX functions when
9793 2011-10-14 Andreas Schwab <schwab@redhat.com>
9795 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9797 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9799 2011-10-13 Roland McGrath <roland@hack.frob.com>
9802 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9804 2011-10-13 Andreas Schwab <schwab@redhat.com>
9806 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9807 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9810 * sysdeps/x86_64/memrchr.S: Check for zero size.
9812 * string/stratcliff.c: Add memrchr tests.
9814 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9817 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9818 rawmemchr-sse2 rawmemchr-sse2-bsf.
9819 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9820 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9821 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9822 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9823 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9824 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9825 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9826 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9827 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9828 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9829 * string/memrchr.c (MEMRCHR): New macro.
9831 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9833 Add integration with gcc's -ffinite-math-only and optimize wrapper
9835 * Versions.def: Define GLIBC_2.15 version for libm.
9836 * math/Makefile (headers): Add bits/math-finite.h.
9837 * math/bits/math-finite.h: New file.
9838 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9839 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9840 * math/e_acoshl.c: Add __*_finite alias.
9841 * math/e_acosl.c: Likewise.
9842 * math/e_asinl.c: Likewise.
9843 * math/e_atan2l.c: Likewise.
9844 * math/e_atanhl.c: Likewise.
9845 * math/e_coshl.c: Likewise.
9846 * math/e_exp10.c: Likewise.
9847 * math/e_exp10f.c: Likewise.
9848 * math/e_exp10l.c: Likewise.
9849 * math/e_exp2l.c: Likewise.
9850 * math/e_fmodl.c: Likewise.
9851 * math/e_gammal_r.c: Likewise.
9852 * math/e_hypotl.c: Likewise.
9853 * math/e_j0l.c: Likewise.
9854 * math/e_j1l.c: Likewise.
9855 * math/e_jnl.c: Likewise.
9856 * math/e_lgammal_r.c: Likewise.
9857 * math/e_log10l.c: Likewise.
9858 * math/e_log2l.c: Likewise.
9859 * math/e_logl.c: Likewise.
9860 * math/e_powl.c: Likewise.
9861 * math/e_sinhl.c: Likewise.
9862 * math/e_sqrtl.c: Likewise.
9863 * math/e_scalb.c: Completely rewritten and optimized.
9864 * math/e_scalbf.c: Likewise.
9865 * math/e_scalbl.c: Likewise.
9866 * math/w_acos.c: Likewise.
9867 * math/w_acosf.c: Likewise.
9868 * math/w_acosl.c: Likewise.
9869 * math/w_acosh.c: Likewise.
9870 * math/w_acoshf.c: Likewise.
9871 * math/w_acoshl.c: Likewise.
9872 * math/w_asin.c: Likewise.
9873 * math/w_asinf.c: Likewise.
9874 * math/w_asinl.c: Likewise.
9875 * math/w_atan2.c: Likewise.
9876 * math/w_atan2f.c: Likewise.
9877 * math/w_atan2l.c: Likewise.
9878 * math/w_atanh.c: Likewise.
9879 * math/w_atanhf.c: Likewise.
9880 * math/w_atanhl.c: Likewise.
9881 * math/w_exp10.c: Likewise.
9882 * math/w_exp10f.c: Likewise.
9883 * math/w_exp10l.c: Likewise.
9884 * math/w_fmod.c: Likewise.
9885 * math/w_fmodf.c: Likewise.
9886 * math/w_fmodl.c: Likewise.
9887 * math/w_j0.c: Likewise.
9888 * math/w_j0f.c: Likewise.
9889 * math/w_j0l.c: Likewise.
9890 * math/w_j1.c: Likewise.
9891 * math/w_j1f.c: Likewise.
9892 * math/w_j1l.c: Likewise.
9893 * math/w_jn.c: Likewise.
9894 * math/w_jnf.c: Likewise.
9895 * math/w_log.c: Likewise.
9896 * math/w_logf.c: Likewise.
9897 * math/w_logl.c: Likewise.
9898 * math/w_log10.c: Likewise.
9899 * math/w_log10f.c: Likewise.
9900 * math/w_log10l.c: Likewise.
9901 * math/w_log2.c: Likewise.
9902 * math/w_log2f.c: Likewise.
9903 * math/w_log2l.c: Likewise.
9904 * math/w_pow.c: Likewise.
9905 * math/w_powf.c: Likewise.
9906 * math/w_powl.c: Likewise.
9907 * math/w_remainder.c: Likewise.
9908 * math/w_remainderf.c: Likewise.
9909 * math/w_remainderl.c: Likewise.
9910 * math/w_scalb.c: Likewise.
9911 * math/w_scalbf.c: Likewise.
9912 * math/w_scalbl.c: Likewise.
9913 * math/w_sqrt.c: Likewise.
9914 * math/w_sqrtf.c: Likewise.
9915 * math/w_sqrtl.c: Likewise.
9916 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9917 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9919 * math/math_private.h: Declare __kernel_standard_f.
9920 * math/w_cosh.c: Remove cruft and optimize a bit.
9921 * math/w_coshf.c: Likewise.
9922 * math/w_coshl.c: Likewise.
9923 * math/w_exp2.c: Likewise.
9924 * math/w_exp2f.c: Likewise.
9925 * math/w_exp2l.c: Likewise.
9926 * math/w_hypot.c: Likewise.
9927 * math/w_hypotf.c: Likewise.
9928 * math/w_hypotl.c: Likewise.
9929 * math/w_lgamma.c: Likewise.
9930 * math/w_lgamma_r.c: Likewise.
9931 * math/w_lgammaf.c: Likewise.
9932 * math/w_lgammaf_r.c: Likewise.
9933 * math/w_lgammal.c: Likewise.
9934 * math/w_lgammal_r.c: Likewise.
9935 * math/w_sinh.c: Likewise.
9936 * math/w_sinhf.c: Likewise.
9937 * math/w_sinhl.c: Likewise.
9938 * math/w_tgamma.c: Likewise.
9939 * math/w_tgammaf.c: Likewise.
9940 * math/w_tgammal.c: Likewise.
9941 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9942 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9943 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9944 Minor optimizations. Pretty printing. Remove cruft.
9945 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9946 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9947 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9948 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9949 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9950 * sysdeps/i386/fpu/e_asin.S: Likewise.
9951 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9952 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9953 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9954 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9955 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9956 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9957 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9958 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9959 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9960 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9961 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9962 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9963 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9964 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9965 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9966 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9967 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9968 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9969 * sysdeps/i386/fpu/e_log.S: Likewise.
9970 * sysdeps/i386/fpu/e_log10.S: Likewise.
9971 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9972 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9973 * sysdeps/i386/fpu/e_log2.S: Likewise.
9974 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9975 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9976 * sysdeps/i386/fpu/e_logf.S: Likewise.
9977 * sysdeps/i386/fpu/e_logl.S: Likewise.
9978 * sysdeps/i386/fpu/e_pow.S: Likewise.
9979 * sysdeps/i386/fpu/e_powf.S: Likewise.
9980 * sysdeps/i386/fpu/e_powl.S: Likewise.
9981 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9982 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9983 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9984 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9985 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9986 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9987 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9988 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9989 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9990 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9991 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9993 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9994 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9995 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9996 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9997 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9998 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10000 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10004 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10007 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10011 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10014 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10015 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10016 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10017 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10018 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10019 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10020 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10021 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10022 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10023 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10024 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10025 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10026 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10027 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10028 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10029 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10030 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10031 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10032 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10033 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10035 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10036 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10037 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10038 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10039 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10040 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10041 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10042 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10043 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10044 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10045 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10046 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10047 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10048 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10049 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10050 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10051 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10052 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10054 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10055 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10056 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10057 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10058 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10059 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10060 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10061 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10062 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10064 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10065 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10066 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10067 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10068 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10069 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10070 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10071 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10072 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10073 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10074 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10075 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10076 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10077 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10078 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10079 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10080 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10081 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10082 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10083 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10084 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10085 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10086 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10087 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10088 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10089 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10090 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10091 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10092 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10093 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10094 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10095 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10096 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10097 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10098 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10099 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10100 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10101 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10102 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10103 (__isnanf): Likewise.
10104 (__isinf_ns): Likewise.
10105 (__isinf_nsf): Likewise.
10106 (__finite): Likewise.
10107 (__finitef): Likewise.
10108 (__ieee754_sqrt): Define as macro.
10109 (__ieee754_sqrtf): Define as macro.
10110 (__ieee754_sqrtl): Define as macro.
10111 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10113 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10114 __FINITE_MATH_ONLY__ consistent.
10115 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10117 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10119 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10122 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10124 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10126 * po/ja.po: Update from translation team.
10128 2011-10-08 Roland McGrath <roland@hack.frob.com>
10130 * locale/programs/locarchive.c (prepare_address_space): New function.
10131 (create_archive, enlarge_archive, open_archive): Use it.
10133 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10134 inside [SHARED], where it is used.
10136 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10138 * nss/getent.c (netgroup_keys): Remove unused variable.
10139 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10141 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10143 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10144 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10145 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10146 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10147 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10148 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10149 * math/Makefile (libm-calls): Add s_isinf_ns.
10150 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10151 * math/multc3.c: Likewise.
10152 * math/s_casin.c: Likewise.
10153 * math/s_casinf.c: Likewise.
10154 * math/s_casinl.c: Likewise.
10155 * math/s_ccos.c: Likewise.
10156 * math/s_ccosf.c: Likewise.
10157 * math/s_ccosl.c: Likewise.
10158 * math/s_ctan.c: Likewise.
10159 * math/s_ctanf.c: Likewise.
10160 * math/s_ctanh.c: Likewise.
10161 * math/s_ctanhf.c: Likewise.
10162 * math/s_ctanhl.c: Likewise.
10163 * math/s_ctanl.c: Likewise.
10164 * math/w_fmod.c: Likewise.
10165 * math/w_fmodf.c: Likewise.
10166 * math/w_fmodl.c: Likewise.
10167 * math/w_remainder.c: Likewise.
10168 * math/w_remainderf.c: Likewise.
10169 * math/w_remainderl.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10171 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10172 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10174 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10175 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10176 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10177 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10179 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10181 * stdio-common/printf_fphex.c: Likewise.
10182 * stdio-common/printf_size.c: Likewise.
10184 * math/e_exp10.c: Include math_private.h using <...> not "...".
10185 * math/e_exp10f.c: Likewise.
10186 * math/e_exp10l.c: Likewise.
10187 * math/e_exp2l.c: Likewise.
10188 * math/e_j0l.c: Likewise.
10189 * math/e_j1l.c: Likewise.
10190 * math/e_jnl.c: Likewise.
10191 * math/e_lgammal_r.c: Likewise.
10192 * math/e_rem_pio2l.c: Likewise.
10193 * math/e_scalb.c: Likewise.
10194 * math/e_scalbf.c: Likewise.
10195 * math/e_scalbl.c: Likewise.
10196 * math/k_cosl.c: Likewise.
10197 * math/k_sinl.c: Likewise.
10198 * math/k_tanl.c: Likewise.
10199 * math/s_cacoshf.c: Likewise.
10200 * math/s_catan.c: Likewise.
10201 * math/s_catanf.c: Likewise.
10202 * math/s_catanh.c: Likewise.
10203 * math/s_catanhf.c: Likewise.
10204 * math/s_catanhl.c: Likewise.
10205 * math/s_catanl.c: Likewise.
10206 * math/s_ccosh.c: Likewise.
10207 * math/s_ccoshf.c: Likewise.
10208 * math/s_ccoshl.c: Likewise.
10209 * math/s_cexp.c: Likewise.
10210 * math/s_cexpf.c: Likewise.
10211 * math/s_cexpl.c: Likewise.
10212 * math/s_clog.c: Likewise.
10213 * math/s_clog10.c: Likewise.
10214 * math/s_clog10f.c: Likewise.
10215 * math/s_clog10l.c: Likewise.
10216 * math/s_clogf.c: Likewise.
10217 * math/s_clogl.c: Likewise.
10218 * math/s_csin.c: Likewise.
10219 * math/s_csinf.c: Likewise.
10220 * math/s_csinh.c: Likewise.
10221 * math/s_csinhf.c: Likewise.
10222 * math/s_csinhl.c: Likewise.
10223 * math/s_csinl.c: Likewise.
10224 * math/s_csqrt.c: Likewise.
10225 * math/s_csqrtf.c: Likewise.
10226 * math/s_csqrtl.c: Likewise.
10227 * math/s_ctan.c: Likewise.
10228 * math/s_ctanf.c: Likewise.
10229 * math/s_ctanh.c: Likewise.
10230 * math/s_ctanhf.c: Likewise.
10231 * math/s_ctanhl.c: Likewise.
10232 * math/s_ctanl.c: Likewise.
10233 * math/s_ldexp.c: Likewise.
10234 * math/s_ldexpf.c: Likewise.
10235 * math/s_ldexpl.c: Likewise.
10236 * math/s_significand.c: Likewise.
10237 * math/s_significandf.c: Likewise.
10238 * math/s_significandl.c: Likewise.
10239 * math/w_acos.c: Likewise.
10240 * math/w_acosf.c: Likewise.
10241 * math/w_acosh.c: Likewise.
10242 * math/w_acoshf.c: Likewise.
10243 * math/w_acoshl.c: Likewise.
10244 * math/w_acosl.c: Likewise.
10245 * math/w_asin.c: Likewise.
10246 * math/w_asinf.c: Likewise.
10247 * math/w_asinl.c: Likewise.
10248 * math/w_atan2.c: Likewise.
10249 * math/w_atan2f.c: Likewise.
10250 * math/w_atan2l.c: Likewise.
10251 * math/w_atanh.c: Likewise.
10252 * math/w_atanhf.c: Likewise.
10253 * math/w_atanhl.c: Likewise.
10254 * math/w_cosh.c: Likewise.
10255 * math/w_coshf.c: Likewise.
10256 * math/w_coshl.c: Likewise.
10257 * math/w_dremf.c: Likewise.
10258 * math/w_exp10.c: Likewise.
10259 * math/w_exp10f.c: Likewise.
10260 * math/w_exp10l.c: Likewise.
10261 * math/w_exp2.c: Likewise.
10262 * math/w_exp2f.c: Likewise.
10263 * math/w_fmod.c: Likewise.
10264 * math/w_fmodf.c: Likewise.
10265 * math/w_fmodl.c: Likewise.
10266 * math/w_hypot.c: Likewise.
10267 * math/w_hypotf.c: Likewise.
10268 * math/w_hypotl.c: Likewise.
10269 * math/w_j0.c: Likewise.
10270 * math/w_j0f.c: Likewise.
10271 * math/w_j0l.c: Likewise.
10272 * math/w_j1.c: Likewise.
10273 * math/w_j1f.c: Likewise.
10274 * math/w_j1l.c: Likewise.
10275 * math/w_jn.c: Likewise.
10276 * math/w_jnf.c: Likewise.
10277 * math/w_jnl.c: Likewise.
10278 * math/w_lgamma.c: Likewise.
10279 * math/w_lgamma_r.c: Likewise.
10280 * math/w_lgammaf.c: Likewise.
10281 * math/w_lgammaf_r.c: Likewise.
10282 * math/w_lgammal.c: Likewise.
10283 * math/w_lgammal_r.c: Likewise.
10284 * math/w_log.c: Likewise.
10285 * math/w_log10.c: Likewise.
10286 * math/w_log10f.c: Likewise.
10287 * math/w_log10l.c: Likewise.
10288 * math/w_log2.c: Likewise.
10289 * math/w_log2f.c: Likewise.
10290 * math/w_log2l.c: Likewise.
10291 * math/w_logf.c: Likewise.
10292 * math/w_logl.c: Likewise.
10293 * math/w_pow.c: Likewise.
10294 * math/w_powf.c: Likewise.
10295 * math/w_powl.c: Likewise.
10296 * math/w_remainder.c: Likewise.
10297 * math/w_remainderf.c: Likewise.
10298 * math/w_remainderl.c: Likewise.
10299 * math/w_scalb.c: Likewise.
10300 * math/w_scalbf.c: Likewise.
10301 * math/w_scalbl.c: Likewise.
10302 * math/w_sinh.c: Likewise.
10303 * math/w_sinhf.c: Likewise.
10304 * math/w_sinhl.c: Likewise.
10305 * math/w_sqrt.c: Likewise.
10306 * math/w_sqrtf.c: Likewise.
10307 * math/w_sqrtl.c: Likewise.
10308 * math/w_tgamma.c: Likewise.
10309 * math/w_tgammaf.c: Likewise.
10310 * math/w_tgammal.c: Likewise.
10312 * po/ja.po: Update from translation team.
10314 2011-09-29 Andreas Jaeger <aj@suse.de>
10317 * sunrpc/netname.c (netname2host): Fix logic.
10321 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10323 * math/w_remainder.c (__remainder): Likewise.
10324 * math/w_remainderf.c (__remainderf): Likewise.
10325 * math/libm-test.inc (remainder_test): Add test cases.
10327 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10329 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10332 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10334 * string/test-memcmp.c: Avoid unncessary #defines.
10335 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10337 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10339 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10340 Use new sse2 version for core i3 - i7 as it's faster
10341 than sse42 version.
10342 (bit_Prefer_PMINUB_for_stringop): New.
10343 * sysdeps/x86_64/rawmemchr.S: Update.
10344 Replace with faster SSE2 version.
10345 * sysdeps/x86_64/memrchr.S: New file.
10346 * sysdeps/x86_64/memchr.S: Update.
10347 Replace with faster SSE2 version.
10349 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10351 * elf/dl-load.c (lose): Add cast to avoid warning.
10353 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10355 * po/ca.po: Update from translation team.
10357 * inet/getnetgrent_r.c: Hook up nscd.
10358 * nscd/Makefile (routines): Add nscd_netgroup.
10359 (nscd-modules): Add netgroupcache.
10360 (CFLAGS-netgroupcache.c): Define.
10361 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10362 (cache_search): Add const to second parameter.
10363 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10365 (dbs): Add netgrdb entry.
10366 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10367 (verify_persistent_db): Handle netgrdb.
10368 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10369 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10371 (netgroup_response_header): Define.
10372 (innetgroup_response_header): Define.
10373 (datahead): Add netgroup_response_header and innetgroup_response_header
10375 * nscd/nscd.conf: Add entries for netgroup cache.
10376 * nscd/nscd.h (dbtype): Add netgrdb.
10377 (_PATH_NSCD_NETGROUP_DB): Define.
10378 (netgroup_iov_disabled): Declare.
10379 (xmalloc, xcalloc, xrealloc): Move declarations here.
10380 (cache_search): Adjust prototype.
10381 Add netgroup-related prototypes.
10382 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10383 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10384 (__nscd_innetgr): Declare.
10385 * nscd/selinux.c (perms): Use access_vector_t as element type and
10386 add netgroup-related initializers.
10387 * nscd/netgroupcache.c: New file.
10388 * nscd/nscd_netgroup.c: New file.
10389 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10390 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10391 For four parameters use innetgr.
10392 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10393 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10394 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10395 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10397 * nscd/connections.c (register_traced_file): Don't register file
10398 for disabled databases.
10400 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10402 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10404 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10405 from tree and freeing node.
10407 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10409 * nss/nsswitch.c (__nss_database_lookup): Handle
10410 nss_parse_service_list out of memory case.
10412 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10414 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10415 out of memory case.
10417 2011-10-04 Andreas Schwab <schwab@redhat.com>
10419 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10420 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10422 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10423 elf_machine_rela, elf_machine_lazy_rel.
10424 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10425 (ELF_DYNAMIC_DO_REL): Likewise.
10426 (ELF_DYNAMIC_DO_RELA): Likewise.
10427 (ELF_DYNAMIC_RELOCATE): Likewise.
10428 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10429 to ELF_DYNAMIC_DO_REL.
10430 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10431 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10432 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10434 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10435 skip_ifunc, don't call ifunc function if non-zero.
10436 (elf_machine_rela): Likewise.
10437 (elf_machine_lazy_rel): Likewise.
10438 (elf_machine_lazy_rela): Likewise.
10439 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10440 (elf_machine_lazy_rel): Likewise.
10441 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10443 (elf_machine_lazy_rel): Likewise.
10444 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10446 (elf_machine_lazy_rel): Likewise.
10447 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10448 (elf_machine_lazy_rel): Likewise.
10449 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10450 (elf_machine_lazy_rel): Likewise.
10451 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10452 (elf_machine_lazy_rel): Likewise.
10453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10454 (elf_machine_lazy_rel): Likewise.
10455 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10456 (elf_machine_lazy_rel): Likewise.
10457 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10458 (elf_machine_lazy_rel): Likewise.
10460 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10462 * nss/nss_files/files-init.c (_nss_files_init): Use static
10463 initialization for all the *_traced_file variables.
10465 2011-09-28 Andreas Schwab <schwab@redhat.com>
10467 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10469 2011-09-27 Roland McGrath <roland@hack.frob.com>
10472 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10474 2011-09-27 Andreas Schwab <schwab@redhat.com>
10476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10477 Reread the line before reparsing it.
10479 2011-09-26 Andreas Schwab <schwab@redhat.com>
10481 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10483 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10484 Maxim Kuvyrkov <maxim@codesourcery.com>
10485 Joseph Myers <joseph@codesourcery.com>
10487 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10488 if needed for __stack_chk_guard.
10490 2011-09-19 Roland McGrath <roland@hack.frob.com>
10492 * sysdeps/posix/spawni.c (script_execute): Always define it.
10493 It will be optimized away if unused.
10494 (maybe_script_execute): New function.
10495 (__spawni): Call it.
10497 * Makerules: Don't include tls.make.
10498 (config-tls): Always set to thread.
10499 * tls.make.c: File removed.
10501 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10503 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10504 * config.make.in (CPPFLAGS-config): New substituted variable.
10506 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10511 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10512 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10514 2011-09-15 Roland McGrath <roland@hack.frob.com>
10516 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10517 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10518 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10519 (CALL_FAIL): Likewise.
10520 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10521 (CALL_FAIL): Macro removed.
10522 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10524 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10526 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10527 for __FINITE_MATH_ONLY__ == 1.
10529 2011-09-15 Andreas Schwab <schwab@redhat.com>
10531 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10532 __ieee754_sqrt instead of sqrt.
10533 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10534 __ieee754_sqrtf instead of sqrtf.
10535 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10536 __floorf instead of floorf.
10537 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10538 __floorf, __truncf instead of floorf, truncf.
10540 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10542 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10544 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10545 __extern_always_inline.
10546 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10549 2011-09-14 Andreas Schwab <schwab@redhat.com>
10551 * elf/rtld.c (dl_main): Also relocate in dependency order when
10552 doing symbol dependency testing.
10554 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10556 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10557 Always define `refsym'.
10559 2011-09-13 Andreas Schwab <schwab@redhat.com>
10561 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10562 (__FD_ELT): Renamed from __FDELT.
10563 * misc/bits/select2.h (__FD_ELT): Likewise.
10564 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10565 __FD_MASK instead of __FDELT, __FDMASK.
10566 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10568 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10571 * elf/Makefile (gen-ldd): Fix pattern.
10573 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10574 (init_tls): Likewise.
10576 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10578 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10580 2011-09-12 Andreas Schwab <schwab@redhat.com>
10582 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10583 `struct cmsghdr *' instead of `void *'.
10584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10587 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10589 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10591 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10592 ldd_rewrite_script.
10594 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10596 * configure.in: Remove --with-tls option.
10597 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10598 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10599 out in case it is missing.
10600 * sysdeps/ia64/elf/configure.in: Likewise.
10601 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10602 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10603 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10604 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10605 * sysdeps/sh/elf/configure.in: Likewise.
10606 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10607 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10608 * sysdeps/x86_64/elf/configure.in: Likewise.
10609 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10610 * sysdeps/mach/hurd/tls.h: Likewise.
10613 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10616 * configure.in: Fix use of AC_INIT.
10618 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10620 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10622 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10624 * malloc/hooks.c: Likewise.
10627 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10628 variables statically.
10629 (narenas): Initialize.
10630 (list_lock): Initialize.
10631 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10632 initializtion of main_arena and list_lock. Small cleanups.
10633 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10634 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10635 Add initializers to main_arena and mp_.
10636 (malloc_state): Remove pagesize member. Change all users to use
10639 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10640 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10641 is always initialized.
10643 * malloc/malloc.c: Removed unused configurations and dead code.
10644 * malloc/arena.c: Likewise.
10645 * malloc/hooks.c: Likewise.
10646 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10648 * include/tls.h: Removed. USE___THREAD must always be defined.
10649 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10650 * elf/dl-libc.c: Likewise.
10651 * elf/dl-tsd.c: Likewise.
10652 * include/errno.h: Likewise.
10653 * include/netdb.h: Likewise.
10654 * include/resolv.h: Likewise.
10655 * inet/herrno-loc.c: Likewise.
10656 * inet/herrno.c: Likewise.
10657 * malloc/arena.c: Likewise.
10658 * malloc/hooks.c: Likewise.
10659 * malloc/malloc.c: Likewise.
10660 * resolv/res-state.c: Likewise.
10661 * resolv/res_libc.c: Likewise.
10662 * sysdeps/i386/dl-machine.h: Likewise.
10663 * sysdeps/ia64/dl-machine.h: Likewise.
10664 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10665 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10666 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10667 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10668 * sysdeps/sh/dl-machine.h: Likewise.
10669 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10670 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10671 * sysdeps/unix/i386/sysdep.S: Likewise.
10672 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10673 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10674 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10677 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10678 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10680 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10682 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10683 * sysdeps/x86_64/dl-machine.h: Likewise.
10684 * tls.make.c: Likewise.
10686 * configure.in: Remove --with-__thread option. Make tests for
10687 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10688 tls_model attribute fail if no support is available. Remove
10690 * Makeconfig: Adjust for dropped configure option. All features are
10692 * Makerules: Likewise.
10693 * Versions.def: Likewise.
10694 * argp/argp-fmtstream.c: Likewise.
10695 * argp/argp-fmtstream.h: Likewise.
10696 * argp/argp-help.c: Likewise.
10697 * assert/assert.c: Likewise.
10698 * config.h.in: Likewise.
10699 * config.make.in: Likewise.
10700 * configure: Likewise.
10701 * configure.in: Likewise.
10702 * csu/Versions: Likewise.
10703 * csu/init.c: Likewise.
10704 * elf/tst-audit2.c: Likewise.
10705 * elf/tst-tls10.c: Likewise.
10706 * elf/tst-tls10.h: Likewise.
10707 * elf/tst-tls11.c: Likewise.
10708 * elf/tst-tls12.c: Likewise.
10709 * elf/tst-tls14.c: Likewise.
10710 * elf/tst-tlsmod11.c: Likewise.
10711 * elf/tst-tlsmod12.c: Likewise.
10712 * elf/tst-tlsmod13.c: Likewise.
10713 * elf/tst-tlsmod13a.c: Likewise.
10714 * elf/tst-tlsmod14a.c: Likewise.
10715 * elf/tst-tlsmod15b.c: Likewise.
10716 * elf/tst-tlsmod16a.c: Likewise.
10717 * elf/tst-tlsmod16b.c: Likewise.
10718 * elf/tst-tlsmod7.c: Likewise.
10719 * elf/tst-tlsmod8.c: Likewise.
10720 * elf/tst-tlsmod9.c: Likewise.
10721 * gmon/gmon.c: Likewise.
10722 * grp/fgetgrent_r.c: Likewise.
10723 * grp/putgrent.c: Likewise.
10724 * hurd/fopenport.c: Likewise.
10725 * include/libc-symbols.h: Likewise.
10726 * include/tls.h: Likewise.
10727 * intl/gettextP.h: Likewise.
10728 * intl/loadinfo.h: Likewise.
10729 * locale/global-locale.c: Likewise.
10730 * locale/localeinfo.h: Likewise.
10731 * mach/devstream.c: Likewise.
10732 * malloc/arena.c: Likewise.
10733 * malloc/set-freeres.c: Likewise.
10734 * misc/err.c: Likewise.
10735 * misc/getttyent.c: Likewise.
10736 * misc/mntent_r.c: Likewise.
10737 * posix/getopt.c: Likewise.
10738 * posix/wordexp.c: Likewise.
10739 * pwd/fgetpwent_r.c: Likewise.
10740 * resolv/Versions: Likewise.
10741 * resolv/res_hconf.c: Likewise.
10742 * shadow/fgetspent_r.c: Likewise.
10743 * shadow/putspent.c: Likewise.
10744 * stdio-common/printf_fphex.c: Likewise.
10745 * stdio-common/tmpfile.c: Likewise.
10746 * stdlib/abort.c: Likewise.
10747 * stdlib/fmtmsg.c: Likewise.
10748 * sunrpc/auth_unix.c: Likewise.
10749 * sunrpc/clnt_perr.c: Likewise.
10750 * sunrpc/clnt_tcp.c: Likewise.
10751 * sunrpc/clnt_udp.c: Likewise.
10752 * sunrpc/clnt_unix.c: Likewise.
10753 * sunrpc/openchild.c: Likewise.
10754 * sunrpc/svc_simple.c: Likewise.
10755 * sunrpc/svc_tcp.c: Likewise.
10756 * sunrpc/svc_udp.c: Likewise.
10757 * sunrpc/svc_unix.c: Likewise.
10758 * sunrpc/xdr.c: Likewise.
10759 * sunrpc/xdr_array.c: Likewise.
10760 * sunrpc/xdr_rec.c: Likewise.
10761 * sunrpc/xdr_ref.c: Likewise.
10762 * sunrpc/xdr_stdio.c: Likewise.
10764 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10766 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10768 2011-07-03 Andreas Jaeger <aj@suse.de>
10770 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10771 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10772 regenerate with gen-libm-tests.pl.
10774 2010-05-12 Petr Baudis <pasky@suse.cz>
10777 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10778 around j0() zero points by switching to j1().
10779 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10784 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10786 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10788 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10791 Patch in part by Pavel Roskin <proski@gnu.org>.
10794 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10796 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10797 Free memory block if necessary.
10800 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10801 be NULL. Don't lock in this case.
10803 2011-09-09 Roland McGrath <roland@hack.frob.com>
10805 * elf/elf.h (ELFOSABI_GNU): New macro.
10806 (ELFOSABI_LINUX): Define to that.
10808 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10810 * string/strncat.c (strncat): Undef the symbol in case it has been
10811 defined in bits/string.h.
10813 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10815 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10817 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10820 2011-08-17 Andreas Jaeger <aj@suse.de>
10822 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10824 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10825 Ian Lance Taylor <iant@google.com>
10827 * math/libm-test.inc (lround_test): New testcase.
10828 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10830 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10832 * Makefile: Remove support for automatic cvs check-ins.
10833 * Makerules: Likewise.
10834 * config.make.in: Likewise.
10835 * configure.in: Likewise.
10836 * intl/Makefile: Likewise.
10837 * locale/Makefile: Likewise.
10838 * po/Makefile: Likewise.
10839 * posix/Makefile: Likewise.
10840 * sysdeps/gnu/Makefile: Likewise.
10841 * sysdeps/mach/hurd/Makefile: Likewise.
10842 * sysdeps/sparc/sparc32/Makefile: Likewise.
10845 * posix/Makefile (bug-regex32-ENV): Define.
10846 Patch by John Stanley <jpsinthemix@verizon.net>.
10848 * misc/Makefile (headers): Add bits/select2.h.
10849 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10850 * misc/bits/select2.h: New file.
10851 * include/bits/select2.h: New file.
10852 * debug/Makefile (routines): Add fdelt_chk.
10853 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10854 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10856 * debug/fdelt_chk.c: New file.
10858 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10859 * wcsmbs/test-wmemcmp.c: Likewise.
10860 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10861 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10863 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10865 * string/Makefile (strop-tests): Add memcmp.
10866 * string/test-wmemcmp.c: New file.
10867 * string/test-memcmp.c: Add wmemcmp support.
10869 2011-09-08 Roland McGrath <roland@hack.frob.com>
10872 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10875 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10876 garbage value in a __mach_port_mod_refs call in the cases of the
10877 task-self and thread-self ports.
10879 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10881 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10883 2011-09-08 Andreas Schwab <schwab@redhat.com>
10885 * elf/dl-load.c (lose): Check for non-null L.
10887 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10889 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10891 * elf/dl-libc.c (dlerror_run): Pass back error code from
10895 * elf/dl-load.c (lose): Free l_origin if it is valid.
10897 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10899 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10900 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10901 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10902 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10903 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10904 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10906 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10908 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10909 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10910 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10911 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10912 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10913 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10914 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10915 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10916 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10917 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10919 2011-08-15 Alan Modra <amodra@gmail.com>
10922 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10923 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10924 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10925 ppc_mcount to static-only-routines.
10926 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10928 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10929 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10931 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10933 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10934 for finite and infinity parameters.
10936 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10938 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10939 and add nop instructions for throughput optimization.
10940 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10942 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10944 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10945 aligned copy for power7 with vector-scalar instructions.
10946 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10948 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10950 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10953 2011-09-07 Andreas Schwab <schwab@redhat.com>
10956 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10959 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10961 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10962 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10963 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10964 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10967 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10969 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10970 Forgot to demangle the pointer.
10972 * sysdeps/i386/sysdep.h: Define atom_text_section.
10973 * sysdeps/x86_64/sysdep.h: Likewise.
10974 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10975 section with atom_text_section.
10976 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10977 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10978 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10980 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10982 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10983 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10984 already be defined. Change to take two parameters and don't assign
10985 result to variable. Adjust all users.
10986 Define INTERNAL_GETTIME if not already defined.
10987 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10990 HAVE_CLOCK_GETTIME_VSYSCALL.
10991 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10993 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10994 gettimeofday vsyscall, just use time.
10996 2011-09-06 Andreas Schwab <schwab@redhat.com>
10998 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11001 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11003 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11007 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11008 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11009 syscall if possible.
11011 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11013 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11014 e_ident. Don't pass to find_mapsXX.
11015 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11017 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11020 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11021 * sysdeps/x86_64/multiarch/strchr.S: Update.
11022 Check bit_slow_BSF bit.
11023 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11024 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11025 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11027 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11030 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11032 (tryshell): Define.
11033 (__spawni): Change last parameter to be flag. Test
11034 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11035 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11036 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11037 * posix/spawni.c: Likewise.
11038 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11039 * posix/spawnp.c: Likewise. Change normal version to use
11040 SPAWN_XFLAGS_USE_PATH.
11041 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11042 SPAWN_XFLAGS_TRY_SHELL.
11045 * posix/glob.h: Remove gcc 1.x support.
11048 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11050 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11053 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11055 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11056 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11057 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11058 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11059 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11060 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11062 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11064 * sysdeps/x86_64/wcscmp.S: New file.
11066 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11067 wcscmp-c wcscmp-sse2
11068 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11069 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11070 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11071 * wcsmbs/wcscmp.c: Allow renaming.
11073 2011-09-05 David S. Miller <davem@davemloft.net>
11075 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11076 stack slot, rather than the struct return pointer slot.
11077 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11078 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11080 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11082 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11084 * po/ja.po: Update from translation team.
11087 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11088 kernel in 64-bit binaries.
11090 2011-09-01 David S. Miller <davem@davemloft.net>
11092 * elf/elf.h (HWCAP_SPARC_*): Move to..
11093 * sysdeps/sparc/sysdep.h: this new file and add new values.
11094 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11095 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11096 _DL_HWCAP_COUNT to 24.
11097 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11099 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11100 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11101 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11103 instead of magic constants.
11104 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11106 2011-08-31 David S. Miller <davem@davemloft.net>
11108 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11110 Reimplement to do errno handling inline.
11111 (SYSCALL_ERROR_HANDLER): New macro.
11112 (__SYSCALL_STRING): Do not do errno handling in asm.
11113 (__CLONE_SYSCALL_STRING): Delete.
11114 (__INTERNAL_SYSCALL_STRING): Delete.
11115 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11116 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11117 (PSEUDO): Reimplement to do errno handling inline.
11118 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11119 (SYSCALL_ERROR_HANDLER): New macro.
11120 (__SYSCALL_STRING): Do not do errno handling in asm.
11121 (__CLONE_SYSCALL_STRING): Delete.
11122 (__INTERNAL_SYSCALL_STRING): Delete.
11123 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11124 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11126 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11127 (inline_syscall*): Add 'err' argument.
11128 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11129 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11130 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11131 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11133 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11134 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11136 2011-08-30 Andreas Schwab <schwab@redhat.com>
11138 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11140 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11142 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11145 2011-08-24 David S. Miller <davem@davemloft.net>
11147 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11149 2011-08-24 Andreas Schwab <schwab@redhat.com>
11151 * elf/Makefile: Add rules to build and run unload8 test.
11152 * elf/unload8.c: New file.
11153 * elf/unload8mod1.c: New file.
11154 * elf/unload8mod1x.c: New file.
11155 * elf/unload8mod2.c: New file.
11156 * elf/unload8mod3.c: New file.
11158 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11161 2011-08-23 David S. Miller <davem@davemloft.net>
11163 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11164 subtract stack bias.
11165 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11166 %sp not %fp in calculations.
11167 (_JMPBUF_UNWINDS_ADJ): Likewise.
11169 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11170 (aio_suspend): Call it to force an exception region around the
11171 AIO_MISC_WAIT() invocation.
11173 2011-08-23 Andreas Schwab <schwab@redhat.com>
11175 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11178 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11180 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11182 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11183 and <dl-machine.h>.
11184 (Elf64_FuncDesc): Remove.
11186 2011-08-22 David S. Miller <davem@davemloft.net>
11188 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11189 sigaltstack check, add missing cfi directives.
11190 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11191 missing cfi directives, and sigaltstack handling.
11193 2011-08-16 Andreas Schwab <schwab@redhat.com>
11196 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11197 object is seen twice.
11198 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11200 * elf/Makefile (distribute): Add tst-initorder2.c.
11201 (tests): Add tst-initorder2.
11202 (modules-names): Add tst-initorder2a tst-initorder2b
11203 tst-initorder2c tst-initorder2d. Add rules to build them.
11204 ($(objpfx)tst-initorder2.out): New rule.
11205 * elf/tst-initorder2.c: New file.
11206 * elf/tst-initorder2.exp: New file.
11208 2011-08-22 Andreas Schwab <schwab@redhat.com>
11210 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11212 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11213 dependencies back to end of function.
11215 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11216 $(elfobjdir)/ld.so.
11218 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11220 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11221 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11223 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11224 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11225 of __vdso_gettimeofday.
11226 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11227 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11229 (_libc_vdso_platform_setup): Remove initialization of
11230 __vdso_gettimeofday and __vdso_time.
11232 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11234 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11235 and fgetc_unlocked.
11236 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11239 * elf/dl-open.c (add_to_global): Report additions to the global scope
11240 for LD_DEBUG=scopes.
11241 (dl_open_worker): Also print scope of newly loaded dependencies.
11242 (_dl_show_scope): Indicate if there is no scope.
11245 * stdio-common/Makefile (tests): Add bug24.
11246 * stdio-common/bug24.c: New file.
11248 2011-08-19 Andreas Jaeger <aj@suse.de>
11251 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11252 non-existant file when using close-on-exec mode.
11254 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11256 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11257 the very first instruction.
11259 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11260 the CFI state in the end.
11261 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11262 inclusion of dl-trampoline.h.
11263 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11265 2011-08-19 Andreas Schwab <schwab@redhat.com>
11267 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11268 expectations for long double.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11271 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11273 2011-08-14 David S. Miller <davem@davemloft.net>
11275 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11276 artificual limit depends upon the system page size.
11278 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11280 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11281 * resolv/Makefile: Define CFLAGS-libresolv.
11283 2011-08-17 Andreas Schwab <schwab@redhat.com>
11285 * nss/makedb.c (compute_tables): Make variables used in nested
11288 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11290 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11291 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11292 if buffer was too small.
11294 * elf/pldd.c (main): Attach to all threads in the process.
11295 Rewrite /proc handling to use *at functions.
11297 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11299 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11300 specifies first scope to show.
11301 (dl_open_worker): Update callers. Move printing scope of new
11302 object to before the relocation.
11303 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11304 * sysdeps/generic/ldsodefs.h: Update declaration.
11306 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11307 string for the scope number.
11309 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11311 * nscd/servicescache.c (cache_addserv): Make sure written is always
11314 2011-08-14 Roland McGrath <roland@hack.frob.com>
11316 * sysdeps/i386/i486/bits/atomic.h
11317 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11318 statement expression, so as to suppress "set but not used" warning.
11319 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11321 * string/strncat.c (STRNCAT): Use prototype definition.
11323 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11324 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11326 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11327 (localedef-modules): Add localedef.
11328 (locale-modules): Add locale.
11330 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11331 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11332 to avoid a warning.
11334 2011-08-14 David S. Miller <davem@davemloft.net>
11336 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11337 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11339 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11341 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11342 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11343 * elf/rtld.c (dl_main): Set l_name of vDSO.
11344 Call _dl_show_scope when DL_DEBUG_SCOPES.
11345 (process_dl_debug): Recognize scopes flag and also set it for all.
11346 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11347 Declare _dl_show_scope.
11349 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11350 (do_dlopen): Pass caller_dlopen to dl_open.
11351 (__libc_dlopen_mode): Initialize caller_dlopen.
11353 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11354 of libc. Make tolower call locale-independent. Optimize a bit by
11355 using isdigit instead of isalnum.
11356 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11358 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11360 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11361 was a dependency or dynamically loaded.
11363 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11365 * intl/l10nflist.c: Allow architecture-specific pop function.
11366 * sysdeps/x86_64/l10nflist.c: New file.
11368 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11371 2011-08-10 Andreas Schwab <schwab@redhat.com>
11373 * include/dirent.h: Add libc_hidden_proto for scandirat and
11374 scandirat64. Don't declare __scandirat64.
11375 * dirent/scandirat.c: Add libc_hidden_def.
11376 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11377 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11379 2011-08-10 David S. Miller <davem@davemloft.net>
11381 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11383 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11384 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11385 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11387 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11389 * Versions.def [libc]: Add GLIBC_2.15.
11390 * dirent/Makefile (routines): Add scandirat and scandirat64.
11391 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11393 * dirent/dirent.h: Declare scandirat and scandirat64.
11394 * dirent/scandirat.c: New file.
11395 * dirent/scandirat64.c: New file.
11396 * sysdeps/wordsize-64/scandirat.c: New file.
11397 * sysdeps/wordsize-64/scandirat64.c: New file.
11398 * dirent/opendir.c: Define opendirat.
11399 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11401 * dirent/scandir64.c: Adjust for scandir.c change.
11402 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11403 __scandirat64, and __scandir_cancel_handler.
11404 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11405 additional parameter and use openat instead of open (outside of ld.so).
11406 Add new __opendir as wrapper around __opendirat.
11407 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11408 here without requiring old scandirat implementation.
11410 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11412 * dirent/scandir.c (cancel_handler): Renamed to
11413 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11414 defined. Adjust users.
11415 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11416 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11418 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11420 * string/test-string.h (IMPL): Use __STRING to expand name and then
11423 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11426 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11428 * string/Makefile: Update.
11429 (strop-tests): Append strncat.
11430 * string/test-wcscmp.c: New file.
11431 New comprehensive test for wcscmp.
11432 * string/test-strcmp.c: Update.
11433 (WIDE): New define.
11435 2011-07-22 Andreas Schwab <schwab@redhat.com>
11437 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11440 2011-07-26 Andreas Schwab <schwab@redhat.com>
11442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11443 encoding to ACE if AI_IDN.
11445 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11447 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11448 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11450 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11452 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11453 Fix overflow bug in strncat.
11454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11456 * string/test-strncat.c: Update.
11457 Add new tests for checking overflow bugs.
11459 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11462 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11463 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11464 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11465 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11466 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11467 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11468 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11469 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11471 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11472 (USE_AS_STRCAT): Define.
11473 Add strcat and strncat support.
11474 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11476 2011-07-25 Andreas Schwab <schwab@redhat.com>
11478 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11479 __n bigger than INT_MAX+1.
11480 (__strncmp_g): Likewise.
11482 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11484 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11485 * libio/stido.h: Likewise.
11487 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11492 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11493 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11494 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11496 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11499 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11504 (_dl_x86_64_save_sse): Likewise.
11506 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11510 (_dl_x86_64_save_sse): Likewise.
11512 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11514 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11516 2011-07-21 Andreas Schwab <schwab@redhat.com>
11518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11520 (_dl_x86_64_save_sse): Use correct AVX check.
11522 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11525 bug in strncpy/strncat.
11526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11528 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11530 * string/tester.c (test_strcat): Add tests for different alignments
11531 of source and destination.
11532 (test_strncat): Likewise.
11534 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11537 * posix/glob.c (glob): Check passed in values before using them in
11538 expressions to avoid some overflows.
11539 (glob_in_dir): Likewise.
11542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11543 check for AVX enablement so that we don't crash with old kernels and
11545 * elf/tst-audit4.c: Add same checks here.
11546 * elf/tst-audit6.c: Likewise.
11548 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11550 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11552 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11554 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11556 * po/cs.po: Update from translation team.
11557 * po/bg.po: Likewise.
11559 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11561 * misc/sys/cdefs.h: Add support for const attribute.
11562 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11563 to gnu_dev_{major,minor,makedev} functions.
11565 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11567 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11569 2011-07-20 Andreas Schwab <schwab@redhat.com>
11571 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11574 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11576 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11577 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11578 register in order to avoid conflicts with the soft frame pointer
11579 being held in r11 when necessary.
11580 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11581 (INTERNAL_VSYSCALL_NCS): Likewise.
11583 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11585 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11586 * elf/dl-fini.c (_dl_fini): Adjust caller.
11587 * elf/dl-close.c (_dl_close_worker): Likewise.
11588 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11590 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11592 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11593 "aux_cache->nlibs < 0".
11595 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11596 in the reload-count case.
11598 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11601 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11602 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11603 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11604 * sysdeps/x86_64/multiarch/strcat.S: New file.
11605 * sysdeps/x86_64/multiarch/strncat.S: New file.
11606 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11607 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11608 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11609 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11610 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11611 (USE_AS_STRCAT): Define.
11612 Add strcat and strncat support.
11613 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11614 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11615 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11616 * string/strncat.c: Update.
11617 (USE_AS_STRNCAT): Define.
11618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11619 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11621 * sysdeps/x86_64/multiarch/init-arch.h
11622 (bit_Prefer_PMINUB_for_stringop): New.
11623 (index_Prefer_PMINUB_for_stringop): Likewise.
11624 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11625 bit_Prefer_PMINUB_for_stringop.
11627 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11629 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11631 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11632 of casting of buffer.
11633 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11634 buffer32 and buffer64.
11635 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11636 writes instead of casting of buffer.
11637 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11639 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11642 2011-07-19 Andreas Schwab <schwab@redhat.com>
11644 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11646 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11648 * nscd/nscd.c (termination_handler): Don't do anything for a database
11649 if it has not yet been initialized.
11651 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11653 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11655 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11657 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11659 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11661 * po/nl.po: Update from translation team.
11662 * po/sv.po: Likewise.
11664 2011-07-16 Roland McGrath <roland@hack.frob.com>
11666 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11667 now disallowed by GCC.
11669 * configure.in (use-default-link): Default to yes if a test -shared
11670 link meets our qualifications.
11671 * configure: Regenerated.
11673 * config.make.in (output-format): New variable.
11674 * configure.in: Check for ld --print-output-format support.
11675 * configure: Regenerated.
11676 * Makerules ($(common-objpfx)format.lds)
11677 [$(output-format) != unknown]: Just use $(output-format),
11678 instead of the linker-script munging.
11680 2011-07-14 Roland McGrath <roland@hack.frob.com>
11682 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11683 of $(common-objpfx)shlib.lds.
11684 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11686 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11687 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11689 * configure.in (-z relro check): Adjust test code to add a large
11690 writable data section after it.
11691 * configure: Regenerated.
11693 2011-07-11 Roland McGrath <roland@hack.frob.com>
11695 * configure.in (-z relro check): Fix test code to make the variable
11697 * configure: Regenerated.
11699 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11701 * nscd/nscd.h (struct traced_file): Define.
11702 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11703 elements. Add traced_files.
11704 (inotify_fd): Declare.
11705 (register_traced_file): Declare.
11706 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11707 (inotify_fd): Export.
11708 (resolv_conf_descr): Remove.
11709 (nscd_init): Move inotify descriptor creation to main.
11710 Don't register files for notification here.
11711 (register_traced_file): New function.
11712 (invalidate_cache): Don't use reset_res to determine whether to call
11713 res_init, go through the list of registered files.
11714 (main_loop_poll): The inotify descriptors are now stored in the
11715 structures for the traced files.
11716 (main_loop_epoll): Likewise
11717 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11718 to __nss_disable_nscd.
11719 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11720 for a database anymore. Check the records for all the registered
11722 * nss/Makefile (libnss_files-routines): Add files-init.
11723 (libnss_db-routines): Add db-init.
11724 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11725 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11726 * nss/nss_db/db-init.c: New file.
11727 * nss/nss_files/files-init.c: New file.
11728 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11729 __nss_lookup_function.
11730 (__nss_lookup_function): Call nss_load_library.
11731 (nss_load_all_libraries): New function.
11732 (__nss_disable_nscd): Take parameter with callback function for files
11733 to register. Set is_nscd. Load all the DSOs for the NSS modules
11734 used for the cached services.
11735 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11736 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11737 options for features to all the files in nscd.
11739 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11741 2011-07-10 Roland McGrath <roland@hack.frob.com>
11743 * csu/elf-init.c (__libc_csu_init): Comment typo.
11745 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11747 * po/pl.po: Update from translation team.
11748 * po/ja.po: Likewise.
11749 * po/ru.po: Likewise.
11750 * po/ko.po: Likewise.
11751 * po/fr.po: Likewise.
11753 2011-07-09 Roland McGrath <roland@hack.frob.com>
11755 * configure.in (.ctors/.dtors header and trailer check):
11756 Use an empirical test on a built program.
11757 * configure: Regenerated.
11759 * configure.in (-z relro check): Use an empirical test on a built DSO.
11760 Detect, but do not require, on ia64.
11761 * configure: Regenerated.
11763 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11764 Update tests that use readelf to use $READELF instead.
11765 * configure: Regenerated.
11767 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11769 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11770 if the result is not used.
11772 2011-07-05 Andreas Jaeger <aj@suse.de>
11775 * stdlib/tst-strtod.c: Add testcase.
11777 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11779 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11780 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11781 The latter has a higher limit. Take additional parameter to pass to
11783 (__pathconf): Pass file to __statfs_link_max.
11784 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11786 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11790 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11791 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11793 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11794 (__statfs_filesize_max): Likewise.
11795 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11797 2011-07-05 Andreas Jaeger <aj@suse.de>
11799 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11801 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11803 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11805 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11808 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11810 * Makefile (strop-tests): Add strncat.
11811 * string/test-strncat.c: New file.
11813 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11815 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11817 2011-06-21 Andreas Jaeger <aj@suse.de>
11819 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11820 Copy rule from iconvdata/Makefile.
11822 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11825 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11826 but no long options are defined, just return 'W'.
11828 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11831 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11833 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11835 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11837 (innetgr): Likewise.
11839 2011-07-05 Roland McGrath <roland@hack.frob.com>
11841 * config.make.in (install_root): Default to $(DESTDIR).
11843 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11845 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11847 2011-07-02 Roland McGrath <roland@hack.frob.com>
11849 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11851 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11852 containing directory rather than embedding absolute directory names.
11854 * scripts/check-local-headers.sh: Rewritten using awk.
11855 Match by word, not by line. Print error messages for matches.
11856 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11858 * Makerules [shlib-lds-flags empty]:
11859 ($(common-objpfx)libc_pic.opts): New target.
11860 ($(common-objpfx)libc_pic.os.clean): New target.
11861 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11863 * config.make.in (OBJCOPY): New variable.
11864 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11865 * configure: Regenerated.
11867 * config.make.in (use-default-link): New variable.
11868 * configure.in (use_default_link): Grok --with-default-link to set it.
11869 * configure: Regenerated.
11870 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11871 (shlib-lds, shlib-lds-flags): Define to empty.
11873 * Makerules (shlib-lds): New variable.
11874 (shlib-lds-flags): New variable.
11875 (build-shlib, build-moduile, build-module-asneeded): Use it.
11876 ($(common-objpfx)libc.so): Use $(shlib-lds).
11877 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11878 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11880 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11881 DT_FLAGS/DT_FLAGS_1 with zero flags.
11883 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11884 linker script munging.
11886 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11888 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11890 * crypt/sha512.c (sha512_process_block): Perform total addition using
11891 128-bit if possible.
11892 (__sha512_finish_ctx): Likewise.
11893 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11895 * crypt/sha256.c (SWAP64): Define.
11896 (sha256_process_block): Perform total addition using 64-bit if
11898 (__sha256_finish_ctx): Likewise.
11900 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11902 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11904 * nscd/hstcache.c (cache_addhst): Likewise.
11905 * nscd/grpcache.c (cache_addgr): Likewise.
11906 * nscd/aicache.c (addhstaiX): Likewise
11907 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11909 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11911 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11913 * nscd/hstcache.c (cache_addhst): Likewise.
11914 * nscd/grpcache.c (cache_addgr): Likewise.
11915 * nscd/aicache.c (addhstaiX): Likewise
11917 2011-07-01 Andreas Schwab <schwab@redhat.com>
11919 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11920 domain only when needed.
11922 2011-06-30 Andreas Schwab <schwab@redhat.com>
11924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11925 is always restored.
11927 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11929 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11930 are re-adding the entry.
11931 * nscd/servicescache.c (cache_addserv): Likewise.
11933 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11935 * sysdeps/generic/dl-irel.h: fix protection against multiple
11937 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11939 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11942 * malloc/memusage.sh: Fix quoting in message.
11943 * debug/xtrace.sh: Likewise.
11945 * configure.in: Remove support for --experimental-malloc option, make
11947 * config.make.in: Likewise.
11948 * malloc/Makefile: Likewise.
11950 2011-06-27 Andreas Schwab <schwab@redhat.com>
11952 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11953 two-byte characters.
11955 2011-06-27 Roland McGrath <roland@hack.frob.com>
11957 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11958 AC_CACHE_CHECK invocation.
11959 * configure: Regenerated.
11961 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11963 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11966 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11967 bit from old_res_options.
11969 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11971 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11972 value type for setfct.
11974 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11977 __gettimeofday instead of gettimeofday.
11979 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11981 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11983 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11985 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11987 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11990 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11993 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11994 strcpy-sse2-unaligned strncpy-sse2-unaligned
11995 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11996 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11997 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11998 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11999 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12001 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12002 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12003 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12004 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12005 (STRCPY): Support SSE2 and SSSE3 versions.
12007 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12010 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12011 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12012 kernels which artificially limit size of requests.
12014 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12017 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12018 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12019 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12020 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12021 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12022 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12023 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12024 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12026 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12027 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12028 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12029 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12030 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12032 Enable unaligned load optimization for Intel Core i3, i5 and i7
12034 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12036 (index_Fast_Unaligned_Load): Define.
12037 (HAS_FAST_UNALIGNED_LOAD): Define.
12039 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12041 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12043 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12046 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12047 until it is clear that the information is realy needed.
12048 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12050 2011-06-22 Andreas Schwab <schwab@redhat.com>
12052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12054 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12056 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12057 /sys/devices/system/cpu/online if it is usable.
12059 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12060 reading the information from the /proc filesystem to once a second.
12062 2011-06-21 Andreas Jaeger <aj@suse.de>
12064 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12065 NULL after inclusion of kernel headers.
12067 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12069 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12070 calls to internal_setent.
12073 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12074 addresses using gethostbyname4_r ignore IPv4 addresses.
12076 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12077 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12079 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12081 2011-06-20 David S. Miller <davem@davemloft.net>
12083 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12085 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12087 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12088 (elf_irel): Use it.
12089 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12090 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12091 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12092 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12093 * sysdeps/x86_64/dl-irel.h: Likewise.
12095 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12096 * elf/dl-sym.c: Likewise.
12098 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12100 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12101 need to dereference resplen2.
12103 2011-06-14 Andreas Schwab <schwab@redhat.com>
12105 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12107 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12109 * Makeconfig: Define vardbdir and inst_vardbdir.
12110 * nss/Makefile: Add rules to install db-Makefile.
12112 * nss/nss_db/db-XXX.c: Cleanup.
12114 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12115 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12117 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12118 * nss/makedb.c: Implement -g option to specify that value strings
12119 are generated and should not be added to table iterated over for
12121 * nss/nss_db/db-initgroups.c: New file.
12123 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12126 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12127 (internal_getgrouplist): Adjust to name change.
12128 Update use_initgroups_entry if this is not the first call.
12129 * nss/databases.def: Add initgroups entry.
12131 * nss/makedb.c (compute_tables): Check result of multiple hash table
12132 sizes to minimize maximum chain length.
12134 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12136 * Versions.def: Add entry for libnss_db.
12137 * shlib-versions: Likewise.
12138 * nss/Makefile: Add rules to build libnss_db.
12139 * nss/Versions: Add libnss_db information. Organize libnss_files
12141 * nss/db-Makefile: Add gshadow support. Change rules for the new
12142 makedb progra. Some minor improvements to generate smaller files.
12143 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12145 * nss/makedb.c: ...here.
12146 Improve database format to be smaller and require less memory at
12148 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12150 * nss/nss_db/db-netgrp.c: Likewise.
12151 * nss/nss_db/db-open.c: Likewise.
12152 * nss/nss_files/flies-XXX.x: Adjust comments.
12153 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12154 * nss/nss_files/files-grp.c: Likewise.
12155 * nss/nss_files/files-hosts.c: Likewise.
12156 * nss/nss_files/files-network.c: Likewise.
12157 * nss/nss_files/files-proto.c: Likewise.
12158 * nss/nss_files/files-pwd.c: Likewise.
12159 * nss/nss_files/files-rpc.c: Likewise.
12160 * nss/nss_files/files-service.c: Likewise.
12161 * nss/nss_files/files-sgrp.c: Likewise.
12162 * nss/nss_files/files-spwd.c: Likewise.
12163 * nss/nss_db/db-alias.c: Removed.
12164 * nss/nss_db/dummy-db.h: Removed.
12166 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12168 * nss/makedb.c: Rewritten to not use database library.
12169 * nss/Makefile: Update to build new makedb program.
12171 2011-06-14 Andreas Jaeger <aj@suse.de>
12173 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12174 memset declaration.
12176 2011-06-10 Andreas Schwab <schwab@redhat.com>
12178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12181 2011-06-10 Roland McGrath <roland@hack.frob.com>
12183 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12184 * elf/Makefile ($(objpfx)ld.so): Likewise.
12186 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12187 Don't list ld.so twice in dependencies.
12189 * posix/bug-regex31.c: Include <stdlib.h>.
12191 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12193 * nis/nss_compat/compat-spwd.c
12194 (getspent_next_nss_netgr): Remove unused variable.
12195 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12197 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12198 nonmembers" output to use the right array.
12200 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12202 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12204 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12205 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12206 * catgets/gencat.c (read_input_file): Likewise.
12207 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12209 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12210 variable definition inside #if's controlling its use.
12212 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12214 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12216 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12218 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12221 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12223 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12224 * configure: Regenerated.
12226 * Makerules: Revert last change.
12227 * elf/Makefile: Likewise.
12229 2011-06-09 Roland McGrath <roland@hack.frob.com>
12231 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12232 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12233 (reloc-link): Likewise.
12235 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12237 * elf/Makefile: Add rules to build pldd.
12238 * elf/pldd.c: New file.
12239 * elf/pldd-xx.c: New file.
12241 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12243 * version.h: Update for 2.15 development version.
12245 2011-06-07 David S. Miller <davem@davemloft.net>
12247 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12250 elf_machine_lazy_rel): Likewise.
12251 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12253 elf_machine_lazy_rel): Likewise.
12254 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12255 dl_hwcap via passed in argument.
12256 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12259 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12261 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12263 2011-06-06 Roland McGrath <roland@hack.frob.com>
12266 * manual/fdl-1.1.texi: New file, verbatim from:
12267 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12268 * manual/lgpl-2.1.texi: New file, verbatim from:
12269 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12270 * manual/Makefile (licenses): New variable, list those new file names.
12272 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12274 * manual/fdl.texi: File removed.
12275 * manual/lesser.texi: File removed.
12276 * manual/libc.texinfo (Copying, Documentation License):
12277 Use new @include file names, put @appendix directive before @include.
12279 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12282 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12283 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12284 (mq_open): Add __NTH.
12286 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12289 Assume Intel Core i3/i5/i7 processor if AVX is available.
12291 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12296 2011-05-31 Andreas Schwab <schwab@redhat.com>
12298 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12299 memory. Use alloca_account. Fix memory leak when retrying.
12301 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12303 * version.h (RELEASE): Bump for 2.14 release.
12304 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12306 * config.make.in (RANLIB): Remove entry.
12308 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12310 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12311 (libc.pot): Work around missing support for .ksh extension in xgettext.
12314 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12315 if both request failed.
12316 (send_dg): In case of server errors clear resplen or *resplen2.
12319 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12320 when there are multiple maps.
12321 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12322 (_dl_fini): Remove test here.
12324 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12326 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12329 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12330 bit from old_res_options.
12331 (gaih_inet): Likewise.
12334 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12337 * resolv/res_init.c (res_setoptions): Make the code more compact.
12340 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12344 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12346 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12349 * malloc/malloc.h: Declare malloc hook variables as volatile.
12351 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12355 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12356 raise in the comment.
12357 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12359 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12361 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12364 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12365 grow the buffers more if it already has to be sufficient.
12366 (build_wcs_upper_buffer): Likewise.
12367 * posix/regexec.c (check_matching): Likewise.
12368 (clean_state_log_if_needed): Likewise.
12369 (extend_buffers): Don't enlarge buffers beyond size of the input
12371 Patches mostly by Emil Wojak <emil@wojak.eu>.
12372 * posix/bug-regex32.c: New file.
12373 * posix/Makefile (tests): Add bug-regex32.
12375 * locale/findlocale.c (_nl_find_locale): Return right away if
12376 _nl_explode_name failed.
12377 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12379 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12381 * debug/xtrace.sh: Unify messages.
12382 * malloc/memusage.sh: Likewise.
12385 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12386 time symbol from vDSO. Substitute with vsyscall if not available.
12387 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12390 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12391 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12392 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12393 Add sendmmsg and internal_sendmmsg.
12394 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12395 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12396 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12398 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12399 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12400 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12402 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12405 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12406 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12408 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12412 * iconvdata/Makefile (tests): Add bug-iconv9.
12413 * iconvdata/bug-iconv9.c: New file.
12415 2011-05-27 Andreas Schwab <schwab@redhat.com>
12418 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12420 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12422 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12423 (struct user_regs_struct): Change intcs field back to cs.
12425 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12427 * po/ja.po: Update from translation team.
12429 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12432 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12433 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12435 2011-05-20 Andreas Schwab <schwab@redhat.com>
12437 * stdlib/longlong.h: Update from GCC.
12439 2011-05-23 Andreas Schwab <schwab@redhat.com>
12441 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12443 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12444 Add parameter name.
12445 (__sysconf): Pass it down.
12447 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12450 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12452 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12453 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12454 add in in __libc_use_alloca calls. Adjust callers.
12455 (glob): Use malloc in some situations.
12457 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12458 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12461 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12463 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12464 and CLOCK_BOOTTIME_ALARM.
12467 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12470 * string/_strerror.c (__strerror_r): Print negative errors as signed
12474 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12475 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12476 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12478 * configure.in: Fix typo in redirection and correct removal of test
12479 files in two cases.
12482 * locale/setlocale.c (new_composite_name): Fix test to check for
12483 identical name of all categories.
12486 * libio/filedoalloc.c (local_isatty): New function.
12487 (_IO_file_doallocate): Use local_isatty.
12488 * stdio-common/perror.c (perror): In case a new stream is used
12489 forward the stream error.
12490 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12493 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12498 * include/alloca.h (extend_alloca_account): Define.
12501 * posix/regex.h: Fix comments with documentation of user-accessible
12502 fields after compilation and describe correct free'ing of pattern
12503 after re_compile_pattern.
12504 Patch by Reuben Thomas <rrt@sc3d.org>.
12506 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12508 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12509 and -mno-altivec to prevent the compiler from using Altivec and/or
12510 VSX instructions when the corresponding registers are not available.
12512 2011-05-19 Andreas Schwab <schwab@redhat.com>
12514 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12516 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12518 * libio/freopen.c (freopen): Use __dup2, not dup2.
12519 * libio/freopen64.c (freopen64): Likewise.
12521 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12524 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12525 * math/Makefile (tests): Add test-powl.
12526 (CFLAGS-test-powl.c): Define.
12527 * math/test-powl.c: New file.
12529 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12531 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12533 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12536 * iconvdata/gb18030.c: Update to GB18020-2005.
12538 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12540 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12541 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12542 Patch by Aharon Robbins <arnold@skeeve.com>.
12545 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12549 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12550 through underflows.
12553 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12554 point to strings before performing equality test for error_one_per_line
12558 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12561 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12562 (struct user_fpregs_struct): Avoid __uint*_t types.
12565 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12566 symbol info. Use it instead of calling _dl_addr locally.
12567 (lock_and_info): New function.
12568 (tr_freehook): Call lock_and_info and pass symbol info as additional
12569 parameter to tr_where.
12570 (tr_mallochook): Likewise.
12571 (tr_reallochook): Likewise.
12572 (tr_memalignhook): Likewise.
12574 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12575 used and couldn't be at all thread-safe.
12577 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12579 * libio/freopen.c (freopen): Don't close old file descriptor
12580 before the new one is opened. Instead dup the new file descriptor
12581 to the old one after the new stream is created.
12582 * libio/freopen64.c (freopen64): Likewise.
12583 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12584 * libio/fileops.c (_IO_new_file_close_it): Handle new
12585 _IO_FLAGS2_NOCLOSE flag.
12586 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12587 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12588 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12589 _IO_FLAGS2_NOCLOSE flag.
12590 * include/unistd.h: Add hidden_proto for dup3.
12591 Define __have_dup3.
12592 * io/dup3.c: Define hidden symbol.
12593 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12596 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12597 when an incomplete long option is used.
12598 * posix/tst-getopt_long1.c: New file.
12599 * posix/Makefile (tests): Add tst-getopt_long1.
12602 * scripts/config.guess: Update from autoconf-2.68.
12603 * scripts/config.sub: Likewise.
12606 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12608 (has_cpuclock): ...this. New function.
12609 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12610 macro here based on has_cpuclock code.
12613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12614 First byte (not low byte) is now always NUL.
12615 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12617 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12618 Use non-cancelable interfaces.
12621 * locale/iso-639.def: Add entry for Sorani.
12624 * include/stdlib.h: Move include protection to the right place.
12625 Define abort_msg_s. Declare __abort_msg with it.
12626 * stdlib/abort.c (__abort_msg): Adjust type.
12627 * assert/assert.c (__assert_fail_base): New function. Majority
12628 of code from __assert_fail. Allocate memory for __abort_msg with
12630 (__assert_fail): Now call __assert_fail_base.
12631 * assert/assert-perr.c: Remove bulk of implementation. Use
12632 __assert_fail_base.
12633 * include/assert.hL Declare __assert_fail_base.
12634 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12636 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12638 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12642 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12643 until all modules are registered in the DTV.
12644 * elf/Makefile: Add rules to build and run tst-tls19.
12645 * elf/tst-tls19.c: New file.
12646 * elf/tst-tls19mod1.c: New file.
12647 * elf/tst-tls19mod2.c: New file.
12648 * elf/tst-tls19mod3.c: New file.
12649 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12652 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12656 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12657 two-byte sequence errors.
12658 * iconvdata/Makefile (tests): Add bug-iconv8.
12659 * iconvdata/bug-iconv8.c: New file.
12662 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12665 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12668 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12669 (dummy_getcfa): New function.
12670 (init): Get _Unwind_GetCFA address, use dummy if not found.
12671 (backtrace_helper): In recursion check, also check whether CFA changes.
12672 (__backtrace): Completely initialize arg.
12674 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12675 storing incomplete byte sequence in state object. Avoid testing for
12676 guaranteed too small input if we know there is enough data available.
12678 2011-05-11 Andreas Schwab <schwab@redhat.com>
12680 * Makeconfig (+link-pie): Indent.
12681 * Rules (binaries-pie): Define if $(have-fpie) and
12683 (binaries-shared): Also filter out $(binaries-pie).
12684 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12685 * nscd/Makefile (others-pie): Add nscd.
12686 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12687 ($(objpfx)nscd): Remove command override.
12688 * login/Makefile (others-pie): Add pt_chown.
12689 ($(objpfx)pt_chown): Remove command override.
12690 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12691 remove command overrides.
12693 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12695 * libio/tst_putwc.c: Fix error messages.
12698 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12699 currently writing and seek to current position when not.
12700 * libio/Makefile (tests): Add bug-fclose1.
12701 * libio/bug-fclose1.c: New file.
12703 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12706 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12707 don't set DF_1_NODELETE here.
12708 (do_lookup_x): When entering new entry test for copy relocation
12709 and if necessary set DF_1_NODELETE flag.
12710 * elf/tst-unique4.cc: New file.
12711 * elf/tst-unique4.h: New file.
12712 * elf/tst-unique4lib.cc: New file.
12713 * elf/Makefile: Add rules to build and run tst-unique4.
12714 Patch by Piotr Bury <pbury@goahead.com>.
12716 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12719 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12722 * misc/mntent_r.c (addmntent): Flush the stream after the output
12725 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12726 (is_trusted_path_normalize): Skip initial colon. Append slash
12727 to empty buffer. Duplicate is_trusted_path code but allow
12728 constructed patch to be prefix.
12729 (is_dst): Allow $ORIGIN followed by /.
12730 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12731 Correct testing of result of is_trusted_path_normalize
12732 (decompose_rpath): Fix warning.
12734 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12737 * grp/initgroups.c (internal_getgrouplist): When we found the service
12738 list through the initgroups entry in nsswitch.conf do not always
12739 continue on a successful lookup. Don't always use the
12740 __nss_group_database value if it is set.
12741 * nss/nsswitch.conf (initgroups): Change action for successful db
12742 lookup to continue for compatibility.
12744 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12747 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12749 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12751 * iconvdata/tst-tables.sh: Likewise.
12752 * iconvdata/cp770.c: New file.
12753 * iconvdata/cp771.c: New file.
12754 * iconvdata/cp772.c: New file.
12755 * iconvdata/cp773.c: New file.
12756 * iconvdata/cp774.c: New file.
12757 * iconvdata/testdata/CP770: New file.
12758 * iconvdata/testdata/CP770..UTF8: New file.
12759 * iconvdata/testdata/CP771: New file.
12760 * iconvdata/testdata/CP771..UTF8: New file.
12761 * iconvdata/testdata/CP772: New file.
12762 * iconvdata/testdata/CP772..UTF8: New file.
12763 * iconvdata/testdata/CP773: New file.
12764 * iconvdata/testdata/CP773..UTF8: New file.
12765 * iconvdata/testdata/CP774: New file.
12766 * iconvdata/testdata/CP774..UTF8: New file.
12768 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12770 * iconvdata/gen-8bit-gap.sh: Likewise.
12771 * iconvdata/gen-8bit.sh: Likewise.
12773 * locale/iso-639.def: Add ary entry.
12776 * locale/C-translit.h.in: Add U20A1 transliteration.
12779 * locale/iso-639.def: Add wae entry.
12780 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12783 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12787 * locale/C-translit.h.in: Add entry for U20B9.
12788 Patch by pravin.d.s@gmail.com.
12790 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12793 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12794 ENAMETOOLONG use generic getcwd.
12795 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12796 in rtld. Use *stat64.
12797 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12798 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12799 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12800 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12801 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12802 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12803 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12804 __fstatat64 macros.
12805 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12806 * dirent/rewinddir.c: Add libc_hidden_def.
12807 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12808 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12810 * include/dirent.h (__alloc_dir): Add flags parameter.
12811 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12812 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12814 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12815 from fdopendir if O_CLOEXEC is already set.
12817 2011-03-15 Alan Modra <amodra@gmail.com>
12819 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12820 l_tls_firstbyte_offset non-zero. Save padding offset in
12821 l_tls_firstbyte_offset for later use.
12822 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12823 freeing static tls block.
12825 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12827 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12828 where #ifdef was intended. The intent is to prevent ARG_MAX from
12829 being defined by the kernel headers.
12831 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12834 * resolv/resolv.h: Define RES_NOTLDQUERY.
12835 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12836 no-tld-query and set RES_NOTLDQUERY.
12837 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12838 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12839 modern BIND to search name as TLD unless forbidden.
12841 2011-05-07 Petr Baudis <pasky@suse.cz>
12842 Ulrich Drepper <drepper@gmail.com>
12845 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12846 (is_trusted_path): ...to here.
12847 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12848 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12849 using is_trusted_path_normalize() in setuid scripts.
12851 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12853 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12854 __BEGIN/__END_DECLS.
12856 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12858 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12859 NSS_STATUS_NOTFOUND if no record was found.
12861 2011-05-05 Andreas Schwab <schwab@redhat.com>
12863 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12864 (headers-not-in-tirpc): Remove rpc/netdb.h
12865 * resolv/netdb.h: Revert last change.
12867 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12869 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12870 circular dependency between libgcc.a and libc.a.
12872 2011-05-05 Andreas Schwab <schwab@redhat.com>
12874 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12875 * nis/Makefile: Don't install rpcsvc/*.
12876 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12877 instead of <rpc/types.h>.
12878 (MAXHOSTNAMELEN): Define.
12880 2011-05-03 Andreas Schwab <schwab@redhat.com>
12882 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12884 2011-04-28 Maciej Babinski <mbabinski@google.com>
12887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12888 gethostbyname4_r when IPv6 results are possible.
12890 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12893 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12894 _PC_PIPE_BUF handling.
12896 2011-04-30 Bruno Haible <bruno@clisp.org>
12899 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12900 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12902 * inet/getnameinfo.c (getnameinfo): Likewise.
12904 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12906 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12907 to groups setting in database lookup.
12908 * nss/nsswitch.conf: Add initgroups entry.
12910 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12913 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12915 Patch by Eric Blake <eblake@redhat.com>.
12917 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12919 * sunrpc/Makefile (need-export-routines): Add svc_run.
12920 (routines): Remove svc_run.
12921 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12922 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12923 * sunrpc/svc_run.c (svc_run): Likewise.
12924 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12926 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12928 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12929 problem in reallocation in last patch.
12931 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12933 * sunrpc/Makefile: Move inclusion of Rules.
12935 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12937 * nss/nss_files/files-initgroups.c: New file.
12938 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12939 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12940 _nss_files_initgroups_dyn.
12942 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12944 * elf/elf.h (R_ARM_IRELATIVE): Define.
12946 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12948 * po/ru.po: Update from translation team.
12950 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12952 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12955 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12958 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12959 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12960 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12961 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12962 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12964 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12966 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12968 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12972 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12975 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12977 * stdlib/bug-getcontext.c: New file.
12978 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12980 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12982 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12983 instructions into .machine "z9-109".
12984 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12985 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12987 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12989 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12990 between environment variables and auxiliary vector.
12992 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12994 * Makefile: Add rules to build linkobj/libc.so.
12995 * include/libc-symbols.h: Define libc_hidden_nolink.
12996 * include/rpc/auth.h: Mark functions which are to be hidden.
12997 * include/rpc/auth_des.h: Likewise.
12998 * include/rpc/auth_unix.h: Likewise.
12999 * include/rpc/clnt.h: Likewise.
13000 * include/rpc/des_crypt.h: Likewise.
13001 * include/rpc/key_prot.h: Likewise.
13002 * include/rpc/pmap_clnt.h: Likewise.
13003 * include/rpc/pmap_prot.h: Likewise.
13004 * include/rpc/pmap_rmt.h: Likewise.
13005 * include/rpc/rpc_msg.h: Likewise.
13006 * include/rpc/svc.h: Likewise.
13007 * include/rpc/svc_auth.h: Likewise.
13008 * include/rpc/xdr.h: Likewise.
13009 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13010 * nss/Makefile: Likewise.
13011 * sunrpc/Makefile: Don't install headers. Build library with normal
13012 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13013 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13014 for the compat linking library. Remove use of INTDEF/INTUSE.
13015 * sunrpc/auth_none.c: Likewise.
13016 * sunrpc/auth_unix.c: Likewise.
13017 * sunrpc/authdes_prot.c: Likewise.
13018 * sunrpc/authuxprot.c: Likewise.
13019 * sunrpc/clnt_gen.c: Likewise.
13020 * sunrpc/clnt_perr.c: Likewise.
13021 * sunrpc/clnt_raw.c: Likewise.
13022 * sunrpc/clnt_simp.c: Likewise.
13023 * sunrpc/clnt_tcp.c: Likewise.
13024 * sunrpc/clnt_udp.c: Likewise.
13025 * sunrpc/clnt_unix.c: Likewise.
13026 * sunrpc/des_crypt.c: Likewise.
13027 * sunrpc/des_soft.c: Likewise.
13028 * sunrpc/get_myaddr.c: Likewise.
13029 * sunrpc/key_call.c: Likewise.
13030 * sunrpc/key_prot.c: Likewise.
13031 * sunrpc/netname.c: Likewise.
13032 * sunrpc/pm_getmaps.c: Likewise.
13033 * sunrpc/pm_getport.c: Likewise.
13034 * sunrpc/pmap_clnt.c: Likewise.
13035 * sunrpc/pmap_prot.c: Likewise.
13036 * sunrpc/pmap_prot2.c: Likewise.
13037 * sunrpc/pmap_rmt.c: Likewise.
13038 * sunrpc/publickey.c: Likewise.
13039 * sunrpc/rpc_cmsg.c: Likewise.
13040 * sunrpc/rpc_common.c: Likewise.
13041 * sunrpc/rpc_dtable.c: Likewise.
13042 * sunrpc/rpc_prot.c: Likewise.
13043 * sunrpc/rpc_thread.c: Likewise.
13044 * sunrpc/rtime.c: Likewise.
13045 * sunrpc/svc.c: Likewise.
13046 * sunrpc/svc_auth.c: Likewise.
13047 * sunrpc/svc_authux.c: Likewise.
13048 * sunrpc/svc_raw.c: Likewise.
13049 * sunrpc/svc_run.c: Likewise.
13050 * sunrpc/svc_simple.c: Likewise.
13051 * sunrpc/svc_tcp.c: Likewise.
13052 * sunrpc/svc_udp.c: Likewise.
13053 * sunrpc/svc_unix.c: Likewise.
13054 * sunrpc/svcauth_des.c: Likewise.
13055 * sunrpc/xcrypt.c: Likewise.
13056 * sunrpc/xdr.c: Likewise.
13057 * sunrpc/xdr_array.c: Likewise.
13058 * sunrpc/xdr_float.c: Likewise.
13059 * sunrpc/xdr_intXX_t.c: Likewise.
13060 * sunrpc/xdr_mem.c: Likewise.
13061 * sunrpc/xdr_rec.c: Likewise.
13062 * sunrpc/xdr_ref.c: Likewise.
13063 * sunrpc/xdr_sizeof.c: Likewise.
13064 * sunrpc/xdr_stdio.c: Likewise.
13066 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13069 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13070 * sysdeps/ia64/dl-tls.h: Likewise.
13071 * sysdeps/powerpc/dl-tls.h: Likewise.
13072 * sysdeps/s390/dl-tls.h: Likewise.
13073 * sysdeps/sh/dl-tls.h: Likewise.
13074 * sysdeps/sparc/dl-tls.h: Likewise.
13075 * sysdeps/x86_64/dl-tls.h: Likewise.
13076 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13078 2011-03-14 Andreas Schwab <schwab@redhat.com>
13080 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13081 rpath element also skip the following colon.
13082 (expand_dynamic_string_token): Add is_path parameter and pass
13083 down to DL_DST_REQUIRED and _dl_dst_substitute.
13084 (decompose_rpath): Call expand_dynamic_string_token with
13085 non-zero is_path. Ignore empty rpaths.
13086 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13089 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13094 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13097 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13098 Patch by Filipe David Manana <fdmanana@apache.org>.
13100 2011-04-07 Andreas Schwab <schwab@redhat.com>
13102 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13103 Maintain aligned stack.
13104 (CHECK_RSP): Remove unused macro.
13106 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13108 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13109 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13111 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13113 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13115 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13117 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13120 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13121 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13122 * sysdeps/x86_64/memmove.c: New file.
13123 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13124 (memcpy): Renamed to ...
13125 (__new_memcpy): This.
13126 (memcpy): Provide GLIBC_2_14 memcpy.
13127 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13128 (memcpy): Provide GLIBC_2_2_5 memcpy.
13130 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13133 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13135 2011-03-30 Andreas Schwab <schwab@redhat.com>
13137 * misc/syncfs.c: New file.
13138 * misc/Makefile (routines): Add syncfs.
13139 * posix/unistd.h: Declare syncfs.
13140 * sysdeps/unix/syscalls.list: Add syncfs.
13142 2011-04-01 Andreas Schwab <schwab@redhat.com>
13144 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13146 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13147 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13149 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13151 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13152 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13154 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13156 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13157 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13158 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13159 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13160 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13162 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13164 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13165 sync_file_range.c with -fexceptions.
13166 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13167 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13168 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13169 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13170 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13171 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13173 sync_file_range as cancellation point
13174 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13175 now a wrapper around __call_sync_file_range with cancellation handling.
13176 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13177 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13178 function name to __call_sync_file_range.
13179 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13180 Add call_sync_file_range.
13182 2011-04-01 Andreas Schwab <schwab@redhat.com>
13184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13187 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13189 * iconv/iconv.h: Fix typo in comment.
13190 * io/fcntl.h: Likewise.
13191 * libio/stdio.h: Likewise.
13192 * posix/spawn.h: Likewise.
13193 * posix/unistd.h: Likewise.
13194 * stdlib/stdlib.h: Likewise.
13195 * time/time.h: Likewise.
13196 * wcsmbs/wchar.h: Likewise.
13198 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13199 open_by_handle): Add.
13200 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13201 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13202 Augment a few comments.
13203 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13208 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13211 * io/fcntl.h (AT_EMPTY_PATH): Define.
13213 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13215 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13216 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13217 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13219 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13220 * Versions.def: Add GLIBC_2.14.
13221 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13224 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13226 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13228 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13230 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13233 * string/test-strncmp.c (do_page_test): New function.
13234 (check2): Likewise.
13235 (test_main): Call check2.
13236 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13238 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13241 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13242 Handle cache information in CPU leaf 4.
13243 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13245 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13248 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13249 character representation.
13250 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13252 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13254 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13255 END(__isnan) to END(__isnanf) to match function entry point/label
13256 EALIGN(__isnanf,...).
13258 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13260 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13262 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13265 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13266 copy from the symbol referenced in the relocation to initialize the
13268 Patch by Piotr Bury <pbury@goahead.com>.
13269 * elf/Makefile: Add rules to build and tst-unique3.
13270 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13271 * elf/tst-unique3.cc: New file.
13272 * elf/tst-unique3.h: New file.
13273 * elf/tst-unique3lib.cc: New file.
13274 * elf/tst-unique3lib2.cc: New file.
13276 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13278 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13280 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13281 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13284 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13286 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13287 to-be-loaded object along a path to loader is ld.so.
13289 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13290 Ulrich Drepper <drepper@gmail.com>
13292 * sysdeps/x86_64/memset.S: After aligning destination, code
13293 branches to different locations depending on the value of
13294 misalignment, when multiarch is enabled. Fix this.
13296 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13298 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13299 Set _x86_64_preferred_memory_instruction for AMD processsors.
13300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13301 Set bit_Prefer_SSE_for_memop for AMD processors.
13303 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13305 * libio/fmemopen.c (fmemopen): Optimize a bit.
13307 2011-03-03 Andreas Schwab <schwab@redhat.com>
13309 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13311 2011-03-03 Roland McGrath <roland@redhat.com>
13313 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13315 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13317 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13318 __bzero_ultra1 instead of __memset_ultra1.
13320 2011-02-23 Andreas Schwab <schwab@redhat.com>
13321 Ulrich Drepper <drepper@gmail.com>
13324 * include/link.h (struct link_map): Add l_orig_initfini.
13325 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13326 returning unsuccessfully.
13327 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13328 close of a file loaded at startup, restore the original l_initfini
13330 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13331 list, store the pointer.
13332 * elf/Makefile ($(objpfx)noload-mem): New rule.
13333 (noload-ENV): Define.
13334 (tests): Add $(objpfx)noload-mem.
13335 * elf/noload.c: Include <memcheck.h>.
13336 (main): Call mtrace. Close all opened handles.
13338 2011-02-17 Andreas Schwab <schwab@redhat.com>
13341 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13342 dependencies are missing.
13344 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13346 Fix __if_freereq crash: Unlike the generic version which uses free,
13348 * sysdeps/mach/hurd/ifreq.h: New file.
13350 2011-01-27 Petr Baudis <pasky@suse.cz>
13351 Ulrich Drepper <drepper@gmail.com>
13354 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13355 to extend_alloca().
13356 * stdio-common/bug23.c: New file.
13357 * stdio-common/Makefile (tests): Add bug23.
13359 2010-09-28 Andreas Schwab <schwab@redhat.com>
13360 Ulrich Drepper <drepper@gmail.com>
13363 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13364 before performing relro protection. At old place add assertion
13365 to make sure nothing changed.
13367 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13368 Glauber de Oliveira Costa <glommer@gmail.com>
13370 * elf/elf.h: Add new ARM TLS relocs.
13372 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13375 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13377 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13379 * sysdeps/wordsize-64/tst-writev.c: New file.
13381 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13383 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13384 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13385 insns in _dl_start to prevent a TOC reference before relocs are
13388 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13391 * Makeconfig: Remove RANLIB definition.
13392 * Makerules: Don't use RANLIB.
13393 * aclocal.m4: Remove ranlib test.
13394 * configure.in: No need to check for ranlib.
13395 * elf/rtld-Rules: Don't use RANLIB.
13397 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13399 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13401 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13402 inclusion protection macro.
13404 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13405 SIGRTMIN and SIGRTMAX and print information in that case only when
13406 SIGRTMIN is defined.
13408 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13410 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13411 arginfo fn returning -1.
13413 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13414 and thousands string is zero terminated.
13416 2011-02-03 Andreas Schwab <schwab@redhat.com>
13418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13419 sysdeps/unix/sysv/linux/bits/socket.h.
13421 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13423 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13424 (__CPU_COUNT): Remove old macros.
13425 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13426 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13427 (__CPU_ALLOC, __CPU_FREE): Add macros.
13428 (__sched_cpualloc, __sched_cpufree): Add declarations.
13430 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13432 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13433 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13434 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13435 (readdhstai): Return value of addhstaiX call.
13436 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13437 (addgrbyX): Return value returned by cache_addgr.
13438 (readdgrbyname): Return value returned by addgrbyX.
13439 (readdgrbygid): Likewise.
13440 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13441 (addpwbyX): Return value returned by cache_addpw.
13442 (readdpwbyname): Return value returned by addhstbyX.
13443 (readdpwbyuid): Likewise.
13444 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13445 (addservbyX): Return value returned by cache_addserv.
13446 (readdservbyname): Return value returned by addservbyX:
13447 (readdservbyport): Likewise.
13448 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13449 (addhstbyX): Return value returned by cache_addhst.
13450 (readdhstbyname): Return value returned by addhstbyX.
13451 (readdhstbyaddr): Likewise.
13452 (readdhstbynamev6): Likewise.
13453 (readdhstbyaddrv6): Likewise.
13454 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13455 (readdinitgroups): Return value returned by addinitgroupsX.
13456 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13457 (prune_cache): Keep track of timeout value of re-added entries.
13458 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13459 * nscd/nscd.h: Adjust prototypes of readd* functions.
13461 2011-02-04 Roland McGrath <roland@redhat.com>
13463 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13464 (nis_stats): Likewise.
13465 * nis/nis_modify.c (nis_modify): Likewise.
13466 * nis/nis_remove.c (nis_remove): Likewise.
13467 * nis/nis_add.c (nis_add): Likewise.
13469 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13471 * posix/fnmatch_loop.c: Add some consts.
13473 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13475 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13478 * config.make.in (config-cflags-novzeroupper): Define.
13479 * configure.in: Substitute libc_cv_cc_novzeroupper.
13480 * elf/Makefile (AVX-CFLAGS): Define.
13481 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13482 (CFLAGS-tst-auditmod4a.c): Likewise.
13483 (CFLAGS-tst-auditmod4b.c): Likewise.
13484 (CFLAGS-tst-auditmod6b.c): Likewise.
13485 (CFLAGS-tst-auditmod6c.c): Likewise.
13486 (CFLAGS-tst-auditmod7b.c): Likewise.
13487 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13489 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13491 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13492 function to the callback.
13493 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13495 2011-02-02 Andreas Schwab <schwab@redhat.com>
13497 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13500 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13503 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13505 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13507 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13510 * elf/Makefile: Add rules to build and run new test.
13511 * elf/tst-initorder.c: New file.
13512 * elf/tst-initorder.exp: New file.
13513 * elf/tst-initordera1.c: New file.
13514 * elf/tst-initordera2.c: New file.
13515 * elf/tst-initordera3.c: New file.
13516 * elf/tst-initordera4.c: New file.
13517 * elf/tst-initorderb1.c: New file.
13518 * elf/tst-initorderb2.c: New file.
13519 * elf/tst-order-a1.c: New file.
13520 * elf/tst-order-a2.c: New file.
13521 * elf/tst-order-a3.c: New file.
13522 * elf/tst-order-a4.c: New file.
13523 * elf/tst-order-b1.c: New file.
13524 * elf/tst-order-b2.c: New file.
13525 * elf/tst-order-main.c: New file.
13526 New test case by George Gensure <werkt0@gmail.com>.
13528 2010-10-01 Andreas Schwab <schwab@redhat.com>
13530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13531 decoding ACE if AI_CANONIDN.
13533 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13535 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13537 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13539 * version.h (RELEASE): Bump for 2.13 release.
13540 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13542 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13544 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13546 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13547 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13548 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13549 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13551 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13553 * posix/getconf.c: Update copyright year.
13554 * catgets/gencat.c: Likewise.
13555 * csu/version.c: Likewise.
13556 * debug/catchsegv.sh: Likewise.
13557 * debug/xtrace.sh: Likewise.
13558 * elf/ldconfig.c: Likewise.
13559 * elf/ldd.bash.in: Likewise.
13560 * elf/sprof.c (print_version): Likewise.
13561 * iconv/iconv_prog.c: Likewise.
13562 * iconv/iconvconfig.c: Likewise.
13563 * locale/programs/locale.c: Likewise.
13564 * locale/programs/localedef.c: Likewise.
13565 * malloc/memusage.sh: Likewise.
13566 * malloc/mtrace.pl: Likewise.
13567 * nscd/nscd.c (print_version): Likewise.
13568 * nss/getent.c: Likewise.
13570 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13571 PF_CAIF, and PF_ALG.
13572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13574 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13576 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13577 (modules-names): Use them.
13578 (ifunc-test-modules, ifunc-pie-tests): Define.
13579 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13580 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13581 (test-extras): Likewise.
13582 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13583 $(compile-command.c).
13584 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13585 (all-built-dso): Define.
13586 (check-textrel.out, check-execstack.out): Depend on it.
13588 * configure.in: Don't override --enable-multi-arch.
13590 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13593 * nscd/hstcache.c (tryagain): Define.
13594 (cache_addhst): Return tryagain not notfound for temporary errors.
13595 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13598 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13601 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13602 to make the syscall.
13603 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13606 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13607 and fall back to matching as normal character if the string ends before
13608 the matching ']' is found. This is what POSIX requires.
13609 * posix/testfnm.c: Adjust test result.
13610 * posix/globtest.sh: Adjust test result. Add new test.
13611 * posix/tst-fnmatch.input: Likewise.
13612 * posix/tst-fnmatch2.c: Add new test.
13614 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13616 * elf/Makefile (check-execstack): Revert last change. Depend on
13618 (check-execstack.h): New target.
13619 (generated): Add check-execstack.h.
13620 * elf/check-execstack.c: Include "check-execstack.h".
13621 (main): Revert last change.
13622 (handle_file): Return zero if GNU_STACK is absent and
13623 DEFAULT_STACK_PERMS doesn't include PF_X.
13625 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13627 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13628 in child fails because the descriptor is already closed.
13629 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13630 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13631 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13634 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13638 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13639 temporary buffer used to handle multi lookups locally.
13640 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13642 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13644 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13647 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13649 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13650 alignment for SSE2.
13652 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13655 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13656 characters. When rounding increased number of integer digits recompute
13658 * stdio-common/tst-grouping.c: New file.
13659 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13661 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13663 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13664 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13666 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13668 * bits/select.h: Likewise.
13670 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13672 * po/ja.po: Update from translation team.
13674 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13677 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13678 implementation just like for lxstat, fxstatat, et al.
13680 2010-12-27 Jim Meyering <meyering@redhat.com>
13683 * posix/regexec.c (build_trtable): Return failure indication upon
13684 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13686 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13689 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13690 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13691 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13692 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13695 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13698 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13699 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13701 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13703 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13704 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13705 script has SORT_BY_INIT_PRIORITY.
13706 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13707 NO_CTORS_DTORS_SECTIONS is defined.
13708 * elf/soinit.c: Likewise.
13709 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13710 NO_CTORS_DTORS_SECTIONS is defined.
13711 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13712 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13713 * sysdeps/sh/init-first.c: Likewise.
13714 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13716 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13718 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13719 always use the slow path.
13721 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13723 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13724 similar rule which adds the sysdep directories to the header search in
13725 order to pick up the correct platform stackinfo.h.
13726 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13727 perform test if it is, otherwise return successfully without testing.
13728 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13729 DEFAULT_STACK_PERMS define in stackinfo.h.
13730 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13731 defined in stackinfo.h.
13732 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13733 DEFAULT_STACK_PERMS defined in stackinfo.h.
13734 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13735 * sysdeps/ia64/stackinfo.h: Likewise.
13736 * sysdeps/s390/stackinfo.h: Likewise.
13737 * sysdeps/sh/stackinfo.h: Likewise.
13738 * sysdeps/sparc/stackinfo.h: Likewise.
13739 * sysdeps/x86_64/stackinfo.h: Likewise.
13740 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13741 PF_X for powerpc64. Retain PF_X for powerpc32.
13743 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13745 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13747 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13748 GETDENTS_64BIT_ALIGNED.
13750 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13752 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13754 2010-12-10 Andreas Schwab <schwab@redhat.com>
13756 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13759 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13760 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13762 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13763 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13765 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13768 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13771 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13773 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13775 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13777 * po/it.po: Update from translation team.
13779 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13784 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13786 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13788 2010-11-24 Andreas Schwab <schwab@redhat.com>
13790 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13792 (gaih_getanswer_slice): Likewise.
13794 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13798 2010-05-31 Petr Baudis <pasky@suse.cz>
13801 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13802 silently even in the chroot mode.
13804 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13806 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13807 last patch a bit. Pretty printing
13809 2010-05-31 Petr Baudis <pasky@suse.cz>
13812 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13813 initialization of skip_initgroups_dyn.
13815 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13817 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13818 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13820 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13822 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13824 2010-11-11 Andreas Schwab <schwab@redhat.com>
13826 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13827 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13828 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13829 ($(objpfx)tst-fnmatch-mem): New rule.
13830 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13831 * posix/tst-fnmatch.c (main): Call mtrace.
13833 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13836 Support Intel processor model 6 and model 0x2c.
13838 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13840 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13843 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13846 * string/test-strncasecmp.c (check_result): New function.
13847 (do_one_test): Use it.
13848 (check1): New function.
13849 (test_main): Use it.
13850 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13851 Support strcasecmp and strncasecmp.
13853 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13856 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13859 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13861 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13865 * sysdeps/x86_64/multiarch/bzero.S: New file.
13866 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13867 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13868 * sysdeps/x86_64/multiarch/memset.S: New file.
13869 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13871 Set bit_Prefer_SSE_for_memop for Intel processors.
13872 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13874 (index_Prefer_SSE_for_memop): Define.
13875 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13877 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13879 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13880 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13882 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13885 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13886 (__x86_64_raw_data_cache_size_half): Likewise.
13887 (__x86_64_raw_shared_cache_size): Likewise.
13888 (__x86_64_raw_shared_cache_size_half): Likewise.
13890 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13891 (__x86_64_raw_data_cache_size_half): Likewise.
13892 (__x86_64_raw_shared_cache_size): Likewise.
13893 (__x86_64_raw_shared_cache_size_half): Likewise.
13894 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13895 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13896 and __x86_64_raw_shared_cache_size_half. Round
13897 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13898 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13899 to multiple of 256 bytes.
13901 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13904 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13905 of inacessible symlinks. Verify result of symlink before returning it.
13906 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13907 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13909 2010-10-28 Erich Ritz <erichritz@gmail.com>
13911 * math/math.h (isinf): Fix typo in comment.
13913 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13915 * po/da.po: Update from translation team.
13917 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13919 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13920 is added to the list.
13922 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13923 Ulrich Drepper <drepper@gmail.com>
13925 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13926 the global list here. Move code to...
13927 (_dl_add_to_namespace_list): ...here. New function.
13928 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13929 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13930 * elf/dl-load.c (lose): Don't remove the element from the list.
13931 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13932 (_dl_map_object): Likewise.
13934 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13937 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13938 into all bytes of SSE register.
13939 Patch by Richard Li <richardpku@gmail.com>.
13941 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13944 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13947 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13949 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13950 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13951 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13952 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13957 2010-10-22 Andreas Schwab <schwab@redhat.com>
13959 * include/dlfcn.h (__RTLD_SECURE): Define.
13960 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13961 mode & __RTLD_SECURE instead.
13962 (open_path): Rename preloaded parameter to secure.
13963 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13964 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13965 * elf/dl-deps.c (openaux): Likewise.
13966 * elf/rtld.c (struct map_args): Remove is_preloaded.
13967 (map_doit): Don't use it.
13968 (dl_main): Likewise.
13969 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13970 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13972 2010-09-09 Andreas Schwab <schwab@redhat.com>
13974 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13975 (sysd-rules-targets): Remove duplicates.
13976 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13977 rtld-%.$o dependency.
13979 2010-10-18 Andreas Schwab <schwab@redhat.com>
13981 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13982 _dl_map_object do it.
13984 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13986 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13987 fast fma builtins, define the macros in the C99 standard.
13988 (FP_FAST_FMAF): Likewise.
13989 (FP_FAST_FMAL): Likewise.
13990 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13992 * bits/mathdef.h: Update copyright year.
13993 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13995 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13997 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13998 builtins, define the macros in the C99 standard.
13999 (FP_FAST_FMAF): Likewise.
14000 (FP_FAST_FMAL): Likewise.
14001 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14003 (FP_FAST_FMAF): Likewise.
14005 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14008 * math/libm-test.inc (fma_test): Some new testcases.
14009 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14010 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14011 y and infinite z. Do multiplication by C already in long double.
14012 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14014 y and infinite z. Do bitwise or of inexact bit into u.d.
14015 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14016 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14017 * sysdeps/i386/fpu/s_fma.S: Removed.
14018 * sysdeps/i386/fpu/s_fmal.S: Removed.
14020 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14023 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14025 computation is not scheduled after fetestexcept. Fix value
14026 of minimum denormal long double.
14028 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14031 * math/libm-test.inc (fma_test): Add some more tests.
14032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14035 2010-10-15 Andreas Schwab <schwab@redhat.com>
14037 * scripts/data/localplt-s390-linux-gnu.data: New file.
14038 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14040 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14043 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14044 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14046 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14048 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14050 if one of x and y is very large and the other is subnormal.
14051 * sysdeps/s390/fpu/s_fmaf.c: New file.
14052 * sysdeps/s390/fpu/s_fma.c: New file.
14053 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14054 * sysdeps/powerpc/fpu/s_fma.S: New file.
14055 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14056 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14057 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14059 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14062 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14064 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14065 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14066 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14067 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14068 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14069 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14070 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14072 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14075 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14076 * posix/bug-regex31.input: Add test case.
14078 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14080 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14081 * posix/bug-regex31.input: New file.
14084 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14085 (parse_sub_exp): Fix last change, use postorder.
14087 * posix/bug-regex31.c: New file.
14088 * posix/Makefile: Add rules to build and run bug-regex31.
14090 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14093 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14096 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14097 to have entries in sys_siglist.
14100 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14103 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14106 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14107 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14108 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14109 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14110 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14111 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14112 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14113 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14114 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14115 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14116 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14117 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14118 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14119 * math/ftestexcept.c (fetestexcept): Likewise.
14120 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14121 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14122 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14123 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14124 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14125 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14126 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14128 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14131 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14134 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14136 * string/bug-strstr1.c: New file.
14137 * string/Makefile: Add rules to build and run bug-strstr1.
14139 2010-10-05 Eric Blake <eblake@redhat.com>
14142 * string/str-two-way.h (two_way_long_needle): Always clear memory
14143 when skipping input due to the shift table.
14145 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14148 * malloc/mcheck.c: Handle large requests.
14151 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14152 for strncmp and strncasecmp.
14153 * string/stratcliff.c: Add tests for strcmp and strncmp.
14154 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14156 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14158 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14161 2010-09-30 Andreas Jaeger <aj@suse.de>
14163 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14164 (CGROUP_SUPER_MAGIC): Define.
14165 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14166 Handle btrfs and cgroup file systems.
14167 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14170 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14172 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14173 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14175 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14178 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14179 trying to locate the ELF header.
14181 2010-09-27 Andreas Schwab <schwab@redhat.com>
14184 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14185 Mask out sign-bit copies when constructing f_fsid.
14187 2010-09-24 Petr Baudis <pasky@suse.cz>
14189 * debug/stack_chk_fail_local.c: Add missing licence exception.
14190 * debug/warning-nop.c: Likewise.
14192 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14194 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14195 implementing getdents64 using getdents syscall, set d_type if
14196 __ASSUME_GETDENTS32_D_TYPE.
14198 2010-09-16 Andreas Schwab <schwab@redhat.com>
14200 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14201 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14203 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14206 * posix/unistd.h: Undo change of feature selection for ftruncate from
14209 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14211 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14214 2010-09-20 Andreas Schwab <schwab@redhat.com>
14216 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14218 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14220 2010-09-14 Andreas Schwab <schwab@redhat.com>
14222 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14223 variables after CHECK_SP call.
14224 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14226 2010-09-13 Andreas Schwab <schwab@redhat.com>
14227 Ulrich Drepper <drepper@redhat.com>
14229 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14230 re-relocationg ld.so.
14231 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14232 _dl_init_paths call.
14233 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14236 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14238 * resolv/res_init.c (__res_vinit): Count the default server we added.
14240 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14241 Ulrich Drepper <drepper@redhat.com>
14244 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14245 (____longjmp_chk): Use %ebx for saving value across system call.
14248 2010-09-06 Andreas Schwab <schwab@redhat.com>
14250 * manual/Makefile: Don't mix pattern rules with normal rules.
14252 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14254 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14256 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14257 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14258 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14259 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14260 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14263 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14266 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14267 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14269 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14271 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14272 * sysdeps/x86_64/addmul_1.S: Likewise.
14273 * sysdeps/x86_64/lshift.S: Likewise.
14274 * sysdeps/x86_64/mul_1.S: Likewise.
14275 * sysdeps/x86_64/rshift.S: Likewise.
14276 * sysdeps/x86_64/sub_n.S: Likewise.
14277 * sysdeps/x86_64/submul_1.S: Likewise.
14279 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14281 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14282 Define __sched_param instead of SCHED_* and sched_param when
14283 <bits/sched.h> is included with __need_schedparam defined.
14284 * bits/sched.h [__need_schedparam]
14285 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14286 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14287 (__defined_schedparam): Define to 1.
14288 (__sched_param): New structure, identical to sched_param.
14289 (__need_schedparam): Undefine.
14291 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14293 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14294 (epoll_create1): Declare.
14296 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14298 2010-08-31 Andreas Schwab <schwab@redhat.com>
14301 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14302 shifting retval into place.
14304 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14306 * nis/rpcsvc/nis.h: Update copyright notice.
14307 * nis/rpcsvc/nis.x: Likewise.
14308 * nis/rpcsvc/nis_callback.h: Likewise.
14309 * nis/rpcsvc/nis_callback.x: Likewise.
14310 * nis/rpcsvc/nis_object.x: Likewise.
14311 * nis/rpcsvc/nis_tags.h: Likewise.
14312 * nis/rpcsvc/yp.h: Likewise.
14313 * nis/rpcsvc/yp.x: Likewise.
14314 * nis/rpcsvc/ypupd.h: Likewise.
14315 * nis/yp_xdr.c: Likewise.
14316 * nis/ypupdate_xdr.c: Likewise.
14318 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14319 mainly the body of pmap_getport. Add parameters to specify timeouts.
14320 (pmap_getport): Use __libc_rpc_getport.
14321 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14322 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14323 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14325 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14330 2010-08-27 Roland McGrath <roland@redhat.com>
14332 * sysdeps/i386/i686/multiarch/Makefile
14333 (CFLAGS-varshift.c): New variable.
14335 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14337 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14338 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14340 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14342 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14344 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14346 * sysdeps/x86_64/strlen.S: Unroll the loop.
14347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14348 strlen-sse2 strlen-sse2-bsf.
14349 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14350 __strlen_no_bsf if bit_Slow_BSF is set.
14351 (__strlen_sse42): Removed.
14352 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14353 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14355 2010-08-25 Roland McGrath <roland@redhat.com>
14357 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14358 * sysdeps/x86_64/multiarch/varshift.c: New file.
14359 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14360 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14361 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14362 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14364 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14366 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14367 strlen-sse2 strlen-sse2-bsf.
14368 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14369 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14370 (__strlen_sse2): Removed.
14371 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14372 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14374 bit_Slow_BSF for Atom.
14375 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14376 (index_Slow_BSF): Define.
14377 (HAS_SLOW_BSF): Define.
14379 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14382 * resolv/res_init.c (__res_vinit): When no server address at all
14383 is given default to loopback.
14385 2010-08-24 Roland McGrath <roland@redhat.com>
14387 * configure.in: Remove config-name.h generation.
14388 * configure: Regenerated.
14389 * config-name.in: File removed.
14390 * scripts/config-uname.sh: New file.
14391 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14392 ($(objdir)config-name.h): New target.
14394 * sunrpc/rpc_parse.h: Avoid nested comment.
14396 2010-08-24 Richard Henderson <rth@redhat.com>
14397 Ulrich Drepper <drepper@redhat.com>
14398 H.J. Lu <hongjiu.lu@intel.com>
14400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14402 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14403 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14404 _mm_alignr_epi8 with _mm_loadu_si128.
14405 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14406 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14407 (__m128i_shift_right): Removed.
14408 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14409 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14410 * sysdeps/x86_64/multiarch/varshift.h: New file.
14411 * sysdeps/x86_64/multiarch/varshift.S: New file.
14413 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14415 * configure.in: Move assembler checks to before sysdep dir checking.
14417 2010-08-20 Petr Baudis <pasky@suse.cz>
14419 * LICENSES: Sync the sunrpc license.
14421 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14423 * sunrpc/auth_des.c: Update copyright notice once again.
14424 * sunrpc/auth_none.c: Likewise.
14425 * sunrpc/auth_unix.c: Likewise.
14426 * sunrpc/authdes_prot.c: Likewise.
14427 * sunrpc/authuxprot.c: Likewise.
14428 * sunrpc/bindrsvprt.c: Likewise.
14429 * sunrpc/clnt_gen.c: Likewise.
14430 * sunrpc/clnt_perr.c: Likewise.
14431 * sunrpc/clnt_raw.c: Likewise.
14432 * sunrpc/clnt_simp.c: Likewise.
14433 * sunrpc/clnt_tcp.c: Likewise.
14434 * sunrpc/clnt_udp.c: Likewise.
14435 * sunrpc/clnt_unix.c: Likewise.
14436 * sunrpc/des_crypt.c: Likewise.
14437 * sunrpc/des_soft.c: Likewise.
14438 * sunrpc/get_myaddr.c: Likewise.
14439 * sunrpc/getrpcport.c: Likewise.
14440 * sunrpc/key_call.c: Likewise.
14441 * sunrpc/key_prot.c: Likewise.
14442 * sunrpc/openchild.c: Likewise.
14443 * sunrpc/pm_getmaps.c: Likewise.
14444 * sunrpc/pm_getport.c: Likewise.
14445 * sunrpc/pmap_clnt.c: Likewise.
14446 * sunrpc/pmap_prot.c: Likewise.
14447 * sunrpc/pmap_prot2.c: Likewise.
14448 * sunrpc/pmap_rmt.c: Likewise.
14449 * sunrpc/rpc/auth.h: Likewise.
14450 * sunrpc/rpc/auth_unix.h: Likewise.
14451 * sunrpc/rpc/clnt.h: Likewise.
14452 * sunrpc/rpc/des_crypt.h: Likewise.
14453 * sunrpc/rpc/key_prot.h: Likewise.
14454 * sunrpc/rpc/netdb.h: Likewise.
14455 * sunrpc/rpc/pmap_clnt.h: Likewise.
14456 * sunrpc/rpc/pmap_prot.h: Likewise.
14457 * sunrpc/rpc/pmap_rmt.h: Likewise.
14458 * sunrpc/rpc/rpc.h: Likewise.
14459 * sunrpc/rpc/rpc_des.h: Likewise.
14460 * sunrpc/rpc/rpc_msg.h: Likewise.
14461 * sunrpc/rpc/svc.h: Likewise.
14462 * sunrpc/rpc/svc_auth.h: Likewise.
14463 * sunrpc/rpc/types.h: Likewise.
14464 * sunrpc/rpc/xdr.h: Likewise.
14465 * sunrpc/rpc_clntout.c: Likewise.
14466 * sunrpc/rpc_cmsg.c: Likewise.
14467 * sunrpc/rpc_common.c: Likewise.
14468 * sunrpc/rpc_cout.c: Likewise.
14469 * sunrpc/rpc_dtable.c: Likewise.
14470 * sunrpc/rpc_hout.c: Likewise.
14471 * sunrpc/rpc_main.c: Likewise.
14472 * sunrpc/rpc_parse.c: Likewise.
14473 * sunrpc/rpc_parse.h: Likewise.
14474 * sunrpc/rpc_prot.c: Likewise.
14475 * sunrpc/rpc_sample.c: Likewise.
14476 * sunrpc/rpc_scan.c: Likewise.
14477 * sunrpc/rpc_scan.h: Likewise.
14478 * sunrpc/rpc_svcout.c: Likewise.
14479 * sunrpc/rpc_tblout.c: Likewise.
14480 * sunrpc/rpc_util.c: Likewise.
14481 * sunrpc/rpc_util.h: Likewise.
14482 * sunrpc/rpcinfo.c: Likewise.
14483 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14484 * sunrpc/rpcsvc/key_prot.x: Likewise.
14485 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14486 * sunrpc/rpcsvc/mount.x: Likewise.
14487 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14488 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14489 * sunrpc/rpcsvc/rex.x: Likewise.
14490 * sunrpc/rpcsvc/rstat.x: Likewise.
14491 * sunrpc/rpcsvc/rusers.x: Likewise.
14492 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14493 * sunrpc/rpcsvc/spray.x: Likewise.
14494 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14495 * sunrpc/rtime.c: Likewise.
14496 * sunrpc/svc.c: Likewise.
14497 * sunrpc/svc_auth.c: Likewise.
14498 * sunrpc/svc_authux.c: Likewise.
14499 * sunrpc/svc_raw.c: Likewise.
14500 * sunrpc/svc_run.c: Likewise.
14501 * sunrpc/svc_simple.c: Likewise.
14502 * sunrpc/svc_tcp.c: Likewise.
14503 * sunrpc/svc_udp.c: Likewise.
14504 * sunrpc/svc_unix.c: Likewise.
14505 * sunrpc/svcauth_des.c: Likewise.
14506 * sunrpc/xcrypt.c: Likewise.
14507 * sunrpc/xdr.c: Likewise.
14508 * sunrpc/xdr_array.c: Likewise.
14509 * sunrpc/xdr_float.c: Likewise.
14510 * sunrpc/xdr_mem.c: Likewise.
14511 * sunrpc/xdr_rec.c: Likewise.
14512 * sunrpc/xdr_ref.c: Likewise.
14513 * sunrpc/xdr_sizeof.c: Likewise.
14514 * sunrpc/xdr_stdio.c: Likewise.
14516 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14519 2010-08-19 Andreas Schwab <schwab@redhat.com>
14521 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14523 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14525 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14526 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14527 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14528 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14529 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14530 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14531 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14532 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14533 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14534 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14535 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14536 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14537 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14538 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14540 2010-07-26 Anton Blanchard <anton@samba.org>
14542 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14543 * malloc/arena.c (heap_trim): Likewise.
14545 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14547 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14549 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14550 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14552 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14554 * sysdeps/i386/elf/Makefile: New file.
14556 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14558 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14559 from fanotify_init.
14560 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14561 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14563 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14565 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14567 * sysdeps/multiarch/strcmp.S: Likewise.
14569 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14571 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14572 strncase_l-nonascii.
14573 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14574 Add strncase_l-ssse3.
14575 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14576 * sysdeps/x86_64/strcmp.S: Likewise.
14577 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14578 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14579 * sysdeps/x86_64/strncase.S: New file.
14580 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14581 * sysdeps/x86_64/strncase_l.S: New file.
14582 * string/Makefile (strop-tests): Add strncasecmp.
14583 * string/test-strncasecmp.c: New file.
14585 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14588 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14589 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14591 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14593 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14595 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14597 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14598 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14599 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14601 2010-05-01 Alan Modra <amodra@gmail.com>
14603 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14604 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14605 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14606 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14607 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14608 tidying. Don't tail-call __sigjmp_save for static lib.
14609 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14611 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14612 (CALL_MCOUNT): Add eh info, and nop after bl.
14613 (TAIL_CALL_SYSCALL_ERROR): New macro.
14614 (PSEUDO_RET): Use it.
14615 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14616 Correct save location of integer regs and cr.
14617 (_dl_profile_resolve): Correct cr save location. Delete nops
14618 after bl when SHARED. Reduce cfi size a little by better
14619 placement of cfi directives.
14620 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14621 make a stack frame. Instead use parm save area as a temp.
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14623 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14625 Don't make a stack frame for parent, use parm save area.
14626 Increase child stack frame to 112 bytes. Don't save unused reg,
14627 and adjust reg usage. Set up cfi on error recovery and
14628 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14630 (__makecontext): Add dummy nop after jump to exit.
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14632 Use correct parm save area and cr save, reduce stack frame.
14633 Correct cfi for possible PSEUDO_RET frame setup.
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14635 Branch to local label emitted by PSEUDO_RET rather than
14638 2010-08-12 Andreas Schwab <schwab@redhat.com>
14641 * locale/programs/locale.c (print_assignment): New function.
14642 (show_locale_vars): Use it.
14644 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14646 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14648 (struct statfs64): Likewise.
14649 (_STATFS_F_FLAGS): Define.
14650 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14651 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14652 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14653 (ST_VALID): Define locally.
14654 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14655 __statvfs_getflags, use the provided value.
14656 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14657 __ASSUME_STATFS_F_FLAGS.
14659 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14661 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14662 Add sys/fanotify.h.
14663 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14664 fanotify_mask for GLIBC_2.13.
14665 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14666 fanotify_init and fanotify_mark.
14667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14668 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14670 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14672 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14673 prlimit64 for GLIBC_2.13.
14674 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14676 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14679 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14680 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14681 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14682 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14684 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14687 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14688 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14690 * nss/Makefile: Add rules to build and run tst-nss-test1.
14691 * shlib-versions: Add entry for libnss_test1.
14692 * nss/nss_test1.c: New file.
14693 * nss/tst-nss-test1.c: New file.
14695 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14696 (__nss_configure_lookup): Set appropriate entry in
14697 __nss_configure_lookup to true.
14698 * nss/nsswitch.h: Define enum with indeces of databases in
14699 databases and __nss_database_custom arrays. Declare
14700 __nss_database_custom.
14701 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14702 to avoid using nscd when custom rules are installed.
14703 * nss/getXXbyYY_r.c: Likewise.
14704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14706 * nss/nss_files/files-parse.c: Whitespace fixes.
14708 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14711 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14712 * posix/fnmatch_loop.c: Likewise.
14714 2010-07-17 Andi Kleen <ak@linux.intel.com>
14716 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14717 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14718 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14719 * Versions.def [GLIBC_2.13]: Add.
14721 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14723 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14724 Also fail if tpwd after pwuid call is NULL.
14726 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14728 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14729 when converting to ms.
14731 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14733 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14734 EOPNOTSUPP errors with ENOTTY.
14735 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14736 EOPNOTSUPP errors with ENOTTY.
14738 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14740 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14741 Add strcasecmp_l-ssse3.
14742 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14744 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14745 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14746 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14748 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14750 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14752 * string/Makefile (strop-tests): Add strcasecmp.
14753 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14754 strcasecmp_l-nonascii.
14755 (gen-as-const-headers): Add locale-defines.sym.
14756 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14757 * sysdeps/x86_64/strcasecmp.S: New file.
14758 * sysdeps/x86_64/strcasecmp_l.S: New file.
14759 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14760 * sysdeps/x86_64/locale-defines.sym: New file.
14761 * string/test-strcasecmp.c: New file.
14763 * string/test-strcasestr.c: Test both ends of the range of characters.
14764 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14766 2010-07-29 Roland McGrath <roland@redhat.com>
14769 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14771 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14773 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14776 2010-07-27 Andreas Schwab <schwab@redhat.com>
14778 * manual/memory.texi (Malloc Tunable Parameters): Document
14781 2010-07-26 Roland McGrath <roland@redhat.com>
14784 * configure.in (-fgnu89-inline check): Set and substitute
14785 gnu89_inline, not libc_cv_gnu89_inline.
14786 * configure: Regenerated.
14787 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14789 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14791 * string/test-strnlen.c: New file.
14792 * string/Makefile (strop-tests): Add strnlen.
14793 * string/tester.c (test_strnlen): Add a few more test cases.
14794 * string/tst-strlen.c: Better error reporting.
14796 * sysdeps/x86_64/strnlen.S: New file.
14798 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14800 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14801 lower-latency instructions.
14803 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14805 * string/test-strcasestr.c: New file.
14806 * string/test-strstr.c: New file.
14807 * string/Makefile (strop-tests): Add strstr and strcasestr.
14808 * string/str-two-way.h: Don't undefine MAX.
14809 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14811 2010-07-21 Andreas Schwab <schwab@redhat.com>
14813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14814 strcasestr-nonascii.
14815 (CFLAGS-strcasestr-nonascii.c): Define.
14816 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14817 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14818 Remove unused attribute.
14820 2010-07-20 Roland McGrath <roland@redhat.com>
14822 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14823 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14824 ld.so.cache was broken. With it, there is no way to disable dsocaps
14825 like LD_HWCAP_MASK can disable hwcaps.
14827 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14829 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14831 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14833 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14834 call in strcasestr.
14835 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14836 __strcasestr_sse42_nonascii.
14837 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14838 strcasestr-nonascii.c.
14839 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14841 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14843 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14844 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14845 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14846 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14848 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14850 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14853 2010-07-06 Andreas Schwab <schwab@redhat.com>
14856 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14859 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14861 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14862 _PC_PIPE_BUF using F_GETPIPE_SZ.
14864 2010-07-05 Roland McGrath <roland@redhat.com>
14866 * manual/arith.texi (Rounding Functions): Fix rint description
14867 implicit in round description.
14869 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14871 * elf/Makefile: Fix linking for a few tests to make recent linker
14874 2010-06-30 Andreas Schwab <schwab@redhat.com>
14876 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14877 $(common-objpfx)libc_nonshared.a.
14879 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14881 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14882 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14883 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14884 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14885 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14886 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14887 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14888 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14903 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14904 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14905 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14906 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14907 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14908 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14909 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14910 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14911 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14912 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14913 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14914 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14930 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14932 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14933 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14934 * string/memmove.c (memmove): Renamed to ...
14935 (MEMMOVE): ...this. Default to memmove.
14936 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14937 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14940 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14941 mempcpy-ssse3-back memmove-ssse3-back.
14942 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14943 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14944 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14945 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14946 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14947 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14948 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14949 * sysdeps/x86_64/multiarch/memmove.c: New file.
14950 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14951 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14952 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14953 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14954 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14955 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14957 (index_Fast_Copy_Backward): Define.
14958 (HAS_ARCH_FEATURE): Define.
14959 (HAS_FAST_REP_STRING): Define.
14960 (HAS_FAST_COPY_BACKWARD): Define.
14962 2010-06-21 Andreas Schwab <schwab@redhat.com>
14964 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14965 Restore proper fallback handling.
14967 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14970 * posix/group_member.c (__group_member): Correct checking loop.
14972 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14973 OOM in getpwuid_r correctly. Return error number when the caller
14974 should return, otherwise -1.
14975 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14976 call returning > 0 value.
14977 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14979 2010-06-07 Andreas Schwab <schwab@redhat.com>
14981 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14982 libc_nonshared.a from targets in modules-names.
14984 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14986 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14989 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14991 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14992 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14994 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14996 2010-06-02 Andreas Schwab <schwab@redhat.com>
14998 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15000 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15002 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15004 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15005 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15006 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15008 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15009 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15011 2010-06-14 Roland McGrath <roland@redhat.com>
15013 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15015 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15017 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15018 __REDIRECT followed by __THROW.
15019 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15020 * posix/getopt.h (getopt): Likewise.
15022 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15024 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15025 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15026 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15028 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15029 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15031 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15033 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15035 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15039 Properly check family and model.
15041 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15043 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15045 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15047 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15049 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15051 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15054 2010-05-19 Andreas Schwab <schwab@redhat.com>
15056 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15059 2010-05-21 Andreas Schwab <schwab@redhat.com>
15061 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15062 and internal_recvmmsg.
15063 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15064 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15065 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15066 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15068 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15069 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15070 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15072 2010-05-20 Andreas Schwab <schwab@redhat.com>
15074 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15076 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15078 POWER7 optimizations.
15079 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15080 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15082 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15084 * version.h: Update for 2.13 development version.
15086 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15088 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15089 exceptions. Return 0.
15091 2010-05-07 Roland McGrath <roland@redhat.com>
15093 * elf/ldconfig.c (main): Add a const.
15095 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15097 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15098 (args_options): Add no-idn option.
15099 (ahosts_keys_int): Add idn_flags to ai_flags.
15100 (parse_option): Handle 'i' option to clear idn_flags.
15102 * malloc/malloc.c (_int_free): Possible race in the most recently
15103 added check. Only act on the data if no current modification
15106 See ChangeLog.17 for earlier changes.